-
Notifications
You must be signed in to change notification settings - Fork 182
Expand file tree
/
Copy pathpackage.json
More file actions
178 lines (178 loc) · 6.92 KB
/
package.json
File metadata and controls
178 lines (178 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"author": "RedKubes",
"bugs": {
"url": "https://github.com/linode/apl-core/issues"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "15.3.5",
"@kubernetes/client-node": "1.4.0",
"@linode/kubeseal-encrypt": "^1.0.1",
"@types/deep-diff": "1.0.5",
"@types/semver": "7.7.1",
"ajv": "8.18.0",
"async-retry": "1.3.3",
"clean-deep": "3.4.0",
"cli-select": "1.1.2",
"debug": "4.4.3",
"deep-diff": "1.0.2",
"dotenv": "17.4.2",
"envalid": "8.1.1",
"express": "5.2.1",
"fs-extra": "11.3.4",
"generate-password": "1.7.1",
"glob": "13.0.6",
"ignore-walk": "8.0.0",
"jsonpath": "1.3.0",
"lodash": "4.18.1",
"minimatch": "^10.2.5",
"node-forge": "1.4.0",
"semver": "7.7.4",
"simple-git": "3.36.0",
"tar": "7.5.13",
"uuid": "14.0.0",
"validator": "13.15.35",
"yaml": "2.8.3",
"yargs": "18.0.0",
"zx": "8.8.5"
},
"description": "Otomi Core is an opinionated stack of Kubernetes apps and configurations. Part of Otomi Container Platform.",
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@babel/preset-typescript": "^7.28.5",
"@commitlint/cli": "20.5.0",
"@commitlint/config-conventional": "20.5.0",
"@eslint/compat": "^2.0.5",
"@jest/types": "30.3.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/async-retry": "1.4.9",
"@types/debug": "4.1.13",
"@types/express": "5.0.6",
"@types/fs-extra": "^11.0.4",
"@types/ignore-walk": "4.0.3",
"@types/jest": "^30.0.0",
"@types/js-yaml": "4.0.9",
"@types/jsonpath": "0.2.4",
"@types/lodash": "4.17.24",
"@types/node": "24.12.2",
"@types/node-forge": "1.3.14",
"@types/retry": "0.12.5",
"@types/supertest": "7.2.0",
"@types/tar": "7.0.87",
"@types/validator": "13.15.10",
"@types/yargs": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^8.58.2",
"@typescript-eslint/parser": "^8.33.1",
"@vercel/ncc": "0.38.4",
"adr-log": "2.2.0",
"commitizen": "4.3.1",
"cspell": "10.0.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-unused-imports": "^4.4.1",
"git-cz": "4.9.0",
"github-release-from-changelog": "2.1.1",
"globals": "^17.5.0",
"husky": "9.1.7",
"jest": "^30.3.0",
"json-schema-to-typescript": "15.0.4",
"json2ts": "0.0.7",
"lint-staged": "16.4.0",
"npm-run-all": "4.1.5",
"prettier": "3.8.3",
"semantic-release": "^25.0.3",
"standard-version": "9.5.0",
"ts-jest": "^29.4.9",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.16",
"tsconfig-paths": "4.2.0",
"tsx": "^4.21.0",
"typescript": "5.9.3"
},
"engines": {
"node": ">=24 <25"
},
"homepage": "https://github.com/linode/apl-core#readme",
"license": "Apache-2.0",
"lint-staged": {
"*.{json,yml,yaml}": [
"prettier --write"
],
"*.ts": [
"eslint --fix"
]
},
"main": "src/otomi.ts",
"name": "apl-core",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/linode/apl-core.git"
},
"scripts": {
"apl-operator": "tsx src/operator/main.ts",
"apl-operator:dev": "tsx watch --inspect=4320 src/operator/main.ts",
"install-deps": "bin/install-deps.sh",
"app-versions:csv": "echo 'name,appVersion,chartVersion'; for f in $(find charts -name Chart.yaml -type f -maxdepth 2| sort); do yq eval -o=json $f | jq -rc '. | [.name, .appVersion, .version] | @csv' | tr -d '\"'; done",
"charts-update": "cd chart/chart-index && helm dep update",
"charts-gen-deps": "for f in $(find charts -name Chart.yaml -type f -maxdepth 2| sort); do yq eval $f -o=json | jq '{name, version, repository}';done | jq -s '.' | yq eval -P",
"adr": "adr-log -d adr -i",
"check-policies": "ENV_DIR=$PWD/tests/fixtures NODE_ENV=test binzx/otomi check-policies",
"clean": "rm -rf dist >/dev/null",
"compile": "npm run clean && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json -v --dir dist && chmod +x ./dist/src/otomi.js",
"compile:watch": "npm run compile && tsc -w",
"cz": "git-cz",
"cz:retry": "git-cz -- --retry",
"dev:bootstrapCoreApp": "tsx src/dev/bootstrapCoreApp.ts",
"eslint": "eslint --ext ts .",
"eslint:fix": "eslint --fix --ext ts .",
"format": "prettier --check \"**/*.{json,md,yml,yaml}\"",
"format:fix": "prettier --write \"**/*.{json,md,yml,yaml}\"",
"gen:chart-schema": "js-yaml values-schema.yaml > chart/apl/values.schema.json",
"lint": "run-p spellcheck lint:hf lint:ts lint:types lint:apl-chart lint:schema-versions",
"lint:apl-chart": "npm run gen:chart-schema && helm lint chart/apl -f tests/bootstrap/input-local-minimal.yaml",
"lint-staged": "lint-staged",
"lint:fix": "prettier --write tests/**/*.yaml --write '.values/env/**/*.yaml' && npm run lint:ts:fix",
"lint:hf": "ENV_DIR=$PWD/tests/fixtures NODE_ENV=test binzx/otomi lint",
"lint:ts": "eslint --ext ts src",
"lint:ts:fix": "eslint --fix --ext ts src",
"lint:types": "tsc --noEmit",
"lint:schema-versions": "cd ci && src/check-schema-version.mjs",
"migrate-values": "ENV_DIR=/tmp/otomi-bootstrap-dev binzx/otomi migrate -ni",
"prepare": "husky",
"release": "standard-version",
"release:github": "github-release-from-changelog",
"release:bump:minor": "standard-version --skip.changelog true --release-as minor",
"score-templates": "binzx/otomi score-templates",
"server": "binzx/otomi server",
"spellcheck": "cspell 'docs/**/*.md' 'values-schema.yaml' '*.md' '.values/README.md'",
"tasks:copy-certs": "binzx/otomi task -n copyCerts",
"test": "run-s test:ts lint validate-values validate-templates bootstrap-dev",
"test:ci": "run-s test:ts:ci lint validate-values validate-templates bootstrap-dev",
"test:opa": "NODE_ENV=test binzx/otomi x opa test policies -v",
"test:ts": "ENV_DIR=$PWD/tests/fixtures NODE_ENV=test jest",
"test:ts:ci": "ENV_DIR=$PWD/tests/fixtures NODE_ENV=test jest --forceExit --maxWorkers=2 --ci",
"test:ts-cov": "jest --coverage",
"validate-templates": "ENV_DIR=$PWD/tests/fixtures NODE_ENV=test binzx/otomi validate-templates",
"validate-templates:all": "set -e; i=32; while [ $i -le 35 ]; do NODE_ENV=test binzx/otomi validate-templates -k 1.$i; i=$(($i+1)); done",
"validate-values": "ENV_DIR=$PWD/tests/fixtures NODE_ENV=test binzx/otomi validate-values",
"bootstrap-dev": "rm -rf /tmp/otomi-bootstrap-dev; VALUES_INPUT=$PWD/tests/bootstrap/input-local-dev.yaml ENV_DIR=/tmp/otomi-bootstrap-dev binzx/otomi bootstrap"
},
"standard-version": {
"skip": {
"tag": true
}
},
"type": "commonjs",
"version": "4.16.0-rc.0"
}