Skip to content

Commit

Permalink
fix: bugs related to find namespaces (#55)
Browse files Browse the repository at this point in the history
* fix: bugs related to find namespaces

* fix: feedback of the team

* fix: feedback of the team

* fix: feedback of the team

* fix: feedback of the team

* fix: feedback of the team
  • Loading branch information
Lawndlwd authored Nov 20, 2024
1 parent c9639e9 commit 356c69b
Show file tree
Hide file tree
Showing 17 changed files with 570 additions and 70 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
with:
version: 9.1.1
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: 20
node-version: 22
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
Expand All @@ -29,14 +27,12 @@ jobs:
needs: [typecheck]
strategy:
matrix:
node: ['20']
node: ['22']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: pnpm/[email protected]
with:
version: 9.1.1
- name: Use Node.js
uses: actions/[email protected]
with:
Expand All @@ -48,22 +44,20 @@ jobs:
- run: pnpm run coverage
- name: Upload coverage report
if: success()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage/lcov-report/index.html

build:
strategy:
matrix:
node: ['20']
node: ['22']
runs-on: ubuntu-22.04
needs: [typecheck]
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
with:
version: 9.1.1
- name: Use Node.js
uses: actions/[email protected]
with:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,11 @@ jobs:
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- uses: pnpm/[email protected]
with:
version: 9.1.1

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
node-version: 22

- run: pnpm install

Expand Down
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/biome.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/unused-i18n.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 60 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": false
},
"vcs": {
"clientKind": "git",
"useIgnoreFile": false,
"defaultBranch": "main"
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto"
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "asNeeded",
"arrowParentheses": "asNeeded",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "single",
"attributePosition": "auto"
}
},
"json": {
"formatter": {
"enabled": true
},
"parser": {
"allowComments": true
},
"linter": {
"enabled": true
}
},
"css": {
"formatter": {
"enabled": true,
"quoteStyle": "single"
},
"linter": {
"enabled": true
},
"parser": {
"allowWrongLineComments": false,
"cssModules": true
}
}
}
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,19 @@
"coverage": "vitest run --coverage"
},
"dependencies": {
"commander": "^12.1.0"
"commander": "^12.1.0",
"esbuild": "^0.24.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.3",
"@types/node": "^14.18.63",
"@vitest/coverage-c8": "^0.33.0",
"@vitest/coverage-istanbul": "^1.6.0",
"typescript": "^5.2.2",
"vitest": "^1.6.0",
"vite": "^5.2.0"
"vite": "^5.2.0",
"vitest": "^1.6.0"
},
"keywords": [
"i18n",
Expand All @@ -57,7 +59,8 @@
"next"
],
"engines": {
"node": ">=18.x",
"pnpm": ">=8.x"
}
"node": ">=22.x",
"pnpm": ">=9.x"
},
"packageManager": "[email protected]+sha512.88c9c3864450350e65a33587ab801acf946d7c814ed1134da4a924f6df5a2120fd36b46aab68f7cd1d413149112d53c7db3a4136624cfd00ff1846a0c6cef48a"
}
Loading

0 comments on commit 356c69b

Please sign in to comment.