From 7cd4e9eb9a4376b551414a154b26697cf21d9b93 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 24 Jan 2020 13:06:40 -0800 Subject: [PATCH] correct gitignore I'd copied it from the wrong project. Now it makes sense why git was still showing me so many unknown files :) --- .gitignore | 63 ++++++++++++++++++------------------------------------ 1 file changed, 21 insertions(+), 42 deletions(-) diff --git a/.gitignore b/.gitignore index 8c6c1ed..daf2291 100644 --- a/.gitignore +++ b/.gitignore @@ -1,43 +1,22 @@ -/node_modules -/.nyc_output/ -/coverage/ +# ignore most things, include some others +/* +/.* -/test/fixtures/selflink/node_modules/@scope/z/node_modules/glob -/test/fixtures/selflink/node_modules/foo/node_modules/selflink -/test/fixtures/other/node_modules/glob -/test/fixtures/linkedroot -/test/fixtures/deep/root -/test/fixtures/deeproot -/test/fixtures/badlink/node_modules/foo -/test/fixtures/badlink/node_modules/bar -/test/fixtures/workspace/node_modules/a -/test/fixtures/workspace/node_modules/b -/test/fixtures/workspace/node_modules/c -/test/fixtures/workspace/packages/a/node_modules/b -/test/fixtures/workspace/packages/a/node_modules/c -/test/fixtures/workspace/packages/b/node_modules/a -/test/fixtures/workspace/packages/b/node_modules/c -/test/fixtures/workspace/packages/c/node_modules/a -/test/fixtures/workspace/packages/c/node_modules/b -/test/fixtures/workspace2/node_modules/c/node_modules/d -/test/fixtures/workspace2/node_modules/c/node_modules/x -/test/fixtures/workspace3/node_modules/app -/test/fixtures/workspace3/node_modules/a -/test/fixtures/workspace3/node_modules/b -/test/fixtures/workspace3/node_modules/c -/test/fixtures/links-all-over/node_modules/link-outside-nest -/test/fixtures/links-all-over/node_modules/link-deep -/test/fixtures/links-all-over/node_modules/link-link -/test/fixtures/links-all-over/node_modules/nest/node_modules/link-in-nest -/test/fixtures/symlinked-node-modules/example/node_modules -/test/fixtures/symlinked-node-modules/linked-node-modules/bar -/test/fixtures/install-types/node_modules/symlink -/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/@scope/x/1.0.0/node_modules/a -/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/@scope/x/1.0.0/node_modules/b -/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/@scope/x/1.0.0/node_modules/c -/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/a/1.0.0/node_modules/b -/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/a/1.0.0/node_modules/c -/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/b/1.0.0/node_modules/c -/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/c/1.0.0/node_modules/@scope/x -/test/fixtures/pnpm/node_modules/@scope/x -/test/fixtures/pnpm/node_modules/a +!bin/ +!lib/ +!docs/ +!package.json +!package-lock.json +!README.md +!CONTRIBUTING.md +!LICENSE +!CHANGELOG.md +!example/ +!scripts/ +!tap-snapshots/ +!test/ +!.travis.yml +!.gitignore +!.gitattributes +!map.js +!index.js