@mpxjs/cli 2.6.95-alpha.0 → 2.6.114-alpha.7

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.
Files changed (2) hide show
  1. package/bin/mpx-init.js +4 -2
  2. package/package.json +2 -2
package/bin/mpx-init.js CHANGED
@@ -50,7 +50,9 @@ program
50
50
  * Settings.
51
51
  */
52
52
 
53
- let template = 'mpx-template'
53
+ // let template = 'mpx-template'
54
+ // todo use branch master
55
+ let template = 'mpx-template#feat_add_tenon'
54
56
  const rawName = program.args[0]
55
57
  const inPlace = !rawName || rawName === '.'
56
58
  const name = inPlace ? path.relative('../', process.cwd()) : rawName
@@ -119,7 +121,7 @@ function run () {
119
121
  } else {
120
122
  checkVersion(() => {
121
123
  // use official templates
122
- const officialTemplate = 'mpx-ecology/' + template + '#feat-webpack5-adapt'
124
+ const officialTemplate = 'mpx-ecology/' + template
123
125
  downloadAndGenerate(officialTemplate)
124
126
  })
125
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/cli",
3
- "version": "2.6.95-alpha.0",
3
+ "version": "2.6.114-alpha.7",
4
4
  "description": "mpx脚手架",
5
5
  "bin": {
6
6
  "mpx": "bin/mpx.js",
@@ -58,5 +58,5 @@
58
58
  "scripts": {
59
59
  "test": "echo \"Error: run tests from root\" && exit 1"
60
60
  },
61
- "gitHead": "fe57e72713f4bb4e78c173fb235ccaa4609625c9"
61
+ "gitHead": "7845b794ae3b68530449aedac841b5910ef7a546"
62
62
  }