diff --git a/packages/create-sitecore-jss/src/templates/angular/gitignore b/packages/create-sitecore-jss/src/templates/angular/gitignore index bf3be23e0d..626086403c 100644 --- a/packages/create-sitecore-jss/src/templates/angular/gitignore +++ b/packages/create-sitecore-jss/src/templates/angular/gitignore @@ -9,10 +9,15 @@ scjssconfig.json /dist-server /tmp /out-tsc +/.angular # dependencies /node_modules +# local env files +.env.local +.env.*.local + # IDEs and editors /.idea .project diff --git a/packages/create-sitecore-jss/src/templates/angular/src/environments/gitignore b/packages/create-sitecore-jss/src/templates/angular/src/environments/gitignore index b0a155ec1b..c96a04f008 100644 --- a/packages/create-sitecore-jss/src/templates/angular/src/environments/gitignore +++ b/packages/create-sitecore-jss/src/templates/angular/src/environments/gitignore @@ -1 +1,2 @@ -*.ts \ No newline at end of file +* +!.gitignore \ No newline at end of file diff --git a/packages/create-sitecore-jss/src/templates/node-headless-ssr-experience-edge/gitignore b/packages/create-sitecore-jss/src/templates/node-headless-ssr-experience-edge/gitignore new file mode 100644 index 0000000000..f058a8f5d5 --- /dev/null +++ b/packages/create-sitecore-jss/src/templates/node-headless-ssr-experience-edge/gitignore @@ -0,0 +1,19 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# dependencies +/node_modules + +# local env files +.env.local +.env.*.local + +# IDE - VSCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +# System Files +.DS_Store +Thumbs.db diff --git a/packages/create-sitecore-jss/src/templates/node-headless-ssr-proxy/gitignore b/packages/create-sitecore-jss/src/templates/node-headless-ssr-proxy/gitignore new file mode 100644 index 0000000000..f058a8f5d5 --- /dev/null +++ b/packages/create-sitecore-jss/src/templates/node-headless-ssr-proxy/gitignore @@ -0,0 +1,19 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# dependencies +/node_modules + +# local env files +.env.local +.env.*.local + +# IDE - VSCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +# System Files +.DS_Store +Thumbs.db diff --git a/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/gitignore b/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/gitignore new file mode 100644 index 0000000000..8194eed878 --- /dev/null +++ b/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/gitignore @@ -0,0 +1,33 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# compiled output +/dist + +# dependencies +/node_modules + +# local env files +.env.local +.env.*.local + +# IDE - VSCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +# misc +/connect.lock +/libpeerconnection.log +npm-debug.log +testem.log +/typings + +# System Files +.DS_Store +Thumbs.db + +# deploy platforms +.vercel +.netlify