From 9458b51be78ab6c5c3875e21d1fb543c9a125016 Mon Sep 17 00:00:00 2001 From: Qijia Liu Date: Sat, 30 Dec 2023 19:26:03 -0500 Subject: [PATCH] 0.2.2 --- .github/workflows/build.yml | 8 ++++++-- package.json | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bea343c..6f188ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,10 @@ name: build -on: push +on: + push: + branches: + - master + pull_request: jobs: build: @@ -16,7 +20,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v2 with: - node-version: 20.x + node-version: 21.x - name: Install node dependencies run: | npm i -g pnpm diff --git a/package.json b/package.json index db74ec7..2139655 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@libreservice/micro-plum", - "version": "0.2.1", + "version": "0.2.2", "main": "dist/index.js", "type": "module", "files": [ @@ -19,21 +19,21 @@ "lint:fix": "eslint --ext .ts,.mjs --fix scripts src test", "check": "tsc --noEmit", "build": "rm -rf dist && node scripts/build.mjs && tsc -d --emitDeclarationOnly", - "coverage": "vitest run --coverage test/" + "coverage": "vitest run --coverage.enabled --coverage.all=false test/" }, "sideEffects": false, "devDependencies": { - "@types/js-yaml": "^4.0.5", - "@types/luaparse": "^0.2.9", - "@typescript-eslint/eslint-plugin": "^6.4.1", - "@vitest/coverage-v8": "^0.34.2", - "esbuild": "^0.19.2", - "eslint": "^8.47.0", + "@types/js-yaml": "^4.0.9", + "@types/luaparse": "^0.2.12", + "@typescript-eslint/eslint-plugin": "^6.16.0", + "@vitest/coverage-v8": "^1.1.0", + "esbuild": "^0.19.11", + "eslint": "^8.56.0", "eslint-config-standard": "^17.1.0", "js-yaml": "^4.1.0", "luaparse": "^0.3.1", - "typescript": "^5.1.6", - "vitest": "^0.34.2" + "typescript": "^5.3.3", + "vitest": "^1.1.0" }, "peerDependencies": { "js-yaml": "^4.1.0",