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
38 lines
831 B
Text
38 lines
831 B
Text
# 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
|
|
|