|
4 | 4 | "scripts": { |
5 | 5 | "prepare": "pnpm dev:install-hooks", |
6 | 6 | "clean": "rimraf dist", |
7 | | - "check": "eslint . --fix", |
| 7 | + "lint:check": "pnpm exec biome check --write --no-errors-on-unmatched --files-ignore-unknown=true", |
| 8 | + "ts:check": "tsc --noEmit", |
| 9 | + "check": "npm run lint:check && npm run ts:check", |
8 | 10 | "prebuild": "npm run clean && npm run check", |
9 | 11 | "build:watch": "pnpm build && nodemon --watch src --ext ts,tsx --exec \"pnpm build\"", |
10 | | - "build": "sborshik build --fillDist", |
| 12 | + "build": "vite build && tsx scripts/prepare-dist", |
11 | 13 | "pub": "pnpm build && sborshik publish --useDistDir", |
12 | 14 | "pub:patch": "PUBLISH_VERSION=patch pnpm pub", |
13 | 15 | "pub:minor": "PUBLISH_VERSION=minor pnpm pub", |
|
32 | 34 | "author": "js2me", |
33 | 35 | "license": "MIT", |
34 | 36 | "description": "MobX wrappers for Tanstack Query (Core)", |
35 | | - "zshy": { |
36 | | - "exports": { |
37 | | - "./package.json": "./package.json", |
38 | | - ".": "./src/index.ts", |
39 | | - "./preset": "./src/preset/index.ts" |
40 | | - } |
41 | | - }, |
42 | 37 | "bugs": { |
43 | 38 | "url": "https://github.com/js2me/mobx-tanstack-query/issues" |
44 | 39 | }, |
|
47 | 42 | "type": "git", |
48 | 43 | "url": "git://github.com/js2me/mobx-tanstack-query" |
49 | 44 | }, |
| 45 | + "type": "module", |
50 | 46 | "peerDependencies": { |
51 | 47 | "@tanstack/query-core": "^5.90.2", |
52 | 48 | "mobx": "^6.12.4" |
|
56 | 52 | "yummies": "^5.11.1" |
57 | 53 | }, |
58 | 54 | "devDependencies": { |
| 55 | + "@biomejs/biome": "2.2.2", |
59 | 56 | "@changesets/changelog-github": "^0.5.1", |
60 | 57 | "@changesets/cli": "^2.29.5", |
61 | 58 | "@testing-library/react": "^16.0.1", |
|
65 | 62 | "@vitejs/plugin-react-swc": "^3.7.2", |
66 | 63 | "@vitest/coverage-istanbul": "^2.1.6", |
67 | 64 | "commitfmt": "^1.0.0", |
68 | | - "eslint": "^8.57.0", |
69 | | - "js2me-eslint-config": "^1.0.6", |
70 | | - "sborshik": "^1.0.25", |
| 65 | + "js2me-biome-config": "^1.0.5", |
71 | 66 | "jsdom": "^25.0.1", |
72 | 67 | "lefthook": "^1.11.13", |
73 | 68 | "nodemon": "^3.1.0", |
74 | 69 | "rimraf": "^6.0.1", |
75 | | - "typescript": "^5.5.0", |
| 70 | + "sborshik": "^1.0.25", |
| 71 | + "terser": "^5.44.0", |
| 72 | + "tsx": "^4.20.6", |
| 73 | + "typescript": "^5.8.3", |
| 74 | + "vite": "^7.1.9", |
| 75 | + "vite-plugin-dts": "^4.5.4", |
76 | 76 | "vitest": "^2.1.4", |
77 | 77 | "zshy": "^0.4.2" |
78 | 78 | }, |
|
0 commit comments