Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 5.28 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 5.28 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
{
"name": "root",
"version": "0.25.0",
"private": true,
"scripts": {
"build-and-package": "nx run-many -t build package -p \"cdktn*\" \"@cdktn/*\" && node tools/collect-dist.mjs",
"build": "nx run-many -t build -p \"cdktn*\" \"@cdktn/*\"",
"build:edge-bindings": "nx run-many -t build:edge-bindings -p @cdktn/provider-generator",
"format": "prettier --cache --write .",
"package": "GOWORK=off nx run-many -t package && node tools/collect-dist.mjs",
"package:python": "nx run-many -t package:python && node tools/collect-dist.mjs",
"package:java": "nx run-many -t package:java && node tools/collect-dist.mjs",
"package:dotnet": "nx run-many -t package:dotnet && node tools/collect-dist.mjs",
"package:js": "nx run-many -t package:js && node tools/collect-dist.mjs",
"package:go": "nx run-many -t package:go && node tools/collect-dist.mjs",
"package-windows": "set \"GOWORK=off\" && nx run-many -t package && node tools/collect-dist.mjs",
"test": "nx run-many -t test -p \"cdktn*\" \"@cdktn/*\" --parallel=2",
"test:update": "nx run-many -t test:update -p \"cdktn*\" \"@cdktn/*\" --parallel=2 --nxBail=false",
"watch": "nx run-many -t watch-preserve-output -p \"@cdktn/*\" \"cdktn*\" --output-style=stream",
"lint:workspace": "nx run-many -t lint",
"lint:affected": "nx affected -t lint",
"lint:fix": "nx run-many -t lint --fix",
"lint:prettier": "prettier --check .",
"lint:examples": "node tools/lint-examples.mjs",
"link-packages": "cd packages/cdktn-cli && npm link",
"integration": "cd test && pnpm run edge:install && node run-against-dist.mjs pnpm exec jest --runInBand",
"integration:update": "cd test && pnpm install && pnpm run edge:install && NODE_OPTIONS='--max-old-space-size=7168' node run-against-dist.mjs pnpm exec jest -u --runInBand",
"integration:single": "cd test && node run-against-dist.mjs pnpm exec jest --runInBand",
"integration:typescript": "cd test && node run-against-dist.mjs pnpm exec jest --runInBand typescript",
"integration:python": "cd test && node run-against-dist.mjs pnpm exec jest --runInBand python",
"integration:csharp": "cd test && node run-against-dist.mjs pnpm exec jest --runInBand csharp",
"integration:java": "cd test && node run-against-dist.mjs pnpm exec jest --runInBand java",
"integration:go": "cd test && node run-against-dist.mjs pnpm exec jest --runInBand go",
"release-github": "tools/release-github.sh",
"build-docker-jsii": "docker build --platform linux/amd64 --build-arg DEFAULT_TERRAFORM_VERSION=$(cat .terraform.versions.json | jq -r '.default') --build-arg AVAILABLE_TERRAFORM_VERSIONS=\"$(cat .terraform.versions.json | jq -r '.available | join(\" \")')\" --build-arg DEFAULT_OPENTOFU_VERSION=$(cat .terraform.versions.json | jq -r '.opentofu.default') --build-arg AVAILABLE_OPENTOFU_VERSIONS=\"$(cat .terraform.versions.json | jq -r '.opentofu.available | join(\" \")')\" -t ghcr.io/open-constructs/jsii-terraform .",
"push-docker-jsii": "docker push ghcr.io/open-constructs/jsii-terraform",
"dist-clean": "nx run-many -t dist-clean --output-style=stream && rm -rf dist",
"prepare": "husky",
"prepare-next-release": "standard-version --prerelease pre --release-as minor --skip.changelog=true --skip.commit=true",
"prepare-release": "tools/prepare-release.sh",
"release": "standard-version",
"generate-docs:api": "pnpm install && pnpm run build && mkdir -p website/docs/cdktn/api-reference && pnpm --filter @tools/documentation-generation run docs && pnpm exec prettier --write website/docs/cdktn/api-reference/**",
"generate-docs": "pnpm run generate-docs:api",
"generate-function-bindings": "pnpm --filter generate-function-bindings run generate && pnpm --filter generate-function-bindings run generate-function-availability"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@nx/eslint": "23.3.0",
"@nx/eslint-plugin": "23.3.0",
"@nx/jest": "23.3.0",
"@swc/core": "~1.16.2",
"@swc/helpers": "~0.5.23",
"@swc/jest": "~0.2.39",
"@types/jest": "30.0.0",
"@types/prettier": "2.6.0",
"@typescript-eslint/parser": "^8.70.0",
"changelog-parser": "^2.8.1",
"eslint": "^10.14.0",
"eslint-config-prettier": "^10.1.8",
"eslint-formatter-gha": "^2.0.1",
"eslint-plugin-jsdoc": "^65.4.5",
"eslint-plugin-no-instanceof": "1.0.1",
"eslint-plugin-prettier": "^5.5.6",
"globals": "^17.12.0",
"husky": ">=6",
"jest": "^30.5.1",
"knip": "^6.16.1",
"lint-staged": "^15.5.2",
"nx": "23.3.0",
"prettier": "^3.9.6",
"publib": "^0.3.2",
"standard-version": "^9.5.0",
"tsc-files": "^1.1.4",
"typescript": "~6.0.0",
"typescript-eslint": "^8.70.0"
},
"lint-staged": {
"!(.claude|.agents|.specledger|specledger)/**/*.{ts,tsx,js,css,md}": "prettier --write",
"examples/**": "pnpm run lint:examples"
},
"packageManager": "pnpm@12.18.0+sha512.9d7882d5dc82147ecfc4e062aa34834e0ad0296710a1837a1115ae012127d36b7109e321ac1598a1dd0a65597681b1e99917e12ed0d749eae91187943363beb3"
}