-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
98 lines (74 loc) · 2.42 KB
/
Copy pathMakefile
File metadata and controls
98 lines (74 loc) · 2.42 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
PNPM_VERSION := 10.33.4
PNPM_GLOBAL_VERSION := $(shell command -v pnpm >/dev/null 2>&1 && pnpm --version 2>/dev/null || true)
ifeq ($(PNPM_GLOBAL_VERSION),$(PNPM_VERSION))
PNPM ?= pnpm
else
PNPM ?= npm exec --yes --package=pnpm@$(PNPM_VERSION) -- pnpm
endif
.PHONY: setup build test package-smoke examples-smoke readme-examples api-docs api-docs-update api-review package-registry browser-runtime-imports browser-runtime-bundle browser-extension-security public-imports release-plan release-plan-check release-artifacts-safety pack-smoke release-artifacts lint audit docs ci
setup:
$(PNPM) install
build:
python3 scripts/verify_repo.py
$(PNPM) build
test: build
python3 scripts/verify_repo.py
$(PNPM) test
package-smoke: build
python3 scripts/verify_repo.py
$(PNPM) consumer-smoke
examples-smoke: build
python3 scripts/verify_repo.py
$(PNPM) examples-smoke
readme-examples: build
python3 scripts/verify_repo.py
$(PNPM) readme-examples:check
api-docs:
python3 scripts/verify_repo.py
$(PNPM) api-docs:check
api-docs-update:
$(PNPM) api-docs:update
api-review:
python3 scripts/verify_repo.py
$(PNPM) api-review:check
package-registry:
python3 scripts/verify_repo.py
$(PNPM) package-registry:check
browser-runtime-imports:
python3 scripts/verify_repo.py
$(PNPM) browser-runtime-imports:check
browser-runtime-bundle: build
python3 scripts/verify_repo.py
$(PNPM) browser-runtime-bundle:check
browser-extension-security:
python3 scripts/verify_repo.py
$(PNPM) browser-extension-security:check
public-imports:
python3 scripts/verify_repo.py
$(PNPM) public-imports:check
release-plan:
python3 scripts/verify_repo.py
$(PNPM) release-plan
release-plan-check:
python3 scripts/verify_repo.py
$(PNPM) release-plan:check
release-artifacts-safety:
python3 scripts/verify_repo.py
$(PNPM) release-artifacts:safety
pack-smoke: build
python3 scripts/verify_repo.py
$(PNPM) pack-smoke
release-artifacts: build
python3 scripts/verify_repo.py
$(PNPM) release-artifacts
lint: build
python3 scripts/verify_repo.py
$(PNPM) lint
audit:
python3 scripts/verify_repo.py
$(PNPM) audit --prod
docs:
python3 scripts/verify_repo.py
$(PNPM) api-docs:check
$(PNPM) api-review:check
ci: setup build test package-smoke examples-smoke readme-examples api-docs api-review package-registry browser-runtime-imports browser-runtime-bundle browser-extension-security public-imports release-plan-check release-artifacts-safety pack-smoke lint audit docs