Skip to content

Commit

Permalink
Ditch Node.js v14 (end of life)
Browse files Browse the repository at this point in the history
  • Loading branch information
jihchi committed Sep 23, 2023
1 parent 8b91797 commit 09a3138
Show file tree
Hide file tree
Showing 3 changed files with 637 additions and 592 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ jobs:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}

runs-on: ${{ matrix.os }}

strategy:
matrix:
node: ['14.x', '16.x', '18.x']
node: ['16.x', '18.x', '20.x']
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- name: Checkout repo
uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 7.26.1

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down
48 changes: 23 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,39 @@
{
"name": "@jihchi/vite-plugin-rescript",
"author": "jihchi",
"version": "5.3.0",
"keywords": [
"rollup-plugin",
"vite-plugin",
"ReScript",
"ReasonML",
"BuckleScript"
],
"homepage": "https://github.com/jihchi/vite-plugin-rescript",
"repository": {
"type": "git",
"url": "https://github.com/jihchi/vite-plugin-rescript.git"
},
"version": "5.3.0",
"license": "MIT",
"author": "jihchi",
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"keywords": [
"rollup-plugin",
"vite-plugin",
"ReScript",
"ReasonML",
"BuckleScript"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"packageManagers": {
"pnpm": "8.3.1"
},
"engines": {
"node": "^14 || >=16.0.0"
},
"scripts": {
"clean": "rimraf dist",
"prebuild": "pnpm clean",
"build": "tsup",
"format": "prettier --write src test",
"clean": "rimraf dist",
"format": "prettier --write src test && pnpm dlx sort-package-json",
"start": "pnpm build -- --watch",
"test": "vitest run"
},
Expand All @@ -50,16 +44,20 @@
},
"devDependencies": {
"@sindresorhus/tsconfig": "^3.0.1",
"@vitest/coverage-c8": "^0.31.0",
"prettier": "2.8.8",
"@vitest/coverage-v8": "^0.34.5",
"prettier": "3.0.3",
"rimraf": "^3.0.2",
"tsup": "^6.7.0",
"typescript": "^5.0.4",
"vite": "^4.3.5",
"vitest": "^0.31.0"
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.5"
},
"peerDependencies": {
"rescript": "^9 || ^10 || >=11.0.0-alpha",
"vite": "^3 || ^4"
},
"packageManager": "[email protected]",
"engines": {
"node": "^16 || ^18 || ^20"
}
}
Loading

0 comments on commit 09a3138

Please sign in to comment.