Skip to content

Commit db9a8bf

Browse files
committed
chore: replace .npmrc with biome.json, add package-lock.json for dependency management
This update introduces `biome` configuration for formatting and linting, while re-adding `package-lock.json` to ensure consistent package resolutions.
1 parent ed6597c commit db9a8bf

8 files changed

Lines changed: 1446 additions & 44 deletions

File tree

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
max_line_length = 240
10+
tab_width = 2
11+
trim_trailing_whitespace = true
12+
13+
[{*.markdown,*.md}]
14+
indent_size = 4
15+
tab_width = 4

.gitignore

Lines changed: 87 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,87 @@
1-
/node_modules
2-
/lib
3-
/@types
4-
npm-debug.log
5-
.DS_Store
1+
### Node template
2+
# Logs
3+
logs
4+
*.log
5+
npm-debug.log*
6+
yarn-debug.log*
7+
yarn-error.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Coverage directory used by tools like istanbul
19+
coverage
20+
21+
# node-waf configuration
22+
.lock-wscript
23+
24+
# Dependency directories
25+
node_modules/
26+
27+
# Builded files
28+
lib/
29+
30+
# Snowpack dependency directory (https://snowpack.dev/)
31+
web_modules/
32+
33+
# TypeScript cache
34+
*.tsbuildinfo
35+
36+
# Optional npm cache directory
37+
.npm
38+
39+
# Intellij
40+
.idea
41+
42+
# Optional eslint cache
43+
.eslintcache
44+
45+
# Optional REPL history
46+
.node_repl_history
47+
48+
# Output of 'npm pack'
49+
*.tgz
50+
51+
# Yarn Integrity file
52+
.yarn-integrity
53+
54+
# dotenv environment variable files
55+
.env
56+
.env.development.local
57+
.env.test.local
58+
.env.production.local
59+
.env.local
60+
61+
# parcel-bundler cache (https://parceljs.org/)
62+
.cache
63+
64+
# Gatsby files
65+
.cache/
66+
# Comment in the public line in if your project uses Gatsby and not Next.js
67+
# https://nextjs.org/blog/next-9-1#public-directory-support
68+
# public
69+
70+
# vuepress build output
71+
.vuepress/dist
72+
73+
# vuepress v2.x temp and cache directory
74+
.temp
75+
.cache
76+
77+
# yarn v2
78+
.yarn/cache
79+
.yarn/unplugged
80+
.yarn/build-state.yml
81+
.yarn/install-state.gz
82+
.pnp.*
83+
84+
.npmrc
85+
86+
## Angular
87+
.angular

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/test
22
/src
3-
.eslintrc.js
3+
biome.json
44
.gitignore
5+
tsdown.config.ts
6+
.editorconfig

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

biome.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
3+
"formatter": {
4+
"enabled": true
5+
},
6+
"linter": {
7+
"enabled": true
8+
},
9+
"json": {
10+
"formatter": {
11+
"enabled": false
12+
}
13+
},
14+
"assist": {
15+
"actions": {
16+
"source": {
17+
"organizeImports": "on"
18+
}
19+
}
20+
}
21+
}

0 commit comments

Comments
 (0)