@cedarjs/testing 6.0.0-canary.2646 → 6.0.0-canary.2652

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.
@@ -1 +1 @@
1
- {"version":3,"file":"babel-plugin-redwood-cell.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/babelPlugins/babel-plugin-redwood-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAA;AAqCtC,UAAU,WAAY,SAAQ,UAAU;IAKtC,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,gBAAgB,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,EACvB,KAAK,GACN,EAAE;IACD,KAAK,EAAE,OAAO,CAAC,CAAA;CAChB,GAAG,SAAS,CAAC,WAAW,CAAC,CAkHzB"}
1
+ {"version":3,"file":"babel-plugin-redwood-cell.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/babelPlugins/babel-plugin-redwood-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAA;AAsCtC,UAAU,WAAY,SAAQ,UAAU;IAKtC,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,gBAAgB,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,EACvB,KAAK,GACN,EAAE;IACD,KAAK,EAAE,OAAO,CAAC,CAAA;CAChB,GAAG,SAAS,CAAC,WAAW,CAAC,CAoHzB"}
@@ -25,6 +25,7 @@ var import_node_path = require("node:path");
25
25
  const EXPECTED_EXPORTS_FROM_CELL = [
26
26
  "beforeQuery",
27
27
  "QUERY",
28
+ "FRAGMENT",
28
29
  "data",
29
30
  "isEmpty",
30
31
  "afterQuery",
@@ -70,7 +71,7 @@ function babel_plugin_redwood_cell_default({
70
71
  state.hasDefaultExport = false;
71
72
  },
72
73
  exit(path, state) {
73
- const hasQueryOrDataExport = state.exportNames.includes("QUERY") || state.exportNames.includes("data");
74
+ const hasQueryOrDataExport = state.exportNames.includes("QUERY") || state.exportNames.includes("FRAGMENT") || state.exportNames.includes("data");
74
75
  if (state.hasDefaultExport || !hasQueryOrDataExport) {
75
76
  return;
76
77
  }
@@ -1 +1 @@
1
- {"version":3,"file":"babel-plugin-redwood-cell.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/babelPlugins/babel-plugin-redwood-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAA;AAqCtC,UAAU,WAAY,SAAQ,UAAU;IAKtC,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,gBAAgB,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,EACvB,KAAK,GACN,EAAE;IACD,KAAK,EAAE,OAAO,CAAC,CAAA;CAChB,GAAG,SAAS,CAAC,WAAW,CAAC,CAkHzB"}
1
+ {"version":3,"file":"babel-plugin-redwood-cell.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/babelPlugins/babel-plugin-redwood-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAA;AAsCtC,UAAU,WAAY,SAAQ,UAAU;IAKtC,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,gBAAgB,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,EACvB,KAAK,GACN,EAAE;IACD,KAAK,EAAE,OAAO,CAAC,CAAA;CAChB,GAAG,SAAS,CAAC,WAAW,CAAC,CAoHzB"}
@@ -25,6 +25,7 @@ var import_node_path = require("node:path");
25
25
  const EXPECTED_EXPORTS_FROM_CELL = [
26
26
  "beforeQuery",
27
27
  "QUERY",
28
+ "FRAGMENT",
28
29
  "data",
29
30
  "isEmpty",
30
31
  "afterQuery",
@@ -70,7 +71,7 @@ function babel_plugin_redwood_cell_default({
70
71
  state.hasDefaultExport = false;
71
72
  },
72
73
  exit(path, state) {
73
- const hasQueryOrDataExport = state.exportNames.includes("QUERY") || state.exportNames.includes("data");
74
+ const hasQueryOrDataExport = state.exportNames.includes("QUERY") || state.exportNames.includes("FRAGMENT") || state.exportNames.includes("data");
74
75
  if (state.hasDefaultExport || !hasQueryOrDataExport) {
75
76
  return;
76
77
  }
@@ -1 +1 @@
1
- {"version":3,"file":"babel-plugin-redwood-cell.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/babelPlugins/babel-plugin-redwood-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAA;AAqCtC,UAAU,WAAY,SAAQ,UAAU;IAKtC,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,gBAAgB,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,EACvB,KAAK,GACN,EAAE;IACD,KAAK,EAAE,OAAO,CAAC,CAAA;CAChB,GAAG,SAAS,CAAC,WAAW,CAAC,CAkHzB"}
1
+ {"version":3,"file":"babel-plugin-redwood-cell.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/babelPlugins/babel-plugin-redwood-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAA;AAsCtC,UAAU,WAAY,SAAQ,UAAU;IAKtC,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,gBAAgB,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,EACvB,KAAK,GACN,EAAE;IACD,KAAK,EAAE,OAAO,CAAC,CAAA;CAChB,GAAG,SAAS,CAAC,WAAW,CAAC,CAoHzB"}
@@ -2,6 +2,7 @@ import { parse } from "node:path";
2
2
  const EXPECTED_EXPORTS_FROM_CELL = [
3
3
  "beforeQuery",
4
4
  "QUERY",
5
+ "FRAGMENT",
5
6
  "data",
6
7
  "isEmpty",
7
8
  "afterQuery",
@@ -47,7 +48,7 @@ function babel_plugin_redwood_cell_default({
47
48
  state.hasDefaultExport = false;
48
49
  },
49
50
  exit(path, state) {
50
- const hasQueryOrDataExport = state.exportNames.includes("QUERY") || state.exportNames.includes("data");
51
+ const hasQueryOrDataExport = state.exportNames.includes("QUERY") || state.exportNames.includes("FRAGMENT") || state.exportNames.includes("data");
51
52
  if (state.hasDefaultExport || !hasQueryOrDataExport) {
52
53
  return;
53
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/testing",
3
- "version": "6.0.0-canary.2646",
3
+ "version": "6.0.0-canary.2652",
4
4
  "description": "Tools, wrappers and configuration for testing a Cedar project.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -116,10 +116,10 @@
116
116
  "test:watch": "vitest watch"
117
117
  },
118
118
  "dependencies": {
119
- "@cedarjs/babel-config": "6.0.0-canary.2646",
120
- "@cedarjs/context": "6.0.0-canary.2646",
121
- "@cedarjs/graphql-server": "6.0.0-canary.2646",
122
- "@cedarjs/project-config": "6.0.0-canary.2646",
119
+ "@cedarjs/babel-config": "6.0.0-canary.2652",
120
+ "@cedarjs/context": "6.0.0-canary.2652",
121
+ "@cedarjs/graphql-server": "6.0.0-canary.2652",
122
+ "@cedarjs/project-config": "6.0.0-canary.2652",
123
123
  "@testing-library/dom": "10.4.1",
124
124
  "@testing-library/jest-dom": "6.9.1",
125
125
  "@testing-library/react": "16.3.2",
@@ -141,10 +141,10 @@
141
141
  },
142
142
  "devDependencies": {
143
143
  "@arethetypeswrong/cli": "0.18.5",
144
- "@cedarjs/auth": "6.0.0-canary.2646",
145
- "@cedarjs/framework-tools": "6.0.0-canary.2646",
146
- "@cedarjs/router": "6.0.0-canary.2646",
147
- "@cedarjs/web": "6.0.0-canary.2646",
144
+ "@cedarjs/auth": "6.0.0-canary.2652",
145
+ "@cedarjs/framework-tools": "6.0.0-canary.2652",
146
+ "@cedarjs/router": "6.0.0-canary.2652",
147
+ "@cedarjs/web": "6.0.0-canary.2652",
148
148
  "concurrently": "9.2.1",
149
149
  "jsdom": "27.4.0",
150
150
  "publint": "0.3.21",