Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added cross-env package for windows compatibility #1108

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
"version": "3.1.4",
"dev_version": "1.0",
"scripts": {
"start": "NODE_ENV=dev yarn build:dev && NODE_ENV=dev vite --mode dev",
"start": "cross-env NODE_ENV=dev yarn build:dev && cross-env NODE_ENV=dev vite --mode dev",
"build:section:app": "vite build --config vite.config.mts",
"build:section:background": "vite build --config vite.config.background.mts",
"build:section:content": "vite build --config vite.config.content.mts",
"build:section:worker": "vite build -c vite.config.worker.mts",
"build-hosted:section:worker": "vite build --config vite.config.worker.mts",
"build-hosted:section:site": "vite build --config vite.config.hosted.mts",
"build:dev": "NODE_ENV=dev run-s build:section:*",
"build:prod": "NODE_ENV=production vue-tsc --noEmit && run-s build:section:*",
"build-hosted:dev": "NODE_ENV=dev run-s build-hosted:section:*",
"build-hosted:prod": "NODE_ENV=production vue-tsc --noEmit && run-s build-hosted:section:*",
"build:dev": "cross-env NODE_ENV=dev run-s build:section:*",
"build:prod": "cross-env NODE_ENV=production vue-tsc --noEmit && run-s build:section:*",
"build-hosted:dev": "cross-env NODE_ENV=dev run-s build-hosted:section:*",
"build-hosted:prod": "cross-env NODE_ENV=production vue-tsc --noEmit && run-s build-hosted:section:*",
"watch:section:background": "vite build --config vite.config.background.mts --watch",
"watch:section:content": "vite build --config vite.config.content.mts --watch",
"watch:section:worker": "vite build --config vite.config.worker.mts --watch",
"watch": "NODE_ENV=dev run-p watch:section:*",
"watch": "cross-env NODE_ENV=dev run-p watch:section:*",
"format": "prettier -w .",
"lint:style": "stylelint **/*.{vue,scss,css} --ignore-path .gitignore",
"lint:js": "eslint --ext .js,.vue,.ts --ignore-path .gitignore .",
Expand Down Expand Up @@ -58,6 +58,7 @@
"@vueuse/head": "^2.0.0",
"chokidar": "^3.5.3",
"color2k": "^2.0.2",
"cross-env": "^7.0.3",
"date-fns": "^2.30.0",
"dexie": "^3.2.4",
"dompurify": "^3.0.5",
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1531,6 +1531,13 @@ cosmiconfig@^8.2.0:
parse-json "^5.2.0"
path-type "^4.0.0"

cross-env@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf"
integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==
dependencies:
cross-spawn "^7.0.1"

cross-spawn@^6.0.5:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
Expand All @@ -1542,7 +1549,7 @@ cross-spawn@^6.0.5:
shebang-command "^1.2.0"
which "^1.2.9"

cross-spawn@^7.0.2, cross-spawn@^7.0.3:
cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
Expand Down
Loading