Skip to content

Commit

Permalink
chore: release v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nonzzz committed Nov 14, 2024
1 parent d4f4fdd commit bbe4215
Show file tree
Hide file tree
Showing 5 changed files with 3,199 additions and 77 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
- name: Pack and Publish
run: |
make build-pub
npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
NODE_OPTIONS= export NODE_OPTIONS=--no-warnings
ROLLUP_CMD = ${NODE_OPTIONS} && pnpm exec rollup --config rollup.config.mjs
JK = pnpm exec jiek -f vite-plugin-compression2

install:
@echo "Setup pnpm package manager..."
Expand All @@ -8,14 +7,15 @@ install:

build:
@echo "Building..."
$(ROLLUP_CMD)
-rm -rf dist
$(JK) build


build-pub: install build

dev:
@echo "Starting development server..."
$(ROLLUP_CMD) --watch
@echo "Building for publish..."
mv 'dist/index.min.js' 'dist/index.js'
mv 'dist/index.min.mjs' 'dist/index.mjs'
$(JK) pub -no-b

test:
@echo "Running tests..."
Expand Down
9 changes: 9 additions & 0 deletions jiek.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineConfig } from 'jiek'

export default defineConfig({
build: {
output: {
minify: 'only-minify'
}
}
})
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-compression2",
"version": "1.3.0",
"version": "1.3.1",
"packageManager": "pnpm@9.4.0",
"description": "a fast vite compression plugin",
"main": "dist/index.js",
Expand Down Expand Up @@ -34,14 +34,12 @@
"dprint": "^0.46.3",
"eslint": "^8.57.0",
"eslint-config-kagura": "^2.1.1",
"jiek": "^1.0.14",
"memdisk": "^1.2.1",
"playwright": "^1.32.3",
"rollup": "^4.18.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-swc3": "^0.12.1",
"sirv": "^2.0.3",
"typescript": "^5.3.3",
"vite": "^5.3.4",
"vitest": "^2.1.2"
},
"dependencies": {
Expand Down
Loading

0 comments on commit bbe4215

Please sign in to comment.