create-packkit 1.4.0 → 1.4.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/README.md CHANGED
@@ -80,6 +80,13 @@ Packkit is a pure `config → { files }` **core** that runs in both Node and the
80
80
 
81
81
  Both drive from one options schema ([`src/core/options.js`](src/core/options.js)), so the CLI and the web page always stay in sync.
82
82
 
83
+ ## Staying fresh
84
+
85
+ Two GitHub Actions keep the templates honest:
86
+
87
+ - **Dependency freshness** — a weekly check flags any version Packkit writes into generated projects that's fallen a major behind (versions Dependabot can't see), and opens an issue.
88
+ - **Integration** — on any change to generation logic or a template dependency, it generates every preset, installs it, and runs its real checks (build/test/lint, and actually starts services) — so an update can't silently break the projects you'd get.
89
+
83
90
  ## License
84
91
 
85
92
  [MIT](LICENSE) © DanMat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packkit",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Highly configurable scaffolder for modern npm packages and CLIs — pick your stack (TS/JS, bundler, tests, linter, CI, releases) from a CLI or a web configurator.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,6 +25,7 @@
25
25
  "start": "node bin/cli.js",
26
26
  "test": "node --test",
27
27
  "check:deps": "node scripts/check-template-deps.mjs",
28
+ "integration": "node scripts/integration.mjs",
28
29
  "build:web": "esbuild src/core/index.js --bundle --format=esm --outfile=docs/packkit-core.js"
29
30
  },
30
31
  "repository": {
@@ -46,6 +46,9 @@ export default {
46
46
  pkg.scripts.build = tool;
47
47
  pkg.scripts.dev = `${tool} --watch`;
48
48
  pkg.devDependencies = { [tool]: tool === 'tsup' ? '^8.0.0' : '^0.6.0' };
49
+ // tsup/tsdown resolve `typescript` even for plain-JS builds; TS projects
50
+ // already get it from the typescript feature.
51
+ if (!cfg.isTs) pkg.devDependencies.typescript = '^5.5.0';
49
52
  } else if (cfg.bundler === 'unbuild') {
50
53
  files['build.config.ts'] = unbuildConfig(cfg);
51
54
  pkg.scripts.build = 'unbuild';