From 8ff56fbfa4ecae762ee85905789df225533d0804 Mon Sep 17 00:00:00 2001 From: tom Date: Wed, 3 Jul 2024 19:49:21 +0200 Subject: [PATCH] remove node_modules from `.gitidnore` files of subprojects --- .gitignore | 3 +++ blockscout-ens/.gitignore | 1 - blockscout-ens/graph-node/.gitignore | 1 - .../templater/{{cookiecutter.short_name}}-subgraph/.gitignore | 1 - blockscout-ens/graph-node/subgraphs/bns-subgraph/.gitignore | 1 - blockscout-ens/graph-node/subgraphs/ens-subgraph/.gitignore | 1 - blockscout-ens/graph-node/subgraphs/genome-subgraph/.gitignore | 1 - .../graph-node/subgraphs/lightlink-subgraph/.gitignore | 1 - blockscout-ens/graph-node/subgraphs/mode-subgraph/.gitignore | 1 - blockscout-ens/graph-node/subgraphs/rns-subgraph/.gitignore | 1 - blockscout-ens/graph-node/subgraphs/zns-subgraph/.gitignore | 1 - blockscout-ens/types/.gitignore | 1 - libs/blockscout-client/.gitignore | 1 - multichain-search/frontend/.gitignore | 1 - smart-guessr/.gitignore | 1 - stats/types/.gitignore | 1 - visualizer/.gitignore | 1 - visualizer/types/.gitignore | 1 - 18 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 40695c56d..fa196a96c 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,9 @@ config.toml ## Cargo.lock for libs libs/Cargo.lock +## NPM dependencies +**/node_modules/** + ## Secrets **.decrypted~** **.dec** diff --git a/blockscout-ens/.gitignore b/blockscout-ens/.gitignore index 9b8944604..665da4550 100644 --- a/blockscout-ens/.gitignore +++ b/blockscout-ens/.gitignore @@ -1,3 +1,2 @@ -node_modules .env .env.* diff --git a/blockscout-ens/graph-node/.gitignore b/blockscout-ens/graph-node/.gitignore index f887138ac..fe57fdc86 100644 --- a/blockscout-ens/graph-node/.gitignore +++ b/blockscout-ens/graph-node/.gitignore @@ -1,4 +1,3 @@ data -node_modules *.ipynb .venv diff --git a/blockscout-ens/graph-node/subgraph-writer/templater/{{cookiecutter.short_name}}-subgraph/.gitignore b/blockscout-ens/graph-node/subgraph-writer/templater/{{cookiecutter.short_name}}-subgraph/.gitignore index 71c83702f..25d5792db 100644 --- a/blockscout-ens/graph-node/subgraph-writer/templater/{{cookiecutter.short_name}}-subgraph/.gitignore +++ b/blockscout-ens/graph-node/subgraph-writer/templater/{{cookiecutter.short_name}}-subgraph/.gitignore @@ -42,7 +42,6 @@ bower_components build/Release # Dependency directories -node_modules/ jspm_packages/ dist/ diff --git a/blockscout-ens/graph-node/subgraphs/bns-subgraph/.gitignore b/blockscout-ens/graph-node/subgraphs/bns-subgraph/.gitignore index 3dfb0f6c1..ad074e42e 100644 --- a/blockscout-ens/graph-node/subgraphs/bns-subgraph/.gitignore +++ b/blockscout-ens/graph-node/subgraphs/bns-subgraph/.gitignore @@ -41,7 +41,6 @@ bower_components build/Release # Dependency directories -node_modules/ jspm_packages/ dist/ diff --git a/blockscout-ens/graph-node/subgraphs/ens-subgraph/.gitignore b/blockscout-ens/graph-node/subgraphs/ens-subgraph/.gitignore index 1d5993e7d..dc5f424e8 100644 --- a/blockscout-ens/graph-node/subgraphs/ens-subgraph/.gitignore +++ b/blockscout-ens/graph-node/subgraphs/ens-subgraph/.gitignore @@ -41,7 +41,6 @@ bower_components build/Release # Dependency directories -node_modules/ jspm_packages/ dist/ diff --git a/blockscout-ens/graph-node/subgraphs/genome-subgraph/.gitignore b/blockscout-ens/graph-node/subgraphs/genome-subgraph/.gitignore index 50637d036..53d1b9f43 100644 --- a/blockscout-ens/graph-node/subgraphs/genome-subgraph/.gitignore +++ b/blockscout-ens/graph-node/subgraphs/genome-subgraph/.gitignore @@ -43,7 +43,6 @@ bower_components build/Release # Dependency directories -node_modules/ jspm_packages/ dist/ diff --git a/blockscout-ens/graph-node/subgraphs/lightlink-subgraph/.gitignore b/blockscout-ens/graph-node/subgraphs/lightlink-subgraph/.gitignore index 71c83702f..25d5792db 100644 --- a/blockscout-ens/graph-node/subgraphs/lightlink-subgraph/.gitignore +++ b/blockscout-ens/graph-node/subgraphs/lightlink-subgraph/.gitignore @@ -42,7 +42,6 @@ bower_components build/Release # Dependency directories -node_modules/ jspm_packages/ dist/ diff --git a/blockscout-ens/graph-node/subgraphs/mode-subgraph/.gitignore b/blockscout-ens/graph-node/subgraphs/mode-subgraph/.gitignore index 71c83702f..25d5792db 100644 --- a/blockscout-ens/graph-node/subgraphs/mode-subgraph/.gitignore +++ b/blockscout-ens/graph-node/subgraphs/mode-subgraph/.gitignore @@ -42,7 +42,6 @@ bower_components build/Release # Dependency directories -node_modules/ jspm_packages/ dist/ diff --git a/blockscout-ens/graph-node/subgraphs/rns-subgraph/.gitignore b/blockscout-ens/graph-node/subgraphs/rns-subgraph/.gitignore index 50637d036..53d1b9f43 100644 --- a/blockscout-ens/graph-node/subgraphs/rns-subgraph/.gitignore +++ b/blockscout-ens/graph-node/subgraphs/rns-subgraph/.gitignore @@ -43,7 +43,6 @@ bower_components build/Release # Dependency directories -node_modules/ jspm_packages/ dist/ diff --git a/blockscout-ens/graph-node/subgraphs/zns-subgraph/.gitignore b/blockscout-ens/graph-node/subgraphs/zns-subgraph/.gitignore index 50637d036..53d1b9f43 100644 --- a/blockscout-ens/graph-node/subgraphs/zns-subgraph/.gitignore +++ b/blockscout-ens/graph-node/subgraphs/zns-subgraph/.gitignore @@ -43,7 +43,6 @@ bower_components build/Release # Dependency directories -node_modules/ jspm_packages/ dist/ diff --git a/blockscout-ens/types/.gitignore b/blockscout-ens/types/.gitignore index b2d59d1f7..3e2212924 100644 --- a/blockscout-ens/types/.gitignore +++ b/blockscout-ens/types/.gitignore @@ -1,2 +1 @@ -/node_modules /dist \ No newline at end of file diff --git a/libs/blockscout-client/.gitignore b/libs/blockscout-client/.gitignore index b512c09d4..e69de29bb 100644 --- a/libs/blockscout-client/.gitignore +++ b/libs/blockscout-client/.gitignore @@ -1 +0,0 @@ -node_modules \ No newline at end of file diff --git a/multichain-search/frontend/.gitignore b/multichain-search/frontend/.gitignore index 165d64dcd..ccb5b492a 100644 --- a/multichain-search/frontend/.gitignore +++ b/multichain-search/frontend/.gitignore @@ -1,7 +1,6 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. .env # dependencies -*node_modules* /.pnp .pnp.js diff --git a/smart-guessr/.gitignore b/smart-guessr/.gitignore index 87e56100f..2ff397c7a 100644 --- a/smart-guessr/.gitignore +++ b/smart-guessr/.gitignore @@ -1,7 +1,6 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies -/node_modules /.pnp .pnp.js diff --git a/stats/types/.gitignore b/stats/types/.gitignore index b2d59d1f7..3e2212924 100644 --- a/stats/types/.gitignore +++ b/stats/types/.gitignore @@ -1,2 +1 @@ -/node_modules /dist \ No newline at end of file diff --git a/visualizer/.gitignore b/visualizer/.gitignore index 8f5056541..645b76e66 100644 --- a/visualizer/.gitignore +++ b/visualizer/.gitignore @@ -16,6 +16,5 @@ Session.vim ## Build /target -**/node_modules/** config.toml output diff --git a/visualizer/types/.gitignore b/visualizer/types/.gitignore index b2d59d1f7..3e2212924 100644 --- a/visualizer/types/.gitignore +++ b/visualizer/types/.gitignore @@ -1,2 +1 @@ -/node_modules /dist \ No newline at end of file