@cedarjs/cli 1.0.0-canary.12524 → 1.0.0-canary.12526
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.
|
@@ -28,7 +28,7 @@ RUN --mount=type=cache,target=/home/node/.yarn/berry/cache,uid=1000 \
|
|
|
28
28
|
CI=1 yarn install
|
|
29
29
|
|
|
30
30
|
COPY --chown=node:node redwood.toml .
|
|
31
|
-
COPY --chown=node:node graphql.config.
|
|
31
|
+
COPY --chown=node:node graphql.config.cjs .
|
|
32
32
|
COPY --chown=node:node .env.defaults .env.defaults
|
|
33
33
|
|
|
34
34
|
# api build
|
|
@@ -83,7 +83,7 @@ RUN --mount=type=cache,target=/home/node/.yarn/berry/cache,uid=1000 \
|
|
|
83
83
|
CI=1 yarn workspaces focus api --production
|
|
84
84
|
|
|
85
85
|
COPY --chown=node:node redwood.toml .
|
|
86
|
-
COPY --chown=node:node graphql.config.
|
|
86
|
+
COPY --chown=node:node graphql.config.cjs .
|
|
87
87
|
COPY --chown=node:node .env.defaults .env.defaults
|
|
88
88
|
|
|
89
89
|
COPY --chown=node:node --from=api_build /home/node/app/api/dist /home/node/app/api/dist
|
|
@@ -123,7 +123,7 @@ RUN --mount=type=cache,target=/home/node/.yarn/berry/cache,uid=1000 \
|
|
|
123
123
|
CI=1 yarn workspaces focus web --production
|
|
124
124
|
|
|
125
125
|
COPY --chown=node:node redwood.toml .
|
|
126
|
-
COPY --chown=node:node graphql.config.
|
|
126
|
+
COPY --chown=node:node graphql.config.cjs .
|
|
127
127
|
COPY --chown=node:node .env.defaults .env.defaults
|
|
128
128
|
|
|
129
129
|
COPY --chown=node:node --from=web_build /home/node/app/web/dist /home/node/app/web/dist
|
|
@@ -312,7 +312,7 @@ const handler = async ({ force, install }) => {
|
|
|
312
312
|
task: async (_ctx) => {
|
|
313
313
|
const prettierConfigPath = path.join(
|
|
314
314
|
rwPaths.base,
|
|
315
|
-
"prettier.config.
|
|
315
|
+
"prettier.config.cjs"
|
|
316
316
|
);
|
|
317
317
|
const prettierConfig = fs.readFileSync(prettierConfigPath, "utf-8");
|
|
318
318
|
const tailwindConfigPath = path.relative(
|
|
@@ -346,7 +346,7 @@ const handler = async ({ force, install }) => {
|
|
|
346
346
|
task: async (_ctx, task) => {
|
|
347
347
|
const prettierConfigPath = path.join(
|
|
348
348
|
rwPaths.base,
|
|
349
|
-
"prettier.config.
|
|
349
|
+
"prettier.config.cjs"
|
|
350
350
|
);
|
|
351
351
|
const prettierConfig = fs.readFileSync(prettierConfigPath, "utf-8");
|
|
352
352
|
let newPrettierConfig = prettierConfig;
|
package/dist/lib/index.js
CHANGED
|
@@ -158,7 +158,7 @@ const getConfig = () => {
|
|
|
158
158
|
};
|
|
159
159
|
const getPrettierOptions = async () => {
|
|
160
160
|
try {
|
|
161
|
-
const { default: prettierOptions } = await import(`file://${path.join(getPaths().base, "prettier.config.
|
|
161
|
+
const { default: prettierOptions } = await import(`file://${path.join(getPaths().base, "prettier.config.cjs")}`);
|
|
162
162
|
return prettierOptions;
|
|
163
163
|
} catch (e) {
|
|
164
164
|
if (process.env.VITEST_POOL_ID !== void 0) {
|
package/dist/lib/test.js
CHANGED
|
@@ -73,7 +73,7 @@ vi.mock("./project", () => ({
|
|
|
73
73
|
}));
|
|
74
74
|
globalThis.__prettierPath = path.resolve(
|
|
75
75
|
import.meta.dirname,
|
|
76
|
-
"./__tests__/fixtures/prettier.config.
|
|
76
|
+
"./__tests__/fixtures/prettier.config.cjs"
|
|
77
77
|
);
|
|
78
78
|
vi.spyOn(Math, "random").mockReturnValue(0.123456789);
|
|
79
79
|
const generatorsRootPath = path.join(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.12526+6cd6baec4",
|
|
4
4
|
"description": "The Redwood Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime-corejs3": "7.27.6",
|
|
34
|
-
"@cedarjs/api-server": "1.0.0-canary.
|
|
35
|
-
"@cedarjs/cli-helpers": "1.0.0-canary.
|
|
36
|
-
"@cedarjs/fastify-web": "1.0.0-canary.
|
|
37
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
38
|
-
"@cedarjs/prerender": "1.0.0-canary.
|
|
39
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
40
|
-
"@cedarjs/structure": "1.0.0-canary.
|
|
41
|
-
"@cedarjs/telemetry": "1.0.0-canary.
|
|
42
|
-
"@cedarjs/web-server": "1.0.0-canary.
|
|
34
|
+
"@cedarjs/api-server": "1.0.0-canary.12526",
|
|
35
|
+
"@cedarjs/cli-helpers": "1.0.0-canary.12526",
|
|
36
|
+
"@cedarjs/fastify-web": "1.0.0-canary.12526",
|
|
37
|
+
"@cedarjs/internal": "1.0.0-canary.12526",
|
|
38
|
+
"@cedarjs/prerender": "1.0.0-canary.12526",
|
|
39
|
+
"@cedarjs/project-config": "1.0.0-canary.12526",
|
|
40
|
+
"@cedarjs/structure": "1.0.0-canary.12526",
|
|
41
|
+
"@cedarjs/telemetry": "1.0.0-canary.12526",
|
|
42
|
+
"@cedarjs/web-server": "1.0.0-canary.12526",
|
|
43
43
|
"@listr2/prompt-adapter-enquirer": "2.0.16",
|
|
44
44
|
"@opentelemetry/api": "1.8.0",
|
|
45
45
|
"@opentelemetry/core": "1.22.0",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"typescript": "5.6.2",
|
|
99
99
|
"vitest": "3.2.4"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "6cd6baec4214e711011ae8a7885b2c536b96acbb"
|
|
102
102
|
}
|