@cedarjs/testing 6.0.0-canary.2688 → 6.0.0-canary.2690

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":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,MAkHb,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,MAyHb,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -140,9 +140,16 @@ const config = {
140
140
  },
141
141
  // Jest's default is to not transform anything in node_modules, but `.mjs`
142
142
  // files (and until-async) have to be compiled to CommonJS (see the
143
- // transform above)
143
+ // transform above).
144
+ // The `.pnpm` lookahead is what makes this work with pnpm: its virtual store
145
+ // puts packages at `node_modules/.pnpm/<pkg>@<version>/node_modules/<pkg>`,
146
+ // so without it the pattern matches (and thereby ignores) at the *first*
147
+ // `node_modules` segment, where the following path starts with `.pnpm/`
148
+ // instead of `until-async/` and the exception never gets a chance to apply.
149
+ // Skipping that segment forces the match onto the inner `node_modules`,
150
+ // which looks the same as a hoisted npm/yarn layout
144
151
  transformIgnorePatterns: [
145
- "[/\\\\]node_modules[/\\\\](?!.*\\.mjs$)(?!until-async[/\\\\])",
152
+ "[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])",
146
153
  "\\.pnp\\.[^\\\\/]+$"
147
154
  ],
148
155
  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":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,MAkHb,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,MAyHb,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -140,9 +140,16 @@ const config = {
140
140
  },
141
141
  // Jest's default is to not transform anything in node_modules, but `.mjs`
142
142
  // files (and until-async) have to be compiled to CommonJS (see the
143
- // transform above)
143
+ // transform above).
144
+ // The `.pnpm` lookahead is what makes this work with pnpm: its virtual store
145
+ // puts packages at `node_modules/.pnpm/<pkg>@<version>/node_modules/<pkg>`,
146
+ // so without it the pattern matches (and thereby ignores) at the *first*
147
+ // `node_modules` segment, where the following path starts with `.pnpm/`
148
+ // instead of `until-async/` and the exception never gets a chance to apply.
149
+ // Skipping that segment forces the match onto the inner `node_modules`,
150
+ // which looks the same as a hoisted npm/yarn layout
144
151
  transformIgnorePatterns: [
145
- "[/\\\\]node_modules[/\\\\](?!.*\\.mjs$)(?!until-async[/\\\\])",
152
+ "[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])",
146
153
  "\\.pnp\\.[^\\\\/]+$"
147
154
  ],
148
155
  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":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,MAkHb,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,MAyHb,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -107,9 +107,16 @@ const config = {
107
107
  },
108
108
  // Jest's default is to not transform anything in node_modules, but `.mjs`
109
109
  // files (and until-async) have to be compiled to CommonJS (see the
110
- // transform above)
110
+ // transform above).
111
+ // The `.pnpm` lookahead is what makes this work with pnpm: its virtual store
112
+ // puts packages at `node_modules/.pnpm/<pkg>@<version>/node_modules/<pkg>`,
113
+ // so without it the pattern matches (and thereby ignores) at the *first*
114
+ // `node_modules` segment, where the following path starts with `.pnpm/`
115
+ // instead of `until-async/` and the exception never gets a chance to apply.
116
+ // Skipping that segment forces the match onto the inner `node_modules`,
117
+ // which looks the same as a hoisted npm/yarn layout
111
118
  transformIgnorePatterns: [
112
- "[/\\\\]node_modules[/\\\\](?!.*\\.mjs$)(?!until-async[/\\\\])",
119
+ "[/\\\\]node_modules[/\\\\](?!\\.pnpm[/\\\\])(?!.*\\.mjs$)(?!until-async[/\\\\])",
113
120
  "\\.pnp\\.[^\\\\/]+$"
114
121
  ],
115
122
  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.2688",
3
+ "version": "6.0.0-canary.2690",
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.2688",
121
- "@cedarjs/context": "6.0.0-canary.2688",
122
- "@cedarjs/graphql-server": "6.0.0-canary.2688",
123
- "@cedarjs/project-config": "6.0.0-canary.2688",
120
+ "@cedarjs/babel-config": "6.0.0-canary.2690",
121
+ "@cedarjs/context": "6.0.0-canary.2690",
122
+ "@cedarjs/graphql-server": "6.0.0-canary.2690",
123
+ "@cedarjs/project-config": "6.0.0-canary.2690",
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.2688",
146
- "@cedarjs/framework-tools": "6.0.0-canary.2688",
147
- "@cedarjs/router": "6.0.0-canary.2688",
148
- "@cedarjs/web": "6.0.0-canary.2688",
145
+ "@cedarjs/auth": "6.0.0-canary.2690",
146
+ "@cedarjs/framework-tools": "6.0.0-canary.2690",
147
+ "@cedarjs/router": "6.0.0-canary.2690",
148
+ "@cedarjs/web": "6.0.0-canary.2690",
149
149
  "concurrently": "9.2.1",
150
150
  "jsdom": "27.4.0",
151
151
  "publint": "0.3.21",