@startupjs/cli 0.55.0-alpha.5 → 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 +5 -5
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -664,7 +664,7 @@ commander
|
|
|
664
664
|
|
|
665
665
|
commander
|
|
666
666
|
.command('init-pm')
|
|
667
|
-
.description('
|
|
667
|
+
.description('Create a new project on github from template')
|
|
668
668
|
.action(async () => {
|
|
669
669
|
await execa.command(`${PM_SCRIPTS_PATH} init-pm`, { shell: true, stdio: 'inherit' })
|
|
670
670
|
addPmScriptsToPackageJson() // add `yarn pm` and `yarn task` to package.json/scripts
|
|
@@ -672,15 +672,15 @@ commander
|
|
|
672
672
|
|
|
673
673
|
commander
|
|
674
674
|
.command('task <issueNumber>')
|
|
675
|
-
.description('
|
|
675
|
+
.description('Create a task branch (or just switch to it if it already exists)')
|
|
676
676
|
.action(async (issueNumber) => {
|
|
677
677
|
await execa.command(`${PM_SCRIPTS_PATH} task ${issueNumber}`, { shell: true, stdio: 'inherit' })
|
|
678
678
|
})
|
|
679
679
|
|
|
680
680
|
commander
|
|
681
|
-
.command('pr
|
|
682
|
-
.description('
|
|
683
|
-
.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 = '') => {
|
|
684
684
|
await execa.command(`${PM_SCRIPTS_PATH} pr ${issueNumber}`, { shell: true, stdio: 'inherit' })
|
|
685
685
|
})
|
|
686
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
|
}
|