@nx-extend/vercel 11.0.0 → 12.0.0

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/CHANGELOG.md CHANGED
@@ -1,4 +1,33 @@
1
1
 
2
+ # [12.0.0](https://github.com/tripss/nx-extend/compare/vercel@11.1.0...vercel@12.0.0) (2024-12-13)
3
+
4
+ ### Dependency Updates
5
+
6
+ * `core` updated to version `8.1.1`
7
+
8
+ ### Features
9
+
10
+ * **vercel:** Update Node.js version options in Vercel build executor ([0ddc9c9](https://github.com/tripss/nx-extend/commit/0ddc9c94c19dbd010a0efadaeb21ede5df8e2410))
11
+
12
+
13
+ ### BREAKING CHANGES
14
+
15
+ * **vercel:** The default node version is now set to `22.x` (LTS)
16
+
17
+
18
+
19
+ # [11.1.0](https://github.com/tripss/nx-extend/compare/vercel@11.0.0...vercel@11.1.0) (2024-10-24)
20
+
21
+ ### Dependency Updates
22
+
23
+ * `core` updated to version `8.1.0`
24
+
25
+ ### Features
26
+
27
+ * Update NX peerDependencies to v20.0.0 ([67e1f69](https://github.com/tripss/nx-extend/commit/67e1f69f0d5cdde653858224af6ddd89c91f7309))
28
+
29
+
30
+
2
31
  # [11.0.0](https://github.com/tripss/nx-extend/compare/vercel@10.0.2...vercel@11.0.0) (2024-10-11)
3
32
 
4
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx-extend/vercel",
3
- "version": "11.0.0",
3
+ "version": "12.0.0",
4
4
  "keywords": [
5
5
  "nx",
6
6
  "vercel"
@@ -16,14 +16,14 @@
16
16
  "license": "MIT",
17
17
  "main": "src/index.js",
18
18
  "peerDependencies": {
19
- "@nx/devkit": "^19.6.0"
19
+ "@nx/devkit": "^20.0.0"
20
20
  },
21
21
  "builders": "./executors.json",
22
22
  "generators": "./generators.json",
23
23
  "dependencies": {
24
24
  "@actions/core": "^1.11.1",
25
25
  "shelljs": "^0.8.5",
26
- "@nx-extend/core": "8.0.2",
26
+ "@nx-extend/core": "8.1.1",
27
27
  "tslib": "2.7.0"
28
28
  },
29
29
  "packageManager": "yarn@4.3.1",
@@ -6,7 +6,7 @@ export interface BuildOptions {
6
6
  buildTarget?: string;
7
7
  framework?: string;
8
8
  outputPath?: string;
9
- nodeVersion?: '16.x';
9
+ nodeVersion?: '20.x' | '22.x';
10
10
  config: string;
11
11
  }
12
12
  export declare function buildExecutor(options: BuildOptions, context: ExecutorContext): Promise<{
@@ -77,7 +77,7 @@ function buildExecutor(options, context) {
77
77
  outputDirectory: (0, get_output_directory_1.getOutputDirectory)(framework, outputDirectory),
78
78
  rootDirectory: null,
79
79
  directoryListing: false,
80
- nodeVersion: options.nodeVersion || '20.x'
80
+ nodeVersion: options.nodeVersion || '22.x'
81
81
  }
82
82
  });
83
83
  const { success } = (0, core_1.execCommand)((0, core_1.buildCommand)([
@@ -25,7 +25,7 @@ export interface BuildOptions {
25
25
  buildTarget?: string
26
26
  framework?: string
27
27
  outputPath?: string
28
- nodeVersion?: '16.x'
28
+ nodeVersion?: '20.x' | '22.x'
29
29
  config: string
30
30
  }
31
31
 
@@ -115,7 +115,7 @@ export function buildExecutor(
115
115
  outputDirectory: getOutputDirectory(framework, outputDirectory),
116
116
  rootDirectory: null,
117
117
  directoryListing: false,
118
- nodeVersion: options.nodeVersion || '20.x'
118
+ nodeVersion: options.nodeVersion || '22.x'
119
119
  }
120
120
  })
121
121
 
@@ -27,6 +27,14 @@
27
27
  "remix",
28
28
  "other"
29
29
  ]
30
+ },
31
+ "nodeVersion": {
32
+ "type": "string",
33
+ "description": "What version of node to configure",
34
+ "enum": [
35
+ "20.x",
36
+ "22.x"
37
+ ]
30
38
  }
31
39
  },
32
40
  "required": [