create-packer 1.20.0 → 1.20.1

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/bin/createTemp.js CHANGED
@@ -12,7 +12,7 @@ const fs_1 = require("fs");
12
12
  const cwd = process.cwd();
13
13
  const command = utils_1.onGenCommand();
14
14
  const excludes = ['node_modules', 'yarn-error.log', 'dist'];
15
- const tempRoot = path.join(__dirname, '../../template');
15
+ const tempRoot = path.join(__dirname, '../template');
16
16
  const tempInfoList = utils_1.genTemplateInfoList(tempRoot);
17
17
  function copyTempFile(tempPath, output) {
18
18
  fsExtra.readdirSync(tempPath).map(name => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -10,7 +10,7 @@ import { existsSync } from 'fs'
10
10
  const cwd = process.cwd()
11
11
  const command = onGenCommand()
12
12
  const excludes = ['node_modules', 'yarn-error.log', 'dist']
13
- const tempRoot = path.join(__dirname, '../../template')
13
+ const tempRoot = path.join(__dirname, '../template')
14
14
  const tempInfoList = genTemplateInfoList(tempRoot)
15
15
 
16
16
  function copyTempFile(tempPath, output) {