Skip to content

Commit

Permalink
Explicitly set TEST_CWD for yarn test in packages/
Browse files Browse the repository at this point in the history
Right now a sub-package like packages/react-web/package.json calls
`yarn test` with `yarn --cwd=../.. test`, which invokes the root
package.json's test script, which does `jest $INIT_CWD`, which
runs jest from the directory `yarn` was originally invoked from
(in this case, packages/react-web).

However, yarn only sets INIT_CWD  if it doesn't already
exist in the process.env.  In CICD, we use `npx ...` to execute
commands in parallel, which presumably sets INIT_CWD to the
root folder, so in CICD, running `yarn test` in packages/react-web
would run tests for everything instead of just react-web.

Now we explicitly TEST_CWD instead of relying on behavior of INIT_CWD

Change-Id: I006dde09e0da47a5dbe2208aec8b9fcacf0a60b8
GitOrigin-RevId: 8def1451f308c0fc7ee42440e5ae2a9436df0b7c
  • Loading branch information
chungwu authored and Copybara committed Jan 29, 2024
1 parent 9daf43e commit 2ef3947
Show file tree
Hide file tree
Showing 63 changed files with 67 additions and 67 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"setup:sub": "cd platform/sub && yarn && yarn build",
"setup:wab": "cd platform/wab && yarn",
"setup:pybackend": "cd platform/pybackend && bash ./setup.sh",
"test": "jest $INIT_CWD",
"test": "jest $TEST_CWD",
"typecheck": "cd platform/wab && yarn ts-watch",
"upgrade-internal": "bash scripts/upgrade-internal.bash"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build": "yarn build:types && yarn build:index",
"build:types": "yarn tsc",
"build:index": "node ../../build.mjs ./src/index.ts",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build": "yarn build:types && yarn build:index",
"build:types": "yarn tsc",
"build:index": "node ../../build.mjs ./src/index.ts",
"test": "yarn --cwd=../.. test",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/data-sources-context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build": "yarn build:types && yarn build:index",
"build:types": "yarn tsc",
"build:index": "node ../../build.mjs ./src/index.tsx --use-client",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/data-sources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build": "yarn build:types && yarn build:index",
"build:types": "yarn tsc",
"build:index": "node ../../build.mjs ./src/index.tsx",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"scripts": {
"build": "./update_version.sh && rollup -c",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "eslint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion packages/loader-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build:types": "yarn tsc",
"build:index": "node ../../build.mjs ./src/index.ts",
"yalcp": "yalc publish --push",
"test": "yarn --cwd=../.. test",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
4 changes: 2 additions & 2 deletions packages/loader-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build:types": "yarn tsc",
"build:index": "node ../../build.mjs ./src/index.ts",
"yalcp": "yalc publish --push",
"test": "yarn --cwd=../.. test --passWithNoTests",
"coverage": "yarn --cwd=../.. test --coverage --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"coverage": "TEST_CWD=`pwd` yarn --cwd=../.. test --coverage --passWithNoTests",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/loader-fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build:types": "yarn tsc",
"build:index": "node ../../build.mjs ./src/index.ts",
"yalcp": "yalc publish --push",
"test": "yarn --cwd=../.. test",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
4 changes: 2 additions & 2 deletions packages/loader-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"build:index": "node ../../build.mjs ./src/index.ts --use-client",
"build:react-server": "node ../../build.mjs ./src/react-server.ts",
"yalcp": "yalc publish --push",
"test": "yarn --cwd=../.. test",
"coverage": "yarn --cwd=../.. test --coverage --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test",
"coverage": "TEST_CWD=`pwd` yarn --cwd=../.. test --coverage --passWithNoTests",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
4 changes: 2 additions & 2 deletions packages/loader-splits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build:types": "yarn tsc",
"build:index": "node ../../build.mjs ./src/index.ts",
"yalcp": "yalc publish --push",
"test": "yarn --cwd=../.. test --passWithNoTests",
"coverage": "yarn --cwd=../.. test --coverage --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"coverage": "TEST_CWD=`pwd` yarn --cwd=../.. test --coverage --passWithNoTests",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
4 changes: 2 additions & 2 deletions packages/prepass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"build": "yarn build:types && yarn build:index",
"build:types": "yarn tsc --emitDeclarationOnly",
"build:index": "esbuild --format=cjs --outfile=./dist/index.cjs.js ./src/index.tsx && esbuild --format=esm --outfile=./dist/index.esm.js ./src/index.tsx",
"test": "yarn --cwd=../.. test",
"coverage": "yarn --cwd=../.. test --coverage --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test",
"coverage": "TEST_CWD=`pwd` yarn --cwd=../.. test --coverage --passWithNoTests",
"lint": "eslint",
"prepublishOnly": "npm run build"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build": "yarn build:types && yarn build:index",
"build:types": "yarn tsc",
"build:index": "node ../../build.mjs ./src/index.tsx --use-client",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"scripts": {
"build": "rollup -c && mkdir -p lib && cp src/styles/plasmic.css lib/",
"clean": "rm -rf dist/ skinny/dist/ lib/host/*js lib/host/*.ts lib/host/*.map lib/data-sources/*js lib/data-sources/*.ts lib/data-sources/*.map lib/query/*js lib/query/*.ts lib/query/*.map lib/auth/*js lib/auth/*.ts lib/auth/*.map lib/splits/*js lib/splits/*.ts lib/splits/*.map",
"test": "yarn --cwd=../.. test",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test",
"lint": "eslint",
"upgrade-aria": "yarn upgrade --latest --scope @react-aria && yarn upgrade --latest --scope @react-stately && yarn upgrade --latest --scope @react-types",
"prepublishOnly": "npm run build",
Expand Down
2 changes: 1 addition & 1 deletion packages/watcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build": "yarn build:types && yarn build:index",
"build:types": "yarn tsc",
"build:index": "node ../../build.mjs ./src/index.ts",
"test": "yarn --cwd=../.. test",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test",
"lint": "eslint",
"prepublishOnly": "npm run build",
"postpublish": "bash ../../scripts/publish-api-doc-model.sh",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/airtable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/chakra-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "rollup -c rollup.config.mjs && yarn tsc --emitDeclarationOnly --declaration src/index.ts --incremental --tsBuildInfoFile ./dist/.tsbuildinfo --skipLibCheck --jsx react --esModuleInterop --strict --outDir ./dist/",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/commerce-providers/commerce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/commerce-providers/commercetools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/commerce-providers/saleor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/commerce-providers/shopify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/commerce-providers/swell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/dnd-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/framer-motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/google-maps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/keen-slider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/lottie-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/mailchimp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-basic-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-calendly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-content-stack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"scripts": {
"build": "tsup-node src/index.tsx --dts --format esm,cjs --target es2019",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"prepublishOnly": "npm run build",
"size": "size-limit",
"analyze": "size-limit --why"
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"scripts": {
"build": "tsup-node src/index.tsx --dts --format esm,cjs --target es2019",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"prepublishOnly": "npm run build",
"size": "size-limit",
"analyze": "size-limit --why"
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-embed-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-eventbrite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-giphy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-graphcms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-hubspot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-intercom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-link-preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-pigeon-maps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/plasmic-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"test": "yarn --cwd=../.. test --passWithNoTests",
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepublishOnly": "npm run build",
"size": "size-limit",
Expand Down
Loading

0 comments on commit 2ef3947

Please sign in to comment.