-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
29 lines (25 loc) · 1.57 KB
/
Makefile
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
.PHONY: init
init:
git submodule init
if [ ! -d "node_modules" ]; then npm install; fi
.PHONY: pack
pack:
rm -rf dist *.tgz
npm run build
npm pack
tar -tzf *mui-themes*.tgz
.PHONY: publish
publish:
rm -rf dist
npm run build
npm publish --access=public
.PHONY: update-backstage-latest-stable
update-backstage-latest-stable:
cd backstage && git tag --sort=taggerdate | grep -E '^v1\.[0-9]+\.[0-9]+$$' | tail -n 1 | xargs git checkout
if [ ! -d "node_modules" ]; then npm install; fi
npm install --save-dev --force @backstage/core-plugin-api @backstage/test-utils @backstage/plugin-search-react @backstage/theme @backstage/plugin-catalog-react @backstage/plugin-home-react @backstage/plugin-azure-devops-common @backstage/plugin-home @backstage/plugin-search @backstage/plugin-microsoft-calendar @backstage/plugin-stack-overflow @backstage/plugin-gcalendar @material-ui/lab material-ui-popup-state @react-hookz/web @material-table/core humanize-duration @rjsf/material-ui
.PHONY: update-backstage-latest
update-backstage-latest:
git submodule update --remote
if [ ! -d "node_modules" ]; then npm install; fi
npm install --save-dev --force @backstage/core-plugin-api @backstage/test-utils @backstage/plugin-search-react @backstage/theme @backstage/plugin-catalog-react @backstage/plugin-home-react @backstage/plugin-azure-devops-common @backstage/plugin-home @backstage/plugin-search @backstage/plugin-microsoft-calendar @backstage/plugin-stack-overflow @backstage/plugin-gcalendar @material-ui/lab material-ui-popup-state @react-hookz/web @material-table/core humanize-duration @rjsf/material-ui