@kitschpatrol/create-project 1.1.3 → 1.2.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/dist/index.js +26 -8
- package/package.json +11 -10
- package/readme.md +11 -10
- package/templates/cli/.npmrc +0 -12
- package/templates/cli/.vscode/settings.json +30 -30
- package/templates/cli/license.txt +1 -1
- package/templates/cli/package.json +19 -22
- package/templates/cli/pnpm-workspace.yaml +14 -0
- package/templates/cli+library/.npmrc +0 -12
- package/templates/cli+library/.vscode/settings.json +30 -30
- package/templates/cli+library/license.txt +1 -1
- package/templates/cli+library/package.json +19 -22
- package/templates/cli+library/pnpm-workspace.yaml +14 -0
- package/templates/electron/.npmrc +0 -12
- package/templates/electron/.vscode/settings.json +30 -30
- package/templates/electron/cspell.config.js +1 -1
- package/templates/electron/electron-builder.ts +2 -0
- package/templates/electron/eslint.config.ts +1 -0
- package/templates/electron/knip.config.ts +3 -1
- package/templates/electron/license.txt +1 -1
- package/templates/electron/package.json +17 -17
- package/templates/electron/pnpm-workspace.yaml +14 -0
- package/templates/electron/src/style.css +3 -4
- package/templates/electron/tsconfig.json +1 -1
- package/templates/library/.npmrc +0 -12
- package/templates/library/.vscode/settings.json +30 -30
- package/templates/library/license.txt +1 -1
- package/templates/library/package.json +14 -17
- package/templates/library/pnpm-workspace.yaml +14 -0
- package/templates/minimal/.npmrc +0 -12
- package/templates/minimal/.vscode/settings.json +30 -30
- package/templates/minimal/license.txt +1 -1
- package/templates/minimal/package.json +14 -14
- package/templates/minimal/pnpm-workspace.yaml +14 -0
- package/templates/unplugin/.github/workflows/github-release.yml +81 -0
- package/templates/unplugin/.github/workflows/set-github-metadata.yml +21 -0
- package/templates/unplugin/.gitignore +22 -0
- package/templates/unplugin/.npmrc +4 -0
- package/templates/unplugin/.prettierignore +8 -0
- package/templates/unplugin/.remarkrc.js +8 -0
- package/templates/unplugin/.vscode/extensions.json +9 -0
- package/templates/unplugin/.vscode/settings.json +68 -0
- package/templates/unplugin/cspell.config.js +3 -0
- package/templates/unplugin/eslint.config.ts +11 -0
- package/templates/unplugin/knip.config.ts +5 -0
- package/templates/unplugin/license.txt +21 -0
- package/templates/unplugin/mdat.config.ts +3 -0
- package/templates/unplugin/package.json +82 -0
- package/templates/unplugin/pnpm-workspace.yaml +17 -0
- package/templates/unplugin/prettier.config.js +3 -0
- package/templates/unplugin/readme.md +27 -0
- package/templates/unplugin/src/api.ts +2 -0
- package/templates/unplugin/src/core/options.ts +28 -0
- package/templates/unplugin/src/esbuild.ts +22 -0
- package/templates/unplugin/src/farm.ts +22 -0
- package/templates/unplugin/src/index.ts +27 -0
- package/templates/unplugin/src/rolldown.ts +22 -0
- package/templates/unplugin/src/rollup.ts +22 -0
- package/templates/unplugin/src/rspack.ts +22 -0
- package/templates/unplugin/src/vite.ts +22 -0
- package/templates/unplugin/src/webpack.ts +24 -0
- package/templates/unplugin/stylelint.config.js +3 -0
- package/templates/unplugin/tests/__snapshots__/rollup.test.ts.snap +10 -0
- package/templates/unplugin/tests/fixtures/basic.js +1 -0
- package/templates/unplugin/tests/rollup.test.ts +16 -0
- package/templates/unplugin/tsconfig.build.json +5 -0
- package/templates/unplugin/tsconfig.json +7 -0
- package/templates/unplugin/tsdown.config.ts +7 -0
- package/templates/web/.npmrc +0 -12
- package/templates/web/.vscode/settings.json +30 -30
- package/templates/web/license.txt +1 -1
- package/templates/web/package.json +14 -14
- package/templates/web/pnpm-workspace.yaml +14 -0
- package/templates/web/src/style.css +3 -4
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
"explorer.fileNesting.patterns": {
|
|
5
|
-
"*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
|
|
6
|
-
"*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
|
|
7
|
-
".env": ".env.*",
|
|
8
|
-
"package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
|
|
9
|
-
"readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
|
|
2
|
+
"[astro]": {
|
|
3
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
10
4
|
},
|
|
11
|
-
"
|
|
12
|
-
|
|
5
|
+
"[gitignore]": {
|
|
6
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
7
|
+
},
|
|
8
|
+
"[ruby]": {
|
|
9
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
10
|
+
},
|
|
11
|
+
"[shellscript]": {
|
|
12
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
13
|
+
},
|
|
14
|
+
"[svelte]": {
|
|
15
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
16
|
+
},
|
|
17
|
+
"cSpell.enabled": true,
|
|
18
|
+
"cSpell.workspaceRootPath": ".",
|
|
13
19
|
"editor.codeActionsOnSave": {
|
|
14
20
|
"source.fixAll": "explicit",
|
|
15
21
|
"source.organizeImports": "never"
|
|
16
22
|
},
|
|
23
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
24
|
+
"editor.formatOnSave": true,
|
|
17
25
|
"eslint.enable": true,
|
|
18
26
|
"eslint.runtime": "node",
|
|
27
|
+
"eslint.useFlatConfig": true,
|
|
19
28
|
"eslint.validate": [
|
|
20
29
|
"astro",
|
|
21
30
|
"html",
|
|
@@ -33,26 +42,15 @@
|
|
|
33
42
|
"xml",
|
|
34
43
|
"yaml"
|
|
35
44
|
],
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
},
|
|
45
|
-
"[ruby]": {
|
|
46
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
47
|
-
},
|
|
48
|
-
"[shellscript]": {
|
|
49
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
50
|
-
},
|
|
51
|
-
"[svelte]": {
|
|
52
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
45
|
+
"explorer.fileNesting.enabled": true,
|
|
46
|
+
"explorer.fileNesting.expand": false,
|
|
47
|
+
"explorer.fileNesting.patterns": {
|
|
48
|
+
".env": ".env.*, .template.env",
|
|
49
|
+
"*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
|
|
50
|
+
"*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
|
|
51
|
+
"package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
|
|
52
|
+
"readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
|
|
53
53
|
},
|
|
54
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
55
|
-
"editor.formatOnSave": true,
|
|
56
54
|
"prettier.documentSelectors": [
|
|
57
55
|
"**/.eslintignore",
|
|
58
56
|
"**/.node-version",
|
|
@@ -64,5 +62,7 @@
|
|
|
64
62
|
],
|
|
65
63
|
"prettier.enable": true,
|
|
66
64
|
"stylelint.enable": true,
|
|
67
|
-
"stylelint.validate": ["css", "html", "svelte", "astro"]
|
|
65
|
+
"stylelint.validate": ["css", "html", "svelte", "astro"],
|
|
66
|
+
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
67
|
+
"typescript.tsdk": "node_modules/typescript/lib"
|
|
68
68
|
}
|
|
@@ -15,6 +15,8 @@ const config: Configuration = {
|
|
|
15
15
|
entitlementsInherit: 'electron/resources/mac/entitlements.mac.plist',
|
|
16
16
|
gatekeeperAssess: false,
|
|
17
17
|
hardenedRuntime: true,
|
|
18
|
+
// Delete this when you're ready to sign the app
|
|
19
|
+
identity: null,
|
|
18
20
|
icon: 'electron/resources/icons/mac/icon.icns',
|
|
19
21
|
target: 'zip',
|
|
20
22
|
},
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "{{github-repository}}",
|
|
2
|
+
"name": "{{{github-repository}}}",
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"private": true,
|
|
5
|
-
"description": "An {{type}} project.",
|
|
5
|
+
"description": "An {{{type}}} project.",
|
|
6
6
|
"keywords": [
|
|
7
|
-
"{{type}}"
|
|
7
|
+
"{{{type}}}"
|
|
8
8
|
],
|
|
9
|
-
"homepage": "https://github.com/{{github-owner}}/{{github-repository}}",
|
|
10
|
-
"bugs": "https://github.com/{{github-owner}}/{{github-repository}}/issues",
|
|
9
|
+
"homepage": "https://github.com/{{{github-owner}}}/{{{github-repository}}}",
|
|
10
|
+
"bugs": "https://github.com/{{{github-owner}}}/{{{github-repository}}}/issues",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/{{github-owner}}/{{github-repository}}.git"
|
|
13
|
+
"url": "git+https://github.com/{{{github-owner}}}/{{{github-repository}}}.git"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"author": {
|
|
17
|
-
"name": "{{author-name}}",
|
|
18
|
-
"email": "{{author-email}}",
|
|
19
|
-
"url": "{{author-url}}"
|
|
17
|
+
"name": "{{{author-name}}}",
|
|
18
|
+
"email": "{{{author-email}}}",
|
|
19
|
+
"url": "{{{author-url}}}"
|
|
20
20
|
},
|
|
21
21
|
"type": "module",
|
|
22
22
|
"main": "dist-electron/main.js",
|
|
@@ -30,19 +30,19 @@
|
|
|
30
30
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@types/node": "
|
|
34
|
-
"lognow": "^0.
|
|
33
|
+
"@types/node": "~22.19.3",
|
|
34
|
+
"lognow": "^0.3.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@kitschpatrol/shared-config": "^5.
|
|
38
|
-
"bumpp": "^10.3.
|
|
39
|
-
"electron": "^
|
|
37
|
+
"@kitschpatrol/shared-config": "^5.10.0",
|
|
38
|
+
"bumpp": "^10.3.2",
|
|
39
|
+
"electron": "^39.2.7",
|
|
40
40
|
"electron-builder": "^26.0.12",
|
|
41
41
|
"typescript": "~5.9.3",
|
|
42
|
-
"vite": "npm:rolldown-vite@7.
|
|
42
|
+
"vite": "npm:rolldown-vite@7.2.2",
|
|
43
43
|
"vite-plugin-electron": "^0.29.0"
|
|
44
44
|
},
|
|
45
|
-
"packageManager": "pnpm@10.
|
|
45
|
+
"packageManager": "pnpm@10.26.2",
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=22.18.0"
|
|
48
48
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"unrs-resolver"
|
|
56
56
|
],
|
|
57
57
|
"overrides": {
|
|
58
|
-
"vite": "npm:rolldown-vite@7.
|
|
58
|
+
"vite": "npm:rolldown-vite@7.2.2"
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# Required by @kitschpatrol/shared-config
|
|
2
|
+
|
|
1
3
|
onlyBuiltDependencies:
|
|
2
4
|
- esbuild
|
|
3
5
|
- unrs-resolver
|
|
6
|
+
|
|
7
|
+
publicHoistPattern:
|
|
8
|
+
- '@kitschpatrol/repo-config'
|
|
9
|
+
- '@kitschpatrol/typescript-config'
|
|
10
|
+
- 'case-police'
|
|
11
|
+
- '*cspell*'
|
|
12
|
+
- '*eslint*'
|
|
13
|
+
- '*knip*'
|
|
14
|
+
- '*mdat*'
|
|
15
|
+
- '*prettier*'
|
|
16
|
+
- '*remark*'
|
|
17
|
+
- '*stylelint*'
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
font-family: system-ui, Helvetica, Arial, sans-serif;
|
|
3
3
|
font-weight: 400;
|
|
4
|
-
|
|
5
|
-
-moz-osx-font-smoothing: grayscale;
|
|
4
|
+
font-synthesis: none;
|
|
6
5
|
line-height: 1.5;
|
|
7
6
|
color: rgb(255 255 255 / 87%);
|
|
8
7
|
text-rendering: optimizelegibility;
|
|
9
8
|
color-scheme: light dark;
|
|
10
9
|
background-color: #242424;
|
|
11
|
-
|
|
12
|
-
font-
|
|
10
|
+
-webkit-font-smoothing: antialiased;
|
|
11
|
+
-moz-osx-font-smoothing: grayscale;
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
a {
|
package/templates/library/.npmrc
CHANGED
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
publish-branch=main
|
|
2
2
|
|
|
3
|
-
# Required for using @kitschpatrol/shared-config and the ksc command with pnpm
|
|
4
|
-
public-hoist-pattern[]=@kitschpatrol/repo-config
|
|
5
|
-
public-hoist-pattern[]=@kitschpatrol/typescript-config
|
|
6
|
-
public-hoist-pattern[]=case-police
|
|
7
|
-
public-hoist-pattern[]=*cspell*
|
|
8
|
-
public-hoist-pattern[]=*eslint*
|
|
9
|
-
public-hoist-pattern[]=*knip*
|
|
10
|
-
public-hoist-pattern[]=*mdat*
|
|
11
|
-
public-hoist-pattern[]=*prettier*
|
|
12
|
-
public-hoist-pattern[]=*remark*
|
|
13
|
-
public-hoist-pattern[]=*stylelint*
|
|
14
|
-
|
|
15
3
|
# Required for automated local publishing
|
|
16
4
|
//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
|
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
"explorer.fileNesting.patterns": {
|
|
5
|
-
"*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
|
|
6
|
-
"*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
|
|
7
|
-
".env": ".env.*",
|
|
8
|
-
"package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
|
|
9
|
-
"readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
|
|
2
|
+
"[astro]": {
|
|
3
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
10
4
|
},
|
|
11
|
-
"
|
|
12
|
-
|
|
5
|
+
"[gitignore]": {
|
|
6
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
7
|
+
},
|
|
8
|
+
"[ruby]": {
|
|
9
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
10
|
+
},
|
|
11
|
+
"[shellscript]": {
|
|
12
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
13
|
+
},
|
|
14
|
+
"[svelte]": {
|
|
15
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
16
|
+
},
|
|
17
|
+
"cSpell.enabled": true,
|
|
18
|
+
"cSpell.workspaceRootPath": ".",
|
|
13
19
|
"editor.codeActionsOnSave": {
|
|
14
20
|
"source.fixAll": "explicit",
|
|
15
21
|
"source.organizeImports": "never"
|
|
16
22
|
},
|
|
23
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
24
|
+
"editor.formatOnSave": true,
|
|
17
25
|
"eslint.enable": true,
|
|
18
26
|
"eslint.runtime": "node",
|
|
27
|
+
"eslint.useFlatConfig": true,
|
|
19
28
|
"eslint.validate": [
|
|
20
29
|
"astro",
|
|
21
30
|
"html",
|
|
@@ -33,26 +42,15 @@
|
|
|
33
42
|
"xml",
|
|
34
43
|
"yaml"
|
|
35
44
|
],
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
},
|
|
45
|
-
"[ruby]": {
|
|
46
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
47
|
-
},
|
|
48
|
-
"[shellscript]": {
|
|
49
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
50
|
-
},
|
|
51
|
-
"[svelte]": {
|
|
52
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
45
|
+
"explorer.fileNesting.enabled": true,
|
|
46
|
+
"explorer.fileNesting.expand": false,
|
|
47
|
+
"explorer.fileNesting.patterns": {
|
|
48
|
+
".env": ".env.*, .template.env",
|
|
49
|
+
"*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
|
|
50
|
+
"*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
|
|
51
|
+
"package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
|
|
52
|
+
"readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
|
|
53
53
|
},
|
|
54
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
55
|
-
"editor.formatOnSave": true,
|
|
56
54
|
"prettier.documentSelectors": [
|
|
57
55
|
"**/.eslintignore",
|
|
58
56
|
"**/.node-version",
|
|
@@ -64,5 +62,7 @@
|
|
|
64
62
|
],
|
|
65
63
|
"prettier.enable": true,
|
|
66
64
|
"stylelint.enable": true,
|
|
67
|
-
"stylelint.validate": ["css", "html", "svelte", "astro"]
|
|
65
|
+
"stylelint.validate": ["css", "html", "svelte", "astro"],
|
|
66
|
+
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
67
|
+
"typescript.tsdk": "node_modules/typescript/lib"
|
|
68
68
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "{{github-repository}}",
|
|
2
|
+
"name": "{{{github-repository}}}",
|
|
3
3
|
"version": "0.0.0",
|
|
4
|
-
"description": "A {{type}} project.",
|
|
4
|
+
"description": "A {{{type}}} project.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"npm-package"
|
|
7
7
|
],
|
|
8
|
-
"homepage": "https://github.com/{{github-owner}}/{{github-repository}}",
|
|
9
|
-
"bugs": "https://github.com/{{github-owner}}/{{github-repository}}/issues",
|
|
8
|
+
"homepage": "https://github.com/{{{github-owner}}}/{{{github-repository}}}",
|
|
9
|
+
"bugs": "https://github.com/{{{github-owner}}}/{{{github-repository}}}/issues",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/{{github-owner}}/{{github-repository}}.git"
|
|
12
|
+
"url": "git+https://github.com/{{{github-owner}}}/{{{github-repository}}}.git"
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"author": {
|
|
16
|
-
"name": "{{author-name}}",
|
|
17
|
-
"email": "{{author-email}}",
|
|
18
|
-
"url": "{{author-url}}"
|
|
16
|
+
"name": "{{{author-name}}}",
|
|
17
|
+
"email": "{{{author-email}}}",
|
|
18
|
+
"url": "{{{author-url}}}"
|
|
19
19
|
},
|
|
20
20
|
"type": "module",
|
|
21
21
|
"exports": {
|
|
@@ -34,24 +34,21 @@
|
|
|
34
34
|
"clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
|
|
35
35
|
"fix": "ksc fix",
|
|
36
36
|
"lint": "ksc lint",
|
|
37
|
-
"release": "bumpp --commit 'Release: %s' && pnpm run build && NPM_AUTH_TOKEN=$({{npm-auth-command}}) && pnpm publish",
|
|
37
|
+
"release": "bumpp --commit 'Release: %s' && pnpm run build && NPM_AUTH_TOKEN=$({{{npm-auth-command}}}) && pnpm publish",
|
|
38
38
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@types/node": "
|
|
41
|
+
"@types/node": "~20.19.27",
|
|
42
42
|
"lognow": "^0.2.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@kitschpatrol/shared-config": "^5.
|
|
46
|
-
"bumpp": "^10.3.
|
|
47
|
-
"tsdown": "^0.
|
|
45
|
+
"@kitschpatrol/shared-config": "^5.10.0",
|
|
46
|
+
"bumpp": "^10.3.2",
|
|
47
|
+
"tsdown": "^0.18.3",
|
|
48
48
|
"typescript": "~5.9.3"
|
|
49
49
|
},
|
|
50
|
-
"packageManager": "pnpm@10.
|
|
50
|
+
"packageManager": "pnpm@10.26.2",
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=20.19.0"
|
|
53
|
-
},
|
|
54
|
-
"publishConfig": {
|
|
55
|
-
"access": "public"
|
|
56
53
|
}
|
|
57
54
|
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# Required by @kitschpatrol/shared-config
|
|
2
|
+
|
|
1
3
|
onlyBuiltDependencies:
|
|
2
4
|
- esbuild
|
|
3
5
|
- unrs-resolver
|
|
6
|
+
|
|
7
|
+
publicHoistPattern:
|
|
8
|
+
- '@kitschpatrol/repo-config'
|
|
9
|
+
- '@kitschpatrol/typescript-config'
|
|
10
|
+
- 'case-police'
|
|
11
|
+
- '*cspell*'
|
|
12
|
+
- '*eslint*'
|
|
13
|
+
- '*knip*'
|
|
14
|
+
- '*mdat*'
|
|
15
|
+
- '*prettier*'
|
|
16
|
+
- '*remark*'
|
|
17
|
+
- '*stylelint*'
|
package/templates/minimal/.npmrc
CHANGED
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
publish-branch=main
|
|
2
2
|
|
|
3
|
-
# Required for using @kitschpatrol/shared-config and the ksc command with pnpm
|
|
4
|
-
public-hoist-pattern[]=@kitschpatrol/repo-config
|
|
5
|
-
public-hoist-pattern[]=@kitschpatrol/typescript-config
|
|
6
|
-
public-hoist-pattern[]=case-police
|
|
7
|
-
public-hoist-pattern[]=*cspell*
|
|
8
|
-
public-hoist-pattern[]=*eslint*
|
|
9
|
-
public-hoist-pattern[]=*knip*
|
|
10
|
-
public-hoist-pattern[]=*mdat*
|
|
11
|
-
public-hoist-pattern[]=*prettier*
|
|
12
|
-
public-hoist-pattern[]=*remark*
|
|
13
|
-
public-hoist-pattern[]=*stylelint*
|
|
14
|
-
|
|
15
3
|
# Required for automated local publishing
|
|
16
4
|
//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
|
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
"explorer.fileNesting.patterns": {
|
|
5
|
-
"*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
|
|
6
|
-
"*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
|
|
7
|
-
".env": ".env.*",
|
|
8
|
-
"package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
|
|
9
|
-
"readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
|
|
2
|
+
"[astro]": {
|
|
3
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
10
4
|
},
|
|
11
|
-
"
|
|
12
|
-
|
|
5
|
+
"[gitignore]": {
|
|
6
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
7
|
+
},
|
|
8
|
+
"[ruby]": {
|
|
9
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
10
|
+
},
|
|
11
|
+
"[shellscript]": {
|
|
12
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
13
|
+
},
|
|
14
|
+
"[svelte]": {
|
|
15
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
16
|
+
},
|
|
17
|
+
"cSpell.enabled": true,
|
|
18
|
+
"cSpell.workspaceRootPath": ".",
|
|
13
19
|
"editor.codeActionsOnSave": {
|
|
14
20
|
"source.fixAll": "explicit",
|
|
15
21
|
"source.organizeImports": "never"
|
|
16
22
|
},
|
|
23
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
24
|
+
"editor.formatOnSave": true,
|
|
17
25
|
"eslint.enable": true,
|
|
18
26
|
"eslint.runtime": "node",
|
|
27
|
+
"eslint.useFlatConfig": true,
|
|
19
28
|
"eslint.validate": [
|
|
20
29
|
"astro",
|
|
21
30
|
"html",
|
|
@@ -33,26 +42,15 @@
|
|
|
33
42
|
"xml",
|
|
34
43
|
"yaml"
|
|
35
44
|
],
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
},
|
|
45
|
-
"[ruby]": {
|
|
46
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
47
|
-
},
|
|
48
|
-
"[shellscript]": {
|
|
49
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
50
|
-
},
|
|
51
|
-
"[svelte]": {
|
|
52
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
45
|
+
"explorer.fileNesting.enabled": true,
|
|
46
|
+
"explorer.fileNesting.expand": false,
|
|
47
|
+
"explorer.fileNesting.patterns": {
|
|
48
|
+
".env": ".env.*, .template.env",
|
|
49
|
+
"*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
|
|
50
|
+
"*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
|
|
51
|
+
"package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
|
|
52
|
+
"readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
|
|
53
53
|
},
|
|
54
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
55
|
-
"editor.formatOnSave": true,
|
|
56
54
|
"prettier.documentSelectors": [
|
|
57
55
|
"**/.eslintignore",
|
|
58
56
|
"**/.node-version",
|
|
@@ -64,5 +62,7 @@
|
|
|
64
62
|
],
|
|
65
63
|
"prettier.enable": true,
|
|
66
64
|
"stylelint.enable": true,
|
|
67
|
-
"stylelint.validate": ["css", "html", "svelte", "astro"]
|
|
65
|
+
"stylelint.validate": ["css", "html", "svelte", "astro"],
|
|
66
|
+
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
67
|
+
"typescript.tsdk": "node_modules/typescript/lib"
|
|
68
68
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "{{github-repository}}",
|
|
2
|
+
"name": "{{{github-repository}}}",
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"private": true,
|
|
5
|
-
"description": "A {{type}} project.",
|
|
5
|
+
"description": "A {{{type}}} project.",
|
|
6
6
|
"keywords": [
|
|
7
|
-
"{{type}}"
|
|
7
|
+
"{{{type}}}"
|
|
8
8
|
],
|
|
9
|
-
"homepage": "https://github.com/{{github-owner}}/{{github-repository}}",
|
|
10
|
-
"bugs": "https://github.com/{{github-owner}}/{{github-repository}}/issues",
|
|
9
|
+
"homepage": "https://github.com/{{{github-owner}}}/{{{github-repository}}}",
|
|
10
|
+
"bugs": "https://github.com/{{{github-owner}}}/{{{github-repository}}}/issues",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/{{github-owner}}/{{github-repository}}.git"
|
|
13
|
+
"url": "git+https://github.com/{{{github-owner}}}/{{{github-repository}}}.git"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"author": {
|
|
17
|
-
"name": "{{author-name}}",
|
|
18
|
-
"email": "{{author-email}}",
|
|
19
|
-
"url": "{{author-url}}"
|
|
17
|
+
"name": "{{{author-name}}}",
|
|
18
|
+
"email": "{{{author-email}}}",
|
|
19
|
+
"url": "{{{author-url}}}"
|
|
20
20
|
},
|
|
21
21
|
"type": "module",
|
|
22
22
|
"scripts": {
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@types/node": "
|
|
32
|
+
"@types/node": "~20.19.27"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@kitschpatrol/shared-config": "^5.
|
|
36
|
-
"bumpp": "^10.3.
|
|
37
|
-
"tsx": "^4.
|
|
35
|
+
"@kitschpatrol/shared-config": "^5.10.0",
|
|
36
|
+
"bumpp": "^10.3.2",
|
|
37
|
+
"tsx": "^4.21.0",
|
|
38
38
|
"typescript": "~5.9.3"
|
|
39
39
|
},
|
|
40
|
-
"packageManager": "pnpm@10.
|
|
40
|
+
"packageManager": "pnpm@10.26.2",
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=20.19.0"
|
|
43
43
|
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# Required by @kitschpatrol/shared-config
|
|
2
|
+
|
|
1
3
|
onlyBuiltDependencies:
|
|
2
4
|
- esbuild
|
|
3
5
|
- unrs-resolver
|
|
6
|
+
|
|
7
|
+
publicHoistPattern:
|
|
8
|
+
- '@kitschpatrol/repo-config'
|
|
9
|
+
- '@kitschpatrol/typescript-config'
|
|
10
|
+
- 'case-police'
|
|
11
|
+
- '*cspell*'
|
|
12
|
+
- '*eslint*'
|
|
13
|
+
- '*knip*'
|
|
14
|
+
- '*mdat*'
|
|
15
|
+
- '*prettier*'
|
|
16
|
+
- '*remark*'
|
|
17
|
+
- '*stylelint*'
|