@startupjs/cli 0.55.0-alpha.10 → 0.55.0-alpha.3
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 -7
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -419,10 +419,8 @@ 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
|
-
'--skip-install',
|
|
426
424
|
projectName
|
|
427
425
|
].concat(['--version', reactNative]), {
|
|
428
426
|
cwd: path.join(process.cwd(), LOCAL_DIR),
|
|
@@ -664,7 +662,7 @@ commander
|
|
|
664
662
|
|
|
665
663
|
commander
|
|
666
664
|
.command('init-pm')
|
|
667
|
-
.description('
|
|
665
|
+
.description('bootstrap a new startupjs application')
|
|
668
666
|
.action(async () => {
|
|
669
667
|
await execa.command(`${PM_SCRIPTS_PATH} init-pm`, { shell: true, stdio: 'inherit' })
|
|
670
668
|
addPmScriptsToPackageJson() // add `yarn pm` and `yarn task` to package.json/scripts
|
|
@@ -672,15 +670,15 @@ commander
|
|
|
672
670
|
|
|
673
671
|
commander
|
|
674
672
|
.command('task <issueNumber>')
|
|
675
|
-
.description('
|
|
673
|
+
.description('bootstrap a new startupjs application')
|
|
676
674
|
.action(async (issueNumber) => {
|
|
677
675
|
await execa.command(`${PM_SCRIPTS_PATH} task ${issueNumber}`, { shell: true, stdio: 'inherit' })
|
|
678
676
|
})
|
|
679
677
|
|
|
680
678
|
commander
|
|
681
|
-
.command('pr
|
|
682
|
-
.description('
|
|
683
|
-
.action(async (issueNumber
|
|
679
|
+
.command('pr <issueNumber>')
|
|
680
|
+
.description('bootstrap a new startupjs application')
|
|
681
|
+
.action(async (issueNumber) => {
|
|
684
682
|
await execa.command(`${PM_SCRIPTS_PATH} pr ${issueNumber}`, { shell: true, stdio: 'inherit' })
|
|
685
683
|
})
|
|
686
684
|
|
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.3",
|
|
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": "8c9740b1c9bba6a524cf7bd0cf320999b00577f6"
|
|
30
30
|
}
|