Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Dec 26, 2023
1 parent 3bed666 commit bb98d75
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16, 18, 20]
node-version: [18, 20]

steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
Expand Down
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "cosmokit",
"description": "A collection of common utilities",
"version": "1.5.1",
"version": "1.5.2",
"sideEffects": false,
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib"
"lib",
"src"
],
"repository": {
"type": "git",
Expand All @@ -20,8 +21,8 @@
"author": "Shigma <shigma10826@gmail.com>",
"license": "MIT",
"scripts": {
"compile:cjs": "esbuild src/index.ts --outfile=lib/index.cjs --bundle --sourcemap --platform=node --target=es2019",
"compile:esm": "esbuild src/index.ts --outfile=lib/index.mjs --bundle --sourcemap --platform=neutral --target=esnext",
"compile:cjs": "esbuild src/index.ts --outfile=lib/index.cjs --bundle --sourcemap --sources-content=false --platform=node --target=es2022",
"compile:esm": "esbuild src/index.ts --outfile=lib/index.mjs --bundle --sourcemap --sources-content=false --platform=neutral --target=es2022",
"build": "yarn compile:cjs && yarn compile:esm && yarn dtsc",
"test": "mocha -r esbuild-register tests/*.spec.ts",
"test:text": "shx rm -rf coverage && c8 -r text yarn test",
Expand All @@ -30,17 +31,17 @@
},
"devDependencies": {
"@sinonjs/fake-timers": "^6.0.1",
"@types/chai": "^4.3.5",
"@types/chai": "^4.3.11",
"@types/mocha": "^9.1.1",
"@types/node": "^20.4.2",
"@types/node": "^20.10.2",
"@types/sinonjs__fake-timers": "^6.0.4",
"c8": "^7.14.0",
"chai": "^4.3.7",
"chai": "^4.3.10",
"dtsc": "^2.3.0",
"esbuild": "^0.18.14",
"esbuild-register": "^3.4.2",
"esbuild": "^0.18.20",
"esbuild-register": "^3.5.0",
"mocha": "^9.2.2",
"shx": "^0.3.4",
"typescript": "^5.1.6"
"typescript": "^5.3.2"
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"target": "es2022",
"module": "commonjs",
"strict": true,
"sourceMap": true,
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true,
Expand Down

0 comments on commit bb98d75

Please sign in to comment.