@cedarjs/cli 8.0.0-canary.3327 → 8.0.0-canary.3331

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.
@@ -131,7 +131,9 @@ function insertPluginsBeforeCedar({
131
131
  if (!configArg) {
132
132
  return null;
133
133
  }
134
- const pluginsProp = configArg.properties.find(t.isObjectProperty);
134
+ const pluginsProp = configArg.properties.find(
135
+ (prop) => t.isObjectProperty(prop) && (!prop.computed && t.isIdentifier(prop.key, { name: "plugins" }) || t.isStringLiteral(prop.key, { value: "plugins" }))
136
+ );
135
137
  if (!t.isArrayExpression(pluginsProp?.value)) {
136
138
  return null;
137
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "8.0.0-canary.3327",
3
+ "version": "8.0.0-canary.3331",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,18 +36,18 @@
36
36
  "@babel/preset-typescript": "7.29.7",
37
37
  "@babel/traverse": "7.29.8",
38
38
  "@babel/types": "7.29.8",
39
- "@cedarjs/api-server": "8.0.0-canary.3327",
40
- "@cedarjs/babel-config": "8.0.0-canary.3327",
41
- "@cedarjs/cli-helpers": "8.0.0-canary.3327",
42
- "@cedarjs/internal": "8.0.0-canary.3327",
43
- "@cedarjs/prerender": "8.0.0-canary.3327",
44
- "@cedarjs/project-config": "8.0.0-canary.3327",
45
- "@cedarjs/structure": "8.0.0-canary.3327",
46
- "@cedarjs/telemetry": "8.0.0-canary.3327",
47
- "@cedarjs/utils": "8.0.0-canary.3327",
48
- "@cedarjs/vite": "8.0.0-canary.3327",
49
- "@cedarjs/web-server": "8.0.0-canary.3327",
50
- "@listr2/prompt-adapter-enquirer": "4.3.2",
39
+ "@cedarjs/api-server": "8.0.0-canary.3331",
40
+ "@cedarjs/babel-config": "8.0.0-canary.3331",
41
+ "@cedarjs/cli-helpers": "8.0.0-canary.3331",
42
+ "@cedarjs/internal": "8.0.0-canary.3331",
43
+ "@cedarjs/prerender": "8.0.0-canary.3331",
44
+ "@cedarjs/project-config": "8.0.0-canary.3331",
45
+ "@cedarjs/structure": "8.0.0-canary.3331",
46
+ "@cedarjs/telemetry": "8.0.0-canary.3331",
47
+ "@cedarjs/utils": "8.0.0-canary.3331",
48
+ "@cedarjs/vite": "8.0.0-canary.3331",
49
+ "@cedarjs/web-server": "8.0.0-canary.3331",
50
+ "@listr2/prompt-adapter-enquirer": "4.3.3",
51
51
  "@opentelemetry/api": "1.9.1",
52
52
  "@opentelemetry/core": "2.11.0",
53
53
  "@opentelemetry/exporter-trace-otlp-http": "0.222.0",
@@ -94,7 +94,7 @@
94
94
  "yargs": "17.7.3"
95
95
  },
96
96
  "devDependencies": {
97
- "@cedarjs/framework-tools": "8.0.0-canary.3327",
97
+ "@cedarjs/framework-tools": "8.0.0-canary.3331",
98
98
  "@prisma/dmmf": "7.10.0",
99
99
  "@types/archiver": "^7.0.0",
100
100
  "memfs": "4.80.0",