@mpxjs/cli 2.6.94-alpha.3 → 2.7.1-beta.0

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 +2 -4
  2. package/package.json +2 -2
package/bin/mpx-init.js CHANGED
@@ -50,9 +50,7 @@ program
50
50
  * Settings.
51
51
  */
52
52
 
53
- // let template = 'mpx-template'
54
- // todo use branch master
55
- let template = 'mpx-template#feat_add_tenon'
53
+ let template = 'mpx-template'
56
54
  const rawName = program.args[0]
57
55
  const inPlace = !rawName || rawName === '.'
58
56
  const name = inPlace ? path.relative('../', process.cwd()) : rawName
@@ -121,7 +119,7 @@ function run () {
121
119
  } else {
122
120
  checkVersion(() => {
123
121
  // use official templates
124
- const officialTemplate = 'mpx-ecology/' + template
122
+ const officialTemplate = 'mpx-ecology/' + template + '#feat-webpack5-adapt'
125
123
  downloadAndGenerate(officialTemplate)
126
124
  })
127
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/cli",
3
- "version": "2.6.94-alpha.3",
3
+ "version": "2.7.1-beta.0",
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": "85c52eaf073ba37a35cb0d8e968dd1b19419c7fa"
61
+ "gitHead": "025a2d1590aec3f8749c1a43090394249393a625"
62
62
  }