File tree Expand file tree Collapse file tree 10 files changed +83
-84
lines changed
Expand file tree Collapse file tree 10 files changed +83
-84
lines changed Original file line number Diff line number Diff line change 77jobs :
88 parser-tests :
99 runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ package :
13+ - deparser
14+ - parser
15+ - pgsql-cli
16+ - proto-parser
17+ - transform
18+ - traverse
19+ - utils
1020 steps :
1121 - name : checkout
1222 uses : actions/checkout@v3
2939 run : pnpm build
3040
3141 - name : test
32- run : pnpm test
42+ run : pnpm --filter ${{ matrix.package }} test
Original file line number Diff line number Diff line change 2020 "test" : " pnpm -r run test" ,
2121 "lint" : " pnpm -r run lint" ,
2222 "deps" : " pnpm up -r -i -L" ,
23- "bump-versions" : " ts-node scripts/bump-versions.ts"
23+ "bump-versions" : " ts-node scripts/bump-versions.ts" ,
24+ "update-workspace" : " makage update-workspace"
2425 },
2526 "devDependencies" : {
2627 "@types/jest" : " ^29.5.11" ,
2728 "@types/node" : " ^20.12.7" ,
2829 "@typescript-eslint/eslint-plugin" : " ^7.10.0" ,
2930 "@typescript-eslint/parser" : " ^7.10.0" ,
30- "copyfiles" : " ^2.4.1" ,
3131 "eslint-config-prettier" : " ^9.1.0" ,
3232 "eslint-plugin-simple-import-sort" : " ^12.1.0" ,
3333 "eslint-plugin-unused-imports" : " ^4.0.0" ,
3636 "jest" : " ^29.6.2" ,
3737 "jest-diff" : " 30.0.0" ,
3838 "lerna" : " ^8.2.4" ,
39+ "makage" : " ^0.1.2" ,
3940 "prettier" : " ^3.0.2" ,
40- "rimraf" : " 4.4.1" ,
4141 "strip-ansi" : " ^6" ,
4242 "semver" : " ^7.7.2" ,
4343 "ts-jest" : " ^29.1.1" ,
Original file line number Diff line number Diff line change 2020 "url" : " https://github.com/launchql/pgsql-parser/issues"
2121 },
2222 "scripts" : {
23- "copy" : " copyfiles -f ../../LICENSE README.md package.json dist " ,
24- "clean" : " rimraf dist" ,
25- "prepare " : " npm run build" ,
23+ "copy" : " makage assets " ,
24+ "clean" : " makage clean dist" ,
25+ "prepublishOnly " : " npm run build" ,
2626 "build" : " npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy" ,
2727 "build:dev" : " npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy" ,
2828 "kitchen-sink" : " npm run fixtures && npm run fixtures:kitchen-sink" ,
5353 " database"
5454 ],
5555 "devDependencies" : {
56- "libpg-query" : " 17.6.0"
56+ "libpg-query" : " 17.6.0" ,
57+ "makage" : " ^0.1.2"
5758 },
5859 "dependencies" : {
5960 "@pgsql/types" : " ^17.6.1"
Original file line number Diff line number Diff line change 2020 "url" : " https://github.com/launchql/pgsql-parser/issues"
2121 },
2222 "scripts" : {
23- "copy" : " copyfiles -f ../../LICENSE README.md package.json dist " ,
24- "clean" : " rimraf dist" ,
25- "prepare " : " npm run build" ,
23+ "copy" : " makage assets " ,
24+ "clean" : " makage clean dist" ,
25+ "prepublishOnly " : " npm run build" ,
2626 "build" : " npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy" ,
2727 "build:dev" : " npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy" ,
2828 "lint" : " eslint . --fix" ,
4444 "@pgsql/types" : " ^17.6.1" ,
4545 "libpg-query" : " 17.6.0" ,
4646 "pgsql-deparser" : " ^17.12.0"
47+ },
48+ "devDependencies" : {
49+ "makage" : " ^0.1.2"
4750 }
4851}
Original file line number Diff line number Diff line change 2222 "pgsql" : " index.js"
2323 },
2424 "scripts" : {
25- "copy" : " copyfiles -f ../../LICENSE README.md package.json dist " ,
26- "clean" : " rimraf dist" ,
27- "prepare " : " npm run build" ,
25+ "copy" : " makage assets " ,
26+ "clean" : " makage clean dist" ,
27+ "prepublishOnly " : " npm run build" ,
2828 "build" : " npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy" ,
2929 "build:dev" : " npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy" ,
3030 "dev" : " ts-node src/index" ,
5757 "pgsql-parser" : " ^17.9.0"
5858 },
5959 "devDependencies" : {
60- "@types/minimist" : " ^1.2.5"
60+ "@types/minimist" : " ^1.2.5" ,
61+ "makage" : " ^0.1.2"
6162 }
6263}
Original file line number Diff line number Diff line change 2020 "url" : " https://github.com/launchql/pgsql-parser/issues"
2121 },
2222 "scripts" : {
23- "copy" : " copyfiles -f ../../LICENSE README.md package.json dist " ,
24- "clean" : " rimraf dist" ,
25- "prepare " : " npm run build" ,
23+ "copy" : " makage assets " ,
24+ "clean" : " makage clean dist" ,
25+ "prepublishOnly " : " npm run build" ,
2626 "build" : " npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy" ,
2727 "build:dev" : " npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy" ,
2828 "lint" : " eslint . --fix" ,
5454 },
5555 "devDependencies" : {
5656 "@types/babel__generator" : " ^7.27.0" ,
57- "recast" : " 0.23.6"
57+ "recast" : " 0.23.6" ,
58+ "makage" : " ^0.1.2"
5859 }
5960}
Original file line number Diff line number Diff line change 2020 "url" : " https://github.com/launchql/pgsql-parser/issues"
2121 },
2222 "scripts" : {
23- "copy" : " copyfiles -f ../../LICENSE README.md package.json dist " ,
24- "clean" : " rimraf dist" ,
25- "prepare " : " npm run build" ,
23+ "copy" : " makage assets " ,
24+ "clean" : " makage clean dist" ,
25+ "prepublishOnly " : " npm run build" ,
2626 "build" : " npm run build:proto && npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy" ,
2727 "build:dev" : " npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy" ,
2828 "build:proto" : " ts-node scripts/pg-proto-parser" ,
3535 "devDependencies" : {
3636 "@pgsql/parser" : " ^1.2.0" ,
3737 "pg-proto-parser" : " ^1.30.0" ,
38- "pgsql-deparser" : " ^17.12.0"
38+ "pgsql-deparser" : " ^17.12.0" ,
39+ "makage" : " ^0.1.2"
3940 },
4041 "keywords" : []
4142}
Original file line number Diff line number Diff line change 2020 "url" : " https://github.com/launchql/pgsql-parser/issues"
2121 },
2222 "scripts" : {
23- "copy" : " copyfiles -f ../../LICENSE README.md package.json dist " ,
24- "clean" : " rimraf dist" ,
25- "prepare " : " npm run build" ,
23+ "copy" : " makage assets " ,
24+ "clean" : " makage clean dist" ,
25+ "prepublishOnly " : " npm run build" ,
2626 "build" : " npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy" ,
2727 "build:dev" : " npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy" ,
2828 "build:proto" : " ts-node scripts/pg-proto-parser" ,
3434 "@pgsql/types" : " ^17.6.1" ,
3535 "pg-proto-parser" : " ^1.30.0"
3636 },
37+ "devDependencies" : {
38+ "makage" : " ^0.1.2"
39+ },
3740 "keywords" : [
3841 " sql" ,
3942 " postgres" ,
Original file line number Diff line number Diff line change 2020 "url" : " https://github.com/launchql/pgsql-parser/issues"
2121 },
2222 "scripts" : {
23- "copy" : " copyfiles -f ../../LICENSE README.md package.json dist " ,
24- "clean" : " rimraf dist" ,
25- "prepare " : " npm run build" ,
23+ "copy" : " makage assets " ,
24+ "clean" : " makage clean dist" ,
25+ "prepublishOnly " : " npm run build" ,
2626 "build" : " npm run build:proto && npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy" ,
2727 "build:dev" : " npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy" ,
2828 "build:proto" : " ts-node scripts/pg-proto-parser" ,
3232 },
3333 "devDependencies" : {
3434 "pg-proto-parser" : " ^1.30.0" ,
35- "pgsql-deparser" : " ^17.12.0"
35+ "pgsql-deparser" : " ^17.12.0" ,
36+ "makage" : " ^0.1.2"
3637 },
3738 "dependencies" : {
3839 "@pgsql/types" : " ^17.6.1" ,
You can’t perform that action at this time.
0 commit comments