@cedarjs/internal 1.0.1-next.0 → 1.0.1-next.30
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/generate/graphqlCodeGen.js +1 -1
- package/dist/cjs/generate/graphqlSchema.d.ts.map +1 -1
- package/dist/cjs/generate/graphqlSchema.js +5 -1
- package/dist/cjs/generate/possibleTypes.d.ts +1 -1
- package/dist/cjs/generate/possibleTypes.d.ts.map +1 -1
- package/dist/generate/graphqlCodeGen.js +1 -1
- package/dist/generate/graphqlSchema.d.ts.map +1 -1
- package/dist/generate/graphqlSchema.js +5 -1
- package/dist/generate/possibleTypes.d.ts +1 -1
- package/dist/generate/possibleTypes.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -194,7 +194,7 @@ async function runCodegenGraphQL(documents, extraPlugins, filename, side) {
|
|
|
194
194
|
function getLoadDocumentsOptions(filename) {
|
|
195
195
|
const loadTypedefsConfig = {
|
|
196
196
|
cwd: (0, import_project_config.getPaths)().base,
|
|
197
|
-
ignore: [
|
|
197
|
+
ignore: [filename],
|
|
198
198
|
loaders: [new import_code_file_loader.CodeFileLoader()],
|
|
199
199
|
sort: true
|
|
200
200
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlSchema.d.ts","sourceRoot":"","sources":["../../../src/generate/graphqlSchema.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,qBAAqB;;;
|
|
1
|
+
{"version":3,"file":"graphqlSchema.d.ts","sourceRoot":"","sources":["../../../src/generate/graphqlSchema.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,qBAAqB;;;iBA6DP,MAAM;eAAS,OAAO;;EAyEhD,CAAA"}
|
|
@@ -50,7 +50,11 @@ const generateGraphQLSchema = async () => {
|
|
|
50
50
|
[(0, import_graphql.print)(import_graphql_server.rootSchema.schema)]: {},
|
|
51
51
|
"graphql/**/*.sdl.{js,ts}": {},
|
|
52
52
|
"directives/**/*.{js,ts}": {},
|
|
53
|
-
"
|
|
53
|
+
"!directives/**/*.test.{js,ts}": {},
|
|
54
|
+
"!directives/**/*.spec.{js,ts}": {},
|
|
55
|
+
"subscriptions/**/*.{js,ts}": {},
|
|
56
|
+
"!subscriptions/**/*.test.{js,ts}": {},
|
|
57
|
+
"!subscriptions/**/*.spec.{js,ts}": {}
|
|
54
58
|
};
|
|
55
59
|
for (const [name, schema] of Object.entries(import_graphql_server.rootSchema.scalarSchemas)) {
|
|
56
60
|
if (redwoodProjectConfig.graphql.includeScalars[name]) {
|
|
@@ -30,7 +30,7 @@ type PossibleTypesResult = {
|
|
|
30
30
|
* ```
|
|
31
31
|
*
|
|
32
32
|
* @see https://www.apollographql.com/docs/react/data/fragments/#using-fragments-with-unions-and-interfaces
|
|
33
|
-
|
|
33
|
+
*/
|
|
34
34
|
export declare const generatePossibleTypes: () => Promise<PossibleTypesResult>;
|
|
35
35
|
export {};
|
|
36
36
|
//# sourceMappingURL=possibleTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"possibleTypes.d.ts","sourceRoot":"","sources":["../../../src/generate/possibleTypes.ts"],"names":[],"mappings":"AAYA,KAAK,mBAAmB,GAAG;IACzB,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CAC9C,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"possibleTypes.d.ts","sourceRoot":"","sources":["../../../src/generate/possibleTypes.ts"],"names":[],"mappings":"AAYA,KAAK,mBAAmB,GAAG;IACzB,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CAC9C,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,qBAAqB,QAAa,OAAO,CAAC,mBAAmB,CAyEzE,CAAA"}
|
|
@@ -158,7 +158,7 @@ async function runCodegenGraphQL(documents, extraPlugins, filename, side) {
|
|
|
158
158
|
function getLoadDocumentsOptions(filename) {
|
|
159
159
|
const loadTypedefsConfig = {
|
|
160
160
|
cwd: getPaths().base,
|
|
161
|
-
ignore: [
|
|
161
|
+
ignore: [filename],
|
|
162
162
|
loaders: [new CodeFileLoader()],
|
|
163
163
|
sort: true
|
|
164
164
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlSchema.d.ts","sourceRoot":"","sources":["../../src/generate/graphqlSchema.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,qBAAqB;;;
|
|
1
|
+
{"version":3,"file":"graphqlSchema.d.ts","sourceRoot":"","sources":["../../src/generate/graphqlSchema.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,qBAAqB;;;iBA6DP,MAAM;eAAS,OAAO;;EAyEhD,CAAA"}
|
|
@@ -17,7 +17,11 @@ const generateGraphQLSchema = async () => {
|
|
|
17
17
|
[print(rootSchema.schema)]: {},
|
|
18
18
|
"graphql/**/*.sdl.{js,ts}": {},
|
|
19
19
|
"directives/**/*.{js,ts}": {},
|
|
20
|
-
"
|
|
20
|
+
"!directives/**/*.test.{js,ts}": {},
|
|
21
|
+
"!directives/**/*.spec.{js,ts}": {},
|
|
22
|
+
"subscriptions/**/*.{js,ts}": {},
|
|
23
|
+
"!subscriptions/**/*.test.{js,ts}": {},
|
|
24
|
+
"!subscriptions/**/*.spec.{js,ts}": {}
|
|
21
25
|
};
|
|
22
26
|
for (const [name, schema] of Object.entries(rootSchema.scalarSchemas)) {
|
|
23
27
|
if (redwoodProjectConfig.graphql.includeScalars[name]) {
|
|
@@ -30,7 +30,7 @@ type PossibleTypesResult = {
|
|
|
30
30
|
* ```
|
|
31
31
|
*
|
|
32
32
|
* @see https://www.apollographql.com/docs/react/data/fragments/#using-fragments-with-unions-and-interfaces
|
|
33
|
-
|
|
33
|
+
*/
|
|
34
34
|
export declare const generatePossibleTypes: () => Promise<PossibleTypesResult>;
|
|
35
35
|
export {};
|
|
36
36
|
//# sourceMappingURL=possibleTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"possibleTypes.d.ts","sourceRoot":"","sources":["../../src/generate/possibleTypes.ts"],"names":[],"mappings":"AAYA,KAAK,mBAAmB,GAAG;IACzB,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CAC9C,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"possibleTypes.d.ts","sourceRoot":"","sources":["../../src/generate/possibleTypes.ts"],"names":[],"mappings":"AAYA,KAAK,mBAAmB,GAAG;IACzB,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CAC9C,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,qBAAqB,QAAa,OAAO,CAAC,mBAAmB,CAyEzE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/internal",
|
|
3
|
-
"version": "1.0.1-next.
|
|
3
|
+
"version": "1.0.1-next.30+c50602506",
|
|
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.1-next.
|
|
144
|
-
"@cedarjs/graphql-server": "1.0.1-next.
|
|
145
|
-
"@cedarjs/project-config": "1.0.1-next.
|
|
146
|
-
"@cedarjs/router": "1.0.1-next.
|
|
143
|
+
"@cedarjs/babel-config": "1.0.1-next.30+c50602506",
|
|
144
|
+
"@cedarjs/graphql-server": "1.0.1-next.30+c50602506",
|
|
145
|
+
"@cedarjs/project-config": "1.0.1-next.30+c50602506",
|
|
146
|
+
"@cedarjs/router": "1.0.1-next.30+c50602506",
|
|
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.1-next.
|
|
179
|
+
"@cedarjs/framework-tools": "1.0.1-next.30",
|
|
180
180
|
"@types/fs-extra": "11.0.4",
|
|
181
181
|
"concurrently": "8.2.2",
|
|
182
182
|
"graphql-tag": "2.12.6",
|
|
@@ -187,5 +187,5 @@
|
|
|
187
187
|
"publishConfig": {
|
|
188
188
|
"access": "public"
|
|
189
189
|
},
|
|
190
|
-
"gitHead": "
|
|
190
|
+
"gitHead": "c50602506f5c30e6a31561bed1dadd87569fbd45"
|
|
191
191
|
}
|