From 5f1429b872974caa32663eb13cbcf4c3f27fb68c Mon Sep 17 00:00:00 2001 From: John Cowen Date: Fri, 6 Nov 2020 14:50:39 +0000 Subject: [PATCH] ui: Move gitignore file to workspace root and add storybook ignores (#9120) --- ui/.gitignore | 38 ++++++++++++++++++-------------- ui/packages/consul-ui/.gitignore | 27 ----------------------- 2 files changed, 22 insertions(+), 43 deletions(-) delete mode 100644 ui/packages/consul-ui/.gitignore diff --git a/ui/.gitignore b/ui/.gitignore index 00fce8dc51..98f2e8b080 100644 --- a/ui/.gitignore +++ b/ui/.gitignore @@ -1,25 +1,31 @@ !bin # See https://help.github.com/ignore-files/ for more about ignoring files. - # compiled output -/dist/ -/tmp/ +dist +tmp # dependencies -/node_modules/ +node_modules # misc -/.env* -/.pnp* -/.sass-cache -/connect.lock -/coverage/ -/libpeerconnection.log -/npm-debug.log* -/testem.log -/yarn-error.log +.env* +.pnp* +.sass-cache +.DS_Store +connect.lock +coverage +coverage_* +coverage-* +libpeerconnection.log +npm-debug.log* +testem.log +yarn-error.log + +# storybook +storybook-static +**/.storybook/*.html # ember-try -/.node_modules.ember-try/ -/bower.json.ember-try -/package.json.ember-try +.node_modules.ember-try +bower.json.ember-try +package.json.ember-try diff --git a/ui/packages/consul-ui/.gitignore b/ui/packages/consul-ui/.gitignore deleted file mode 100644 index 23b8eed2ab..0000000000 --- a/ui/packages/consul-ui/.gitignore +++ /dev/null @@ -1,27 +0,0 @@ -!bin -/public/consul-api-double -# See https://help.github.com/ignore-files/ for more about ignoring files. - -# compiled output -/dist/ -/tmp/ - -# dependencies -/bower_components/ -/node_modules/ - -# misc -/.env* -/.pnp* -/.sass-cache -/connect.lock -/coverage/ -/libpeerconnection.log -/npm-debug.log* -/testem.log -/yarn-error.log - -# ember-try -/.node_modules.ember-try/ -/bower.json.ember-try -/package.json.ember-try