From 973580d60ba2ccd9d2b8ac9c2a88b8bc2160bf04 Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Tue, 18 Feb 2025 23:01:44 -0800 Subject: [PATCH] Ignore more files --- forge.config.js | 11 +++++++++++ package-lock.json | 7 ------- package.json | 1 - tools/parcel-build.js | 2 +- tsconfig.json | 5 ++--- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/forge.config.js b/forge.config.js index 5850ade..d527a50 100644 --- a/forge.config.js +++ b/forge.config.js @@ -37,12 +37,23 @@ module.exports = { /\/docs(\/?)/, /\/tools(\/?)/, /\/src\/.*\.ts/, + /\/test(\/?)/, + /\/@types(\/?)/, /package-lock\.json/, /README\.md/, /tsconfig\.json/, /Dockerfile/, /issue_template\.md/, /HELP\.md/, + /forge\.config\.js/, + /.github/, + /.circleci/, + /\.vscode/, + /\.gitignore/, + /\.gitattributes/, + /\.eslintignore/, + /\.eslintrc/, + /\.prettierrc/, ] }, makers: [ diff --git a/package-lock.json b/package-lock.json index 1abccce..1c1b8fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,6 @@ "electron-squirrel-startup": "^1.0.1", "react": "^17.0.1", "react-dom": "^17.0.1", - "tslib": "^2.4.0", "update-electron-app": "^2.0.1" }, "devDependencies": { @@ -17035,12 +17034,6 @@ "node": ">=0.8.0" } }, - "node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "license": "0BSD" - }, "node_modules/tty-browserify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", diff --git a/package.json b/package.json index b0ac510..23e193e 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "electron-squirrel-startup": "^1.0.1", "react": "^17.0.1", "react-dom": "^17.0.1", - "tslib": "^2.4.0", "update-electron-app": "^2.0.1" }, "devDependencies": { diff --git a/tools/parcel-build.js b/tools/parcel-build.js index 4190a80..f67a81c 100644 --- a/tools/parcel-build.js +++ b/tools/parcel-build.js @@ -52,7 +52,7 @@ async function compileParcel (options = {}) { logLevel: 3, // 3 = log everything, 2 = log warnings & errors, 1 = log errors hmr: false, // Enable or disable HMR while watching hmrPort: 0, // The port the HMR socket runs on, defaults to a random free port (0 in node.js resolves to a random free port) - sourceMaps: true, // Enable or disable sourcemaps, defaults to enabled (minified builds currently always create sourcemaps) + sourceMaps: false, // Enable or disable sourcemaps, defaults to enabled (minified builds currently always create sourcemaps) hmrHostname: '', // A hostname for hot module reload, default to '' detailedReport: false, // Prints a detailed report of the bundles, assets, filesizes and times, defaults to false, reports are only printed if watch is disabled, ...options diff --git a/tsconfig.json b/tsconfig.json index 4fe8fd4..599481b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,7 @@ "preserveConstEnums": true, "sourceMap": true, "lib": [ - "es2021", + "es2023", "dom" ], "noImplicitAny": true, @@ -17,12 +17,11 @@ "noUnusedLocals": true, "noImplicitThis": true, "noUnusedParameters": true, - "importHelpers": true, "noEmitHelpers": false, "module": "commonjs", "moduleResolution": "node", "pretty": true, - "target": "es2017", + "target": "es2023", "jsx": "react", "typeRoots": [ "./node_modules/@types"