|
3 | 3 | "version": "0.0.1", |
4 | 4 | "license": "MIT", |
5 | 5 | "private": true, |
6 | | - "workspaces": [ |
7 | | - "packages/*", |
8 | | - "demo" |
9 | | - ], |
10 | 6 | "preconstruct": { |
11 | 7 | "packages": [ |
12 | 8 | "packages/*" |
13 | 9 | ] |
14 | 10 | }, |
15 | 11 | "scripts": { |
16 | | - "postinstall": "husky install && preconstruct dev", |
| 12 | + "postinstall": "preconstruct dev", |
17 | 13 | "build": "preconstruct build", |
18 | 14 | "watch": "preconstruct watch", |
19 | 15 | "dev": "preconstruct dev", |
20 | 16 | "lint": "pretty-quick --staged", |
21 | 17 | "lint:full": "eslint packages/*/src", |
22 | | - "ci:version": "yarn changeset version", |
23 | | - "ci:release": "yarn build && yarn changeset publish", |
| 18 | + "ci:version": "pnpm changeset version && pnpm --filter \"leva\" --filter \"@leva-ui/*\" install --lockfile-only", |
| 19 | + "ci:publish": "pnpm build && pnpm changeset publish", |
24 | 20 | "validate": "preconstruct validate", |
25 | 21 | "tsc": "tsc --noEmit", |
26 | | - "size": "yarn build && size-limit", |
| 22 | + "size": "size-limit", |
27 | 23 | "storybook": "start-storybook -p 6006", |
28 | 24 | "build-storybook": "build-storybook --quiet", |
29 | 25 | "cypress:open": "cypress open", |
30 | 26 | "cypress:run": "cypress run", |
31 | | - "demo:dev": "yarn workspace demo dev", |
32 | | - "demo:build": "yarn workspace demo build", |
33 | | - "demo:serve": "yarn workspace demo serve", |
34 | | - "ci:test": "yarn demo:build && start-server-and-test demo:serve http-get://localhost:5000 cypress:run", |
35 | | - "prepare": "husky install", |
| 27 | + "demo:dev": "pnpm --filter demo run dev", |
| 28 | + "demo:build": "pnpm --filter demo run build", |
| 29 | + "demo:serve": "pnpm --filter demo run serve", |
| 30 | + "ci:test": "pnpm demo:build && start-server-and-test demo:serve http-get://localhost:5000 cypress:run", |
36 | 31 | "prettier": "prettier --check ." |
37 | 32 | }, |
38 | 33 | "size-limit": [ |
|
57 | 52 | "url": "https://github.com/pmndrs/leva.git" |
58 | 53 | }, |
59 | 54 | "bugs": "https://github.com/pmndrs/leva/issues", |
60 | | - "peerDependencies": { |
61 | | - "react": "^18.0.0 || ^19.0.0", |
62 | | - "react-dom": "^18.0.0 || ^19.0.0" |
63 | | - }, |
64 | 55 | "devDependencies": { |
65 | | - "@babel/core": "^7.17.0", |
66 | | - "@babel/preset-env": "^7.16.5", |
67 | | - "@babel/preset-react": "^7.16.5", |
68 | | - "@babel/preset-typescript": "^7.16.5", |
69 | | - "@changesets/cli": "^2.18.1", |
70 | | - "@emotion/react": "^11.7.1", |
71 | | - "@preconstruct/cli": "^2.1.5", |
72 | | - "@radix-ui/react-icons": "^1.0.3", |
73 | | - "@size-limit/preset-big-lib": "^11.0.0", |
74 | | - "@storybook/addon-actions": "^6.4.18", |
75 | | - "@storybook/addon-essentials": "^6.4.18", |
76 | | - "@storybook/addon-links": "^6.4.18", |
77 | | - "@storybook/addon-storysource": "^6.4.18", |
78 | | - "@storybook/react": "^6.4.18", |
| 56 | + "@babel/core": "^7.20.12", |
| 57 | + "@babel/preset-env": "^7.20.2", |
| 58 | + "@babel/preset-react": "^7.18.6", |
| 59 | + "@babel/preset-typescript": "^7.18.6", |
| 60 | + "@changesets/cli": "^2.26.0", |
| 61 | + "@emotion/react": "^11.10.5", |
| 62 | + "@preconstruct/cli": "^2.3.0", |
| 63 | + "@radix-ui/react-icons": "^1.1.1", |
| 64 | + "@size-limit/preset-big-lib": "^8.1.0", |
| 65 | + "@storybook/addon-actions": "^6.5.15", |
| 66 | + "@storybook/addon-essentials": "^6.5.15", |
| 67 | + "@storybook/addon-links": "^6.5.15", |
| 68 | + "@storybook/addon-storysource": "^6.5.15", |
| 69 | + "@storybook/react": "^6.5.15", |
79 | 70 | "@testing-library/cypress": "^8.0.2", |
80 | | - "@types/react": "^18.0.0", |
81 | | - "@types/react-dom": "^18.0.0", |
82 | | - "@typescript-eslint/eslint-plugin": "^5.10.2", |
83 | | - "@typescript-eslint/parser": "^5.10.2", |
84 | | - "all-contributors-cli": "^6.20.0", |
85 | | - "babel-eslint": "^10.1.0", |
| 71 | + "@types/node": "^18.11.18", |
| 72 | + "@types/react": "^18.0.26", |
| 73 | + "@types/react-dom": "^18.0.10", |
| 74 | + "@typescript-eslint/eslint-plugin": "^5.48.2", |
| 75 | + "@typescript-eslint/parser": "^5.48.2", |
| 76 | + "@welldone-software/why-did-you-render": "^7.0.1", |
| 77 | + "all-contributors-cli": "^6.24.0", |
86 | 78 | "cypress": "6.9.1", |
87 | | - "eslint": "^8.8.0", |
88 | | - "eslint-config-react-app": "^7.0.0", |
| 79 | + "eslint": "^8.32.0", |
| 80 | + "eslint-config-react-app": "^7.0.1", |
89 | 81 | "eslint-plugin-cypress": "^2.12.1", |
90 | 82 | "eslint-plugin-flowtype": "^8.0.3", |
91 | | - "eslint-plugin-import": "^2.25.4", |
92 | | - "eslint-plugin-jsx-a11y": "^6.5.1", |
93 | | - "eslint-plugin-react": "^7.28.0", |
94 | | - "eslint-plugin-react-hooks": "^4.3.0", |
95 | | - "husky": "^7.0.4", |
96 | | - "patch-package": "^6.4.7", |
97 | | - "postinstall-postinstall": "^2.1.0", |
98 | | - "prettier": "^2.5.1", |
| 83 | + "eslint-plugin-import": "^2.27.5", |
| 84 | + "eslint-plugin-jsx-a11y": "^6.7.1", |
| 85 | + "eslint-plugin-react": "^7.32.1", |
| 86 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 87 | + "husky": "^8.0.3", |
| 88 | + "pnpm": "^7.25.0", |
| 89 | + "prettier": "^2.8.3", |
99 | 90 | "pretty-quick": "^3.1.3", |
100 | | - "react": "^18.0.0", |
101 | | - "react-dom": "^18.0.0", |
| 91 | + "react": "^18.2.0", |
| 92 | + "react-dom": "^18.2.0", |
102 | 93 | "size-limit": "^8.1.0", |
103 | | - "start-server-and-test": "^1.14.0", |
104 | | - "tsd": "^0.19.1", |
105 | | - "typescript": "4.5.5" |
| 94 | + "start-server-and-test": "^1.15.2", |
| 95 | + "tsd": "^0.25.0", |
| 96 | + "typescript": "^4.9.4" |
106 | 97 | }, |
107 | 98 | "prettier": { |
108 | 99 | "bracketSameLine": true, |
|
0 commit comments