@postxl/generator 1.3.6 → 1.3.7

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.
@@ -8,7 +8,7 @@ export declare const PNPM_VERSION = "10.30.2";
8
8
  * Hardcoded Node.js version used across all generated projects.
9
9
  * Update this when upgrading Node.js.
10
10
  */
11
- export declare const NODE_VERSION = "24.12.0";
11
+ export declare const NODE_VERSION = ">=24";
12
12
  export type PackageJsonConfig = {
13
13
  /**
14
14
  * Name of the package. Should contain `@postxl/` prefix.
@@ -12,7 +12,7 @@ exports.PNPM_VERSION = '10.30.2';
12
12
  * Hardcoded Node.js version used across all generated projects.
13
13
  * Update this when upgrading Node.js.
14
14
  */
15
- exports.NODE_VERSION = '24.12.0';
15
+ exports.NODE_VERSION = '>=24';
16
16
  function isPostXlWorkspacePackageName(packageName) {
17
17
  return !('version' in packageName) && packageName.packageName.startsWith('@postxl/');
18
18
  }
@@ -40,7 +40,7 @@ function generatePackageJson({ dependencies, devDependencies, scripts, name, des
40
40
  .toSorted((a, b) => a.name.localeCompare(b.name))
41
41
  .reduce((acc, script) => ({ ...acc, [script.name]: script.command }), {}),
42
42
  packageManager: `pnpm@${exports.PNPM_VERSION}`,
43
- devEngines: { runtime: { name: 'node', version: exports.NODE_VERSION, onFail: 'download' } },
43
+ devEngines: { runtime: { name: 'node', version: exports.NODE_VERSION } },
44
44
  ...(depsObject ? { dependencies: depsObject } : {}),
45
45
  ...(devDepsObject ? { devDependencies: devDepsObject } : {}),
46
46
  license: 'UNLICENSED',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postxl/generator",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "Core package that orchestrates the code generation of a PXL project",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -46,8 +46,8 @@
46
46
  "jszip": "3.10.1",
47
47
  "minimatch": "^10.2.2",
48
48
  "p-limit": "3.1.0",
49
- "@postxl/schema": "^1.6.0",
50
- "@postxl/utils": "^1.3.4"
49
+ "@postxl/schema": "^1.8.0",
50
+ "@postxl/utils": "^1.4.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/diff": "8.0.0"