|
9 | 9 | "scripts": { |
10 | 10 | "predocs:start": "ts-node scripts/docs", |
11 | 11 | "docs:start": "cd website && yarn start", |
12 | | - "postinstall": "preconstruct dev && yarn monorepo:check", |
13 | | - "build": "yarn clean && preconstruct build", |
| 12 | + "postinstall": "yarn monorepo:check", |
| 13 | + "build": "parcel build packages/* community/*", |
14 | 14 | "clean": "rm -rf node_modules/.cache && rimraf packages/**/{tsconfig.tsbuildinfo,lib,dist} community/**/{tsconfig.tsbuildinfo,lib,dist}", |
15 | 15 | "test": "jest", |
16 | 16 | "test:watch": "jest --watch", |
17 | 17 | "test:coverage": "jest --coverage", |
18 | | - "validate": "yarn build && yarn lint && yarn monorepo:check && preconstruct validate", |
19 | | - "lint": "eslint --config .eslintrc.js --ext tsx,ts ./packages/**/src ./community/**/*", |
| 18 | + "validate": "yarn build && yarn lint && yarn lint:file-structure && yarn monorepo:check && yarn community:validate", |
| 19 | + "lint": "eslint --config .eslintrc.js --ext tsx,ts ./packages/**/src ./community/**/src", |
20 | 20 | "lint:fix": "yarn lint -- --fix", |
21 | | - "lint:file-structure": "npx @ls-lint/ls-lint", |
22 | 21 | "types:check": "tsc --noEmit --skipLibCheck", |
23 | 22 | "monorepo:check": "manypkg check", |
24 | | - "monorepo:fix": "manypkg fix && preconstruct fix", |
| 23 | + "monorepo:fix": "manypkg fix", |
25 | 24 | "cli:start": "ts-node packages/cli/bin/codeshift-cli.js", |
26 | 25 | "cli:validate": "ts-node packages/cli/bin/codeshift-cli.js validate", |
27 | 26 | "cli:init": "ts-node packages/cli/bin/codeshift-cli.js init", |
28 | 27 | "cli:list": "ts-node packages/cli/bin/codeshift-cli.js list", |
29 | 28 | "community:init": "ts-node scripts/initialize.ts", |
30 | 29 | "community:init:preset": "ts-node scripts/initialize-preset.ts", |
31 | 30 | "community:validate": "ts-node scripts/validate.ts ./community", |
32 | | - "community:release": "ts-node scripts/publish.ts ./community .tmp", |
33 | | - "community:release-all": "ts-node scripts/publish-all.ts ./community .tmp", |
34 | | - "community:release-all-dry": "ts-node scripts/publish-all-dry.ts ./community .tmp", |
35 | 31 | "worker:sync": "ts-node scripts/sync.ts", |
36 | 32 | "prerelease": "yarn validate && yarn test", |
37 | 33 | "release": "yarn changeset publish" |
|
43 | 39 | "@babel/preset-typescript": "^7.12.7", |
44 | 40 | "@changesets/cli": "^2.6.2", |
45 | 41 | "@manypkg/cli": "^0.20.0", |
46 | | - "@preconstruct/cli": "^2.0.0", |
| 42 | + "@parcel/packager-ts": "2.8.3", |
| 43 | + "@parcel/transformer-typescript-types": "2.8.3", |
47 | 44 | "@types/inquirer": "^8.2.1", |
48 | 45 | "@types/jest": "^26.0.15", |
49 | 46 | "@types/jscodeshift": "^0.11.0", |
|
61 | 58 | "jest-watch-typeahead": "^0.4.2", |
62 | 59 | "jscodeshift": "^0.13.1", |
63 | 60 | "junk": "^3.1.0", |
| 61 | + "parcel": "^2.8.3", |
64 | 62 | "prettier": "^2.0.0", |
65 | 63 | "rimraf": "^2.6.3", |
66 | 64 | "semver": "^7.3.5", |
|
81 | 79 | "packages/*", |
82 | 80 | "community/*" |
83 | 81 | ], |
84 | | - "preconstruct": { |
85 | | - "packages": [ |
86 | | - "packages/*" |
87 | | - ] |
88 | | - }, |
89 | 82 | "engines": { |
90 | 83 | "node": ">=14" |
91 | 84 | } |
|
0 commit comments