Skip to content

Commit

Permalink
feat: unify logger style with Rsbuild (#85)
Browse files Browse the repository at this point in the history
* feat: unify logger style with Rsbuild

* fix: lint

* fix: test

* fix: corepack
  • Loading branch information
chenjiahan authored Feb 27, 2025
1 parent e83fbf1 commit 47cf983
Show file tree
Hide file tree
Showing 14 changed files with 3,480 additions and 6,576 deletions.
5 changes: 4 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"cachable",
"finalhandler",
"mrmime",
"corepack"
"corepack",
"rslog",
"rsbuild",
"rspack"
],
"ignorePaths": [
"CHANGELOG.md",
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
fetch-depth: 0

- name: Install Pnpm
run: corepack enable
run: npm i corepack@latest -g --force && corepack enable

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Pnpm
run: corepack enable
run: npm i corepack@latest -g --force && corepack enable

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"scripts": {
"commitlint": "commitlint --from=master",
"security": "pnpm audit --production",
"lint:prettier": "prettier --cache --list-different .",
"lint:js": "eslint --cache .",
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
"lint:types": "tsc --pretty --noEmit",
Expand Down Expand Up @@ -57,7 +56,8 @@
"memfs": "^4.6.0",
"mrmime": "^2.0.0",
"on-finished": "^2.4.1",
"range-parser": "^1.2.1"
"range-parser": "^1.2.1",
"rslog": "^1.2.3"
},
"devDependencies": {
"@babel/cli": "^7.16.7",
Expand Down
Loading

0 comments on commit 47cf983

Please sign in to comment.