@cedarjs/testing 6.0.0-canary.2773 → 6.0.0-canary.2776
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/config/jest/web/jest-preset.d.ts.map +1 -1
- package/config/jest/web/jest-preset.js +7 -5
- package/dist/cjs/config/jest/web/jest-preset.d.ts.map +1 -1
- package/dist/cjs/config/jest/web/jest-preset.js +7 -5
- package/dist/config/jest/web/jest-preset.d.ts.map +1 -1
- package/dist/config/jest/web/jest-preset.js +7 -5
- package/package.json +12 -12
|
@@ -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,
|
|
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
|
-
|
|
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,
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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.
|
|
3
|
+
"version": "6.0.0-canary.2776",
|
|
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.
|
|
121
|
-
"@cedarjs/context": "6.0.0-canary.
|
|
122
|
-
"@cedarjs/graphql-server": "6.0.0-canary.
|
|
123
|
-
"@cedarjs/project-config": "6.0.0-canary.
|
|
120
|
+
"@cedarjs/babel-config": "6.0.0-canary.2776",
|
|
121
|
+
"@cedarjs/context": "6.0.0-canary.2776",
|
|
122
|
+
"@cedarjs/graphql-server": "6.0.0-canary.2776",
|
|
123
|
+
"@cedarjs/project-config": "6.0.0-canary.2776",
|
|
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.
|
|
146
|
-
"@cedarjs/framework-tools": "6.0.0-canary.
|
|
147
|
-
"@cedarjs/router": "6.0.0-canary.
|
|
148
|
-
"@cedarjs/web": "6.0.0-canary.
|
|
145
|
+
"@cedarjs/auth": "6.0.0-canary.2776",
|
|
146
|
+
"@cedarjs/framework-tools": "6.0.0-canary.2776",
|
|
147
|
+
"@cedarjs/router": "6.0.0-canary.2776",
|
|
148
|
+
"@cedarjs/web": "6.0.0-canary.2776",
|
|
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.
|
|
157
|
-
"@cedarjs/router": "6.0.0-canary.
|
|
158
|
-
"@cedarjs/web": "6.0.0-canary.
|
|
156
|
+
"@cedarjs/auth": "6.0.0-canary.2776",
|
|
157
|
+
"@cedarjs/router": "6.0.0-canary.2776",
|
|
158
|
+
"@cedarjs/web": "6.0.0-canary.2776",
|
|
159
159
|
"vitest": "4.1.10"
|
|
160
160
|
},
|
|
161
161
|
"peerDependenciesMeta": {
|