chore: tidy up turborepo commands
This commit is contained in:
parent
081855a4ec
commit
0a6c64682d
4 changed files with 22 additions and 25 deletions
|
@ -6,6 +6,7 @@
|
|||
"cp": "cp -a ../../packages/blog-content/dist/public/. ./public",
|
||||
"dev": "pnpm cp && react-scripts start",
|
||||
"build": "pnpm cp && react-scripts build",
|
||||
"preview": "vite serve build --open --port 3000",
|
||||
"clean": "rm -rf .turbo build node_modules"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -57,7 +58,8 @@
|
|||
"prettier": "^2.8.1",
|
||||
"simple-icons": "^7.21.0",
|
||||
"tslint-config-prettier": "^1.18.0",
|
||||
"typescript": "^4.9.4"
|
||||
"typescript": "^4.9.4",
|
||||
"vite": "^4.3.9"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
"packageManager": "^pnpm@7.0.0",
|
||||
"scripts": {
|
||||
"build": "turbo run build",
|
||||
"dev": "turbo run dev --no-cache --parallel --continue",
|
||||
"dev": "turbo run dev --parallel --continue",
|
||||
"preview": "turbo run preview --parallel --continue",
|
||||
"lint": "turbo run lint",
|
||||
"clean": "turbo run clean && rm -rf node_modules",
|
||||
"format": "prettier --write \"**/*.{ts,tsx,md}\""
|
||||
"clean": "turbo run clean && rm -rf node_modules"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/eslint-config": "workspace:*",
|
||||
|
|
24
pnpm-lock.yaml
generated
24
pnpm-lock.yaml
generated
|
@ -168,6 +168,9 @@ importers:
|
|||
typescript:
|
||||
specifier: ^4.9.4
|
||||
version: 4.9.4
|
||||
vite:
|
||||
specifier: ^4.3.9
|
||||
version: 4.3.9(@types/node@18.11.11)
|
||||
|
||||
apps/main:
|
||||
devDependencies:
|
||||
|
@ -327,7 +330,7 @@ importers:
|
|||
version: 5.1.5
|
||||
vite:
|
||||
specifier: ^4.3.9
|
||||
version: 4.3.9
|
||||
version: 4.3.9(sass@1.63.6)
|
||||
vite-plugin-dynamic-import:
|
||||
specifier: ^1.4.1
|
||||
version: 1.4.1
|
||||
|
@ -4587,7 +4590,7 @@ packages:
|
|||
'@linaria/logger': 4.0.0
|
||||
'@linaria/utils': 4.3.4
|
||||
'@rollup/pluginutils': 4.2.1
|
||||
vite: 4.3.9
|
||||
vite: 4.3.9(sass@1.63.6)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
@ -5987,7 +5990,7 @@ packages:
|
|||
'@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.22.5)
|
||||
'@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.22.5)
|
||||
react-refresh: 0.14.0
|
||||
vite: 4.3.9
|
||||
vite: 4.3.9(sass@1.63.6)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
@ -13610,14 +13613,6 @@ packages:
|
|||
optionalDependencies:
|
||||
fsevents: 2.3.2
|
||||
|
||||
/rollup@3.25.2:
|
||||
resolution: {integrity: sha512-VLnkxZMDr3jpxgtmS8pQZ0UvhslmF4ADq/9w4erkctbgjCqLW9oa89fJuXEs4ZmgyoF7Dm8rMDKSS5b5u2hHUg==}
|
||||
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
|
||||
hasBin: true
|
||||
optionalDependencies:
|
||||
fsevents: 2.3.2
|
||||
dev: true
|
||||
|
||||
/rollup@3.25.3:
|
||||
resolution: {integrity: sha512-ZT279hx8gszBj9uy5FfhoG4bZx8c+0A1sbqtr7Q3KNWIizpTdDEPZbV2xcbvHsnFp4MavCQYZyzApJ+virB8Yw==}
|
||||
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
|
||||
|
@ -15337,13 +15332,13 @@ packages:
|
|||
debug: 4.3.4(supports-color@5.5.0)
|
||||
globrex: 0.1.2
|
||||
tsconfck: 2.1.1(typescript@5.1.5)
|
||||
vite: 4.3.9
|
||||
vite: 4.3.9(sass@1.63.6)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
- typescript
|
||||
dev: true
|
||||
|
||||
/vite@4.3.9:
|
||||
/vite@4.3.9(@types/node@18.11.11):
|
||||
resolution: {integrity: sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==}
|
||||
engines: {node: ^14.18.0 || >=16.0.0}
|
||||
hasBin: true
|
||||
|
@ -15368,6 +15363,7 @@ packages:
|
|||
terser:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@types/node': 18.11.11
|
||||
esbuild: 0.17.19
|
||||
postcss: 8.4.24
|
||||
rollup: 3.25.3
|
||||
|
@ -15402,7 +15398,7 @@ packages:
|
|||
dependencies:
|
||||
esbuild: 0.17.19
|
||||
postcss: 8.4.24
|
||||
rollup: 3.25.2
|
||||
rollup: 3.25.3
|
||||
sass: 1.63.6
|
||||
optionalDependencies:
|
||||
fsevents: 2.3.2
|
||||
|
|
13
turbo.json
13
turbo.json
|
@ -1,18 +1,17 @@
|
|||
{
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"pipeline": {
|
||||
"dev": {
|
||||
"cache": false
|
||||
},
|
||||
"build": {
|
||||
"outputs": ["build/**", "dist/**", "storybook-static/**"],
|
||||
"cache": false,
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"test": {
|
||||
"outputs": ["coverage/**"],
|
||||
"dependsOn": []
|
||||
"preview": {
|
||||
"cache": false
|
||||
},
|
||||
"lint": {
|
||||
"outputs": []
|
||||
},
|
||||
"dev": {
|
||||
"cache": false
|
||||
},
|
||||
"clean": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue