Skip to content

Commit

Permalink
use pnpm shell-emulator instead of cross-env (#16486)
Browse files Browse the repository at this point in the history
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
  • Loading branch information
azrikahar and rijkvanzanten committed Nov 17, 2022
1 parent 0ac08da commit 5e4d797
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
engine-strict=true
shell-emulator=true
5 changes: 2 additions & 3 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"prebuild": "pnpm cleanup",
"build": "tsc --build && copyfiles \"src/**/*.{yaml,liquid}\" -u 1 dist",
"cleanup": "rimraf dist",
"cli": "cross-env NODE_ENV=development SERVE_APP=false ts-node --script-mode --transpile-only src/cli/run.ts",
"dev": "cross-env NODE_ENV=development SERVE_APP=false ts-node-dev --files --transpile-only --respawn --watch \".env\" --inspect=0 --exit-child -- src/start.ts",
"cli": "NODE_ENV=development SERVE_APP=false ts-node --script-mode --transpile-only src/cli/run.ts",
"dev": "NODE_ENV=development SERVE_APP=false ts-node-dev --files --transpile-only --respawn --watch \".env\" --inspect=0 --exit-child -- src/start.ts",
"start": "npx directus start",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
Expand Down Expand Up @@ -209,7 +209,6 @@
"@types/wellknown": "0.5.4",
"@vitest/coverage-c8": "0.25.2",
"copyfiles": "2.4.1",
"cross-env": "7.0.3",
"form-data": "4.0.0",
"knex-mock-client": "1.8.4",
"rimraf": "3.0.2",
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"./packages/*"
],
"scripts": {
"cli": "cross-env NODE_ENV=development SERVE_APP=false DOTENV_CONFIG_PATH=api/.env ts-node -r dotenv/config --script-mode --transpile-only api/src/cli/run.ts",
"cli": "NODE_ENV=development SERVE_APP=false DOTENV_CONFIG_PATH=api/.env ts-node -r dotenv/config --script-mode --transpile-only api/src/cli/run.ts",
"format": "prettier --write \"**/*.{md,y?(a)ml,json}\"",
"lint": "eslint .",
"test:blackbox": "jest tests -c tests-blackbox/jest.config.js",
Expand Down Expand Up @@ -35,7 +35,6 @@
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"axios": "1.1.3",
"cross-env": "7.0.3",
"eslint": "8.27.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
Expand Down
12 changes: 0 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5e4d797

Please sign in to comment.