Skip to content

Commit 844d87f

Browse files
committed
chore: release v1.3.1
1 parent d4f4fdd commit 844d87f

File tree

6 files changed

+3203
-77
lines changed

6 files changed

+3203
-77
lines changed

.github/workflows/publish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
- name: Pack and Publish
2121
run: |
2222
make build-pub
23-
npm publish --provenance --access public
2423
env:
2524
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
25+
NPM_CONFIG_PROVENANCE: true

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.3.1
2+
3+
Using `jiek`
4+
15
## 1.3.0
26

37
# Improves

Makefile

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
NODE_OPTIONS= export NODE_OPTIONS=--no-warnings
2-
ROLLUP_CMD = ${NODE_OPTIONS} && pnpm exec rollup --config rollup.config.mjs
1+
JK = pnpm exec jiek -f vite-plugin-compression2
32

43
install:
54
@echo "Setup pnpm package manager..."
@@ -8,14 +7,15 @@ install:
87

98
build:
109
@echo "Building..."
11-
$(ROLLUP_CMD)
10+
-rm -rf dist
11+
$(JK) build
1212

1313

1414
build-pub: install build
15-
16-
dev:
17-
@echo "Starting development server..."
18-
$(ROLLUP_CMD) --watch
15+
@echo "Building for publish..."
16+
mv 'dist/index.min.js' 'dist/index.js'
17+
mv 'dist/index.min.mjs' 'dist/index.mjs'
18+
$(JK) pub -no-b
1919

2020
test:
2121
@echo "Running tests..."

jiek.config.ts

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { defineConfig } from 'jiek'
2+
3+
export default defineConfig({
4+
build: {
5+
output: {
6+
minify: 'only-minify'
7+
}
8+
}
9+
})

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-plugin-compression2",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"packageManager": "[email protected]",
55
"description": "a fast vite compression plugin",
66
"main": "dist/index.js",
@@ -34,14 +34,12 @@
3434
"dprint": "^0.46.3",
3535
"eslint": "^8.57.0",
3636
"eslint-config-kagura": "^2.1.1",
37+
"jiek": "^1.0.14",
3738
"memdisk": "^1.2.1",
3839
"playwright": "^1.32.3",
3940
"rollup": "^4.18.0",
40-
"rollup-plugin-dts": "^6.1.1",
41-
"rollup-plugin-swc3": "^0.12.1",
4241
"sirv": "^2.0.3",
4342
"typescript": "^5.3.3",
44-
"vite": "^5.3.4",
4543
"vitest": "^2.1.2"
4644
},
4745
"dependencies": {

0 commit comments

Comments
 (0)