From 262beec95eb223a8b472a183c88d6f46ddf0d36d Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Tue, 15 Jun 2021 15:55:39 +0200 Subject: [PATCH] fix: simplify hidden and ignored files --- .gitignore | 2 +- .vscode/settings.json | 91 +++++++----------------------------- packages/zwave-js/.gitignore | 19 -------- 3 files changed, 17 insertions(+), 95 deletions(-) diff --git a/.gitignore b/.gitignore index 5d09bdb6483f..25159e473daa 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,7 @@ node_modules/ /.nyc_output coverage/ -# npm packet files +# npm package files zwave-js-*.tgz # ZWave cache diff --git a/.vscode/settings.json b/.vscode/settings.json index 83d3f73afdb9..f2d0b4b6401d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,82 +12,23 @@ "typescriptreact" ], "files.exclude": { - "node_modules/": false, - "coverage/": false, + "node_modules/": true, + "coverage/": true, ".*": false, - "**/node_modules/": false, - "**/*.test.js": false, - ".nyc_output": false, - "**/coverage/": false, - "**/*.map": false, - "**/zwave-js-*.tgz": false, - "cache": false, - "build": false, - "*.d.ts": false, - "*.map": false, - "CommandClass.js": false, - "Controller.js": false, - "Driver.js": false, - "Error.js": false, - "Node.js": false, - "Values.js": false, - "index.js": false, - "packages/core/Capabilities.js": false, - "packages/core/Consts.js": false, - "packages/core/Error.js": false, - "packages/core/Log.js": false, - "packages/core/Security.js": false, - "packages/core/Test.js": false, - "packages/core/Util.js": false, - "packages/core/Values.js": false, - "packages/core/index.js": false, - "**/build": false, - "**/*.tsbuildinfo": false, - "Utils.js": false, - "packages/core/Capabilities.d.ts": false, - "packages/core/Consts.d.ts": false, - "packages/core/Error.d.ts": false, - "packages/core/Log.d.ts": false, - "packages/core/Security.d.ts": false, - "packages/core/Test.d.ts": false, - "packages/core/Util.d.ts": false, - "packages/core/Values.d.ts": false, - "packages/core/index.d.ts": false, - "packages/zwave-js/CommandClass.d.ts": false, - "packages/zwave-js/CommandClass.js": false, - "packages/zwave-js/Controller.d.ts": false, - "packages/zwave-js/Controller.js": false, - "packages/zwave-js/Driver.d.ts": false, - "packages/zwave-js/Driver.js": false, - "packages/zwave-js/Error.d.ts": false, - "packages/zwave-js/Error.js": false, - "packages/zwave-js/Node.d.ts": false, - "packages/zwave-js/Node.js": false, - "packages/zwave-js/Utils.d.ts": false, - "packages/zwave-js/Utils.js": false, - "packages/zwave-js/Values.d.ts": false, - "packages/zwave-js/Values.js": false, - "packages/zwave-js/index.d.ts": false, - "packages/zwave-js/index.js": false, - "node_modules/zwave-js/CommandClass.d.ts": false, - "node_modules/zwave-js/CommandClass.js": false, - "node_modules/zwave-js/Controller.d.ts": false, - "node_modules/zwave-js/Controller.js": false, - "node_modules/zwave-js/Driver.d.ts": false, - "node_modules/zwave-js/Driver.js": false, - "node_modules/zwave-js/Error.d.ts": false, - "node_modules/zwave-js/Error.js": false, - "node_modules/zwave-js/Node.d.ts": false, - "node_modules/zwave-js/Node.js": false, - "node_modules/zwave-js/Utils.d.ts": false, - "node_modules/zwave-js/Utils.js": false, - "node_modules/zwave-js/Values.d.ts": false, - "node_modules/zwave-js/Values.js": false, - "node_modules/zwave-js/index.d.ts": false, - "node_modules/zwave-js/index.js": false, - "**/cache": false, - "packages/zwave-js/**/fingerprint.txt": false, - "node_modules/zwave-js/**/fingerprint.txt": false + "**/node_modules/": true, + ".nyc_output": true, + "**/coverage/": true, + "**/*.map": true, + "**/zwave-js-*.tgz": true, + "cache": true, + "build": true, + "*.d.ts": true, + "*.map": true, + "**/build": true, + "**/*.tsbuildinfo": true, + "**/cache": true, + "packages/zwave-js/**/fingerprint.txt": true, + "node_modules/zwave-js/**/fingerprint.txt": true }, "files.associations": { "**/config/**/*.json": "jsonc" diff --git a/packages/zwave-js/.gitignore b/packages/zwave-js/.gitignore index 4b5d02b52923..f8bcfceb7efd 100644 --- a/packages/zwave-js/.gitignore +++ b/packages/zwave-js/.gitignore @@ -1,20 +1 @@ -# AUTO-GENERATED: secondary module exports -/CommandClass.d.ts -/CommandClass.js -/Controller.d.ts -/Controller.js -/Driver.d.ts -/Driver.js -/Error.d.ts -/Error.js -/Node.d.ts -/Node.js -/Utils.d.ts -/Utils.js -/Values.d.ts -/Values.js -/index.d.ts -/index.js - -# Put other files here fingerprint.txt