We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab2e0a commit afa28d7Copy full SHA for afa28d7
bin/index.js
@@ -0,0 +1,11 @@
1
+'use strict';
2
+
3
+const { yParser } = require('@micro-app/shared-utils');
4
+const name = process.argv[2];
5
+const argv = yParser(process.argv.slice(3));
6
7
+const Service = require('@micro-app/core');
8
+const server = new Service();
9
10
+console.log(argv);
11
+server.run(name, argv);
package.json
@@ -6,7 +6,7 @@
"scripts": {
"prepublishOnly": "npm run test",
"test": "jest",
- "release": "micro-app release",
+ "release": "node bin/index.js release",
"release:alpha": "npm run release -- --preRelease=alpha",
"release:next": "npm run release -- --preRelease=next",
12
"release:minor": "npm run release minor",
test/index.spec.js test/cliPlugin.spec.jstest/index.spec.js renamed to test/cliPlugin.spec.js
0 commit comments