-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 6.02 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 6.02 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
{
"name": "root",
"version": "0.22.1",
"private": true,
"scripts": {
"build-and-package": "lerna run --scope 'cdktn*' --scope @cdktn/* build,package && tools/collect-dist.sh",
"build": "lerna run --scope 'cdktn*' --scope @cdktn/* build",
"format": "prettier --cache --write .",
"package": "lerna run package && tools/collect-dist.sh",
"package:python": "lerna run package:python && tools/collect-dist.sh",
"package:java": "lerna run package:java && tools/collect-dist.sh",
"package:dotnet": "lerna run package:dotnet && tools/collect-dist.sh",
"package:js": "lerna run package:js && tools/collect-dist.sh",
"package:go": "lerna run package:go && tools/collect-dist.sh",
"package-windows": "lerna run package && tools\\collect-dist.bat",
"pretest": "yarn lint:workspace && yarn lint:prettier",
"test": "lerna run --scope 'cdktn*' --scope @cdktn/* --concurrency 2 test",
"test:ci": "lerna run --scope 'cdktn*' --scope @cdktn/* test:ci",
"test:update": "lerna run --concurrency 2 --no-bail --scope 'cdktn*' --scope '@cdktn/*' test:update",
"watch": "lerna run --parallel --stream --scope @cdktn/* --scope 'cdktn*' watch-preserve-output",
"lint:workspace": "eslint --flag v10_config_lookup_from_file .",
"lint:prettier": "prettier --check .",
"lint:examples": "node tools/lint-examples.js",
"link-packages": "lerna exec --scope 'cdktn*' --scope @cdktn/* yarn link",
"integration": "cd test && yarn edge:install && ./run-against-dist npx jest --runInBand",
"integration:update": "cd test && yarn && yarn edge:install && NODE_OPTIONS='--max-old-space-size=7168' ./run-against-dist npx jest -u --runInBand",
"integration:single": "cd test && ./run-against-dist npx jest --runInBand",
"integration:typescript": "cd test && ./run-against-dist npx jest --runInBand typescript",
"integration:python": "cd test && ./run-against-dist npx jest --runInBand python",
"integration:csharp": "cd test && ./run-against-dist npx jest --runInBand csharp",
"integration:java": "cd test && ./run-against-dist npx jest --runInBand java",
"integration:go": "cd test && ./run-against-dist npx jest --runInBand go",
"integration:windows": "cd test && run-against-dist.bat \"npx jest --runInBand\"",
"integration:windows:typescript": "cd test && run-against-dist.bat \"npx jest --runInBand typescript\"",
"integration:windows:python": "cd test && run-against-dist.bat \"npx jest --runInBand python\"",
"integration:windows:csharp": "cd test && run-against-dist.bat \"npx jest --runInBand csharp\"",
"integration:windows:java": "cd test && run-against-dist.bat \"npx jest --runInBand java\"",
"integration:windows:go": "cd test && run-against-dist.bat \"npx 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(\" \")')\" -t terraconstructs/jsii-terraform .",
"push-docker-jsii": "docker push terraconstructs/jsii-terraform",
"dist-clean": "lerna run dist-clean --stream && rm -rf dist",
"prepare": "husky install",
"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": "yarn && yarn build && mkdir -p website/docs/cdktn/api-reference && cd tools/documentation-generation && yarn && yarn docs && npx prettier --write ../../website/docs/cdktn/api-reference/**",
"generate-docs": "yarn generate-docs:api",
"generate-function-bindings": "cd tools/generate-function-bindings && yarn && yarn fetch-metadata && yarn generate"
},
"workspaces": {
"packages": [
"packages/*",
"packages/@cdktn/*",
"examples/*",
"examples/python/*",
"examples/typescript/*",
"examples/typescript/backends/*",
"examples/java/*",
"examples/csharp/*",
"examples/go/*",
"tools/generate-function-bindings",
".yalc/*",
".yalc/@*/*"
],
"nohoist": [
"archiver",
"**/archiver",
"**/archiver/**",
"json-stable-stringify",
"**/json-stable-stringify",
"**/json-stable-stringify/**",
"semver",
"**/semver",
"**/semver/**"
]
},
"devDependencies": {
"@types/prettier": "2.6.0",
"changelog-parser": "^2.8.1",
"eslint": "^9.39.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-monorepo": "^0.3.2",
"husky": ">=6",
"infer-owner": "^1.0.4",
"lerna": "^8.2.1",
"lint-staged": "^15.5.2",
"prettier": "^3.8.1",
"semver": "^7.7.4",
"standard-version": "^9.5.0",
"tsc-files": "^1.1.4",
"typescript-eslint": "^8.58.0"
},
"resolutions": {
"**/@types/react": "18.3.18",
"**/jsii": "5.8.9"
},
"lint-staged": {
"!(.claude|.agents|.specledger|specledger)/**/*.{ts,tsx,js,css,md}": "prettier --write",
"examples/**": "yarn lint:examples"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"monorepo"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"monorepo/no-relative-import": "error"
},
"ignorePatterns": [
"node_modules",
"dist",
"coverage",
"*.d.ts",
"*.js"
]
},
"packageManager": "yarn@1.18.0"
}