@startupjs/cli 0.55.0-alpha.4 → 0.55.0-alpha.6
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 +6 -5
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -419,6 +419,7 @@ commander
|
|
|
419
419
|
|
|
420
420
|
// init react-native application
|
|
421
421
|
await execa('npx', [
|
|
422
|
+
'--yes',
|
|
422
423
|
`react-native${'@' + reactNative}`,
|
|
423
424
|
'init',
|
|
424
425
|
'--skip-install',
|
|
@@ -663,7 +664,7 @@ commander
|
|
|
663
664
|
|
|
664
665
|
commander
|
|
665
666
|
.command('init-pm')
|
|
666
|
-
.description('
|
|
667
|
+
.description('Create a new project on github from template')
|
|
667
668
|
.action(async () => {
|
|
668
669
|
await execa.command(`${PM_SCRIPTS_PATH} init-pm`, { shell: true, stdio: 'inherit' })
|
|
669
670
|
addPmScriptsToPackageJson() // add `yarn pm` and `yarn task` to package.json/scripts
|
|
@@ -671,15 +672,15 @@ commander
|
|
|
671
672
|
|
|
672
673
|
commander
|
|
673
674
|
.command('task <issueNumber>')
|
|
674
|
-
.description('
|
|
675
|
+
.description('Create a task branch (or just switch to it if it already exists)')
|
|
675
676
|
.action(async (issueNumber) => {
|
|
676
677
|
await execa.command(`${PM_SCRIPTS_PATH} task ${issueNumber}`, { shell: true, stdio: 'inherit' })
|
|
677
678
|
})
|
|
678
679
|
|
|
679
680
|
commander
|
|
680
|
-
.command('pr
|
|
681
|
-
.description('
|
|
682
|
-
.action(async (issueNumber) => {
|
|
681
|
+
.command('pr [issueNumber]')
|
|
682
|
+
.description('Make PR for this task (or re-request review if it already exists)')
|
|
683
|
+
.action(async (issueNumber = '') => {
|
|
683
684
|
await execa.command(`${PM_SCRIPTS_PATH} pr ${issueNumber}`, { shell: true, stdio: 'inherit' })
|
|
684
685
|
})
|
|
685
686
|
|
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.6",
|
|
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.6",
|
|
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": "84c71f1acad5f9f28ec8fd22f77a640a0f416a3f"
|
|
30
30
|
}
|