-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) · 6.92 KB
/
Copy pathpackage.json
File metadata and controls
146 lines (146 loc) · 6.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "sql-schema-generator",
"packageManager": "pnpm@10.24.0",
"author": "ehmpathy",
"description": "Declarative relational database sql schema generator. Ensure best practices are followed and abstract away boiler plate sql.",
"version": "0.26.1",
"repository": "ehmpathy/sql-schema-generator",
"homepage": "https://github.com/ehmpathy/sql-schema-generator",
"keywords": [
"database",
"schema",
"dont-repeat-yourself",
"sql",
"postgres",
"postgresql",
"insert-only",
"domain-driven-design",
"temporal-database-design"
],
"bugs": "https://github.com/ehmpathy/sql-schema-generator/issues",
"files": [
"/bin",
"/dist",
"/schema"
],
"bin": {
"sql-schema-generator": "./bin/run"
},
"engines": {
"node": ">=8.0.0"
},
"license": "MIT",
"main": "dist/contract/module.js",
"scripts": {
"build:ts": "tsc -p ./tsconfig.build.json",
"commit:with-cli": "npx cz",
"fix:format:biome": "biome check --write",
"fix:format:terraform": "echo 'no terraform'",
"fix:format": "npm run fix:format:biome",
"fix:lint": "biome check --write",
"fix": "npm run fix:format && npm run fix:lint",
"build:artifact": "echo 'no artifact'",
"build:clean:bun": "rm -f ./bin/*.bc",
"build:clean:tsc": "(chmod -R u+w dist 2>/dev/null || true) && rm -rf dist/",
"build:clean": "npm run build:clean:tsc && npm run build:clean:bun",
"build:compile:tsc": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
"build:compile": "npm run build:compile:tsc && npm run build:compile:bun --if-present",
"build": "npm run build:clean && npm run build:compile && npm run build:complete --if-present",
"provision:testdb:docker:clear": "for port in $(docker compose -f ./provision/docker/testdb/docker-compose.yml config --format json | jq -r '.services[].ports[]?.published'); do docker rm -f $(docker ps -a -f \"publish=$port\" -q) 2>/dev/null || true; done && echo 'ensured ports are available'",
"provision:testdb:docker:up": "docker compose -f ./provision/docker/testdb/docker-compose.yml up -d --force-recreate --build --renew-anon-volumes",
"provision:testdb:docker:await": "docker compose -f ./provision/docker/testdb/docker-compose.yml exec -T postgres /root/wait-for-postgres.sh",
"provision:testdb:docker:down": "docker compose -f ./provision/docker/testdb/docker-compose.yml down",
"provision:testdb": "npm run provision:testdb:docker:clear && npm run provision:testdb:docker:up && npm run provision:testdb:docker:await",
"start:testdb": "npm run provision:testdb",
"test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose",
"test:types": "tsc -p ./tsconfig.json --noEmit",
"test:format:terraform": "echo 'no terraform'",
"test:format:biome": "biome format",
"test:format": "npm run test:format:biome",
"test:lint:deps": "npx depcheck -c ./.depcheckrc.yml",
"test:lint:biome": "biome check --diagnostic-level=error",
"test:lint:biome:all": "biome check",
"test:lint": "npm run test:lint:biome && npm run test:lint:cycles && npm run test:lint:deps",
"test:unit": "set -eu && jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -n \"${CI:-}\" ] && echo '--ci') $([ \"${THOROUGH:-}\" != \"true\" ] && echo '--changedSince=main') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
"test:integration": "set -eu && jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests --runInBand $([ -n \"${CI:-}\" ] && echo '--ci') $([ \"${THOROUGH:-}\" != \"true\" ] && echo '--changedSince=main') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
"test:acceptance:locally": "set -eu && npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
"test": "set -eu && npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
"test:acceptance": "set -eu && npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ -n \"${CI:-}\" ] && echo '--ci') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
"prepush": "npm run test && npm run build",
"prepublish": "npm run build",
"preversion": "npm run prepush",
"postversion": "git push origin HEAD --tags --no-verify",
"prepare:husky": "husky install && chmod ug+x .husky/*",
"prepare:rhachet": "rhachet init --keys --hooks --roles mechanic behaver driver dispatcher reviewer librarian ergonomist architect",
"prepare": "if [ -e .git ] && [ -z $CI ]; then npm run prepare:husky && npm run prepare:rhachet; fi",
"test:lint:cycles": "dpdm --no-warning --no-tree --transform --exit-code circular:1 --exclude \"$(yq -r '.exclude | join(\"|\") // \"^$\"' .dpdmrc.yaml)\" 'src/**/!(*.test).ts'",
"upgrade:rhachet": "rhachet upgrade"
},
"dependencies": {
"chalk": "2.4.2",
"commander": "11.1.0",
"domain-objects": "0.31.13",
"helpful-errors": "1.7.3",
"indent-string": "4.0.0",
"listr": "0.14.3",
"tsx": "4.20.6",
"type-fns": "1.21.2",
"uuid": "9.0.0",
"yaml": "2.5.0",
"zod": "4.3.4"
},
"devDependencies": {
"@biomejs/biome": "2.3.8",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@jest/globals": "30.2.0",
"@swc/core": "1.15.3",
"@swc/jest": "0.2.39",
"@tsconfig/node-lts-strictest": "18.12.1",
"@tsconfig/node20": "20.1.5",
"@tsconfig/strictest": "2.0.5",
"@types/indent-string": "4.0.1",
"@types/jest": "30.0.0",
"@types/listr": "0.14.0",
"@types/node": "22.15.21",
"@types/pg": "7.14.3",
"@types/sql-formatter": "2.3.0",
"@types/uuid": "9.0.0",
"@types/yesql": "3.2.1",
"core-js": "3.26.1",
"cz-conventional-changelog": "3.3.0",
"declapract": "0.13.26",
"declapract-typescript-ehmpathy": "0.47.75",
"declastruct": "1.9.1",
"declastruct-github": "1.4.0",
"depcheck": "1.4.3",
"dpdm": "4.0.1",
"esbuild-register": "3.6.0",
"husky": "8.0.3",
"jest": "30.2.0",
"pg": "8.12.0",
"rhachet": "1.44.4",
"rhachet-brains-anthropic": "0.4.1",
"rhachet-brains-fireworksai": "0.1.3",
"rhachet-brains-xai": "0.3.3",
"rhachet-roles-bhrain": "0.31.3",
"rhachet-roles-bhuild": "0.21.31",
"rhachet-roles-ehmpathy": "1.38.5",
"rhachet-roles-rhachet": "0.1.7",
"simple-sha256": "1.0.0",
"sql-formatter": "2.3.3",
"test-fns": "1.15.8",
"ts-jest": "29.1.3",
"tsc-alias": "1.8.10",
"tsx": "4.20.6",
"typescript": "5.4.5",
"uuid": "3.3.2",
"yalc": "1.0.0-pre.53",
"yesql": "3.2.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}