Skip to content

Commit

Permalink
Merge branch 'release/1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
alienfast-build committed Oct 4, 2019
2 parents 71f706b + 74f83ea commit d56eead
Show file tree
Hide file tree
Showing 3 changed files with 1,019 additions and 8,894 deletions.
12 changes: 7 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,29 @@ jobs:
ignore:
- master
docker:
- image: alienfast/ci-node:5.0.18
- image: alienfast/ci-node:5.0
steps:
- checkout
- add_ssh_keys
- restore_cache:
key: yarn-all-branches
- run: ncu -a
- run: ncu -u
- run: yarn install
- run: yarn run releaseStart
- run: yarn test:unit
- save_cache:
key: yarn-all-branches-{{ epoch }}
paths:
- ~/.cache/yarn/v1
- .eslintcache
- deploy:
# publish first to github package registry, second to npmjs (public package)
command: |
if [ "${CIRCLE_BRANCH}" == "develop" ];
then \
yarn run releaseFinish && npm run release
yarn run releaseAuto \
&& npm publish \
&& npm publish --ignore-scripts --@alienfast:registry='https://registry.npmjs.org'
fi
name: Finish release and publish to npm
working_directory: ~/i18next-loader
working_directory: ~/project
version: 2
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "@alienfast/i18next-loader",
"version": "1.0.18",
"version": "1.1.1",
"description": "Webpack loader for client embedded i18next locales from json or yaml.",
"publishConfig": {
"access": "public"
},
"main": "index.js",
"scripts": {
"release": "npm publish --access public",
"test": "yarn test:unit",
"test:unit": "mocha",
"test:watch": "mocha -w"
Expand Down Expand Up @@ -36,13 +38,13 @@
],
"dependencies": {
"glob-all": "^3.1.0",
"js-yaml": "^3.12.0",
"loader-utils": "^1.1.0",
"lodash": "^4.17.11"
"js-yaml": "^3.13.1",
"loader-utils": "^1.2.3",
"lodash": "^4.17.15"
},
"devDependencies": {
"@alienfast/build": "^4.1.121",
"@alienfast/ci": "^7.0.2",
"chai": "^4.2.0",
"mocha": "^5.2.0"
"mocha": "^6.2.1"
}
}
Loading

0 comments on commit d56eead

Please sign in to comment.