* feat: switch npm to yarn

* working on node 7.10.0

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* upgrade node-sass

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-06-15 02:04:44 -05:00 коммит произвёл GitHub
Родитель 4d5fbe24b8
Коммит 2b14a3fc30
5 изменённых файлов: 2402 добавлений и 11 удалений

Просмотреть файл

@ -1,14 +1,11 @@
workspace:
path: src
pipeline: pipeline:
build: build:
image: library/node:latest image: node:8.1.1
commands: commands:
- npm install -q - yarn install
- npm run clean - yarn run clean
- npm run build - yarn run build
- npm run release - yarn run release
release: release:
image: plugins/s3 image: plugins/s3
@ -38,4 +35,4 @@ pipeline:
webhook_token: ${WEBHOOK_TOKEN} webhook_token: ${WEBHOOK_TOKEN}
when: when:
event: [ push, tag, pull_request ] event: [ push, tag, pull_request ]
status: [ failure ] status: [ changed, failure ]

Просмотреть файл

@ -1 +1 @@
eyJhbGciOiJIUzI1NiJ9.d29ya3NwYWNlOgogIHBhdGg6IHNyYwoKcGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogbGlicmFyeS9ub2RlOmxhdGVzdAogICAgY29tbWFuZHM6CiAgICAgIC0gbnBtIGluc3RhbGwgLXEKICAgICAgLSBucG0gcnVuIGNsZWFuCiAgICAgIC0gbnBtIHJ1biBidWlsZAogICAgICAtIG5wbSBydW4gcmVsZWFzZQoKICByZWxlYXNlOgogICAgaW1hZ2U6IHBsdWdpbnMvczMKICAgIHBhdGhfc3R5bGU6IHRydWUKICAgIHN0cmlwX3ByZWZpeDogZGlzdC8KICAgIHNvdXJjZTogZGlzdC9tYXN0ZXIudGFyLmd6CiAgICB0YXJnZXQ6IC90aGVtZQogICAgd2hlbjoKICAgICAgZXZlbnQ6IFsgcHVzaCBdCiAgICAgIGJyYW5jaDogWyBtYXN0ZXIgXQoKICB0cmlnZ2VyOgogICAgaW1hZ2U6IHBsdWdpbnMvZG93bnN0cmVhbQ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nZlcjogaHR0cHM6Ly9kcm9uZS5naXRlYS5pbwogICAgcmVwb3NpdG9yaWVzOgogICAgICAtIGdvLWdpdGVhL3dlYnNpdGUKICAgICAgLSBnby1naXRlYS9ibG9nCiAgICAgIC0gZ28tZ2l0ZWEvZG9jcwogICAgICAtIGdvLWdpdGVhL3JlZGlyZWN0cwogICAgd2hlbjoKICAgICAgZXZlbnQ6IFsgcHVzaCBdCiAgICAgIGJyYW5jaDogWyBtYXN0ZXIgXQoKICBkaXNjb3JkOgogICAgaW1hZ2U6IGFwcGxlYm95L2Ryb25lLWRpc2NvcmQKICAgIHdlYmhvb2tfaWQ6ICR7V0VCSE9PS19JRH0KICAgIHdlYmhvb2tfdG9rZW46ICR7V0VCSE9PS19UT0tFTn0KICAgIHdoZW46CiAgICAgIGV2ZW50OiBbIHB1c2gsIHRhZywgcHVsbF9yZXF1ZXN0IF0KICAgICAgc3RhdHVzOiBbIGNoYW5nZWQsIGZhaWx1cmUgXQo.9Px7GURHciKo4EtYB_NNLm3TXEhE7yQ8BA8lMTJ8yG4

1
.gitignore поставляемый
Просмотреть файл

@ -1,3 +1,4 @@
/node_modules/ /node_modules/
/dist/ /dist/
/static/styles/ /static/styles/
.yarn-cache

Просмотреть файл

@ -29,7 +29,7 @@
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-clean": "^0.3.2", "gulp-clean": "^0.3.2",
"gulp-gzip": "^1.4.0", "gulp-gzip": "^1.4.0",
"gulp-sass": "^2.3.2", "gulp-sass": "^3.1.0",
"gulp-sourcemaps": "^1.9.1", "gulp-sourcemaps": "^1.9.1",
"gulp-tar-path": "^1.0.1" "gulp-tar-path": "^1.0.1"
} }

2393
yarn.lock Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу