From 3d00e90362af5b4f653c23093d655f473ae47aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Tue, 11 Feb 2020 17:57:15 +0100 Subject: [PATCH 01/12] chore: indent with 2 spaces --- cspell.json | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/cspell.json b/cspell.json index 402d2c6..069a533 100644 --- a/cspell.json +++ b/cspell.json @@ -1,22 +1,22 @@ { - "version": "0.1", - "language": "en", - "words": [ - "Andreas", - "codebeat", - "unstyled" - ], - "flagWords": [], - "dictionaries": [ - "css", - "typescript" - ], - "ignorePaths": [ - "**/*.svg", - "dist/**", - "node_modules/**", - "package.json", - "package-lock.json", - "tsconfig.json" - ] + "version": "0.1", + "language": "en", + "words": [ + "Andreas", + "codebeat", + "unstyled" + ], + "flagWords": [], + "dictionaries": [ + "css", + "typescript" + ], + "ignorePaths": [ + "**/*.svg", + "dist/**", + "node_modules/**", + "package.json", + "package-lock.json", + "tsconfig.json" + ] } From 484dc86beaab5b8a8f9bf6aff7fa92ee1beea120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Tue, 11 Feb 2020 17:57:46 +0100 Subject: [PATCH 02/12] docs: minor fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 264ed63..fdd0ba8 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ module.exports = { #### vue.config.js -If your Vue project does not yet contain *[vue.config.js](https://cli.vuejs.org/config/)*, please create one in the same +If your **Vue** project does not yet contain *[vue.config.js](https://cli.vuejs.org/config/)*, please create one in the same folder as *package.json*. Otherwise, please adapt accordingly: ``` js From 3756cf7eba731b2246fecc189e7e3808d3101e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Tue, 11 Feb 2020 18:10:34 +0100 Subject: [PATCH 03/12] chore: add json to the checked languages --- .vscode/settings.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 0153555..1e2a93e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,7 @@ { "cSpell.enabledLanguageIds": [ + "json", + "jsonc", "markdown", "plaintext", "shellscript", From 3431396f6ab71e8e7f4bccb05d9d8fbc2d230421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Tue, 11 Feb 2020 18:14:05 +0100 Subject: [PATCH 04/12] chore: update packages --- package-lock.json | 28 ++++++++++++++-------------- package.json | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7f6e4a0..b6e3990 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3336,18 +3336,18 @@ } }, "markdownlint": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.18.0.tgz", - "integrity": "sha512-nQAfK9Pbq0ZRoMC/abNGterEnV3kL8MZmi0WHhw8WJKoIbsm3cXGufGsxzCRvjW15cxe74KWcxRSKqwplS26Bw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.19.0.tgz", + "integrity": "sha512-+MsWOnYVUH4klcKM7iRx5cno9FQMDAb6FC6mWlZkeXPwIaK6Z5Vd9VkXkykPidRqmLHU2wI+MNyfUMnUCBw3pQ==", "dev": true, "requires": { "markdown-it": "10.0.0" } }, "markdownlint-cli": { - "version": "0.21.0", - "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.21.0.tgz", - "integrity": "sha512-gvnczz3W3Wgex851/cIQ/2y8GNhY+EVK8Ael8kRd8hoSQ0ps9xjhtwPwMyJPoiYbAoPxG6vSBFISiysaAbCEZg==", + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.22.0.tgz", + "integrity": "sha512-qRg6tK5dXWqkaFvEstz9YSQal1ECMgofrSZgdBOaPWG8cD50pk8Hs0ZpBCJ6SCHPKF71pCdtuSL2u82sIx2XWA==", "dev": true, "requires": { "commander": "~2.9.0", @@ -3359,8 +3359,8 @@ "jsonc-parser": "~2.2.0", "lodash.differencewith": "~4.5.0", "lodash.flatten": "~4.4.0", - "markdownlint": "~0.18.0", - "markdownlint-rule-helpers": "~0.6.0", + "markdownlint": "~0.19.0", + "markdownlint-rule-helpers": "~0.7.0", "minimatch": "~3.0.4", "rc": "~1.2.7" }, @@ -3377,9 +3377,9 @@ } }, "markdownlint-rule-helpers": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/markdownlint-rule-helpers/-/markdownlint-rule-helpers-0.6.0.tgz", - "integrity": "sha512-LiZVAbg9/cqkBHtLNNqHV3xuy4Y2L/KuGU6+ZXqCT9NnCdEkIoxeI5/96t+ExquBY0iHy2CVWxPH16nG1RKQVQ==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/markdownlint-rule-helpers/-/markdownlint-rule-helpers-0.7.0.tgz", + "integrity": "sha512-xZByWJNBaCMHo7nYPv/5aO8Jt68YcMvyouFXhuXmJzbqCsQy8rfCj0kYcv22kdK5PwAgMdbHg0hyTdURbUZtJw==", "dev": true }, "md5.js": { @@ -5070,9 +5070,9 @@ } }, "webpack": { - "version": "4.41.5", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.41.5.tgz", - "integrity": "sha512-wp0Co4vpyumnp3KlkmpM5LWuzvZYayDwM2n17EHFr4qxBBbRokC7DJawPJC7TfSFZ9HZ6GsdH40EBj4UV0nmpw==", + "version": "4.41.6", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.41.6.tgz", + "integrity": "sha512-yxXfV0Zv9WMGRD+QexkZzmGIh54bsvEs+9aRWxnN8erLWEOehAKUTeNBoUbA6HPEZPlRo7KDi2ZcNveoZgK9MA==", "dev": true, "requires": { "@webassemblyjs/ast": "1.8.5", diff --git a/package.json b/package.json index 82a0722..59d119e 100644 --- a/package.json +++ b/package.json @@ -33,12 +33,12 @@ "@types/html-webpack-plugin": "^3.2.2", "@types/webpack": "^4.4.35", "cspell": "^4.0.46", - "markdownlint-cli": "^0.21.0", + "markdownlint-cli": "^0.22.0", "terser-webpack-plugin": "^2.3.4", "ts-loader": "^6.2.1", "tslint": "^6.0.0", "typescript": "^3.7.5", - "webpack": "^4.41.5", + "webpack": "^4.41.6", "webpack-cli": "^3.3.10" }, "dependencies": {}, From 275321bd25964e84851bdb2c892d828088c61991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Tue, 11 Feb 2020 18:19:45 +0100 Subject: [PATCH 05/12] chore: use double quotes --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 3c1e7ad..a3928c1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,9 +1,9 @@ const path = require("path"); -const TerserPlugin = require('terser-webpack-plugin'); +const TerserPlugin = require("terser-webpack-plugin"); module.exports = { // cSpell: ignore devtool - devtool: 'source-map', + devtool: "source-map", entry: "./src/AsyncCssPlugin.ts", module: { rules: [ From 1d87c582b403c883d77cac016eb978b2013d3261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Tue, 11 Feb 2020 20:28:26 +0100 Subject: [PATCH 06/12] chore: target es2017 --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index a994dff..dfc5f07 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { // Compilation options "forceConsistentCasingInFileNames": true, + "lib": ["es2017"], "moduleResolution": "node", "noFallthroughCasesInSwitch": true, "noImplicitReturns": true, @@ -10,6 +11,6 @@ "declaration": true, "outDir": "./dist/", "sourceMap": true, - "target": "es2015" + "target": "es2017" } } \ No newline at end of file From 9f47f663433b52a9514363aa76365106e5090f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Tue, 11 Feb 2020 20:33:44 +0100 Subject: [PATCH 07/12] chore: remove superfluous option --- tsconfig.json | 1 - 1 file changed, 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index dfc5f07..a459976 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,6 @@ // Compilation options "forceConsistentCasingInFileNames": true, "lib": ["es2017"], - "moduleResolution": "node", "noFallthroughCasesInSwitch": true, "noImplicitReturns": true, "strict": true, From aa330ff38b1b6f01dce33b845a49c9b1bc11dcd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Tue, 11 Feb 2020 22:09:11 +0100 Subject: [PATCH 08/12] chore: remove superfluous options --- webpack.config.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index a3928c1..3cf434e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,9 +8,7 @@ module.exports = { module: { rules: [ { - test: /\.ts$/, use: "ts-loader", - exclude: /node_modules/, }, ], }, @@ -23,17 +21,11 @@ module.exports = { optimization: { minimizer: [ new TerserPlugin({ - cache: true, - parallel: true, - sourceMap: true, terserOptions: { keep_classnames: true // We're using the class name in log output } }), ], }, - resolve: { - extensions: [".ts"], - }, target: "node" }; From d82852675562339bc7a1e3348ae8637e67ba2503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Wed, 12 Feb 2020 20:17:53 +0100 Subject: [PATCH 09/12] chore: add final new line --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index a459976..76e6463 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,4 +12,4 @@ "sourceMap": true, "target": "es2017" } -} \ No newline at end of file +} From f5f5ebc490bda76aa9d2556a999e58b3fb768844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Fri, 14 Feb 2020 21:48:48 +0100 Subject: [PATCH 10/12] chore: put build steps in chronological order --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 59d119e..87321d5 100644 --- a/package.json +++ b/package.json @@ -23,10 +23,10 @@ "main": "dist/AsyncCssPlugin.js", "types": "dist/AsyncCssPlugin.d.ts", "scripts": { - "prebuild": "npm run lint", - "build": "webpack --mode production", "prelint": "cspell '**/*.*' && markdownlint *.md", "lint": "tslint --project tsconfig.json --config tslint.json --format verbose", + "prebuild": "npm run lint", + "build": "webpack --mode production", "ci": "npm run build" }, "devDependencies": { From d0bb49fc76da977bc92e49a5e5c268ac50669226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Fri, 14 Feb 2020 21:50:10 +0100 Subject: [PATCH 11/12] chore: remove options separation --- tsconfig.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 76e6463..a0a9742 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,13 @@ { "compilerOptions": { - // Compilation options + "declaration": true, "forceConsistentCasingInFileNames": true, - "lib": ["es2017"], + "lib": [], "noFallthroughCasesInSwitch": true, "noImplicitReturns": true, - "strict": true, - // Generation options - "declaration": true, "outDir": "./dist/", "sourceMap": true, + "strict": true, "target": "es2017" } } From c22e1f87649ab60f07ca5e631bfb6d8d051f8700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Huber=20D=C3=B6nni?= Date: Sat, 15 Feb 2020 07:47:29 +0100 Subject: [PATCH 12/12] chore: update dependencies --- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index b6e3990..6738a46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3276,9 +3276,9 @@ } }, "make-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz", - "integrity": "sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.2.tgz", + "integrity": "sha512-rYKABKutXa6vXTXhoV18cBE7PaewPXHe/Bdq4v+ZLMhxbWApkFFplT0LcbMW+6BbjnQXzZ/sAvSE/JdguApG5w==", "dev": true, "requires": { "semver": "^6.0.0" @@ -4653,9 +4653,9 @@ } }, "terser-webpack-plugin": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-2.3.4.tgz", - "integrity": "sha512-Nv96Nws2R2nrFOpbzF6IxRDpIkkIfmhvOws+IqMvYdFLO7o6wAILWFKONFgaYy8+T4LVz77DQW0f7wOeDEAjrg==", + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-2.3.5.tgz", + "integrity": "sha512-WlWksUoq+E4+JlJ+h+U+QUzXpcsMSSNXkDy9lBVkSqDn1w23Gg29L/ary9GeJVYCGiNJJX7LnVc4bwL1N3/g1w==", "dev": true, "requires": { "cacache": "^13.0.1", @@ -5179,9 +5179,9 @@ } }, "webpack-cli": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-3.3.10.tgz", - "integrity": "sha512-u1dgND9+MXaEt74sJR4PR7qkPxXUSQ0RXYq8x1L6Jg1MYVEmGPrH6Ah6C4arD4r0J1P5HKjRqpab36k0eIzPqg==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-3.3.11.tgz", + "integrity": "sha512-dXlfuml7xvAFwYUPsrtQAA9e4DOe58gnzSxhgrO/ZM/gyXTBowrsYeubyN4mqGhYdpXMFNyQ6emjJS9M7OBd4g==", "dev": true, "requires": { "chalk": "2.4.2", diff --git a/package.json b/package.json index 87321d5..72e0ede 100644 --- a/package.json +++ b/package.json @@ -34,12 +34,12 @@ "@types/webpack": "^4.4.35", "cspell": "^4.0.46", "markdownlint-cli": "^0.22.0", - "terser-webpack-plugin": "^2.3.4", + "terser-webpack-plugin": "^2.3.5", "ts-loader": "^6.2.1", "tslint": "^6.0.0", "typescript": "^3.7.5", "webpack": "^4.41.6", - "webpack-cli": "^3.3.10" + "webpack-cli": "^3.3.11" }, "dependencies": {}, "peerDependencies": { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy