@cedarjs/testing 5.0.0-rc.261 → 5.0.0-rc.280
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/api/apiBabelConfig.d.ts.map +1 -1
- package/config/jest/api/apiBabelConfig.js +3 -1
- package/config/jest/api/jest-preset.js +1 -1
- package/dist/cjs/config/jest/api/apiBabelConfig.d.ts.map +1 -1
- package/dist/cjs/config/jest/api/apiBabelConfig.js +3 -1
- package/dist/cjs/config/jest/api/jest-preset.js +1 -1
- package/dist/config/jest/api/apiBabelConfig.d.ts.map +1 -1
- package/dist/config/jest/api/apiBabelConfig.js +3 -1
- package/dist/config/jest/api/jest-preset.js +1 -1
- package/package.json +13 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;AAS9B,KAAK,UAAU,GAAG,IAAI,CACpB,UAAU,CAAC,OAAO,4BAA4B,CAAC,EAC/C,SAAS,CACV,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,UAMb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -22,7 +22,9 @@ __export(apiBabelConfig_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(apiBabelConfig_exports);
|
|
24
24
|
var import_babel_config = require("@cedarjs/babel-config");
|
|
25
|
-
const { babelrc: _b, ...defaultBabelConfig } = (0, import_babel_config.getApiSideDefaultBabelConfig)(
|
|
25
|
+
const { babelrc: _b, ...defaultBabelConfig } = (0, import_babel_config.getApiSideDefaultBabelConfig)({
|
|
26
|
+
forJest: true
|
|
27
|
+
});
|
|
26
28
|
const config = {
|
|
27
29
|
...defaultBabelConfig,
|
|
28
30
|
plugins: (0, import_babel_config.getApiSideBabelPlugins)(),
|
|
@@ -36,7 +36,7 @@ var import_babel_config = require("@cedarjs/babel-config");
|
|
|
36
36
|
var import_project_config = require("@cedarjs/project-config");
|
|
37
37
|
const rwjsPaths = (0, import_project_config.getPaths)();
|
|
38
38
|
const NODE_MODULES_PATH = import_node_path.default.join(rwjsPaths.base, "node_modules");
|
|
39
|
-
const { babelrc } = (0, import_babel_config.getApiSideDefaultBabelConfig)();
|
|
39
|
+
const { babelrc } = (0, import_babel_config.getApiSideDefaultBabelConfig)({ forJest: true });
|
|
40
40
|
const config = {
|
|
41
41
|
// To make sure other config option which depends on rootDir use
|
|
42
42
|
// correct path, for example, coverageDirectory
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;AAS9B,KAAK,UAAU,GAAG,IAAI,CACpB,UAAU,CAAC,OAAO,4BAA4B,CAAC,EAC/C,SAAS,CACV,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,UAMb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -22,7 +22,9 @@ __export(apiBabelConfig_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(apiBabelConfig_exports);
|
|
24
24
|
var import_babel_config = require("@cedarjs/babel-config");
|
|
25
|
-
const { babelrc: _b, ...defaultBabelConfig } = (0, import_babel_config.getApiSideDefaultBabelConfig)(
|
|
25
|
+
const { babelrc: _b, ...defaultBabelConfig } = (0, import_babel_config.getApiSideDefaultBabelConfig)({
|
|
26
|
+
forJest: true
|
|
27
|
+
});
|
|
26
28
|
const config = {
|
|
27
29
|
...defaultBabelConfig,
|
|
28
30
|
plugins: (0, import_babel_config.getApiSideBabelPlugins)(),
|
|
@@ -36,7 +36,7 @@ var import_babel_config = require("@cedarjs/babel-config");
|
|
|
36
36
|
var import_project_config = require("@cedarjs/project-config");
|
|
37
37
|
const rwjsPaths = (0, import_project_config.getPaths)();
|
|
38
38
|
const NODE_MODULES_PATH = import_node_path.default.join(rwjsPaths.base, "node_modules");
|
|
39
|
-
const { babelrc } = (0, import_babel_config.getApiSideDefaultBabelConfig)();
|
|
39
|
+
const { babelrc } = (0, import_babel_config.getApiSideDefaultBabelConfig)({ forJest: true });
|
|
40
40
|
const config = {
|
|
41
41
|
// To make sure other config option which depends on rootDir use
|
|
42
42
|
// correct path, for example, coverageDirectory
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;AAS9B,KAAK,UAAU,GAAG,IAAI,CACpB,UAAU,CAAC,OAAO,4BAA4B,CAAC,EAC/C,SAAS,CACV,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,UAMb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -3,7 +3,9 @@ import {
|
|
|
3
3
|
getApiSideBabelPresets,
|
|
4
4
|
getApiSideBabelPlugins
|
|
5
5
|
} from "@cedarjs/babel-config";
|
|
6
|
-
const { babelrc: _b, ...defaultBabelConfig } = getApiSideDefaultBabelConfig(
|
|
6
|
+
const { babelrc: _b, ...defaultBabelConfig } = getApiSideDefaultBabelConfig({
|
|
7
|
+
forJest: true
|
|
8
|
+
});
|
|
7
9
|
const config = {
|
|
8
10
|
...defaultBabelConfig,
|
|
9
11
|
plugins: getApiSideBabelPlugins(),
|
|
@@ -3,7 +3,7 @@ import { getApiSideDefaultBabelConfig } from "@cedarjs/babel-config";
|
|
|
3
3
|
import { getPaths } from "@cedarjs/project-config";
|
|
4
4
|
const rwjsPaths = getPaths();
|
|
5
5
|
const NODE_MODULES_PATH = path.join(rwjsPaths.base, "node_modules");
|
|
6
|
-
const { babelrc } = getApiSideDefaultBabelConfig();
|
|
6
|
+
const { babelrc } = getApiSideDefaultBabelConfig({ forJest: true });
|
|
7
7
|
const config = {
|
|
8
8
|
// To make sure other config option which depends on rootDir use
|
|
9
9
|
// correct path, for example, coverageDirectory
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/testing",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.280",
|
|
4
4
|
"description": "Tools, wrappers and configuration for testing a Cedar project.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"dist"
|
|
105
105
|
],
|
|
106
106
|
"scripts": {
|
|
107
|
-
"build": "
|
|
107
|
+
"build": "node ./build.mts && yarn build:types",
|
|
108
108
|
"build:pack": "yarn pack -o cedarjs-testing.tgz",
|
|
109
109
|
"build:types": "tsc --build --verbose ./tsconfig.build.json",
|
|
110
110
|
"build:types-cjs": "tsc --build --verbose ./tsconfig.cjs.json",
|
|
@@ -116,10 +116,10 @@
|
|
|
116
116
|
"test:watch": "vitest watch"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@cedarjs/babel-config": "5.0.0-rc.
|
|
120
|
-
"@cedarjs/context": "5.0.0-rc.
|
|
121
|
-
"@cedarjs/graphql-server": "5.0.0-rc.
|
|
122
|
-
"@cedarjs/project-config": "5.0.0-rc.
|
|
119
|
+
"@cedarjs/babel-config": "5.0.0-rc.280",
|
|
120
|
+
"@cedarjs/context": "5.0.0-rc.280",
|
|
121
|
+
"@cedarjs/graphql-server": "5.0.0-rc.280",
|
|
122
|
+
"@cedarjs/project-config": "5.0.0-rc.280",
|
|
123
123
|
"@testing-library/jest-dom": "6.9.1",
|
|
124
124
|
"@testing-library/react": "14.3.1",
|
|
125
125
|
"@testing-library/user-event": "14.6.1",
|
|
@@ -140,21 +140,20 @@
|
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@arethetypeswrong/cli": "0.18.4",
|
|
143
|
-
"@cedarjs/auth": "5.0.0-rc.
|
|
144
|
-
"@cedarjs/framework-tools": "5.0.0-rc.
|
|
145
|
-
"@cedarjs/router": "5.0.0-rc.
|
|
146
|
-
"@cedarjs/web": "5.0.0-rc.
|
|
143
|
+
"@cedarjs/auth": "5.0.0-rc.280",
|
|
144
|
+
"@cedarjs/framework-tools": "5.0.0-rc.280",
|
|
145
|
+
"@cedarjs/router": "5.0.0-rc.280",
|
|
146
|
+
"@cedarjs/web": "5.0.0-rc.280",
|
|
147
147
|
"concurrently": "9.2.1",
|
|
148
148
|
"jsdom": "27.4.0",
|
|
149
149
|
"publint": "0.3.21",
|
|
150
|
-
"tsx": "4.22.4",
|
|
151
150
|
"typescript": "5.9.3",
|
|
152
151
|
"vitest": "3.2.6"
|
|
153
152
|
},
|
|
154
153
|
"peerDependencies": {
|
|
155
|
-
"@cedarjs/auth": "5.0.0-rc.
|
|
156
|
-
"@cedarjs/router": "5.0.0-rc.
|
|
157
|
-
"@cedarjs/web": "5.0.0-rc.
|
|
154
|
+
"@cedarjs/auth": "5.0.0-rc.280",
|
|
155
|
+
"@cedarjs/router": "5.0.0-rc.280",
|
|
156
|
+
"@cedarjs/web": "5.0.0-rc.280",
|
|
158
157
|
"vitest": "3.2.6"
|
|
159
158
|
},
|
|
160
159
|
"peerDependenciesMeta": {
|