Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jun 17, 2024
1 parent b32dfdd commit f3285f7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rules:
no-console: off
8 changes: 4 additions & 4 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 All @@ -27,7 +27,7 @@ jobs:
- name: Unit Test
run: yarn test:json
- name: Report Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/coverage-final.json
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "reggol",
"description": "Logger for professionals",
"version": "1.6.3",
"version": "1.7.0",
"sideEffects": false,
"main": "lib/node.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -33,8 +33,8 @@
"author": "Shigma <shigma10826@gmail.com>",
"license": "MIT",
"scripts": {
"build:node": "esbuild src/node.ts --outfile=lib/node.cjs --bundle --sourcemap --sources-content=false --platform=node --external:cosmokit --external:supports-color --target=es2019",
"build:browser": "esbuild src/browser.ts --outfile=lib/browser.mjs --bundle --sourcemap --sources-content=false --platform=browser --external:cosmokit --external:supports-color --target=esnext",
"build:node": "esbuild src/node.ts --outfile=lib/node.cjs --bundle --sourcemap --sources-content=false --platform=node --external:cosmokit --external:supports-color --target=es2022",
"build:browser": "esbuild src/browser.ts --outfile=lib/browser.mjs --bundle --sourcemap --sources-content=false --platform=browser --external:cosmokit --external:supports-color --target=es2022",
"build": "yarn build:node && yarn build:browser && yarn tsc -b",
"test": "mocha -r esbuild-register tests/*.spec.ts",
"test:text": "shx rm -rf coverage && c8 -r text yarn test",
Expand All @@ -43,23 +43,23 @@
},
"devDependencies": {
"@sinonjs/fake-timers": "^6.0.1",
"@types/chai": "^4.3.5",
"@types/chai": "^4.3.14",
"@types/mocha": "^9.1.1",
"@types/node": "^20.4.2",
"@types/object-inspect": "^1.8.1",
"@types/supports-color": "^8.1.1",
"@types/node": "^20.11.30",
"@types/object-inspect": "^1.8.4",
"@types/sinonjs__fake-timers": "^6.0.4",
"@types/supports-color": "^8.1.3",
"c8": "^7.14.0",
"chai": "^4.3.7",
"esbuild": "^0.18.14",
"esbuild-register": "^3.4.2",
"chai": "^4.4.1",
"esbuild": "^0.18.20",
"esbuild-register": "^3.5.0",
"mocha": "^9.2.2",
"shx": "^0.3.4",
"typescript": "^5.1.6"
"typescript": "^5.4.3"
},
"dependencies": {
"supports-color": "^8.1.1",
"cosmokit": "^1.5.1",
"object-inspect": "^1.12.3"
"cosmokit": "^1.6.2",
"object-inspect": "^1.13.1",
"supports-color": "^8.1.1"
}
}

0 comments on commit f3285f7

Please sign in to comment.