create-packer 1.26.1 → 1.26.3
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 +1 -1
- package/package.json +1 -1
- package/template/cli/tsconfig.json +1 -0
- package/template/lib/react/tsconfig.json +1 -0
- package/template/lib/ts/tsconfig.json +1 -0
- package/template/web-app/next/tsconfig.json +19 -26
- package/template/web-app/react/domain/app/app.model.ts +2 -2
- package/template/web-app/react/package.json +1 -1
- package/template/web-app/react/tsconfig.json +3 -3
- package/template/web-app/react-webpack/domain/app/app.model.ts +2 -2
- package/template/web-app/react-webpack/package.json +1 -1
- package/template/web-app/react-webpack/tsconfig.json +2 -1
- package/template/web-app/svelte/tsconfig.json +1 -0
- package/template/web-extension/package.json +1 -1
- package/template/web-extension/tsconfig.json +3 -4
- package/template/workspace/nx/node_modules/.pnpm/minipass-fetch@3.0.3/node_modules/minipass-sized/.gitignore +22 -0
- package/template/workspace/nx/node_modules/.pnpm/minipass-sized@1.0.3/node_modules/minipass-sized/.gitignore +22 -0
- package/template/workspace/nx/node_modules/.pnpm/node_modules/minipass-sized/.gitignore +22 -0
- package/template/workspace/nx/node_modules/.pnpm/node_modules/npm-normalize-package-bin/.gitignore +24 -0
- package/template/workspace/nx/node_modules/.pnpm/npm-bundled@1.1.2/node_modules/npm-normalize-package-bin/.gitignore +24 -0
- package/template/workspace/nx/node_modules/.pnpm/npm-normalize-package-bin@1.0.1/node_modules/npm-normalize-package-bin/.gitignore +24 -0
- package/template/workspace/nx/node_modules/.pnpm/npm-packlist@5.1.1/node_modules/npm-normalize-package-bin/.gitignore +24 -0
- package/template/workspace/pnpm/packages/test/tsconfig.json +1 -0
- package/template/workspace/pnpm/tsconfig.json +16 -15
package/bin/createTemp.js
CHANGED
|
@@ -38,7 +38,7 @@ async function createTemp(dirname) {
|
|
|
38
38
|
}
|
|
39
39
|
]);
|
|
40
40
|
let tempInfo = tempInfoList.find(o => o.name === answer.temp);
|
|
41
|
-
if (tempInfo.children.length > 0) {
|
|
41
|
+
if (tempInfo?.children && tempInfo.children.length > 0) {
|
|
42
42
|
answer = await inquirer.prompt([
|
|
43
43
|
{
|
|
44
44
|
type: 'list',
|
package/package.json
CHANGED
|
@@ -1,28 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
],
|
|
22
|
-
"paths": {
|
|
23
|
-
"@/*": ["./*"]
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
27
|
-
"exclude": ["node_modules"]
|
|
2
|
+
"extends": "./.svelte-kit/tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"strictNullChecks": true,
|
|
6
|
+
"checkJs": true,
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"forceConsistentCasingInFileNames": true,
|
|
9
|
+
"resolveJsonModule": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"strict": true,
|
|
13
|
+
"paths": {
|
|
14
|
+
"@/*": ["./*"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
|
18
|
+
//
|
|
19
|
+
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
|
20
|
+
// from the referenced tsconfig.json - TypeScript does not merge them in
|
|
28
21
|
}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"target": "ESNext",
|
|
5
5
|
"useDefineForClassFields": true,
|
|
6
6
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
7
|
-
"allowJs":
|
|
7
|
+
"allowJs": true,
|
|
8
|
+
"strictNullChecks": true,
|
|
8
9
|
"skipLibCheck": true,
|
|
9
10
|
"esModuleInterop": false,
|
|
10
11
|
"allowSyntheticDefaultImports": true,
|
|
@@ -22,6 +23,5 @@
|
|
|
22
23
|
}
|
|
23
24
|
},
|
|
24
25
|
"include": ["**/*.tsx", "**/*.ts"],
|
|
25
|
-
"exclude": ["scripts"
|
|
26
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
26
|
+
"exclude": ["scripts"]
|
|
27
27
|
}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"target": "ESNext",
|
|
5
5
|
"useDefineForClassFields": true,
|
|
6
6
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
7
|
-
"allowJs":
|
|
7
|
+
"allowJs": true,
|
|
8
|
+
"strictNullChecks": true,
|
|
8
9
|
"skipLibCheck": true,
|
|
9
10
|
"esModuleInterop": false,
|
|
10
11
|
"allowSyntheticDefaultImports": true,
|
|
@@ -15,7 +16,6 @@
|
|
|
15
16
|
"moduleResolution": "Node",
|
|
16
17
|
"resolveJsonModule": true,
|
|
17
18
|
"isolatedModules": true,
|
|
18
|
-
"noImplicitAny": false,
|
|
19
19
|
"noEmit": true,
|
|
20
20
|
"jsx": "react-jsx",
|
|
21
21
|
"paths": {
|
|
@@ -23,6 +23,5 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"include": ["**/*.tsx", "**/*.ts"],
|
|
26
|
-
"exclude": ["scripts"
|
|
27
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
26
|
+
"exclude": ["scripts"]
|
|
28
27
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ignore most things, include some others
|
|
2
|
+
/*
|
|
3
|
+
/.*
|
|
4
|
+
|
|
5
|
+
!bin/
|
|
6
|
+
!lib/
|
|
7
|
+
!docs/
|
|
8
|
+
!package.json
|
|
9
|
+
!package-lock.json
|
|
10
|
+
!README.md
|
|
11
|
+
!CONTRIBUTING.md
|
|
12
|
+
!LICENSE
|
|
13
|
+
!CHANGELOG.md
|
|
14
|
+
!example/
|
|
15
|
+
!scripts/
|
|
16
|
+
!tap-snapshots/
|
|
17
|
+
!test/
|
|
18
|
+
!.travis.yml
|
|
19
|
+
!.gitignore
|
|
20
|
+
!.gitattributes
|
|
21
|
+
!coverage-map.js
|
|
22
|
+
!index.js
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ignore most things, include some others
|
|
2
|
+
/*
|
|
3
|
+
/.*
|
|
4
|
+
|
|
5
|
+
!bin/
|
|
6
|
+
!lib/
|
|
7
|
+
!docs/
|
|
8
|
+
!package.json
|
|
9
|
+
!package-lock.json
|
|
10
|
+
!README.md
|
|
11
|
+
!CONTRIBUTING.md
|
|
12
|
+
!LICENSE
|
|
13
|
+
!CHANGELOG.md
|
|
14
|
+
!example/
|
|
15
|
+
!scripts/
|
|
16
|
+
!tap-snapshots/
|
|
17
|
+
!test/
|
|
18
|
+
!.travis.yml
|
|
19
|
+
!.gitignore
|
|
20
|
+
!.gitattributes
|
|
21
|
+
!coverage-map.js
|
|
22
|
+
!index.js
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ignore most things, include some others
|
|
2
|
+
/*
|
|
3
|
+
/.*
|
|
4
|
+
|
|
5
|
+
!bin/
|
|
6
|
+
!lib/
|
|
7
|
+
!docs/
|
|
8
|
+
!package.json
|
|
9
|
+
!package-lock.json
|
|
10
|
+
!README.md
|
|
11
|
+
!CONTRIBUTING.md
|
|
12
|
+
!LICENSE
|
|
13
|
+
!CHANGELOG.md
|
|
14
|
+
!example/
|
|
15
|
+
!scripts/
|
|
16
|
+
!tap-snapshots/
|
|
17
|
+
!test/
|
|
18
|
+
!.travis.yml
|
|
19
|
+
!.gitignore
|
|
20
|
+
!.gitattributes
|
|
21
|
+
!coverage-map.js
|
|
22
|
+
!index.js
|
package/template/workspace/nx/node_modules/.pnpm/node_modules/npm-normalize-package-bin/.gitignore
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ignore most things, include some others
|
|
2
|
+
/*
|
|
3
|
+
/.*
|
|
4
|
+
|
|
5
|
+
!bin/
|
|
6
|
+
!lib/
|
|
7
|
+
!docs/
|
|
8
|
+
!package.json
|
|
9
|
+
!package-lock.json
|
|
10
|
+
!README.md
|
|
11
|
+
!CONTRIBUTING.md
|
|
12
|
+
!LICENSE
|
|
13
|
+
!CHANGELOG.md
|
|
14
|
+
!example/
|
|
15
|
+
!scripts/
|
|
16
|
+
!tap-snapshots/
|
|
17
|
+
!test/
|
|
18
|
+
!.github/
|
|
19
|
+
!.travis.yml
|
|
20
|
+
!.gitignore
|
|
21
|
+
!.gitattributes
|
|
22
|
+
!coverage-map.js
|
|
23
|
+
!map.js
|
|
24
|
+
!index.js
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ignore most things, include some others
|
|
2
|
+
/*
|
|
3
|
+
/.*
|
|
4
|
+
|
|
5
|
+
!bin/
|
|
6
|
+
!lib/
|
|
7
|
+
!docs/
|
|
8
|
+
!package.json
|
|
9
|
+
!package-lock.json
|
|
10
|
+
!README.md
|
|
11
|
+
!CONTRIBUTING.md
|
|
12
|
+
!LICENSE
|
|
13
|
+
!CHANGELOG.md
|
|
14
|
+
!example/
|
|
15
|
+
!scripts/
|
|
16
|
+
!tap-snapshots/
|
|
17
|
+
!test/
|
|
18
|
+
!.github/
|
|
19
|
+
!.travis.yml
|
|
20
|
+
!.gitignore
|
|
21
|
+
!.gitattributes
|
|
22
|
+
!coverage-map.js
|
|
23
|
+
!map.js
|
|
24
|
+
!index.js
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ignore most things, include some others
|
|
2
|
+
/*
|
|
3
|
+
/.*
|
|
4
|
+
|
|
5
|
+
!bin/
|
|
6
|
+
!lib/
|
|
7
|
+
!docs/
|
|
8
|
+
!package.json
|
|
9
|
+
!package-lock.json
|
|
10
|
+
!README.md
|
|
11
|
+
!CONTRIBUTING.md
|
|
12
|
+
!LICENSE
|
|
13
|
+
!CHANGELOG.md
|
|
14
|
+
!example/
|
|
15
|
+
!scripts/
|
|
16
|
+
!tap-snapshots/
|
|
17
|
+
!test/
|
|
18
|
+
!.github/
|
|
19
|
+
!.travis.yml
|
|
20
|
+
!.gitignore
|
|
21
|
+
!.gitattributes
|
|
22
|
+
!coverage-map.js
|
|
23
|
+
!map.js
|
|
24
|
+
!index.js
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ignore most things, include some others
|
|
2
|
+
/*
|
|
3
|
+
/.*
|
|
4
|
+
|
|
5
|
+
!bin/
|
|
6
|
+
!lib/
|
|
7
|
+
!docs/
|
|
8
|
+
!package.json
|
|
9
|
+
!package-lock.json
|
|
10
|
+
!README.md
|
|
11
|
+
!CONTRIBUTING.md
|
|
12
|
+
!LICENSE
|
|
13
|
+
!CHANGELOG.md
|
|
14
|
+
!example/
|
|
15
|
+
!scripts/
|
|
16
|
+
!tap-snapshots/
|
|
17
|
+
!test/
|
|
18
|
+
!.github/
|
|
19
|
+
!.travis.yml
|
|
20
|
+
!.gitignore
|
|
21
|
+
!.gitattributes
|
|
22
|
+
!coverage-map.js
|
|
23
|
+
!map.js
|
|
24
|
+
!index.js
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "CommonJS",
|
|
4
|
+
"esModuleInterop": true,
|
|
5
|
+
"allowSyntheticDefaultImports": true,
|
|
6
|
+
"allowJs": true,
|
|
7
|
+
"strictNullChecks": true,
|
|
8
|
+
"target": "ESNext",
|
|
9
|
+
"noImplicitAny": false,
|
|
10
|
+
"moduleResolution": "node",
|
|
11
|
+
"sourceMap": false,
|
|
12
|
+
"declaration": true,
|
|
13
|
+
"outDir": "lib",
|
|
14
|
+
"baseUrl": "."
|
|
15
|
+
},
|
|
16
|
+
"include": ["tasks/**/*"],
|
|
17
|
+
"exclude": ["node_modules/**/*"]
|
|
17
18
|
}
|