-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
33 lines (26 loc) · 774 Bytes
/
justfile
File metadata and controls
33 lines (26 loc) · 774 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
# Build the project
build:
bun run build
# Clean dist directory
clean:
rm -rf dist
# Rebuild from scratch
rebuild: clean build
# Bump patch version and publish (1.0.0 -> 1.0.1)
publish-patch: rebuild
npm version patch
bunx npm publish --access public
# Bump minor version and publish (1.0.0 -> 1.1.0)
publish-minor: rebuild
npm version minor
bunx npm publish --access public
# Bump major version and publish (1.0.0 -> 2.0.0)
publish-major: rebuild
npm version major
bunx npm publish --access public
# Publish without version bump (use after manual version change)
publish: rebuild
bunx npm publish --access public
# Dry run publish to see what would be published
publish-dry: rebuild
bunx npm publish --access public --dry-run