chore: Do the migrations

This commit is contained in:
BluJ
2023-04-24 15:52:43 -06:00
parent 75ec297be1
commit 50cfc7aa43
19 changed files with 167 additions and 98 deletions

View File

@@ -3,14 +3,17 @@ version = $(shell git tag --sort=committerdate | tail -1)
test: $(TS_FILES) lib/test/output.ts
npm test
make clean:
rm -rf dist
clean:
rm -rf dist/* | true
lib/test/output.ts: lib/test/makeOutput.ts scripts/oldSpecToBuilder.ts
npm run buildOutput
bundle: fmt $(TS_FILES) package.json .FORCE node_modules test
bundle: clean fmt $(TS_FILES) package.json .FORCE node_modules test
npx tsc
cp package.json dist/package.json
cp README.md dist/README.md
cp LICENSE dist/LICENSE
check:
npm run check
@@ -22,9 +25,6 @@ node_modules: package.json
npm install
publish: clean bundle package.json README.md LICENSE
cp package.json dist/package.json
cp README.md dist/README.md
cp LICENSE dist/LICENSE
cd dist && npm publish
link: bundle
cp package.json dist/package.json