-
Notifications
You must be signed in to change notification settings - Fork 168
/
package.json
171 lines (171 loc) · 6.44 KB
/
package.json
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
{
"author": "RedKubes",
"bugs": {
"url": "https://github.com/linode/apl-core/issues"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "9.0.9",
"@kubernetes/client-node": "0.20.0",
"@types/deep-diff": "1.0.1",
"@types/semver": "7.3.10",
"ajv": "8.11.0",
"async-retry": "1.3.3",
"clean-deep": "3.4.0",
"cli-select": "1.1.2",
"debug": "4.3.5",
"deep-diff": "1.0.2",
"dotenv": "10.0.0",
"envalid": "7.3.1",
"express": "4.21.1",
"fs-extra": "9.1.0",
"generate-password": "^1.7.1",
"ignore-walk": "3.0.4",
"lodash": "4.17.21",
"node-fetch": "2.6.7",
"node-forge": "1.3.0",
"semver": "7.5.2",
"tar": "6.2.1",
"uuid": "^9.0.1",
"validator": "13.7.0",
"yaml": "^2.1.3",
"yargs": "17.5.1",
"zx": "4.3.0"
},
"description": "Otomi Core is an opinionated stack of Kubernetes apps and configurations. Part of Otomi Container Platform.",
"devDependencies": {
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"@hkdobrev/run-if-changed": "0.3.1",
"@jest/types": "27.5.1",
"@types/async-retry": "1.4.4",
"@types/debug": "4.1.7",
"@types/express": "4.17.13",
"@types/ignore-walk": "3.0.2",
"@types/jest": "27.5.2",
"@types/js-yaml": "4.0.5",
"@types/jsonpath": "0.2.0",
"@types/lodash": "4.17.13",
"@types/node": "16.11.41",
"@types/node-forge": "0.10.10",
"@types/retry": "0.12.2",
"@types/supertest": "2.0.12",
"@types/tar": "4.0.5",
"@types/validator": "13.7.3",
"@types/yargs": "17.0.10",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"@vercel/ncc": "0.34.0",
"adr-log": "2.2.0",
"commitizen": "4.3.1",
"cspell": "4.2.8",
"cz-conventional-changelog": "3.3.0",
"eslint": "^8.26.0",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-unused-imports": "^2.0.0",
"git-cz": "4.9.0",
"github-release-from-changelog": "2.1.1",
"husky": "7.0.4",
"jest": "^27.5.1",
"jest-ts-auto-mock": "2.1.0",
"json-schema-to-typescript": "10.1.5",
"json2ts": "0.0.7",
"jsonpath": "^1.1.1",
"lint-staged": "10.5.4",
"npm-run-all": "4.1.5",
"prettier": "2.7.1",
"standard-version": "9.5.0",
"ts-auto-mock": "3.6.2",
"ts-jest": "27.1.5",
"ts-node": "10.8.1",
"ts-node-dev": "1.1.8",
"tsc-alias": "^1.7.0",
"tsconfig-paths": "3.14.1",
"ttypescript": "1.5.15",
"typescript": "4.7.4"
},
"engines": {
"npm": ">=8.0.0 <9.0.0",
"node": ">=16.0.0 <17.0.0"
},
"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"
},
"run-if-changed": {
"package-lock.json": "npm install --prefer-offline --no-audit",
"values-schema.yaml": "npm run gen:chart-schema"
},
"scripts": {
"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": "ts-node 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-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",
"migrate-values": "ENV_DIR=$PWD/tests/fixtures binzx/otomi migrate -ni",
"prepare": "husky install",
"release": "standard-version",
"release:github": "github-release-from-changelog",
"release:bump:minor": "standard-version --skip.changelog true --release-as minor",
"run-if-changed": "run-if-changed",
"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:opa": "NODE_ENV=test binzx/otomi x opa test policies -v",
"test:ts": "ENV_DIR=$PWD/tests/fixtures NODE_ENV=test jest",
"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=28; while [ $i -le 31 ]; 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; CI=1 VALUES_INPUT=$PWD/tests/bootstrap/input.yaml ENV_DIR=/tmp/otomi-bootstrap-dev binzx/otomi bootstrap",
"bootstrap-dev-with-repo": "CI=1 ENV_DIR=/tmp/otomi-bootstrap-dev binzx/otomi bootstrap"
},
"standard-version": {
"skip": {
"tag": true
}
},
"type": "commonjs",
"version": "4.1.0"
}