Skip to content

Commit 2cc30d2

Browse files
committed
fix: use build:deps again
1 parent 23d1f0c commit 2cc30d2

File tree

7 files changed

+10
-23
lines changed

7 files changed

+10
-23
lines changed

.github/workflows/node-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
steps:
5555
- uses: actions/checkout@v4
5656
- uses: ./.github/workflows/rafiki/env-setup
57-
- run: pnpm --filter backend build:deps
57+
- run: pnpm --filter auth build:deps
5858
- run: pnpm --filter auth test
5959
- name: AsyncAPI extension
6060
run: |

packages/auth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"knex": "knex",
1010
"generate": "graphql-codegen --config codegen.yml",
1111
"build:deps": "pnpm --filter token-introspection build",
12-
"build": "pnpm build:deps && pnpm clean && tsc --build tsconfig.json && pnpm copy-files",
12+
"build": "pnpm build:deps && pnpm clean && pnpm build:deps && tsc --build tsconfig.json && pnpm copy-files",
1313
"clean": "rm -fr dist/",
1414
"test": "NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests --maxWorkers=50%",
1515
"test:cov": "pnpm test -- --coverage",
1616
"test:sincemain": "pnpm test -- --changedSince=main",
1717
"test:sincemain:cov": "pnpm test:sincemain --coverage",
1818
"prepack": "pnpm build",
19-
"postinstall": "pwd && pnpm copy-op-schemas && cd ./node_modules/token-introspection && pwd && ls",
19+
"postinstall": "pnpm copy-op-schemas",
2020
"copy-op-schemas": "cp ./node_modules/@interledger/open-payments/dist/openapi/specs/auth-server.yaml ./node_modules/@interledger/open-payments/dist/openapi/specs/schemas.yaml ./src/openapi/specs/",
2121
"copy-files": "cp src/graphql/schema.graphql dist/graphql/ && cp -r ./src/openapi ./dist/",
2222
"dev": "ts-node-dev --inspect=0.0.0.0:9229 --respawn --transpile-only src/index.ts"

packages/auth/tsconfig.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,5 @@
99
"include": ["src/**/*"],
1010
"ts-node": {
1111
"swc": true
12-
},
13-
"references": [
14-
{
15-
"path": "../token-introspection"
16-
}
17-
]
12+
}
1813
}

packages/backend/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"clean": "rm -fr dist/",
1414
"copy-files": "cp src/graphql/schema.graphql dist/graphql/ && cp -r ./src/openapi ./dist/",
1515
"prepack": "pnpm build",
16-
"dev": "ts-node-dev --inspect=0.0.0.0:9229 --respawn --transpile-only --require ./src/telemetry/index.ts src/index.ts",
17-
"postinstall": "pwd && cd ./node_modules/token-introspection && pwd && ls"
16+
"dev": "ts-node-dev --inspect=0.0.0.0:9229 --respawn --transpile-only --require ./src/telemetry/index.ts src/index.ts"
1817
},
1918
"devDependencies": {
2019
"@apollo/client": "^3.11.8",

packages/backend/tsconfig.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,10 @@
33
"compilerOptions": {
44
"lib": ["ESNext"],
55
"outDir": "./dist",
6-
"rootDir": "./src",
7-
"declaration": true
6+
"rootDir": "./src"
87
},
98
"include": ["src/**/*"],
109
"ts-node": {
1110
"swc": true
12-
},
13-
"references": [
14-
{
15-
"path": "../token-introspection"
16-
}
17-
]
11+
}
1812
}

packages/token-introspection/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
],
99
"scripts": {
1010
"build": "pnpm clean && pnpm generate:types && tsc --build tsconfig.json",
11-
"clean": "rm -fr dist/",
11+
"clean": "rm -fr dist/ tsconfig.tsbuildinfo",
1212
"copy-op-schemas": "cp ./node_modules/@interledger/open-payments/dist/openapi/specs/auth-server.yaml ./node_modules/@interledger/open-payments/dist/openapi/specs/schemas.yaml ./src/openapi/specs/",
1313
"generate:types": "openapi-typescript ./src/openapi/specs/token-introspection.yaml --output src/openapi/generated/types.ts -t",
14-
"postinstall": "pwd && pnpm copy-op-schemas",
14+
"postinstall": "pnpm copy-op-schemas",
1515
"prepack": "pnpm build",
1616
"test": "jest --passWithNoTests",
1717
"test:cov": "pnpm test -- --coverage",

packages/token-introspection/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"composite": true,
55
"lib": ["ES2020"],
66
"outDir": "./dist",
7-
"rootDir": "./src",
8-
"declaration": true
7+
"rootDir": "./src"
98
},
109
"include": ["src/**/*"],
1110
"exclude": ["**/*.test.ts", "src/test/*"]

0 commit comments

Comments
 (0)