@postxl/generator 1.3.5 → 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.
|
@@ -3,12 +3,12 @@ import { PackageName } from './branded.types';
|
|
|
3
3
|
* Hardcoded pnpm version used across all generated projects.
|
|
4
4
|
* Update this when upgrading pnpm.
|
|
5
5
|
*/
|
|
6
|
-
export declare const PNPM_VERSION = "10.
|
|
6
|
+
export declare const PNPM_VERSION = "10.30.2";
|
|
7
7
|
/**
|
|
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
|
|
11
|
+
export declare const NODE_VERSION = ">=24";
|
|
12
12
|
export type PackageJsonConfig = {
|
|
13
13
|
/**
|
|
14
14
|
* Name of the package. Should contain `@postxl/` prefix.
|
|
@@ -7,12 +7,12 @@ exports.generatePackageJson = generatePackageJson;
|
|
|
7
7
|
* Hardcoded pnpm version used across all generated projects.
|
|
8
8
|
* Update this when upgrading pnpm.
|
|
9
9
|
*/
|
|
10
|
-
exports.PNPM_VERSION = '10.
|
|
10
|
+
exports.PNPM_VERSION = '10.30.2';
|
|
11
11
|
/**
|
|
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
|
|
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
|
|
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.
|
|
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",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"directory": "packages/generator"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
42
|
-
"prettier": "3.
|
|
43
|
-
"diff": "8.0.
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "8.56.1",
|
|
42
|
+
"prettier": "3.8.1",
|
|
43
|
+
"diff": "8.0.3",
|
|
44
44
|
"globals": "16.5.0",
|
|
45
|
-
"isbinaryfile": "5.0.
|
|
45
|
+
"isbinaryfile": "5.0.7",
|
|
46
46
|
"jszip": "3.10.1",
|
|
47
|
-
"minimatch": "^10.
|
|
47
|
+
"minimatch": "^10.2.2",
|
|
48
48
|
"p-limit": "3.1.0",
|
|
49
|
-
"@postxl/schema": "^1.
|
|
50
|
-
"@postxl/utils": "^1.
|
|
49
|
+
"@postxl/schema": "^1.8.0",
|
|
50
|
+
"@postxl/utils": "^1.4.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/diff": "8.0.0"
|