-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (34 loc) · 779 Bytes
/
Makefile
File metadata and controls
45 lines (34 loc) · 779 Bytes
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
.PHONY: build
build: setup
bun run ./script/build.ts
.PHONY: check-package.json
check-package.json: build
bun run ./bin/package.json/index.js check
.PHONY: check
check: clean lint test build check-package.json
.PHONY: test
test: check-dependency-constraints
.PHONY: check-dependency-constraints
check-dependency-constraints:
bun run ./script/check-dependency-constraints.ts
.PHONY: setup
setup:
bun install --frozen-lockfile
.PHONY: publish
publish:
npm publish
.PHONY: clean
clean:
rm -rf ./bin/ ./chunks/ ./esbuild/ ./lib/
.PHONY: reset
reset: clean
rm -rf ./node_modules/
.PHONY: lint
lint:
bun x @biomejs/biome check
bun x tsc --project .
.PHONY: format
format:
bun x @biomejs/biome check --write
.PHONY: prepublishOnly
prepublishOnly: clean check build