Skip to content

Commit

Permalink
internal: Update workspace scripts for yarn 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Nov 24, 2023
1 parent 686e6db commit c52573d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
"lint": "eslint --ext .ts,.tsx,.js",
"format": "eslint --fix \"packages/*/src/**/*.{js,ts,tsx,cts}\"",
"clean:types": "rimraf packages/*/*.tsbuildinfo",
"build": "yarn build:types && yarn workspaces foreach -ptiv --no-private run build",
"build:bundle": "yarn workspaces foreach -ptiv --no-private run build:bundle",
"build:clean": "yarn workspaces foreach -pti --no-private run build:clean",
"build:types": "yarn build:copy:ambient && tsc --build && yarn workspaces foreach -pti --no-private run build:legacy-types",
"ci:build:types": "yarn build:copy:ambient && tsc --build && yarn workspaces foreach -ptivR --from @data-client/react --from @data-client/rest --from @data-client/graphql --from @data-client/hooks run build:legacy-types",
"ci:build": "yarn workspaces foreach -ptivR --from @data-client/react --from @data-client/rest --from @data-client/graphql --from @data-client/hooks --from @data-client/test run build:lib && yarn workspace @data-client/test run build:bundle && yarn workspace @data-client/normalizr run build:js:node && yarn workspace @data-client/endpoint run build:js:node",
"build": "yarn build:types && yarn workspaces foreach -Wptiv --no-private run build",
"build:bundle": "yarn workspaces foreach -Wptiv --no-private run build:bundle",
"build:clean": "yarn workspaces foreach -Wpti --no-private run build:clean",
"build:types": "yarn build:copy:ambient && tsc --build && yarn workspaces foreach -Wpti --no-private run build:legacy-types",
"ci:build:types": "yarn build:copy:ambient && tsc --build && yarn workspaces foreach -WptivR --from @data-client/react --from @data-client/rest --from @data-client/graphql --from @data-client/hooks run build:legacy-types",
"ci:build": "yarn workspaces foreach -WptivR --from @data-client/react --from @data-client/rest --from @data-client/graphql --from @data-client/hooks --from @data-client/test run build:lib && yarn workspace @data-client/test run build:bundle && yarn workspace @data-client/normalizr run build:js:node && yarn workspace @data-client/endpoint run build:js:node",
"build:copy:ambient": "mkdirp ./packages/endpoint/lib && copyfiles --flat ./packages/endpoint/src/schema.d.ts ./packages/endpoint/lib/ && copyfiles --flat ./packages/endpoint/src/endpoint.d.ts ./packages/endpoint/lib/ && copyfiles --flat ./packages/rest/src/RestEndpoint.d.ts ./packages/rest/lib && copyfiles --flat ./packages/rest/src/next/RestEndpoint.d.ts ./packages/rest/lib/next",
"copy:websitetypes": "./scripts/copywebsitetypes.sh",
"test": "NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest",
"test:ci": "yarn test --ci",
"test:coverage": "yarn test --coverage",
"prepare": "yarn build:copy:ambient && tsc --build",
"prepack": "yarn prepare",
"prepublishOnly": "yarn workspaces foreach -pti --no-private run build:legacy-types",
"prepublishOnly": "yarn workspaces foreach -Wpti --no-private run build:legacy-types",
"g:babel": "cd $INIT_CWD && babel --root-mode upward src --source-maps inline --extensions '.ts,.tsx,.cts,.js' --ignore '**/__tests__/**' --ignore '**/*.d.ts'",
"g:babel-lite": "cd $INIT_CWD && babel --root-mode upward src --source-maps inline --ignore '**/__tests__/**' --ignore '**/*.d.ts'",
"g:rollup": "cd $INIT_CWD && rollup -c",
Expand Down

0 comments on commit c52573d

Please sign in to comment.