|
15 | 15 | ]
|
16 | 16 | },
|
17 | 17 | "scripts": {
|
18 |
| - "build:module": "esr scripts/build.ts", |
19 |
| - "build:prod": "NODE_ENV=production yarn build:module", |
20 |
| - "dev": "yarn build:module --dev", |
21 |
| - "watch": "yarn build:module --dev --watch", |
22 |
| - "prepare": "husky install", |
23 |
| - "clean": "esr scripts/generate-typings.ts", |
24 |
| - "build:types": "ultra -r --silent --concurrency 20 --filter \"@zag-js/*\" \"tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false\"", |
25 |
| - "prebuild": "yarn build:types", |
26 |
| - "build": "NODE_ENV=production yarn build:module", |
| 18 | + "build:fast": "yarn turbo run build:fast --filter=./packages/**/*", |
| 19 | + "build": "turbo run build --filter=./packages/**/*", |
| 20 | + "start": "turbo run start --stream --parallel --filter=./packages/**/*", |
| 21 | + "postinstall": "husky install && patch-package", |
| 22 | + "clean": "manypkg exec rm -rf dist .turbo .swc", |
27 | 23 | "start:react": "cd examples/next-ts && yarn dev",
|
28 | 24 | "start:vue": "cd examples/vue-ts && vite --port 3002 --clearScreen false",
|
29 | 25 | "start:solid": "cd examples/solid-ts && vite --port 3001 --clearScreen false",
|
|
33 | 29 | "cypress:run": "cypress run",
|
34 | 30 | "cypress:dev": "cypress open",
|
35 | 31 | "fix:pkgs": "manypkg fix",
|
36 |
| - "gen:machine": "esr scripts/generate-machine.ts", |
37 |
| - "gen:util": "esr scripts/generate-util.ts", |
38 |
| - "lint": "eslint packages --ext .ts", |
39 |
| - "postinstall": "patch-package", |
| 32 | + "gen:machine": "plop machine", |
| 33 | + "gen:util": "plop utility", |
| 34 | + "lint": "turbo run lint --stream --parallel", |
| 35 | + "version": "changeset version", |
40 | 36 | "release": "changeset publish",
|
41 |
| - "test": "jest --maxWorkers=50%", |
42 |
| - "test:ci": "jest --runInBand" |
| 37 | + "test": "turbo run test --stream", |
| 38 | + "test:ci": "turbo run test:ci --stream" |
43 | 39 | },
|
44 | 40 | "devDependencies": {
|
45 | 41 | "@changesets/changelog-github": "^0.4.0",
|
46 | 42 | "@changesets/cli": "^2.19.0",
|
47 | 43 | "@commitlint/cli": "^16.0.2",
|
48 | 44 | "@commitlint/config-conventional": "^16.0.0",
|
49 |
| - "@lerna/package-graph": "^4.0.0", |
50 | 45 | "@manypkg/cli": "^0.17.0",
|
51 | 46 | "@swc-node/jest": "^1.4.3",
|
52 | 47 | "@testing-library/cypress": "^8.0.2",
|
53 | 48 | "@testing-library/dom": "^8.12.0",
|
54 | 49 | "@testing-library/jest-dom": "^5.16.1",
|
55 | 50 | "@types/form-serialize": "^0.7.2",
|
56 | 51 | "@types/jest": "^27.4.0",
|
57 |
| - "@types/lodash": "^4.14.178", |
58 |
| - "@types/shelljs": "^0.8.11", |
59 | 52 | "@typescript-eslint/eslint-plugin": "^5.9.1",
|
60 | 53 | "@typescript-eslint/parser": "^5.9.1",
|
61 | 54 | "axe-core": "^4.3.5",
|
62 | 55 | "chalk": "^4.1.2",
|
63 |
| - "chokidar": "^3.5.2", |
64 | 56 | "commitlint": "^12.1.4",
|
65 | 57 | "cypress": "^8.5.0",
|
66 | 58 | "cypress-axe": "^0.14.0",
|
|
77 | 69 | "eslint-plugin-prettier": "^3.4.0",
|
78 | 70 | "eslint-plugin-testing-library": "^4.4.0",
|
79 | 71 | "form-serialize": "^0.7.2",
|
80 |
| - "gzip-size": "6.0.0", |
81 | 72 | "husky": "^6.0.0",
|
82 | 73 | "jest": "^26.6.3",
|
83 | 74 | "jest-watch-typeahead": "^0.6.3",
|
84 | 75 | "lint-staged": "^11.0.0",
|
85 |
| - "lodash": "^4.17.21", |
86 |
| - "node-plop": "^0.26.2", |
| 76 | + "plop": "^3.0.5", |
87 | 77 | "patch-package": "^6.4.7",
|
88 | 78 | "prettier": "^2.5.1",
|
89 |
| - "pretty-bytes": "^5.6.0", |
90 |
| - "rimraf": "^3.0.2", |
91 |
| - "shelljs": "^0.8.5", |
92 | 79 | "start-server-and-test": "^1.14.0",
|
93 | 80 | "typescript": "^4.6.3",
|
94 |
| - "turbo": "^1.2.2", |
95 |
| - "lask": "^0.1.0", |
96 |
| - "ultra-runner": "^3.10.5" |
| 81 | + "turbo": "^1.2.2" |
97 | 82 | },
|
98 | 83 | "lint-staged": {
|
99 | 84 | "**/*.{ts,tsx,js,jsx}": "prettier --write"
|
|
0 commit comments