mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
* update actions response types and partially implement in UI * further remove diagnostic ui * convert action response nested to array * prepare action res modal for Alex * ad dproperties action for Bitcoin * feat: add action success dialog (#2753) * feat: add action success dialog * mocks for string action res and hide properties from actions page --------- Co-authored-by: Matt Hill <mattnine@protonmail.com> * return null * remove properties from backend * misc fixes * make severity separate argument * rename ActionRequest to ActionRequestOptions * add clearRequests * fix s9pk build * remove config and properties, introduce action requests * better ux, better moocks, include icons * fix dependency types * add variant for versionCompat * fix dep icon display and patch operation display * misc fixes * misc fixes * alpha 12 * honor provided input to set values in action * fix: show full descriptions of action success items (#2758) * fix type * fix: fix build:deps command on Windows (#2752) * fix: fix build:deps command on Windows * fix: add escaped quotes --------- Co-authored-by: Aiden McClelland <me@drbonez.dev> * misc db compatibility fixes --------- Co-authored-by: Alex Inkin <alexander@inkin.ru> Co-authored-by: Aiden McClelland <me@drbonez.dev> Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
75 lines
2.1 KiB
Makefile
75 lines
2.1 KiB
Makefile
PACKAGE_TS_FILES := $(shell git ls-files package/lib) package/lib/test/output.ts
|
|
BASE_TS_FILES := $(shell git ls-files base/lib) package/lib/test/output.ts
|
|
version = $(shell git tag --sort=committerdate | tail -1)
|
|
|
|
.PHONY: test base/test package/test clean bundle fmt buildOutput check
|
|
|
|
all: bundle
|
|
|
|
package/test: $(PACKAGE_TS_FILES) package/lib/test/output.ts package/node_modules base/node_modules
|
|
cd package && npm test
|
|
|
|
base/test: $(BASE_TS_FILES) base/node_modules
|
|
cd base && npm test
|
|
|
|
test: base/test package/test
|
|
|
|
clean:
|
|
rm -rf base/node_modules
|
|
rm -rf dist
|
|
rm -rf baseDist
|
|
rm -f package/lib/test/output.ts
|
|
rm -rf package/node_modules
|
|
|
|
package/lib/test/output.ts: package/node_modules package/lib/test/makeOutput.ts package/scripts/oldSpecToBuilder.ts
|
|
cd package && npm run buildOutput
|
|
|
|
bundle: baseDist dist | test fmt
|
|
touch dist
|
|
|
|
base/lib/exver/exver.ts: base/node_modules base/lib/exver/exver.pegjs
|
|
cd base && npm run peggy
|
|
|
|
baseDist: $(PACKAGE_TS_FILES) $(BASE_TS_FILES) base/package.json base/node_modules base/README.md base/LICENSE
|
|
(cd base && npm run tsc)
|
|
rsync -ac base/node_modules baseDist/
|
|
cp base/package.json baseDist/package.json
|
|
cp base/README.md baseDist/README.md
|
|
cp base/LICENSE baseDist/LICENSE
|
|
touch baseDist
|
|
|
|
dist: $(PACKAGE_TS_FILES) $(BASE_TS_FILES) package/package.json package/.npmignore package/node_modules package/README.md package/LICENSE
|
|
(cd package && npm run tsc)
|
|
rsync -ac package/node_modules dist/
|
|
cp package/.npmignore dist/.npmignore
|
|
cp package/package.json dist/package.json
|
|
cp package/README.md dist/README.md
|
|
cp package/LICENSE dist/LICENSE
|
|
touch dist
|
|
|
|
full-bundle: bundle
|
|
|
|
check:
|
|
cd package
|
|
npm run check
|
|
cd ../base
|
|
npm run check
|
|
|
|
fmt: package/node_modules base/node_modules
|
|
npx prettier . "**/*.ts" --write
|
|
|
|
|
|
package/node_modules: package/package.json
|
|
cd package && npm ci
|
|
|
|
base/node_modules: base/package.json
|
|
cd base && npm ci
|
|
|
|
node_modules: package/node_modules base/node_modules
|
|
|
|
publish: bundle package/package.json package/README.md package/LICENSE
|
|
cd dist && npm publish --access=public
|
|
|
|
link: bundle
|
|
cd dist && npm link
|