@startupjs/cli 0.55.0-alpha.10 → 0.55.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -6
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -419,7 +419,6 @@ commander
|
|
|
419
419
|
|
|
420
420
|
// init react-native application
|
|
421
421
|
await execa('npx', [
|
|
422
|
-
'--yes',
|
|
423
422
|
`react-native${'@' + reactNative}`,
|
|
424
423
|
'init',
|
|
425
424
|
'--skip-install',
|
|
@@ -664,7 +663,7 @@ commander
|
|
|
664
663
|
|
|
665
664
|
commander
|
|
666
665
|
.command('init-pm')
|
|
667
|
-
.description('
|
|
666
|
+
.description('bootstrap a new startupjs application')
|
|
668
667
|
.action(async () => {
|
|
669
668
|
await execa.command(`${PM_SCRIPTS_PATH} init-pm`, { shell: true, stdio: 'inherit' })
|
|
670
669
|
addPmScriptsToPackageJson() // add `yarn pm` and `yarn task` to package.json/scripts
|
|
@@ -672,15 +671,15 @@ commander
|
|
|
672
671
|
|
|
673
672
|
commander
|
|
674
673
|
.command('task <issueNumber>')
|
|
675
|
-
.description('
|
|
674
|
+
.description('bootstrap a new startupjs application')
|
|
676
675
|
.action(async (issueNumber) => {
|
|
677
676
|
await execa.command(`${PM_SCRIPTS_PATH} task ${issueNumber}`, { shell: true, stdio: 'inherit' })
|
|
678
677
|
})
|
|
679
678
|
|
|
680
679
|
commander
|
|
681
|
-
.command('pr
|
|
682
|
-
.description('
|
|
683
|
-
.action(async (issueNumber
|
|
680
|
+
.command('pr <issueNumber>')
|
|
681
|
+
.description('bootstrap a new startupjs application')
|
|
682
|
+
.action(async (issueNumber) => {
|
|
684
683
|
await execa.command(`${PM_SCRIPTS_PATH} pr ${issueNumber}`, { shell: true, stdio: 'inherit' })
|
|
685
684
|
})
|
|
686
685
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startupjs/cli",
|
|
3
|
-
"version": "0.55.0-alpha.
|
|
3
|
+
"version": "0.55.0-alpha.4",
|
|
4
4
|
"description": "start, watch and build startupjs project",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@startupjs/pm": "^0.55.0-alpha.
|
|
11
|
+
"@startupjs/pm": "^0.55.0-alpha.3",
|
|
12
12
|
"commander": "^3.0.1",
|
|
13
13
|
"concurrently": "^6.4.0",
|
|
14
14
|
"cross-env": "^7.0.3",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"webpack-cli": "^4.9.1",
|
|
27
27
|
"webpack-dev-server": "^4.4.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "6a709b87a6132690c6365df934f44ebd1f5c0dc8"
|
|
30
30
|
}
|