Skip to content

Commit

Permalink
build: update @svrx/util to v1.1.6 (#66)
Browse files Browse the repository at this point in the history
* build: add actions to replace travis ci

* build: update @svrx/util to v1.1.6

* build: remove test actions
  • Loading branch information
xuchaoying authored Mar 25, 2021
1 parent 6801854 commit adb4138
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 31 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: release to npm
on:
push:
branches:
- 'release/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # to fetch git tags
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build
- run: npm run lerna:publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

5 changes: 2 additions & 3 deletions packages/svrx-cli/bin/svrx.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ const commands = {
},
},
remove: {
description: `Remove local packages of svrx core or plugins. eg:
description: `Remove local packages of svrx core or plugins. eg:
svrx remove 1.0.0 (remove a core package)
svrx remove webpack (remove a plugin)
svrx remove webpack/1.0.0
svrx remove webpack/1.0.0
svrx remove ALL (to remove all packages of svrx core and plugins)
svrx remove CORE (to remove all packages of svrx core)
svrx remove PLUGIN (to remove all packages of svrx plugins)`,
Expand Down Expand Up @@ -198,7 +198,6 @@ const help = async (cmd) => {
process.exit(0);
};


if (options.h || options.help) {
help(cmds.length > 0 ? cmds[0] : null);
} else if (options.v || options.version) {
Expand Down
2 changes: 1 addition & 1 deletion packages/svrx-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"preuninstall": "node ./script/preuninstall.js"
},
"dependencies": {
"@svrx/util": "^1.1.4",
"@svrx/util": "^1.1.6",
"update-notifier": "^3.0.0",
"yargs-parser": "^13.1.0"
},
Expand Down
1 change: 0 additions & 1 deletion packages/svrx-cli/script/postinstall.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const { PackageManagerCreator, logger } = require('@svrx/util');


const installSvrx = async () => {
const spinner = logger.spin('Installing svrx core...');
try {
Expand Down

0 comments on commit adb4138

Please sign in to comment.