@cedarjs/internal 1.0.0-canary.12524 → 1.0.0-canary.12525
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/cjs/ts2js.d.ts +1 -1
- package/dist/cjs/ts2js.js +1 -1
- package/dist/ts2js.d.ts +1 -1
- package/dist/ts2js.js +1 -1
- package/package.json +7 -7
package/dist/cjs/ts2js.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare const transformTSToJS: (file: string) => Promise<string> | undefi
|
|
|
31
31
|
export declare const getPrettierConfig: () => Promise<any>;
|
|
32
32
|
/**
|
|
33
33
|
* Prettify `code` according to the extension in `filename`.
|
|
34
|
-
* This will also read a user's `prettier.config.
|
|
34
|
+
* This will also read a user's `prettier.config.cjs` file if it exists.
|
|
35
35
|
*
|
|
36
36
|
* @param {string} code
|
|
37
37
|
* @param {string} filename
|
package/dist/cjs/ts2js.js
CHANGED
|
@@ -117,7 +117,7 @@ const transformTSToJS = (file) => {
|
|
|
117
117
|
};
|
|
118
118
|
const getPrettierConfig = async () => {
|
|
119
119
|
try {
|
|
120
|
-
const { default: prettierConfig } = await import(`file://${import_path.default.join((0, import_project_config.getPaths)().base, "prettier.config.
|
|
120
|
+
const { default: prettierConfig } = await import(`file://${import_path.default.join((0, import_project_config.getPaths)().base, "prettier.config.cjs")}`);
|
|
121
121
|
return prettierConfig;
|
|
122
122
|
} catch {
|
|
123
123
|
return void 0;
|
package/dist/ts2js.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare const transformTSToJS: (file: string) => Promise<string> | undefi
|
|
|
31
31
|
export declare const getPrettierConfig: () => Promise<any>;
|
|
32
32
|
/**
|
|
33
33
|
* Prettify `code` according to the extension in `filename`.
|
|
34
|
-
* This will also read a user's `prettier.config.
|
|
34
|
+
* This will also read a user's `prettier.config.cjs` file if it exists.
|
|
35
35
|
*
|
|
36
36
|
* @param {string} code
|
|
37
37
|
* @param {string} filename
|
package/dist/ts2js.js
CHANGED
|
@@ -78,7 +78,7 @@ const transformTSToJS = (file) => {
|
|
|
78
78
|
};
|
|
79
79
|
const getPrettierConfig = async () => {
|
|
80
80
|
try {
|
|
81
|
-
const { default: prettierConfig } = await import(`file://${path.join(getPaths().base, "prettier.config.
|
|
81
|
+
const { default: prettierConfig } = await import(`file://${path.join(getPaths().base, "prettier.config.cjs")}`);
|
|
82
82
|
return prettierConfig;
|
|
83
83
|
} catch {
|
|
84
84
|
return void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/internal",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.12525+91e73cdbb",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -140,10 +140,10 @@
|
|
|
140
140
|
"@babel/plugin-transform-typescript": "^7.26.8",
|
|
141
141
|
"@babel/runtime-corejs3": "7.27.6",
|
|
142
142
|
"@babel/traverse": "7.27.4",
|
|
143
|
-
"@cedarjs/babel-config": "1.0.0-canary.
|
|
144
|
-
"@cedarjs/graphql-server": "1.0.0-canary.
|
|
145
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
146
|
-
"@cedarjs/router": "1.0.0-canary.
|
|
143
|
+
"@cedarjs/babel-config": "1.0.0-canary.12525",
|
|
144
|
+
"@cedarjs/graphql-server": "1.0.0-canary.12525",
|
|
145
|
+
"@cedarjs/project-config": "1.0.0-canary.12525",
|
|
146
|
+
"@cedarjs/router": "1.0.0-canary.12525",
|
|
147
147
|
"@graphql-codegen/add": "4.0.1",
|
|
148
148
|
"@graphql-codegen/cli": "3.3.1",
|
|
149
149
|
"@graphql-codegen/client-preset": "4.3.3",
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
},
|
|
177
177
|
"devDependencies": {
|
|
178
178
|
"@arethetypeswrong/cli": "0.18.2",
|
|
179
|
-
"@cedarjs/framework-tools": "1.0.0-canary.
|
|
179
|
+
"@cedarjs/framework-tools": "1.0.0-canary.12525",
|
|
180
180
|
"@types/fs-extra": "11.0.4",
|
|
181
181
|
"concurrently": "8.2.2",
|
|
182
182
|
"graphql-tag": "2.12.6",
|
|
@@ -184,5 +184,5 @@
|
|
|
184
184
|
"tsx": "4.20.3",
|
|
185
185
|
"vitest": "3.2.4"
|
|
186
186
|
},
|
|
187
|
-
"gitHead": "
|
|
187
|
+
"gitHead": "91e73cdbbcbef0b733b2c7f89a894e65f75ee73b"
|
|
188
188
|
}
|