@cedarjs/testing 6.0.0-canary.2772 → 6.0.0-canary.2774

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":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAiIlC,QAAA,MAAM,MAAM,EAAE,MA+Hb,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAiIlC,QAAA,MAAM,MAAM,EAAE,MAiIb,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -173,8 +173,10 @@ const config = {
173
173
  // until-async) ship plain `.js` files rather than `.mjs` since their
174
174
  // package.json already declares `"type": "module"`. A generated
175
175
  // project's `web/src/auth.ts` imports one of these, so they need the
176
- // same carve-out.
177
- "[/\\\\]node_modules[/\\\\](?:.+\\.mjs|(?:until-async|@cedarjs[/\\\\]auth-[a-z-]+-web)[/\\\\].+\\.js)$": [
176
+ // same carve-out. `@cedarjs/forms` is ESM-only for the same reason, and
177
+ // gets pulled into virtually every generated project's web-side tests
178
+ // via `web/src/pages/**` scaffolds and dbAuth login/signup forms.
179
+ "[/\\\\]node_modules[/\\\\](?:.+\\.mjs|(?:until-async|@cedarjs[/\\\\](?:auth-[a-z-]+-web|forms))[/\\\\].+\\.js)$": [
178
180
  "babel-jest",
179
181
  {
180
182
  babelrc: false,
@@ -194,8 +196,8 @@ const config = {
194
196
  ]
195
197
  },
196
198
  // Jest's default is to not transform anything in node_modules, but `.mjs`
197
- // files (and until-async, and @cedarjs/auth-*-web) have to be compiled to
198
- // CommonJS (see the transform above).
199
+ // files (and until-async, @cedarjs/auth-*-web, and @cedarjs/forms) have to
200
+ // be compiled to CommonJS (see the transform above).
199
201
  // The `.pnpm` lookahead is what makes this work with pnpm: its virtual store
200
202
  // puts packages at `node_modules/.pnpm/<pkg>@<version>/node_modules/<pkg>`,
201
203
  // so without it the pattern matches (and thereby ignores) at the *first*
@@ -204,7 +206,7 @@ const config = {
204
206
  // Skipping that segment forces the match onto the inner `node_modules`,
205
207
  // which looks the same as a hoisted npm/yarn layout
206
208
  transformIgnorePatterns: [
207
- "[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])(?!@cedarjs[/\\\\]auth-[a-z-]+-web[/\\\\])",
209
+ "[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])(?!@cedarjs[/\\\\]auth-[a-z-]+-web[/\\\\])(?!@cedarjs[/\\\\]forms[/\\\\])",
208
210
  "\\.pnp\\.[^\\\\/]+$"
209
211
  ],
210
212
  resolver: import_node_path.default.resolve(__dirname, "./resolver.js"),
@@ -1 +1 @@
1
- {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAiIlC,QAAA,MAAM,MAAM,EAAE,MA+Hb,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAiIlC,QAAA,MAAM,MAAM,EAAE,MAiIb,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -173,8 +173,10 @@ const config = {
173
173
  // until-async) ship plain `.js` files rather than `.mjs` since their
174
174
  // package.json already declares `"type": "module"`. A generated
175
175
  // project's `web/src/auth.ts` imports one of these, so they need the
176
- // same carve-out.
177
- "[/\\\\]node_modules[/\\\\](?:.+\\.mjs|(?:until-async|@cedarjs[/\\\\]auth-[a-z-]+-web)[/\\\\].+\\.js)$": [
176
+ // same carve-out. `@cedarjs/forms` is ESM-only for the same reason, and
177
+ // gets pulled into virtually every generated project's web-side tests
178
+ // via `web/src/pages/**` scaffolds and dbAuth login/signup forms.
179
+ "[/\\\\]node_modules[/\\\\](?:.+\\.mjs|(?:until-async|@cedarjs[/\\\\](?:auth-[a-z-]+-web|forms))[/\\\\].+\\.js)$": [
178
180
  "babel-jest",
179
181
  {
180
182
  babelrc: false,
@@ -194,8 +196,8 @@ const config = {
194
196
  ]
195
197
  },
196
198
  // Jest's default is to not transform anything in node_modules, but `.mjs`
197
- // files (and until-async, and @cedarjs/auth-*-web) have to be compiled to
198
- // CommonJS (see the transform above).
199
+ // files (and until-async, @cedarjs/auth-*-web, and @cedarjs/forms) have to
200
+ // be compiled to CommonJS (see the transform above).
199
201
  // The `.pnpm` lookahead is what makes this work with pnpm: its virtual store
200
202
  // puts packages at `node_modules/.pnpm/<pkg>@<version>/node_modules/<pkg>`,
201
203
  // so without it the pattern matches (and thereby ignores) at the *first*
@@ -204,7 +206,7 @@ const config = {
204
206
  // Skipping that segment forces the match onto the inner `node_modules`,
205
207
  // which looks the same as a hoisted npm/yarn layout
206
208
  transformIgnorePatterns: [
207
- "[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])(?!@cedarjs[/\\\\]auth-[a-z-]+-web[/\\\\])",
209
+ "[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])(?!@cedarjs[/\\\\]auth-[a-z-]+-web[/\\\\])(?!@cedarjs[/\\\\]forms[/\\\\])",
208
210
  "\\.pnp\\.[^\\\\/]+$"
209
211
  ],
210
212
  resolver: import_node_path.default.resolve(__dirname, "./resolver.js"),
@@ -1 +1 @@
1
- {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAiIlC,QAAA,MAAM,MAAM,EAAE,MA+Hb,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAiIlC,QAAA,MAAM,MAAM,EAAE,MAiIb,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -140,8 +140,10 @@ const config = {
140
140
  // until-async) ship plain `.js` files rather than `.mjs` since their
141
141
  // package.json already declares `"type": "module"`. A generated
142
142
  // project's `web/src/auth.ts` imports one of these, so they need the
143
- // same carve-out.
144
- "[/\\\\]node_modules[/\\\\](?:.+\\.mjs|(?:until-async|@cedarjs[/\\\\]auth-[a-z-]+-web)[/\\\\].+\\.js)$": [
143
+ // same carve-out. `@cedarjs/forms` is ESM-only for the same reason, and
144
+ // gets pulled into virtually every generated project's web-side tests
145
+ // via `web/src/pages/**` scaffolds and dbAuth login/signup forms.
146
+ "[/\\\\]node_modules[/\\\\](?:.+\\.mjs|(?:until-async|@cedarjs[/\\\\](?:auth-[a-z-]+-web|forms))[/\\\\].+\\.js)$": [
145
147
  "babel-jest",
146
148
  {
147
149
  babelrc: false,
@@ -161,8 +163,8 @@ const config = {
161
163
  ]
162
164
  },
163
165
  // Jest's default is to not transform anything in node_modules, but `.mjs`
164
- // files (and until-async, and @cedarjs/auth-*-web) have to be compiled to
165
- // CommonJS (see the transform above).
166
+ // files (and until-async, @cedarjs/auth-*-web, and @cedarjs/forms) have to
167
+ // be compiled to CommonJS (see the transform above).
166
168
  // The `.pnpm` lookahead is what makes this work with pnpm: its virtual store
167
169
  // puts packages at `node_modules/.pnpm/<pkg>@<version>/node_modules/<pkg>`,
168
170
  // so without it the pattern matches (and thereby ignores) at the *first*
@@ -171,7 +173,7 @@ const config = {
171
173
  // Skipping that segment forces the match onto the inner `node_modules`,
172
174
  // which looks the same as a hoisted npm/yarn layout
173
175
  transformIgnorePatterns: [
174
- "[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])(?!@cedarjs[/\\\\]auth-[a-z-]+-web[/\\\\])",
176
+ "[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])(?!@cedarjs[/\\\\]auth-[a-z-]+-web[/\\\\])(?!@cedarjs[/\\\\]forms[/\\\\])",
175
177
  "\\.pnp\\.[^\\\\/]+$"
176
178
  ],
177
179
  resolver: path.resolve(__dirname, "./resolver.js"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/testing",
3
- "version": "6.0.0-canary.2772",
3
+ "version": "6.0.0-canary.2774",
4
4
  "description": "Tools, wrappers and configuration for testing a Cedar project.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -117,10 +117,10 @@
117
117
  },
118
118
  "dependencies": {
119
119
  "@babel/preset-env": "7.29.7",
120
- "@cedarjs/babel-config": "6.0.0-canary.2772",
121
- "@cedarjs/context": "6.0.0-canary.2772",
122
- "@cedarjs/graphql-server": "6.0.0-canary.2772",
123
- "@cedarjs/project-config": "6.0.0-canary.2772",
120
+ "@cedarjs/babel-config": "6.0.0-canary.2774",
121
+ "@cedarjs/context": "6.0.0-canary.2774",
122
+ "@cedarjs/graphql-server": "6.0.0-canary.2774",
123
+ "@cedarjs/project-config": "6.0.0-canary.2774",
124
124
  "@testing-library/dom": "10.4.1",
125
125
  "@testing-library/jest-dom": "6.9.1",
126
126
  "@testing-library/react": "16.3.2",
@@ -142,10 +142,10 @@
142
142
  },
143
143
  "devDependencies": {
144
144
  "@arethetypeswrong/cli": "0.18.5",
145
- "@cedarjs/auth": "6.0.0-canary.2772",
146
- "@cedarjs/framework-tools": "6.0.0-canary.2772",
147
- "@cedarjs/router": "6.0.0-canary.2772",
148
- "@cedarjs/web": "6.0.0-canary.2772",
145
+ "@cedarjs/auth": "6.0.0-canary.2774",
146
+ "@cedarjs/framework-tools": "6.0.0-canary.2774",
147
+ "@cedarjs/router": "6.0.0-canary.2774",
148
+ "@cedarjs/web": "6.0.0-canary.2774",
149
149
  "concurrently": "9.2.4",
150
150
  "jsdom": "27.4.0",
151
151
  "publint": "0.3.22",
@@ -153,9 +153,9 @@
153
153
  "vitest": "4.1.10"
154
154
  },
155
155
  "peerDependencies": {
156
- "@cedarjs/auth": "6.0.0-canary.2772",
157
- "@cedarjs/router": "6.0.0-canary.2772",
158
- "@cedarjs/web": "6.0.0-canary.2772",
156
+ "@cedarjs/auth": "6.0.0-canary.2774",
157
+ "@cedarjs/router": "6.0.0-canary.2774",
158
+ "@cedarjs/web": "6.0.0-canary.2774",
159
159
  "vitest": "4.1.10"
160
160
  },
161
161
  "peerDependenciesMeta": {