|
26 | 26 | "typecov": "type-coverage"
|
27 | 27 | },
|
28 | 28 | "devDependencies": {
|
29 |
| - "@1stg/lib-config": "^5.5.0", |
| 29 | + "@1stg/lib-config": "^6.0.0", |
30 | 30 | "@types/eslint": "^8.4.1",
|
31 | 31 | "@types/eslint-plugin-markdown": "^2.0.0",
|
32 | 32 | "@types/jest": "^27.4.1",
|
33 |
| - "@types/node": "^17.0.25", |
34 |
| - "@types/react": "^18.0.5", |
| 33 | + "@types/node": "^17.0.29", |
| 34 | + "@types/react": "^18.0.8", |
35 | 35 | "@types/unist": "^2.0.6",
|
36 | 36 | "lerna": "^4.0.0",
|
37 | 37 | "patch-package": "^6.4.7",
|
38 |
| - "react": "^18.0.0", |
39 |
| - "remark-frontmatter": "4.0.1", |
40 |
| - "ts-jest": "^27.1.4", |
| 38 | + "react": "^18.1.0", |
| 39 | + "ts-jest": "^28.0.0-next.1", |
41 | 40 | "ts-node": "^10.7.0",
|
42 | 41 | "type-coverage": "^2.21.1",
|
43 | 42 | "typescript": "^4.6.3"
|
|
58 | 57 | "!/.*.js"
|
59 | 58 | ],
|
60 | 59 | "jest": {
|
| 60 | + "preset": "ts-jest", |
61 | 61 | "setupFiles": [
|
62 |
| - "eslint/lib/linter/linter" |
| 62 | + "<rootDir>/node_modules/eslint/lib/linter/linter.js" |
63 | 63 | ],
|
64 | 64 | "moduleNameMapper": {
|
65 | 65 | "^eslint/use-at-your-own-risk$": "<rootDir>/node_modules/eslint/lib/unsupported-api.js",
|
66 | 66 | "^eslint-mdx$": "<rootDir>/packages/eslint-mdx/src",
|
67 | 67 | "^eslint-plugin-mdx$": "<rootDir>/packages/eslint-plugin-mdx/src"
|
68 | 68 | },
|
| 69 | + "transform": { |
| 70 | + "^.+\\.tsx?$": "ts-jest/legacy" |
| 71 | + }, |
69 | 72 | "collectCoverage": true,
|
70 | 73 | "coverageThreshold": {
|
71 | 74 | "global": {
|
|
74 | 77 | "lines": 100,
|
75 | 78 | "statements": 100
|
76 | 79 | }
|
77 |
| - }, |
78 |
| - "preset": "ts-jest" |
| 80 | + } |
79 | 81 | },
|
80 | 82 | "prettier": "@1stg/prettier-config",
|
81 | 83 | "remarkConfig": {
|
82 | 84 | "plugins": [
|
83 |
| - "@1stg/config", |
84 |
| - "frontmatter" |
| 85 | + "@1stg/config" |
85 | 86 | ]
|
86 | 87 | },
|
87 | 88 | "renovate": {
|
|
0 commit comments