Skip to content

Commit

Permalink
Fix: build error on windows (#497)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonghakseo <[email protected]>
  • Loading branch information
Jonghakseo and Jonghakseo authored Jun 16, 2024
1 parent 5c3d905 commit 50d8662
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion chrome-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"description": "chrome extension",
"scripts": {
"clean": "rimraf ../../dist && rimraf .turbo",
"clean": "rimraf ../../dist",
"build": "tsc --noEmit && vite build",
"build:firefox": "tsc --noEmit && cross-env __FIREFOX__=true vite build",
"build:watch": "cross-env __DEV__=true vite build -w --mode development",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite.git"
},
"scripts": {
"clean": "rimraf dist && rimraf .turbo && turbo clean",
"clean": "rimraf dist && turbo clean",
"build": "turbo build",
"build:firefox": "cross-env __FIREFOX__=true turbo build",
"build-dev-server": "pnpm -F=hmr build",
Expand Down
2 changes: 1 addition & 1 deletion packages/dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "rimraf ./dist && rimraf ./build && rimraf .turbo",
"clean": "rimraf ./dist && rimraf ./build",
"build": "pnpm run clean && tsc",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "pnpm lint --fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/hmr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "rimraf ./dist && rimraf ./build && rimraf .turbo",
"clean": "rimraf ./dist && rimraf ./build",
"build:tsc": "tsc -b tsconfig.build.json",
"build:rollup": "rollup --config rollup.config.mjs",
"build": "pnpm run build:tsc && pnpm run build:rollup",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"clean": "rimraf ./dist && rimraf .turbo",
"clean": "rimraf ./dist",
"build": "tsup index.ts --format esm,cjs --dts --external react,chrome",
"dev": "tsc -w",
"lint": "eslint . --ext .ts,.tsx",
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"clean": "rimraf ./dist && rimraf .turbo",
"clean": "rimraf ./dist",
"build": "tsup index.ts --format esm,cjs --dts",
"dev": "tsc -w",
"lint": "eslint . --ext .ts,.tsx",
Expand Down
2 changes: 1 addition & 1 deletion pages/content-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dist/**"
],
"scripts": {
"clean": "rimraf ./dist && rimraf .turbo",
"clean": "rimraf ./dist",
"build:tailwindcss": "tailwindcss -i src/tailwind-input.css -o src/tailwind-output.css",
"build": "pnpm build:tailwindcss && pnpm run clean && tsc --noEmit && vite build",
"build:watch": "cross-env __DEV__=true vite build -w --mode development",
Expand Down
2 changes: 1 addition & 1 deletion pages/content/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dist/**"
],
"scripts": {
"clean": "rimraf ./dist && rimraf .turbo",
"clean": "rimraf ./dist",
"build": "pnpm run clean && tsc --noEmit && vite build",
"build:watch": "cross-env __DEV__=true vite build -w --mode development",
"dev": "pnpm build:watch",
Expand Down
2 changes: 1 addition & 1 deletion pages/devtools-panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dist/**"
],
"scripts": {
"clean": "rimraf ./dist && rimraf .turbo",
"clean": "rimraf ./dist",
"build": "pnpm run clean && tsc --noEmit && vite build",
"build:watch": "cross-env __DEV__=true vite build -w --mode development",
"dev": "pnpm build:watch",
Expand Down
2 changes: 1 addition & 1 deletion pages/devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dist/**"
],
"scripts": {
"clean": "rimraf ./dist && rimraf .turbo",
"clean": "rimraf ./dist",
"build": "pnpm run clean && tsc --noEmit && vite build",
"build:watch": "cross-env __DEV__=true vite build -w --mode development",
"dev": "pnpm build:watch",
Expand Down
2 changes: 1 addition & 1 deletion pages/newtab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dist/**"
],
"scripts": {
"clean": "rimraf ./dist && rimraf .turbo",
"clean": "rimraf ./dist",
"build": "pnpm run clean && tsc --noEmit && vite build",
"build:watch": "cross-env __DEV__=true vite build -w --mode development",
"dev": "pnpm build:watch",
Expand Down
2 changes: 1 addition & 1 deletion pages/options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dist/**"
],
"scripts": {
"clean": "rimraf ./dist && rimraf .turbo",
"clean": "rimraf ./dist",
"build": "pnpm run clean && tsc --noEmit && vite build",
"build:watch": "cross-env __DEV__=true vite build -w --mode development",
"dev": "pnpm build:watch",
Expand Down
2 changes: 1 addition & 1 deletion pages/popup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dist/**"
],
"scripts": {
"clean": "rimraf ./dist && rimraf .turbo",
"clean": "rimraf ./dist",
"build": "pnpm run clean && tsc --noEmit && vite build",
"build:watch": "cross-env __DEV__=true vite build -w --mode development",
"dev": "pnpm build:watch",
Expand Down
2 changes: 1 addition & 1 deletion pages/sidepanel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dist/**"
],
"scripts": {
"clean": "rimraf ./dist && rimraf .turbo",
"clean": "rimraf ./dist",
"build": "pnpm run clean && tsc --noEmit && vite build",
"build:watch": "cross-env __DEV__=true vite build -w --mode development",
"dev": "pnpm build:watch",
Expand Down

0 comments on commit 50d8662

Please sign in to comment.