File tree 6 files changed +3203
-77
lines changed
6 files changed +3203
-77
lines changed Original file line number Diff line number Diff line change 20
20
- name : Pack and Publish
21
21
run : |
22
22
make build-pub
23
- npm publish --provenance --access public
24
23
env :
25
24
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
25
+ NPM_CONFIG_PROVENANCE : true
Original file line number Diff line number Diff line change
1
+ ## 1.3.1
2
+
3
+ Using ` jiek `
4
+
1
5
## 1.3.0
2
6
3
7
# Improves
Original file line number Diff line number Diff line change 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
3
2
4
3
install :
5
4
@echo " Setup pnpm package manager..."
@@ -8,14 +7,15 @@ install:
8
7
9
8
build :
10
9
@echo " Building..."
11
- $(ROLLUP_CMD )
10
+ -rm -rf dist
11
+ $(JK ) build
12
12
13
13
14
14
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
19
19
20
20
test :
21
21
@echo " Running tests..."
Original file line number Diff line number Diff line change
1
+ import { defineConfig } from 'jiek'
2
+
3
+ export default defineConfig ( {
4
+ build : {
5
+ output : {
6
+ minify : 'only-minify'
7
+ }
8
+ }
9
+ } )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vite-plugin-compression2" ,
3
- "version" : " 1.3.0 " ,
3
+ "version" : " 1.3.1 " ,
4
4
"packageManager" :
" [email protected] " ,
5
5
"description" : " a fast vite compression plugin" ,
6
6
"main" : " dist/index.js" ,
34
34
"dprint" : " ^0.46.3" ,
35
35
"eslint" : " ^8.57.0" ,
36
36
"eslint-config-kagura" : " ^2.1.1" ,
37
+ "jiek" : " ^1.0.14" ,
37
38
"memdisk" : " ^1.2.1" ,
38
39
"playwright" : " ^1.32.3" ,
39
40
"rollup" : " ^4.18.0" ,
40
- "rollup-plugin-dts" : " ^6.1.1" ,
41
- "rollup-plugin-swc3" : " ^0.12.1" ,
42
41
"sirv" : " ^2.0.3" ,
43
42
"typescript" : " ^5.3.3" ,
44
- "vite" : " ^5.3.4" ,
45
43
"vitest" : " ^2.1.2"
46
44
},
47
45
"dependencies" : {
You can’t perform that action at this time.
0 commit comments