From ef49e6d2dd5d0429c411838da231fb157935f8de Mon Sep 17 00:00:00 2001 From: honzabubenik <138865634+honzabubenik@users.noreply.github.com> Date: Mon, 18 Mar 2024 05:37:28 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20release:=201.5.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .badges.json | 6 +- .github/badges/coverage.svg | 20 ++++ .github/badges/license.svg | 20 ++++ .github/badges/maintainer.svg | 20 ++++ .github/badges/npm.svg | 20 ++++ .github/badges/size.svg | 20 ++++ CHANGELOG.md | 24 ++++ package-lock.json | 203 +++++++++++++++++++++++++++++++++- package.json | 4 +- 9 files changed, 331 insertions(+), 6 deletions(-) create mode 100644 .github/badges/coverage.svg create mode 100644 .github/badges/license.svg create mode 100644 .github/badges/maintainer.svg create mode 100644 .github/badges/npm.svg create mode 100644 .github/badges/size.svg diff --git a/.badges.json b/.badges.json index 4a11575..64e66fb 100644 --- a/.badges.json +++ b/.badges.json @@ -10,13 +10,13 @@ { "fileName": "coverage.svg", "label": "coverage", - "status": 99.5, + "status": "99.68", "icon": "vitest" }, { "fileName": "size.svg", "label": "minzipped size", - "status": "3.53 kB", + "status": "3524", "icon": "speed", "color": "43b816" }, @@ -31,4 +31,4 @@ "status": "MIT" } ] -} +} \ No newline at end of file diff --git a/.github/badges/coverage.svg b/.github/badges/coverage.svg new file mode 100644 index 0000000..2205b7b --- /dev/null +++ b/.github/badges/coverage.svg @@ -0,0 +1,20 @@ + + coverage: 99.68% + + + + + + + + + + + + + \ No newline at end of file diff --git a/.github/badges/license.svg b/.github/badges/license.svg new file mode 100644 index 0000000..07a9bae --- /dev/null +++ b/.github/badges/license.svg @@ -0,0 +1,20 @@ + + license: MIT + + + + + + + + + + + + + \ No newline at end of file diff --git a/.github/badges/maintainer.svg b/.github/badges/maintainer.svg new file mode 100644 index 0000000..4b223af --- /dev/null +++ b/.github/badges/maintainer.svg @@ -0,0 +1,20 @@ + + maintainer: Localazy + + + + + + + + + + + + + \ No newline at end of file diff --git a/.github/badges/npm.svg b/.github/badges/npm.svg new file mode 100644 index 0000000..1693bac --- /dev/null +++ b/.github/badges/npm.svg @@ -0,0 +1,20 @@ + + npm: 1.5.0 + + + + + + + + + + + + + \ No newline at end of file diff --git a/.github/badges/size.svg b/.github/badges/size.svg new file mode 100644 index 0000000..afa72d5 --- /dev/null +++ b/.github/badges/size.svg @@ -0,0 +1,20 @@ + + minzipped size: 3.52 kB + + + + + + + + + + + + + \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 34a5849..316dffb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +# 1.5.0 (2024-03-18) + + + +### ✨ Features + +* Add package version to the CdnClient class ([1a90771](https://github.com/localazy/cdn-client/commit/1a90771)) + + +### 📚 Documentation + +* Update README.md and add badges ([1fd6ac2](https://github.com/localazy/cdn-client/commit/1fd6ac2)) + + +### 🧰 Other Commits + +* Add prettier ([91d4c12](https://github.com/localazy/cdn-client/commit/91d4c12)) +* Delete unused type ([7a9c488](https://github.com/localazy/cdn-client/commit/7a9c488)) +* Reformat with prettier ([8aa5725](https://github.com/localazy/cdn-client/commit/8aa5725)) +* Remove fetch polyfill ([5d60c36](https://github.com/localazy/cdn-client/commit/5d60c36)) +* Split CSS file into theme and custom styles, update hero claim ([ccd264a](https://github.com/localazy/cdn-client/commit/ccd264a)) +* Update deps ([80342a8](https://github.com/localazy/cdn-client/commit/80342a8)) +* Update terser plugin ([bd953d9](https://github.com/localazy/cdn-client/commit/bd953d9)) + ## 1.4.1 (2024-03-15) ### 🐛 Bug Fixes diff --git a/package-lock.json b/package-lock.json index 1287500..3fa4e7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@localazy/cdn-client", - "version": "1.4.1", + "version": "1.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@localazy/cdn-client", - "version": "1.4.1", + "version": "1.5.0", "license": "MIT", "devDependencies": { "@rollup/plugin-terser": "^0.4.4", @@ -16,6 +16,8 @@ "@typescript-eslint/parser": "^7.2.0", "@vitest/coverage-v8": "^1.4.0", "@vitest/ui": "^1.4.0", + "conventional-changelog-writer": "github:localazy/conventional-changelog-writer", + "conventional-recommended-bump": "^9.0.0", "eslint": "^8.57.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-base": "^15.0.0", @@ -2713,6 +2715,82 @@ "integrity": "sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==", "dev": true }, + "node_modules/conventional-changelog-preset-loader": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-4.1.0.tgz", + "integrity": "sha512-HozQjJicZTuRhCRTq4rZbefaiCzRM2pr6u2NL3XhrmQm4RMnDXfESU6JKu/pnKwx5xtdkYfNCsbhN5exhiKGJA==", + "dev": true, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-changelog-writer": { + "version": "7.0.0", + "resolved": "git+ssh://git@github.com/localazy/conventional-changelog-writer.git#2cf0a9d7d4b8f1376a474e53c5c3e4d9121282eb", + "dev": true, + "license": "MIT", + "dependencies": { + "conventional-commits-filter": "^4.0.0", + "handlebars": "^4.7.7", + "json-stringify-safe": "^5.0.1", + "meow": "^12.0.1", + "semver": "^7.5.2", + "split2": "^4.0.0" + }, + "bin": { + "conventional-changelog-writer": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-commits-filter": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-4.0.0.tgz", + "integrity": "sha512-rnpnibcSOdFcdclpFwWa+pPlZJhXE7l+XK04zxhbWrhgpR96h33QLz8hITTXbcYICxVr3HZFtbtUAQ+4LdBo9A==", + "dev": true, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-commits-parser": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz", + "integrity": "sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==", + "dev": true, + "dependencies": { + "is-text-path": "^2.0.0", + "JSONStream": "^1.3.5", + "meow": "^12.0.1", + "split2": "^4.0.0" + }, + "bin": { + "conventional-commits-parser": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-recommended-bump": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-9.0.0.tgz", + "integrity": "sha512-HR1yD0G5HgYAu6K0wJjLd7QGRK8MQDqqj6Tn1n/ja1dFwBCE6QmV+iSgQ5F7hkx7OUR/8bHpxJqYtXj2f/opPQ==", + "dev": true, + "dependencies": { + "conventional-changelog-preset-loader": "^4.1.0", + "conventional-commits-filter": "^4.0.0", + "conventional-commits-parser": "^5.0.0", + "git-raw-commits": "^4.0.0", + "git-semver-tags": "^7.0.0", + "meow": "^12.0.1" + }, + "bin": { + "conventional-recommended-bump": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", @@ -2751,6 +2829,18 @@ "dev": true, "peer": true }, + "node_modules/dargs": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-8.1.0.tgz", + "integrity": "sha512-wAV9QHOsNbwnWdNW2FYvE1P56wtgSbM+3SZcdGiWQILwVjACCXDCI3Ai8QlCjMDB8YK5zySiXZYBiwGmNY3lnw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/data-view-buffer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", @@ -5264,6 +5354,39 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/git-raw-commits": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-4.0.0.tgz", + "integrity": "sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ==", + "dev": true, + "dependencies": { + "dargs": "^8.0.0", + "meow": "^12.0.1", + "split2": "^4.0.0" + }, + "bin": { + "git-raw-commits": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/git-semver-tags": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-7.0.1.tgz", + "integrity": "sha512-NY0ZHjJzyyNXHTDZmj+GG7PyuAKtMsyWSwh07CR2hOZFa+/yoTsXci/nF2obzL8UDhakFNkD9gNdt/Ed+cxh2Q==", + "dev": true, + "dependencies": { + "meow": "^12.0.1", + "semver": "^7.5.2" + }, + "bin": { + "git-semver-tags": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -6006,6 +6129,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-text-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-2.0.0.tgz", + "integrity": "sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==", + "dev": true, + "dependencies": { + "text-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/is-typed-array": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", @@ -6215,6 +6350,12 @@ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "dev": true }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "dev": true + }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", @@ -6242,6 +6383,31 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "dev": true, + "engines": [ + "node >= 0.2.0" + ] + }, + "node_modules/JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, + "dependencies": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + }, + "bin": { + "JSONStream": "bin.js" + }, + "engines": { + "node": "*" + } + }, "node_modules/jsx-ast-utils": { "version": "3.3.5", "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", @@ -6454,6 +6620,18 @@ "node": ">= 12" } }, + "node_modules/meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "dev": true, + "engines": { + "node": ">=16.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -7844,6 +8022,15 @@ "source-map": "^0.6.0" } }, + "node_modules/split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "dev": true, + "engines": { + "node": ">= 10.x" + } + }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", @@ -8179,6 +8366,18 @@ "node": "*" } }, + "node_modules/text-extensions": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-2.4.0.tgz", + "integrity": "sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", diff --git a/package.json b/package.json index afebaa2..253419f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@localazy/cdn-client", - "version": "1.4.1", + "version": "1.5.0", "description": "Node.js module that allows you to easily interact with the Localazy CDN.", "author": "Localazy ", "license": "MIT", @@ -79,6 +79,8 @@ "@typescript-eslint/parser": "^7.2.0", "@vitest/coverage-v8": "^1.4.0", "@vitest/ui": "^1.4.0", + "conventional-changelog-writer": "github:localazy/conventional-changelog-writer", + "conventional-recommended-bump": "^9.0.0", "eslint": "^8.57.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-base": "^15.0.0",