-
Notifications
You must be signed in to change notification settings - Fork 783
/
Copy pathpackage.json
132 lines (132 loc) · 6.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "plate",
"private": true,
"license": "MIT",
"workspaces": [
"apps/*",
"packages/*",
"tooling/eslint"
],
"scripts": {
"brl": "yarn g:brl",
"build": "yarn g:build",
"build:apps": "turbo --filter \"./apps/www\" build",
"build:registry": "yarn workspace www build:registry",
"build:templates": "turbo --filter \"./templates/**\" build",
"build:tw": "yarn workspace www build:tw",
"build:watch": "ROARR_LOG=true turbowatch ./tooling/config/turbowatch.config.ts | roarr",
"check:install": "yarn dlx @yarnpkg/doctor@4.0.0-rc.10 --configFileName config/.ncurc.yml packages",
"cli:basic": "sh ./tooling/scripts/pre-basic.sh && npx shadcx@latest add plate/editor-basic -o -c templates/plate-template && sh ./tooling/scripts/post-basic.sh",
"cli:basic:dev": "sh ./tooling/scripts/pre-basic.sh && yarn workspace shadcx dev add plate/paragraph-element -c ../../templates/plate-template && sh ./tooling/scripts/post-basic.sh",
"cli:sync": "sh ./tooling/scripts/pre-ai.sh && npx shadcx@latest add plate/editor-ai -o -c templates/plate-playground-template && sh ./tooling/scripts/post-ai.sh",
"cli:test": "sh ./tooling/scripts/pre-basic.sh && npx shadcx@latest add plate/editor-ai -o -c templates/plate-template && sh ./tooling/scripts/post-basic.sh",
"deps:check": "npx npm-check-updates@latest --configFileName config/ncurc.yml --workspaces --root --mergeConfig",
"deps:update": "npx npm-check-updates@latest --configFileName config/ncurc.yml -u --workspaces --root --mergeConfig",
"dev": "turbo --filter=www dev",
"devt": "yarn workspace www devt",
"docs:build": "cd docs && yarn && yarn build",
"docs:start": "cd docs && yarn && yarn start",
"e2e": "yarn playwright test --config tooling/config/playwright.config.ts",
"g:Test:Watch": "turbo --filter \"./packages/**\" test:watch",
"g:brl": "turbo --filter \"./packages/**\" brl",
"g:build": "turbo --filter \"./packages/**\" build",
"g:build:registry": "yarn workspace www build:registry",
"g:build:watch": "yarn build:watch",
"g:changeset": "changeset",
"g:clean": "turbo --filter \"./packages/**\" clean",
"g:dev": "turbo --filter=www dev",
"g:dev:cli": "yarn workspace shadcx dev",
"g:lint": "turbo --filter \"./packages/**\" lint",
"g:lint:all": "turbo && cd templates/plate-playground-template && pnpm lint",
"g:lint:all:fix": "turbo lint:fix && cd templates/plate-playground-template && pnpm lint:fix",
"g:lint:fix": "turbo lint:fix",
"g:plate-ui": "cd $INIT_CWD && COMPONENTS_REGISTRY_URL=http://localhost:3000 yarn run -T plate-ui",
"g:release:next": "yarn build && yarn changeset publish --tag next",
"g:test": "turbo --filter \"./packages/**\" test",
"g:test:cov": "yarn g:test --coverage",
"g:test:covw": "yarn g:test:cov --watch",
"g:test:covwa": "yarn g:test:cov --watchAll",
"g:test:wa": "yarn g:test -- --watchAll",
"g:test:watch": "yarn g:test -- --watch",
"g:typecheck": "turbo --filter \"./packages/**\" typecheck",
"g:typecheck:all": "turbo typecheck",
"gen:package": "yarn plop --plopfile tooling/scripts/plop/plopfile.cjs package",
"postinstall": "patch-package --patch-dir tooling/patches",
"lint": "yarn g:lint",
"lint:all": "turbo lint",
"lint:fix": "yarn g:lint:fix",
"lint:templates": "turbo --filter \"./templates/plate-playground-template/**\" lint",
"nuke:node_modules": "rimraf '**/node_modules'",
"p:brl": "sh tooling/scripts/brl.sh",
"p:build": "cd $INIT_CWD && yarn p:tsup",
"p:build:watch": "cd $INIT_CWD && yarn p:tsup --watch",
"p:clean": "cd $INIT_CWD && rimraf dist && jest --clear-cache",
"p:lint": "prettier --check $INIT_CWD/src --log-level warn && eslint $INIT_CWD/src --color",
"p:lint:fix": "eslint $INIT_CWD/src --color --fix && prettier --write $INIT_CWD/src --log-level warn",
"p:test": "cd $INIT_CWD && jest --config=${PROJECT_CWD}/jest.config.cjs --maxWorkers=1 --passWithNoTests $INIT_CWD ",
"p:tsup": "cd $INIT_CWD && tsup --config=${PROJECT_CWD}/tooling/config/tsup.config.ts",
"p:typecheck": "cd $INIT_CWD && tsc -p $INIT_CWD/tsconfig.json",
"release": "yarn build && yarn changeset publish",
"sync:plate": "node templates/plate-playground-template/scripts/sync-plate.cjs",
"sync:templates": "./tooling/scripts/sync-templates.sh \"templates/*\"",
"test": "yarn g:test",
"test:nc": "yarn g:test -- --no-cache",
"test:wa": "yarn g:test:wa",
"test:watch": "yarn g:test:watch",
"typecheck": "yarn g:typecheck",
"typecheck:all": "yarn g:typecheck:all"
},
"devDependencies": {
"@app/eslint": "workspace:^",
"@changesets/cli": "2.27.11",
"@changesets/get-github-info": "0.6.0",
"@playwright/test": "1.50.1",
"@roarr/cli": "5.12.4",
"@swc/core": "1.10.12",
"@swc/jest": "0.2.37",
"@tailwindcss/postcss": "4.0.3",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.2.0",
"@testing-library/user-event": "14.6.1",
"@types/eslint": "^9.6.1",
"@types/is-hotkey": "0.1.10",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.15",
"@types/node": "22.13.0",
"@types/prismjs": "1.26.5",
"@types/raf": "3.4.3",
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3",
"@types/validator": "13.12.2",
"app-root-path": "3.1.0",
"autoprefixer": "10.4.20",
"barrelsby": "2.8.1",
"concurrently": "9.1.2",
"cross-env": "7.0.3",
"dotenv": "16.4.7",
"eslint": "^9.19.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"patch-package": "8.0.0",
"prettier": "3.4.2",
"react": "19.0.0",
"react-dnd-test-backend": "16.0.1",
"react-dom": "19.0.0",
"rimraf": "6.0.1",
"shadcx": "workspace:^",
"slate-test-utils": "1.3.2",
"tailwindcss": "4.0.3",
"ts-jest": "29.2.5",
"tsup": "8.3.6",
"turbo": "2.4.0",
"turbowatch": "2.29.4",
"typescript": "5.7.3"
},
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18.12.0",
"npm": "please-use-yarn",
"yarn": ">=1.22.0"
}
}