@bigcommerce/catalyst 1.3.0 → 1.4.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/dist/cli.js +1134 -672
- package/dist/cli.js.map +1 -1
- package/package.json +9 -3
- package/templates/open-next.config.ts +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigcommerce/catalyst",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"templates"
|
|
16
16
|
],
|
|
17
17
|
"engines": {
|
|
18
|
-
"node": "^
|
|
18
|
+
"node": "^22.0.0 || ^24.0.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@commander-js/extra-typings": "^14.0.0",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"semver": "^7.7.4",
|
|
36
36
|
"std-env": "^3.9.0",
|
|
37
37
|
"tar": "^7.5.7",
|
|
38
|
+
"tldts": "^7.4.12",
|
|
38
39
|
"yocto-spinner": "^1.0.0",
|
|
39
40
|
"zod": "^4.0.5"
|
|
40
41
|
},
|
|
@@ -57,7 +58,12 @@
|
|
|
57
58
|
"@bigcommerce/eslint-config-catalyst": "^1.0.0"
|
|
58
59
|
},
|
|
59
60
|
"peerDependencies": {
|
|
60
|
-
"@opennextjs/cloudflare": "1.17.3"
|
|
61
|
+
"@opennextjs/cloudflare": "^1.17.3"
|
|
62
|
+
},
|
|
63
|
+
"peerDependenciesMeta": {
|
|
64
|
+
"@opennextjs/cloudflare": {
|
|
65
|
+
"optional": true
|
|
66
|
+
}
|
|
61
67
|
},
|
|
62
68
|
"scripts": {
|
|
63
69
|
"dev": "tsup --watch",
|
|
@@ -88,7 +88,14 @@ const cloudflareConfig = defineCloudflareConfig({
|
|
|
88
88
|
});
|
|
89
89
|
|
|
90
90
|
const config: OpenNextConfig = {
|
|
91
|
-
|
|
91
|
+
// Invoke Next through `node` on its published bin rather than the
|
|
92
|
+
// `node_modules/.bin/next` shim. OpenNext runs this string via
|
|
93
|
+
// `execSync`, which shells out to cmd.exe on native Windows — where the
|
|
94
|
+
// extensionless POSIX shim and forward-slash path both fail to resolve.
|
|
95
|
+
// Calling `node <bin>` works identically across sh and cmd.exe (node.exe
|
|
96
|
+
// accepts forward slashes) while still bypassing the project's `build`
|
|
97
|
+
// script so the `generate` step is skipped.
|
|
98
|
+
buildCommand: 'node ./node_modules/next/dist/bin/next build',
|
|
92
99
|
...cloudflareConfig,
|
|
93
100
|
};
|
|
94
101
|
|