@cedarjs/testing 6.0.0-canary.2769 → 6.0.0-canary.2771
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 +10 -4
- package/dist/cjs/config/jest/web/jest-preset.d.ts.map +1 -1
- package/dist/cjs/config/jest/web/jest-preset.js +10 -4
- package/dist/config/jest/web/jest-preset.d.ts.map +1 -1
- package/dist/config/jest/web/jest-preset.js +10 -4
- 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,MA+Hb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -168,7 +168,13 @@ const config = {
|
|
|
168
168
|
// node_modules (plus until-async) to CommonJS. This needs its own
|
|
169
169
|
// transform entry (with the config inlined) because the web babel config
|
|
170
170
|
// ignores node_modules
|
|
171
|
-
|
|
171
|
+
//
|
|
172
|
+
// The `@cedarjs/auth-*-web` packages are ESM-only too, and (like
|
|
173
|
+
// until-async) ship plain `.js` files rather than `.mjs` since their
|
|
174
|
+
// package.json already declares `"type": "module"`. A generated
|
|
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)$": [
|
|
172
178
|
"babel-jest",
|
|
173
179
|
{
|
|
174
180
|
babelrc: false,
|
|
@@ -188,8 +194,8 @@ const config = {
|
|
|
188
194
|
]
|
|
189
195
|
},
|
|
190
196
|
// Jest's default is to not transform anything in node_modules, but `.mjs`
|
|
191
|
-
// files (and until-async) have to be compiled to
|
|
192
|
-
// transform above).
|
|
197
|
+
// files (and until-async, and @cedarjs/auth-*-web) have to be compiled to
|
|
198
|
+
// CommonJS (see the transform above).
|
|
193
199
|
// The `.pnpm` lookahead is what makes this work with pnpm: its virtual store
|
|
194
200
|
// puts packages at `node_modules/.pnpm/<pkg>@<version>/node_modules/<pkg>`,
|
|
195
201
|
// so without it the pattern matches (and thereby ignores) at the *first*
|
|
@@ -198,7 +204,7 @@ const config = {
|
|
|
198
204
|
// Skipping that segment forces the match onto the inner `node_modules`,
|
|
199
205
|
// which looks the same as a hoisted npm/yarn layout
|
|
200
206
|
transformIgnorePatterns: [
|
|
201
|
-
"[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])",
|
|
207
|
+
"[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])(?!@cedarjs[/\\\\]auth-[a-z-]+-web[/\\\\])",
|
|
202
208
|
"\\.pnp\\.[^\\\\/]+$"
|
|
203
209
|
],
|
|
204
210
|
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,MA+Hb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -168,7 +168,13 @@ const config = {
|
|
|
168
168
|
// node_modules (plus until-async) to CommonJS. This needs its own
|
|
169
169
|
// transform entry (with the config inlined) because the web babel config
|
|
170
170
|
// ignores node_modules
|
|
171
|
-
|
|
171
|
+
//
|
|
172
|
+
// The `@cedarjs/auth-*-web` packages are ESM-only too, and (like
|
|
173
|
+
// until-async) ship plain `.js` files rather than `.mjs` since their
|
|
174
|
+
// package.json already declares `"type": "module"`. A generated
|
|
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)$": [
|
|
172
178
|
"babel-jest",
|
|
173
179
|
{
|
|
174
180
|
babelrc: false,
|
|
@@ -188,8 +194,8 @@ const config = {
|
|
|
188
194
|
]
|
|
189
195
|
},
|
|
190
196
|
// Jest's default is to not transform anything in node_modules, but `.mjs`
|
|
191
|
-
// files (and until-async) have to be compiled to
|
|
192
|
-
// transform above).
|
|
197
|
+
// files (and until-async, and @cedarjs/auth-*-web) have to be compiled to
|
|
198
|
+
// CommonJS (see the transform above).
|
|
193
199
|
// The `.pnpm` lookahead is what makes this work with pnpm: its virtual store
|
|
194
200
|
// puts packages at `node_modules/.pnpm/<pkg>@<version>/node_modules/<pkg>`,
|
|
195
201
|
// so without it the pattern matches (and thereby ignores) at the *first*
|
|
@@ -198,7 +204,7 @@ const config = {
|
|
|
198
204
|
// Skipping that segment forces the match onto the inner `node_modules`,
|
|
199
205
|
// which looks the same as a hoisted npm/yarn layout
|
|
200
206
|
transformIgnorePatterns: [
|
|
201
|
-
"[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])",
|
|
207
|
+
"[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])(?!@cedarjs[/\\\\]auth-[a-z-]+-web[/\\\\])",
|
|
202
208
|
"\\.pnp\\.[^\\\\/]+$"
|
|
203
209
|
],
|
|
204
210
|
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,MA+Hb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -135,7 +135,13 @@ const config = {
|
|
|
135
135
|
// node_modules (plus until-async) to CommonJS. This needs its own
|
|
136
136
|
// transform entry (with the config inlined) because the web babel config
|
|
137
137
|
// ignores node_modules
|
|
138
|
-
|
|
138
|
+
//
|
|
139
|
+
// The `@cedarjs/auth-*-web` packages are ESM-only too, and (like
|
|
140
|
+
// until-async) ship plain `.js` files rather than `.mjs` since their
|
|
141
|
+
// package.json already declares `"type": "module"`. A generated
|
|
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)$": [
|
|
139
145
|
"babel-jest",
|
|
140
146
|
{
|
|
141
147
|
babelrc: false,
|
|
@@ -155,8 +161,8 @@ const config = {
|
|
|
155
161
|
]
|
|
156
162
|
},
|
|
157
163
|
// Jest's default is to not transform anything in node_modules, but `.mjs`
|
|
158
|
-
// files (and until-async) have to be compiled to
|
|
159
|
-
// transform above).
|
|
164
|
+
// files (and until-async, and @cedarjs/auth-*-web) have to be compiled to
|
|
165
|
+
// CommonJS (see the transform above).
|
|
160
166
|
// The `.pnpm` lookahead is what makes this work with pnpm: its virtual store
|
|
161
167
|
// puts packages at `node_modules/.pnpm/<pkg>@<version>/node_modules/<pkg>`,
|
|
162
168
|
// so without it the pattern matches (and thereby ignores) at the *first*
|
|
@@ -165,7 +171,7 @@ const config = {
|
|
|
165
171
|
// Skipping that segment forces the match onto the inner `node_modules`,
|
|
166
172
|
// which looks the same as a hoisted npm/yarn layout
|
|
167
173
|
transformIgnorePatterns: [
|
|
168
|
-
"[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])",
|
|
174
|
+
"[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])(?!@cedarjs[/\\\\]auth-[a-z-]+-web[/\\\\])",
|
|
169
175
|
"\\.pnp\\.[^\\\\/]+$"
|
|
170
176
|
],
|
|
171
177
|
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.2771",
|
|
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.2771",
|
|
121
|
+
"@cedarjs/context": "6.0.0-canary.2771",
|
|
122
|
+
"@cedarjs/graphql-server": "6.0.0-canary.2771",
|
|
123
|
+
"@cedarjs/project-config": "6.0.0-canary.2771",
|
|
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.2771",
|
|
146
|
+
"@cedarjs/framework-tools": "6.0.0-canary.2771",
|
|
147
|
+
"@cedarjs/router": "6.0.0-canary.2771",
|
|
148
|
+
"@cedarjs/web": "6.0.0-canary.2771",
|
|
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.2771",
|
|
157
|
+
"@cedarjs/router": "6.0.0-canary.2771",
|
|
158
|
+
"@cedarjs/web": "6.0.0-canary.2771",
|
|
159
159
|
"vitest": "4.1.10"
|
|
160
160
|
},
|
|
161
161
|
"peerDependenciesMeta": {
|