File tree Expand file tree Collapse file tree 7 files changed +10
-23
lines changed Expand file tree Collapse file tree 7 files changed +10
-23
lines changed Original file line number Diff line number Diff line change 54
54
steps :
55
55
- uses : actions/checkout@v4
56
56
- uses : ./.github/workflows/rafiki/env-setup
57
- - run : pnpm --filter backend build:deps
57
+ - run : pnpm --filter auth build:deps
58
58
- run : pnpm --filter auth test
59
59
- name : AsyncAPI extension
60
60
run : |
Original file line number Diff line number Diff line change 9
9
"knex" : " knex" ,
10
10
"generate" : " graphql-codegen --config codegen.yml" ,
11
11
"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" ,
13
13
"clean" : " rm -fr dist/" ,
14
14
"test" : " NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests --maxWorkers=50%" ,
15
15
"test:cov" : " pnpm test -- --coverage" ,
16
16
"test:sincemain" : " pnpm test -- --changedSince=main" ,
17
17
"test:sincemain:cov" : " pnpm test:sincemain --coverage" ,
18
18
"prepack" : " pnpm build" ,
19
- "postinstall" : " pwd && pnpm copy-op-schemas && cd ./node_modules/token-introspection && pwd && ls " ,
19
+ "postinstall" : " pnpm copy-op-schemas" ,
20
20
"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/" ,
21
21
"copy-files" : " cp src/graphql/schema.graphql dist/graphql/ && cp -r ./src/openapi ./dist/" ,
22
22
"dev" : " ts-node-dev --inspect=0.0.0.0:9229 --respawn --transpile-only src/index.ts"
Original file line number Diff line number Diff line change 9
9
"include" : [" src/**/*" ],
10
10
"ts-node" : {
11
11
"swc" : true
12
- },
13
- "references" : [
14
- {
15
- "path" : " ../token-introspection"
16
- }
17
- ]
12
+ }
18
13
}
Original file line number Diff line number Diff line change 13
13
"clean" : " rm -fr dist/" ,
14
14
"copy-files" : " cp src/graphql/schema.graphql dist/graphql/ && cp -r ./src/openapi ./dist/" ,
15
15
"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"
18
17
},
19
18
"devDependencies" : {
20
19
"@apollo/client" : " ^3.11.8" ,
Original file line number Diff line number Diff line change 3
3
"compilerOptions" : {
4
4
"lib" : [" ESNext" ],
5
5
"outDir" : " ./dist" ,
6
- "rootDir" : " ./src" ,
7
- "declaration" : true
6
+ "rootDir" : " ./src"
8
7
},
9
8
"include" : [" src/**/*" ],
10
9
"ts-node" : {
11
10
"swc" : true
12
- },
13
- "references" : [
14
- {
15
- "path" : " ../token-introspection"
16
- }
17
- ]
11
+ }
18
12
}
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " pnpm clean && pnpm generate:types && tsc --build tsconfig.json" ,
11
- "clean" : " rm -fr dist/" ,
11
+ "clean" : " rm -fr dist/ tsconfig.tsbuildinfo " ,
12
12
"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/" ,
13
13
"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" ,
15
15
"prepack" : " pnpm build" ,
16
16
"test" : " jest --passWithNoTests" ,
17
17
"test:cov" : " pnpm test -- --coverage" ,
Original file line number Diff line number Diff line change 4
4
"composite" : true ,
5
5
"lib" : [" ES2020" ],
6
6
"outDir" : " ./dist" ,
7
- "rootDir" : " ./src" ,
8
- "declaration" : true
7
+ "rootDir" : " ./src"
9
8
},
10
9
"include" : [" src/**/*" ],
11
10
"exclude" : [" **/*.test.ts" , " src/test/*" ]
You can’t perform that action at this time.
0 commit comments