forked from janus-idp/backstage-plugins
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
169 lines (169 loc) · 4.71 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
{
"name": "root",
"version": "2.0.0",
"private": true,
"engines": {
"node": "18"
},
"scripts": {
"preinstall": "npx only-allow yarn",
"start:backstage": "turbo run start:backstage",
"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=...{./packages/app} --filter=...{./packages/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",
"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": "backstage-cli new --scope @janus-idp",
"release": "multi-semantic-release",
"prepare": "husky install",
"versions:bump": "backstage-cli versions:bump && find . -name 'package.json' ! -path '*/node_modules/*' -exec sed -i '' -e '/devDependencies/,/\\}/{ s/\"\\^/\"/; }' {} \\;"
},
"workspaces": {
"packages": [
"packages/*",
"plugins/*"
],
"nohoist": [
"@janus-idp/backstage-plugin-orchestrator",
"@janus-idp/backstage-plugin-orchestrator/@kie-tools/**/!(react|react-dom)"
]
},
"devDependencies": {
"@backstage/cli": "0.23.0",
"@ianvs/prettier-plugin-sort-imports": "4.1.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.1",
"@semrel-extra/npm": "1.2.2",
"@spotify/prettier-config": "15.0.0",
"conventional-changelog-conventionalcommits": "6.1.0",
"eslint-plugin-jest": "27.4.2",
"husky": "8.0.3",
"lint-staged": "15.0.1",
"multi-semantic-release": "3.0.2",
"prettier": "3.0.3",
"turbo": "1.10.15",
"typescript": "5.2.2"
},
"resolutions": {
"@types/react": "^17.0.68",
"@types/react-dom": "^17.0.21",
"vscode-languageserver-types": "3.17.1"
},
"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/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "style",
"section": "Other changes"
},
{
"type": "refactor",
"section": "Other changes"
},
{
"type": "perf",
"section": "Other changes"
},
{
"type": "test",
"section": "Other changes"
}
]
}
}
],
"@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"
}
]
]
}
}