File tree Expand file tree Collapse file tree 5 files changed +480
-518
lines changed Expand file tree Collapse file tree 5 files changed +480
-518
lines changed Original file line number Diff line number Diff line change 166
166
"fs-extra" : " ^8.1.0" ,
167
167
"glob" : " ~7.1.6" ,
168
168
"mini-css-extract-plugin" : " ~0.9.0" ,
169
- "npm-run-all" : " ^4.1.5" ,
170
169
"rimraf" : " ^3.0.2" ,
171
170
"style-loader" : " ~1.0.1" ,
172
171
"svg-url-loader" : " ~6.0.0" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"npmClient" : " yarn" ,
3
+ "useNx" : false ,
3
4
"version" : " independent" ,
4
5
"useWorkspaces" : true
5
6
}
Original file line number Diff line number Diff line change 23
23
"build" : " lerna run build" ,
24
24
"build:prod" : " lerna run build:prod" ,
25
25
"build:test" : " lerna run build:test" ,
26
+ "build:utils" : " cd buildutils && npm run build" ,
26
27
"clean" : " lerna run clean" ,
27
28
"develop" : " jupyter labextension develop . --overwrite && node ./buildutils/lib/develop.js --overwrite" ,
28
29
"eslint" : " eslint . --ext .ts,.tsx --fix" ,
55
56
"jest-junit" : " ^11.1.0" ,
56
57
"jest-raw-loader" : " ^1.0.1" ,
57
58
"jest-summary-reporter" : " ^0.0.2" ,
58
- "lerna" : " ^5.5.0" ,
59
- "npm-run-all" : " ^4.1.5" ,
59
+ "lerna" : " ^6.0.1" ,
60
60
"prettier" : " ^1.19.0" ,
61
61
"rimraf" : " ^3.0.2" ,
62
62
"typescript" : " ~4.7.3"
63
- },
64
- "jupyter-releaser" : {
65
- "hooks" : {
66
- "before-build-npm" : [
67
- " jlpm clean" ,
68
- " jlpm build:prod"
69
- ],
70
- "before-build-python" : [
71
- " jlpm clean"
72
- ],
73
- "before-bump-version" : " python -m pip install hatch"
74
- },
75
- "options" : {
76
- "version-cmd" : [
77
- " jlpm run release:bump --force --skip-commit"
78
- ]
79
- }
80
63
}
81
64
}
Original file line number Diff line number Diff line change @@ -141,3 +141,20 @@ extend-ignore = [
141
141
# black adds spaces around ':'
142
142
" E203" ,
143
143
]
144
+
145
+ [tool .jupyter-releaser .options ]
146
+ version-cmd = " jlpm run release:bump --force --skip-commit"
147
+
148
+ [tool .jupyter-releaser .hooks ]
149
+ before-bump-version = [
150
+ " python -m pip install --pre -U jupyterlab" ,
151
+ " jlpm" ,
152
+ " jlpm run build:utils" ,
153
+ " python -m pip install hatch"
154
+ ]
155
+ before-build-npm = [
156
+ " jlpm build:prod"
157
+ ]
158
+ before-build-python = [
159
+ " jlpm clean"
160
+ ]
You can’t perform that action at this time.
0 commit comments