Skip to content

Commit 3a04ef8

Browse files
committed
fix: semantic version handling. Reorganize .gitignore for improved clarity and structure
1 parent a8e270a commit 3a04ef8

3 files changed

Lines changed: 89 additions & 11 deletions

File tree

‎.github/workflows/automated.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737
@semantic-release/github
3838
env:
3939
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" # Use the built-in token if possible
40-
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
4140
outputs:
4241
new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
4342
new_release_version: "${{ steps.semantic.outputs.new_release_version }}"

‎.gitignore‎

Lines changed: 89 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,94 @@
1-
# ignore
2-
node_modules
3-
dist
4-
.npmrc
5-
yarn.lock
6-
package-lock.json
1+
# ==============================================================================
2+
# 1. Core Dependency Folders
3+
# ==============================================================================
4+
node_modules/
5+
jspm_packages/
6+
.pnp/
7+
.pnp.*
78

8-
logs
9-
*.log
9+
# ==============================================================================
10+
# 2. Package Manager Specifics (Lock Files & Overrides Ignored)
11+
# ==============================================================================
12+
13+
# npm
14+
.npm/
15+
anon-doc-*.txt
1016
npm-debug.log*
17+
package-lock.json
18+
19+
# pnpm
20+
.pnpm-store/
21+
store.lock
22+
pnpm-lock.yaml
23+
24+
# Yarn Classic (v1) & Yarn Berry (v2+)
1125
yarn-debug.log*
1226
yarn-error.log*
27+
yarn.lock
28+
29+
# Yarn Berry / Modern (v2+) Specifics
30+
.yarn/cache/
31+
.yarn/build-errors.log
32+
.yarn/install-state.gz
33+
34+
# Bun (Modern runtime & package manager)
35+
bun.lockb
36+
bun.lock
37+
.bun/
38+
39+
# Lerna
1340
lerna-debug.log*
14-
.pnpm-debug.log*
41+
42+
# ==============================================================================
43+
# 3. Build Outputs & Bundlers (Rollup, Vite, Webpack, etc.)
44+
# ==============================================================================
45+
dist/
46+
build/
47+
out/
48+
.next/
49+
.nuxt/
50+
.docusaurus/
51+
.turbo/
52+
.cache/
53+
.parcel-cache/
54+
.rollup.cache/
55+
56+
# TypeScript
57+
*.tsbuildinfo
58+
59+
# ==============================================================================
60+
# 4. Logs, Runtime Data & System Files
61+
# ==============================================================================
62+
logs/
63+
*.log
64+
pid
65+
*.pid
66+
*.seed
67+
*.pid.lock
68+
69+
# System Files
70+
.DS_Store
71+
Thumbs.db
72+
73+
# ==============================================================================
74+
# 5. Security & Local Configurations (CRITICAL)
75+
# ==============================================================================
76+
.npmrc
77+
.yarnrc
78+
.env
79+
.env.local
80+
.env.development.local
81+
.env.test.local
82+
.env.production.local
83+
*.pem
84+
85+
# IDEs and Editors
86+
.idea/
87+
.vscode/*
88+
!.vscode/extensions.json
89+
!.vscode/settings.json
90+
*.suo
91+
*.ntvs*
92+
*.njsproj
93+
*.sln
94+
*.sw?

‎release.config.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ module.exports = {
1010
changelogFile: "CHANGELOG.md",
1111
},
1212
],
13-
"@semantic-release/npm",
1413
"@semantic-release/github",
1514
[
1615
"@semantic-release/git",

0 commit comments

Comments
 (0)