Skip to content

Commit

Permalink
fix running build command
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmgdr committed Oct 24, 2023
1 parent 57d314a commit 2ff9d9b
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"license": "MIT",
"scripts": {
"build": "yarn g:tsc -b .",
"build": "yarn g:tsc",
"lint": "eslint ."
},
"dependencies": {
Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"license": "SEE LICENSE IN SUB-PACKAGES",
"private": true,
"scripts": {
"g:tsc": "cd $INIT_CWD && tsc",
"g:tsc": "yarn tsc --build $INIT_CWD",
"preinstall": "git config --global url.\"https://\".insteadOf ssh://",
"lint": "yarn workspaces foreach -piv run lint",
"lint": "yarn workspaces foreach -piv --all run lint",
"lint:do-not-merge": "git grep -E 'DO[ _]*NOT[ _]*MERGE'",
"prettify": "yarn run prettier --config .prettierrc.js --write '**/*.+(ts|js)'",
"prettify:diff": "yarn run prettier --config .prettierrc.js --list-different '**/*.+(ts|js)'",
Expand All @@ -16,15 +16,14 @@
"reset-modules": "rm -rf node_modules/ packages/*/node_modules",
"reset-yarn": "yarn cache clean",
"test": "yarn workspaces foreach --all run test",
"test:fast": "yarn workspaces foreach --since run test",
"build": "yarn workspaces foreach -pitv run build",
"test:fast": "yarn workspaces foreach -ip --since --exclude '{odis,packages/phone-number-privacy/combiner}' run test",
"build": "yarn workspaces foreach --all -pitv run build",
"build:fast": "yarn workspaces foreach -pitv --since run build",
"clean": "yarn workspaces foreach -piv run clean",
"clean": "yarn workspaces foreach --all -piv run clean",
"check-licenses": "yarn licenses list --prod | grep '\\(─ GPL\\|─ (GPL-[1-9]\\.[0-9]\\+ OR GPL-[1-9]\\.[0-9]\\+)\\)' && echo 'Found GPL license(s). Use 'yarn licenses list --prod' to look up the offending package' || echo 'No GPL licenses found'",
"test:watch": "node node_modules/jest/bin/jest.js --watch",
"cs": "yarn changeset",
"bump": "yarn changeset version",
"postinstall": "yarn workspaces foreach -pitv run postinstall",
"release": "yarn build && yarn cs publish"
},
"husky": {
Expand Down
4 changes: 2 additions & 2 deletions packages/phone-number-privacy/combiner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"start": "yarn build && node -r dotenv/config dist/index.js",
"start:docker": "yarn build && node dist/index.js",
"start:docker:tracing": "yarn build && node --require ./dist/tracing.js dist/index.js",
"clean": "yarn g:tsc -b . --clean",
"build": "yarn g:tsc -b .",
"clean": "yarn g:tsc --clean",
"build": "yarn g:tsc",
"lint": "eslint .",
"test": "yarn jest --runInBand --testPathIgnorePatterns test/end-to-end",
"test:debughandles": "jest --watch --runInBand --detectOpenHandles --testPathIgnorePatterns test/end-to-end",
Expand Down
4 changes: 2 additions & 2 deletions packages/phone-number-privacy/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"types": "./lib/index.d.ts",
"scripts": {
"prepublish": "yarn build",
"build": "yarn g:tsc -b .",
"clean": "yarn g:tsc -b . --clean",
"build": "yarn g:tsc",
"clean": "yarn g:tsc --clean",
"test": "yarn jest --testPathIgnorePatterns test/end-to-end",
"test:coverage": "yarn test --coverage",
"lint": "eslint ."
Expand Down
4 changes: 2 additions & 2 deletions packages/phone-number-privacy/monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"config:set:staging": "firebase functions:config:set --project celo-phone-number-privacy-stg",
"config:set:alfajores": "firebase functions:config:set --project celo-phone-number-privacy",
"config:set:mainnet": "firebase functions:config:set --project celo-pgpnp-mainnet",
"clean": "yarn g:tsc -b . --clean",
"build": "yarn g:tsc -b .",
"clean": "yarn g:tsc --clean",
"build": "yarn g:tsc",
"lint": "eslint .",
"loadTest": "ts-node src/scripts/run-load-test.ts run"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/phone-number-privacy/signer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"start": "yarn build && node -r dotenv/config dist/index.js",
"start:docker": "yarn build && node dist/index.js",
"start:docker:tracing": "yarn build && node --require ./dist/tracing.js dist/index.js",
"clean": "yarn g:tsc -b . --clean",
"build": "yarn g:tsc -b .",
"clean": "yarn g:tsc --clean",
"build": "yarn g:tsc",
"lint": "eslint .",
"test": "jest --testPathIgnorePatterns test/end-to-end",
"test:debughandles": "jest --watch --runInBand --detectOpenHandles --testPathIgnorePatterns test/end-to-end",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/encrypted-backup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"encrypted-backup"
],
"scripts": {
"build": "yarn g:tsc -b .",
"clean": "yarn g:tsc -b . --clean",
"build": "yarn g:tsc",
"clean": "yarn g:tsc --clean",
"docs": "typedoc",
"test": "yarn jest --runInBand",
"lint": "eslint .",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"odis"
],
"scripts": {
"build": "yarn g:tsc -b .",
"clean": "yarn g:tsc -b . --clean",
"build": "yarn g:tsc",
"clean": "yarn g:tsc --clean",
"docs": "typedoc",
"test": "yarn jest --runInBand --testPathIgnorePatterns src/odis/identifier-backwards-compatibility.test.ts",
"lint": "eslint .",
Expand Down

0 comments on commit 2ff9d9b

Please sign in to comment.