chore: gitignore node_modules, build/, wwwroot/lib, package-lock
Add ignore rules for the new front-end toolchain: - node_modules/ : npm install output - build/ : esbuild entry files (regenerated by build:js) - package-lock.json : not committed (use package.json as canonical) - src/Yavsc.Org/wwwroot/lib/ : vendor libs (replaced by bundles) with exception for jonthornton-Datepair/ (not on npm) - src/Yavsc.Org/wwwroot/js/*.min.js : generated by esbuild
This commit is contained in:
parent
07d219e487
commit
d9de4c48ac
1 changed files with 38 additions and 0 deletions
38
.gitignore
vendored
38
.gitignore
vendored
|
|
@ -0,0 +1,38 @@
|
||||||
|
# Exclure uniquement les dossiers de sortie de compilation
|
||||||
|
bin/
|
||||||
|
obj/
|
||||||
|
src/*/bin/
|
||||||
|
src/*/obj/
|
||||||
|
test/*/bin/
|
||||||
|
test/*/obj/
|
||||||
|
|
||||||
|
# Toolchain front (Node / esbuild)
|
||||||
|
node_modules/
|
||||||
|
build/
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
|
# Libs tierces servies par ASP.NET — restaurées via npm + esbuild.
|
||||||
|
# Exception : jonthornton-Datepair n'est pas sur npm, on garde le
|
||||||
|
# fichier bundlé comme asset statique.
|
||||||
|
src/Yavsc.Org/wwwroot/lib/
|
||||||
|
!src/Yavsc.Org/wwwroot/lib/jonthornton-Datepair/
|
||||||
|
!src/Yavsc.Org/wwwroot/lib/jonthornton-Datepair/jquery.datepair.min.js
|
||||||
|
# Versions .min des libs tierces dans wwwroot/js (elles ne sont plus
|
||||||
|
# versionnées ; la minification est faite par esbuild au build)
|
||||||
|
src/Yavsc.Org/wwwroot/js/*.min.js
|
||||||
|
|
||||||
|
# Exclure les caches lourds
|
||||||
|
**/.playwright/
|
||||||
|
.git/
|
||||||
|
.vs/
|
||||||
|
|
||||||
|
.env
|
||||||
|
.*.env
|
||||||
|
|
||||||
|
*.csproj.lscache
|
||||||
|
data/
|
||||||
|
appsettings.Development.json
|
||||||
|
|
||||||
|
contrib/generated/
|
||||||
|
*.tmp
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue