|
7 | 7 | "author": "JounQin <[email protected]> (https://www.1stG.me)", |
8 | 8 | "funding": "https://opencollective.com/unts", |
9 | 9 | "license": "MIT", |
10 | | - "packageManager": "[email protected].1", |
| 10 | + "packageManager": "[email protected].2", |
11 | 11 | "engines": { |
12 | 12 | "node": ">=18.0.0" |
13 | 13 | }, |
14 | | - "exports": "./src/index.ts", |
| 14 | + "main": "./lib/index.cjs", |
| 15 | + "types": "./lib/index.d.cts", |
| 16 | + "module": "./lib/index.js", |
| 17 | + "exports": { |
| 18 | + ".": { |
| 19 | + "import": { |
| 20 | + "types": "./lib/index.d.ts", |
| 21 | + "default": "./lib/index.js" |
| 22 | + }, |
| 23 | + "require": { |
| 24 | + "types": "./lib/index.d.cts", |
| 25 | + "default": "./lib/index.cjs" |
| 26 | + } |
| 27 | + }, |
| 28 | + "./package.json": "./package.json" |
| 29 | + }, |
15 | 30 | "files": [ |
16 | 31 | "lib", |
17 | 32 | "!**/*.tsbuildinfo" |
|
28 | 43 | "lint": "run-p 'lint:*'", |
29 | 44 | "lint:es": "eslint . --cache --max-warnings 10", |
30 | 45 | "lint:style": "stylelint . --cache", |
31 | | - "lint:tsc": "tsc -b --noEmit", |
| 46 | + "lint:tsc": "tsc -p tsconfig.base.json --noEmit", |
32 | 47 | "prepare": "simple-git-hooks && yarn-berry-deduplicate || exit 0", |
33 | 48 | "release": "yarn build && clean-pkg-json && changeset publish", |
34 | 49 | "serve": "vite preview", |
|
41 | 56 | }, |
42 | 57 | "devDependencies": { |
43 | 58 | "@1stg/browserslist-config": "^2.1.4", |
44 | | - "@1stg/common-config": "^13.0.1", |
45 | | - "@1stg/postcss-config": "^6.0.6", |
46 | | - "@1stg/stylelint-config": "^6.0.5", |
| 59 | + "@1stg/common-config": "^14.3.0", |
| 60 | + "@1stg/postcss-config": "^6.1.0", |
| 61 | + "@1stg/stylelint-config": "^6.1.0", |
47 | 62 | "@changesets/changelog-github": "^0.5.1", |
48 | | - "@changesets/cli": "^2.29.4", |
| 63 | + "@changesets/cli": "^2.29.5", |
49 | 64 | "@commitlint/cli": "^19.8.1", |
50 | 65 | "@mdx-js/rollup": "^3.1.0", |
51 | | - "@shikijs/rehype": "^3.4.2", |
| 66 | + "@shikijs/rehype": "^3.7.0", |
52 | 67 | "@size-limit/preset-small-lib": "^11.2.0", |
53 | 68 | "@types/mdx": "^2.0.13", |
54 | | - "@types/node": "^22.15.18", |
55 | | - "@types/react": "^19.1.4", |
56 | | - "@types/react-dom": "^19.1.5", |
57 | | - "@types/web": "^0.0.235", |
| 69 | + "@types/node": "^22.16.0", |
| 70 | + "@types/react": "^19.1.8", |
| 71 | + "@types/react-dom": "^19.1.6", |
| 72 | + "@types/web": "^0.0.245", |
58 | 73 | "@vercel/analytics": "^1.5.0", |
59 | | - "@vitejs/plugin-react-swc": "^3.9.0", |
60 | | - "@vitest/coverage-v8": "^3.1.3", |
| 74 | + "@vitejs/plugin-react-swc": "^3.10.2", |
| 75 | + "@vitest/coverage-v8": "^3.2.4", |
61 | 76 | "clean-pkg-json": "^1.3.0", |
62 | | - "eslint": "^9.27.0", |
| 77 | + "eslint": "^9.30.1", |
63 | 78 | "github-markdown-css": "^5.8.1", |
64 | 79 | "nano-staged": "^0.8.0", |
65 | | - "npm-run-all2": "^8.0.2", |
| 80 | + "npm-run-all2": "^8.0.4", |
66 | 81 | "premove": "^4.0.0", |
67 | | - "prettier": "^3.5.3", |
| 82 | + "prettier": "^3.6.2", |
68 | 83 | "react": "^19.1.0", |
69 | 84 | "react-dom": "^19.1.0", |
70 | | - "react-router-dom": "^7.6.0", |
| 85 | + "react-router-dom": "^7.6.3", |
71 | 86 | "rehype-slug": "^6.0.0", |
72 | 87 | "remark-gfm": "^4.0.1", |
73 | 88 | "simple-git-hooks": "^2.13.0", |
74 | 89 | "size-limit": "^11.2.0", |
75 | | - "stylelint": "^16.19.1", |
76 | | - "tsdown": "^0.11.11", |
| 90 | + "stylelint": "^16.21.1", |
| 91 | + "tsdown": "^0.12.9", |
77 | 92 | "type-coverage": "^2.29.7", |
78 | 93 | "typescript": "^5.8.3", |
79 | | - "vite": "^6.3.5", |
80 | | - "vitest": "^3.1.3", |
| 94 | + "vite": "^7.0.2", |
| 95 | + "vitest": "^3.2.4", |
81 | 96 | "yarn-berry-deduplicate": "^6.1.3" |
82 | 97 | }, |
83 | 98 | "resolutions": { |
84 | | - "prettier": "^3.5.3" |
85 | | - }, |
86 | | - "publishConfig": { |
87 | | - "main": "./lib/index.cjs", |
88 | | - "types": "./lib/index.d.cts", |
89 | | - "module": "./lib/index.js", |
90 | | - "exports": { |
91 | | - "import": { |
92 | | - "types": "./lib/index.d.ts", |
93 | | - "default": "./lib/index.js" |
94 | | - }, |
95 | | - "require": { |
96 | | - "types": "./lib/index.d.cts", |
97 | | - "default": "./lib/index.cjs" |
98 | | - } |
99 | | - } |
| 99 | + "prettier": "^3.6.2" |
100 | 100 | }, |
101 | 101 | "typeCoverage": { |
102 | 102 | "atLeast": 100, |
|
0 commit comments