forked from janus-idp/backstage-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 4.23 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
{
"name": "root",
"version": "3.3.0",
"private": true,
"engines": {
"node": "20"
},
"scripts": {
"preinstall": "npx only-allow yarn",
"dev": "turbo run start --filter=...app --filter=...backend",
"start:backend": "turbo run start --filter=...backend",
"start:backstage": "turbo run start --filter=...app --filter=...backend",
"start:plugins": "turbo run start --filter=@janus-idp/*",
"start:storybook": "yarn --cwd packages/storybook start",
"build": "turbo run build",
"build:backstage": "turbo run build --filter=...app --filter=...backend",
"build:plugins": "turbo run build --filter=@janus-idp/*",
"build:storybook": "yarn --cwd packages/storybook build",
"tsc": "turbo run tsc",
"clean": "turbo run clean",
"test": "turbo run test --concurrency=1",
"lint": "turbo run lint",
"lint:fix": "turbo run lint -- --fix",
"lint-staged": "lint-staged",
"prettier:check": "prettier --ignore-unknown --check .",
"prettier:fix": "prettier --ignore-unknown --write .",
"new": "janus-cli new --do-not-edit-packages",
"release": "multi-semantic-release",
"prepare": "husky install",
"export-dynamic": "turbo run export-dynamic",
"versions:bump": "backstage-cli versions:bump && find . -name 'package.json' ! -path '*/node_modules/*' -exec sed -i -e '/devDependencies/,/\\\\}/{ s/\\\"\\\\^/\\\"/; }' {} ; && yarn install && yarn run export-dynamic --no-cache -- -- --clean"
},
"workspaces": {
"packages": [
"packages/*",
"plugins/*"
],
"nohoist": [
"@janus-idp/backstage-plugin-orchestrator",
"@janus-idp/backstage-plugin-orchestrator/@kie-tools/**/!(react|react-dom)"
]
},
"devDependencies": {
"@backstage/cli": "0.26.11",
"@ianvs/prettier-plugin-sort-imports": "4.2.1",
"@janus-idp/cli": "*",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "9.2.6",
"@semrel-extra/npm": "1.2.2",
"@spotify/prettier-config": "15.0.0",
"conventional-changelog-conventionalcommits": "6.1.0",
"eslint-plugin-jest": "27.9.0",
"husky": "8.0.3",
"lint-staged": "15.2.7",
"multi-semantic-release": "3.0.2",
"prettier": "3.3.3",
"turbo": "1.13.4",
"typescript": "5.4.5"
},
"resolutions": {
"@types/react": "^18",
"@types/react-dom": "^18",
"react": "^18",
"react-dom": "^18",
"vscode-languageserver-types": "3.17.5",
"@typescript-eslint/typescript-estree": "^7.3.1",
"@babel/core": "7.24.9",
"@babel/traverse": "7.24.8",
"@babel/generator": "7.24.10",
"dset": "^3.1.4"
},
"lint-staged": {
"*": "turbo run prettier:fix --",
"*.{js,jsx,ts,tsx,mjs,cjs}": "turbo run lint:fix --"
},
"jest": {
"testTimeout": 15000
},
"release": {
"branches": "main",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "docs",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "perf",
"release": "minor"
},
{
"scope": "no-release",
"release": false
},
{
"type": "chore",
"scope": "deps",
"release": "patch"
}
]
}
],
"@semantic-release/changelog",
"@semrel-extra/npm",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json",
"dist-dynamic/package.json",
"dist-dynamic/yarn.lock"
]
}
],
[
"@semantic-release/github",
{
"successComment": false,
"releasedLabels": false
}
],
[
"@semantic-release/exec",
{
"successCmd": "if [ -d 'dist-dynamic' ]; then echo 'publishing backend derived package ...' && cd dist-dynamic && npm pkg delete scripts && npm publish --registry https://registry.npmjs.org/ --access public ; fi"
}
]
]
}
}