From 6a86e52498ec930d662c02f69c764cc5728c3bb4 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Wed, 10 Apr 2024 20:23:49 +0200 Subject: [PATCH 1/6] fix(logo): corrected duplicated files contents --- showcases/angular-showcase/src/assets/images/db_logo.svg | 4 ++-- showcases/patternhub/public/images/db_logo.svg | 5 ++++- showcases/react-showcase/public/assets/images/db_logo.svg | 4 ++-- showcases/vue-showcase/public/assets/images/db_logo.svg | 4 ++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/showcases/angular-showcase/src/assets/images/db_logo.svg b/showcases/angular-showcase/src/assets/images/db_logo.svg index bfea69802a5..02278bee1b7 100644 --- a/showcases/angular-showcase/src/assets/images/db_logo.svg +++ b/showcases/angular-showcase/src/assets/images/db_logo.svg @@ -1,4 +1,4 @@ diff --git a/showcases/patternhub/public/images/db_logo.svg b/showcases/patternhub/public/images/db_logo.svg index e188143af80..02278bee1b7 100644 --- a/showcases/patternhub/public/images/db_logo.svg +++ b/showcases/patternhub/public/images/db_logo.svg @@ -1 +1,4 @@ -db_em_rgb_100px \ No newline at end of file + diff --git a/showcases/react-showcase/public/assets/images/db_logo.svg b/showcases/react-showcase/public/assets/images/db_logo.svg index bfea69802a5..02278bee1b7 100644 --- a/showcases/react-showcase/public/assets/images/db_logo.svg +++ b/showcases/react-showcase/public/assets/images/db_logo.svg @@ -1,4 +1,4 @@ diff --git a/showcases/vue-showcase/public/assets/images/db_logo.svg b/showcases/vue-showcase/public/assets/images/db_logo.svg index bfea69802a5..02278bee1b7 100644 --- a/showcases/vue-showcase/public/assets/images/db_logo.svg +++ b/showcases/vue-showcase/public/assets/images/db_logo.svg @@ -1,4 +1,4 @@ From 131eb69315787786c3c9ff8ee0888ad9426642ea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 00:51:08 +0000 Subject: [PATCH 2/6] chore(deps-dev): bump typescript from 5.4.4 to 5.4.5 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.4 to 5.4.5. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.4...v5.4.5) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- output/angular/package.json | 2 +- output/vue/vue3/package.json | 2 +- package-lock.json | 20 ++++++++++---------- package.json | 2 +- showcases/angular-showcase/package.json | 2 +- showcases/patternhub/package.json | 2 +- showcases/react-showcase/package.json | 2 +- showcases/vue-showcase/package.json | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/output/angular/package.json b/output/angular/package.json index 24313c5be28..43bab843416 100644 --- a/output/angular/package.json +++ b/output/angular/package.json @@ -19,7 +19,7 @@ "@angular-devkit/build-angular": "17.3.3", "@angular/common": "17.3.3", "ng-packagr": "17.3.0", - "typescript": "^5.4.4" + "typescript": "^5.4.5" }, "publishConfig": { "registry": "https://registry.npmjs.org/", diff --git a/output/vue/vue3/package.json b/output/vue/vue3/package.json index 4219a8384d6..427029b62f1 100644 --- a/output/vue/vue3/package.json +++ b/output/vue/vue3/package.json @@ -44,7 +44,7 @@ "@playwright/experimental-ct-vue": "1.42.1", "@vitejs/plugin-vue": "^5.0.4", "sass": "^1.74.1", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8", "vue-tsc": "^2.0.11" }, diff --git a/package-lock.json b/package-lock.json index 38ad814f06e..90c7ac53017 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "stylelint-config-sass-guidelines": "9.0.1", "stylelint-use-logical": "^2.1.2", "tslib": "^2.6.2", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "validate-branch-name": "^1.3.0", "xo": "^0.58.0" } @@ -28847,9 +28847,9 @@ "dev": true }, "node_modules/typescript": { - "version": "5.4.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz", - "integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "devOptional": true, "bin": { "tsc": "bin/tsc", @@ -31213,7 +31213,7 @@ "@angular-devkit/build-angular": "17.3.3", "@angular/common": "17.3.3", "ng-packagr": "17.3.0", - "typescript": "^5.4.4" + "typescript": "^5.4.5" } }, "output/react": { @@ -31241,7 +31241,7 @@ "@playwright/experimental-ct-vue": "1.42.1", "@vitejs/plugin-vue": "^5.0.4", "sass": "^1.74.1", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8", "vue-tsc": "^2.0.11" } @@ -31318,7 +31318,7 @@ "@angular/cli": "17.3.3", "@angular/compiler-cli": "17.3.3", "ng-packagr": "17.3.0", - "typescript": "^5.4.4" + "typescript": "^5.4.5" } }, "showcases/patternhub": { @@ -31346,7 +31346,7 @@ "iframe-resizer": "^4.3.9", "open-cli": "^8.0.0", "sass": "^1.74.1", - "typescript": "5.4.4" + "typescript": "5.4.5" } }, "showcases/react-showcase": { @@ -31361,7 +31361,7 @@ "@types/react-dom": "^18.2.24", "@vitejs/plugin-react": "^4.2.1", "cross-env": "^7.0.3", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8" } }, @@ -31382,7 +31382,7 @@ "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", "cross-env": "^7.0.3", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8", "vue-tsc": "^2.0.11" } diff --git a/package.json b/package.json index e70e6e972c5..921df9c6f47 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "stylelint-config-sass-guidelines": "9.0.1", "stylelint-use-logical": "^2.1.2", "tslib": "^2.6.2", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "validate-branch-name": "^1.3.0", "xo": "^0.58.0" }, diff --git a/showcases/angular-showcase/package.json b/showcases/angular-showcase/package.json index 3e3f8516801..d2b68a30aa5 100644 --- a/showcases/angular-showcase/package.json +++ b/showcases/angular-showcase/package.json @@ -29,6 +29,6 @@ "@angular/cli": "17.3.3", "@angular/compiler-cli": "17.3.3", "ng-packagr": "17.3.0", - "typescript": "^5.4.4" + "typescript": "^5.4.5" } } diff --git a/showcases/patternhub/package.json b/showcases/patternhub/package.json index a51b4a3cab0..24407c31c70 100644 --- a/showcases/patternhub/package.json +++ b/showcases/patternhub/package.json @@ -44,6 +44,6 @@ "iframe-resizer": "^4.3.9", "open-cli": "^8.0.0", "sass": "^1.74.1", - "typescript": "5.4.4" + "typescript": "5.4.5" } } diff --git a/showcases/react-showcase/package.json b/showcases/react-showcase/package.json index 51392b2f50d..501d6c702e2 100644 --- a/showcases/react-showcase/package.json +++ b/showcases/react-showcase/package.json @@ -23,7 +23,7 @@ "@types/react-dom": "^18.2.24", "@vitejs/plugin-react": "^4.2.1", "cross-env": "^7.0.3", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8" } } diff --git a/showcases/vue-showcase/package.json b/showcases/vue-showcase/package.json index 5caf5064874..1a1dec97de3 100644 --- a/showcases/vue-showcase/package.json +++ b/showcases/vue-showcase/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", "cross-env": "^7.0.3", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8", "vue-tsc": "^2.0.11" } From abf6f07ba1bbdd6103dcc5ccb1f33f5f67180861 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 01:02:29 +0000 Subject: [PATCH 3/6] chore(deps-dev): bump vue-tsc from 2.0.11 to 2.0.12 Bumps [vue-tsc](https://github.com/vuejs/language-tools/tree/HEAD/packages/tsc) from 2.0.11 to 2.0.12. - [Release notes](https://github.com/vuejs/language-tools/releases) - [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md) - [Commits](https://github.com/vuejs/language-tools/commits/v2.0.12/packages/tsc) --- updated-dependencies: - dependency-name: vue-tsc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- output/vue/vue3/package.json | 2 +- package-lock.json | 44 ++++++++++++++--------------- showcases/vue-showcase/package.json | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/output/vue/vue3/package.json b/output/vue/vue3/package.json index 427029b62f1..4afc8c3ae13 100644 --- a/output/vue/vue3/package.json +++ b/output/vue/vue3/package.json @@ -46,7 +46,7 @@ "sass": "^1.74.1", "typescript": "^5.4.5", "vite": "^5.2.8", - "vue-tsc": "^2.0.11" + "vue-tsc": "^2.0.12" }, "publishConfig": { "registry": "https://registry.npmjs.org/", diff --git a/package-lock.json b/package-lock.json index 90c7ac53017..be3c4e263bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9341,30 +9341,30 @@ } }, "node_modules/@volar/language-core": { - "version": "2.2.0-alpha.6", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.2.0-alpha.6.tgz", - "integrity": "sha512-GmT28LX2w4x82uuQqNN/P94VOCsZRHBbGcGe+5bFtA2hbIbH6f8tFdMfgXFtyhbft/pj6f3xl37xe+t+nomLIA==", + "version": "2.2.0-alpha.7", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.2.0-alpha.7.tgz", + "integrity": "sha512-igpp+nTkyl8faVzRJMpSCeA4XlBJ5UVSyc/WGyksmUmP10YbfufbcQCFlxEXv2uMBV+a3L4JVCj+Vju+08FOSA==", "dev": true, "dependencies": { - "@volar/source-map": "2.2.0-alpha.6" + "@volar/source-map": "2.2.0-alpha.7" } }, "node_modules/@volar/source-map": { - "version": "2.2.0-alpha.6", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.2.0-alpha.6.tgz", - "integrity": "sha512-EztD2zoUopETY+ZCUZAGUHKgj4gOkY/2WnaOS+RSTc56xm85miSA4qOBS8Lt1Ruu5vV52WIZKHW/R9PbjkZWFA==", + "version": "2.2.0-alpha.7", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.2.0-alpha.7.tgz", + "integrity": "sha512-iIZM2EovdEnr6mMwlsnt4ciix4xz7HSGHyUSviRaY5cii5PMXGHeUU9UDeb+xzLCx8kdk3L5J4z+ts50AhkYcg==", "dev": true, "dependencies": { "muggle-string": "^0.4.0" } }, "node_modules/@volar/typescript": { - "version": "2.2.0-alpha.6", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.2.0-alpha.6.tgz", - "integrity": "sha512-wTr0jO3wVXQ9FjBbWE2iX8GgDoiHp1Nttsb+tKk5IeUUb6f1uOjyeIXuS4KfeMBpCufthRO2st2O2uatAs/UXQ==", + "version": "2.2.0-alpha.7", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.2.0-alpha.7.tgz", + "integrity": "sha512-qy04/hx4UbW1BdPlzaxlH60D4plubcyqdbYM6Y5vZiascZxFowtd6vE39Td9FYzDxwcKgzb/Crvf/ABhdHnuBA==", "dev": true, "dependencies": { - "@volar/language-core": "2.2.0-alpha.6", + "@volar/language-core": "2.2.0-alpha.7", "path-browserify": "^1.0.1" } }, @@ -9430,12 +9430,12 @@ "integrity": "sha512-LgPscpE3Vs0x96PzSSB4IGVSZXZBZHpfxs+ZA1d+VEPwHdOXowy/Y2CsvCAIFrf+ssVU1pD1jidj505EpUnfbA==" }, "node_modules/@vue/language-core": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.0.11.tgz", - "integrity": "sha512-5ivg8Vem/yckzXI3L3n0mdKBPRcHSlsGt6/dpbEx42PcH3MIHAjSAJBYvENXeWJxv2ClQc8BS2mH1Ho2U7jZig==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.0.12.tgz", + "integrity": "sha512-aIStDPt69SHOpiIckGTIIjEz/sXc6ZfCMS5uWYL1AcbcRMhzFCLZscGAVte1+ad+RRFepSpKBjGttyPcgKJ7ww==", "dev": true, "dependencies": { - "@volar/language-core": "~2.2.0-alpha.6", + "@volar/language-core": "2.2.0-alpha.7", "@vue/compiler-dom": "^3.4.0", "@vue/shared": "^3.4.0", "computeds": "^0.0.1", @@ -29596,13 +29596,13 @@ } }, "node_modules/vue-tsc": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.0.11.tgz", - "integrity": "sha512-dl5MEU4VGZdQFGBnKfPpAfV3SQmBDWs9o4YhUPvDmwk+zmb/RprzFJK2sagR6EWazogZhXENvykd3wBXWS9kng==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.0.12.tgz", + "integrity": "sha512-thlBBWlPYrNdba535oDdxz7PRUufZgRZRVP5Aql5wBVpGSWSeqou4EzFXeKVoZr59lp9hJROubDVzlhACmcEhg==", "dev": true, "dependencies": { - "@volar/typescript": "~2.2.0-alpha.6", - "@vue/language-core": "2.0.11", + "@volar/typescript": "2.2.0-alpha.7", + "@vue/language-core": "2.0.12", "semver": "^7.5.4" }, "bin": { @@ -31243,7 +31243,7 @@ "sass": "^1.74.1", "typescript": "^5.4.5", "vite": "^5.2.8", - "vue-tsc": "^2.0.11" + "vue-tsc": "^2.0.12" } }, "output/webcomponent": { @@ -31384,7 +31384,7 @@ "cross-env": "^7.0.3", "typescript": "^5.4.5", "vite": "^5.2.8", - "vue-tsc": "^2.0.11" + "vue-tsc": "^2.0.12" } } } diff --git a/showcases/vue-showcase/package.json b/showcases/vue-showcase/package.json index 1a1dec97de3..4b9721d12e4 100644 --- a/showcases/vue-showcase/package.json +++ b/showcases/vue-showcase/package.json @@ -20,6 +20,6 @@ "cross-env": "^7.0.3", "typescript": "^5.4.5", "vite": "^5.2.8", - "vue-tsc": "^2.0.11" + "vue-tsc": "^2.0.12" } } From f41827e5d3c75c772deb356d54968b26134f789c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 03:41:08 +0000 Subject: [PATCH 4/6] chore(deps): bump the angular group with 9 updates Bumps the angular group with 9 updates: | Package | From | To | | --- | --- | --- | | [@angular/common](https://github.com/angular/angular/tree/HEAD/packages/common) | `17.3.3` | `17.3.4` | | [@angular/animations](https://github.com/angular/angular/tree/HEAD/packages/animations) | `17.3.3` | `17.3.4` | | [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) | `17.3.3` | `17.3.4` | | [@angular/core](https://github.com/angular/angular/tree/HEAD/packages/core) | `17.3.3` | `17.3.4` | | [@angular/forms](https://github.com/angular/angular/tree/HEAD/packages/forms) | `17.3.3` | `17.3.4` | | [@angular/platform-browser](https://github.com/angular/angular/tree/HEAD/packages/platform-browser) | `17.3.3` | `17.3.4` | | [@angular/platform-browser-dynamic](https://github.com/angular/angular/tree/HEAD/packages/platform-browser-dynamic) | `17.3.3` | `17.3.4` | | [@angular/router](https://github.com/angular/angular/tree/HEAD/packages/router) | `17.3.3` | `17.3.4` | | [@angular/compiler-cli](https://github.com/angular/angular/tree/HEAD/packages/compiler-cli) | `17.3.3` | `17.3.4` | Updates `@angular/common` from 17.3.3 to 17.3.4 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/17.3.4/packages/common) Updates `@angular/animations` from 17.3.3 to 17.3.4 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/17.3.4/packages/animations) Updates `@angular/compiler` from 17.3.3 to 17.3.4 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/17.3.4/packages/compiler) Updates `@angular/core` from 17.3.3 to 17.3.4 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/17.3.4/packages/core) Updates `@angular/forms` from 17.3.3 to 17.3.4 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/17.3.4/packages/forms) Updates `@angular/platform-browser` from 17.3.3 to 17.3.4 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/17.3.4/packages/platform-browser) Updates `@angular/platform-browser-dynamic` from 17.3.3 to 17.3.4 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/17.3.4/packages/platform-browser-dynamic) Updates `@angular/router` from 17.3.3 to 17.3.4 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/17.3.4/packages/router) Updates `@angular/compiler-cli` from 17.3.3 to 17.3.4 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/17.3.4/packages/compiler-cli) --- updated-dependencies: - dependency-name: "@angular/common" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular/animations" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular/compiler" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular/core" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular/forms" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular/platform-browser" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular/platform-browser-dynamic" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular/router" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular/compiler-cli" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: angular ... Signed-off-by: dependabot[bot] --- output/angular/package.json | 2 +- package-lock.json | 108 ++++++++++++------------ showcases/angular-showcase/package.json | 18 ++-- 3 files changed, 64 insertions(+), 64 deletions(-) diff --git a/output/angular/package.json b/output/angular/package.json index 43bab843416..889219a08bd 100644 --- a/output/angular/package.json +++ b/output/angular/package.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@angular-devkit/build-angular": "17.3.3", - "@angular/common": "17.3.3", + "@angular/common": "17.3.4", "ng-packagr": "17.3.0", "typescript": "^5.4.5" }, diff --git a/package-lock.json b/package-lock.json index be3c4e263bc..a4cb94ef84b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1331,9 +1331,9 @@ } }, "node_modules/@angular/animations": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-17.3.3.tgz", - "integrity": "sha512-poLW3FHe5wkxmTIsQ3em2vq4obgQHyZJz6biF+4hCqQSNMbMBS0e5ZycAiJLkUD/WLc88lQZ20muRO7qjVuMLA==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-17.3.4.tgz", + "integrity": "sha512-2nBgXRdTSVPZMueV6ZJjajDRucwJBLxwiVhGafk/nI5MJF0Yss/Jfp2Kfzk5Xw2AqGhz0rd00IyNNUQIzO2mlw==", "dependencies": { "tslib": "^2.3.0" }, @@ -1341,7 +1341,7 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/core": "17.3.3" + "@angular/core": "17.3.4" } }, "node_modules/@angular/cli": { @@ -1414,9 +1414,9 @@ } }, "node_modules/@angular/common": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-17.3.3.tgz", - "integrity": "sha512-GwlKetNpfWKiG2j4S6bYTi6PA2iT4+eln7o8owo44xZWdQnWQjfxnH39vQuCyhi6OOQL1dozmae+fVXgQsV6jQ==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-17.3.4.tgz", + "integrity": "sha512-rEsmtwUMJaNvaimh9hwaHdDLXaOIrjEnYdhmJUvDaKPQaFfSbH3CGGVz9brUyzVJyiWJYkYM0ssxavczeiEe8g==", "dependencies": { "tslib": "^2.3.0" }, @@ -1424,14 +1424,14 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/core": "17.3.3", + "@angular/core": "17.3.4", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-17.3.3.tgz", - "integrity": "sha512-ZNMRfagMxMjk1KW5H3ssCg5QL0J6ZW1JAZ1mrTXixqS7gbdwl60bTGE+EfuEwbjvovEYaj4l9cga47eMaxZTbQ==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-17.3.4.tgz", + "integrity": "sha512-YrDClIzgj6nQwiYHrfV6AkT1C5LCDgJh+LICus/2EY1w80j1Qf48Zh4asictReePdVE2Tarq6dnpDh4RW6LenQ==", "dependencies": { "tslib": "^2.3.0" }, @@ -1439,7 +1439,7 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/core": "17.3.3" + "@angular/core": "17.3.4" }, "peerDependenciesMeta": { "@angular/core": { @@ -1448,9 +1448,9 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-17.3.3.tgz", - "integrity": "sha512-vM0lqwuXQZ912HbLnIuvUblvIz2WEUsU7a5Z2ieNey6famH4zxPH12vCbVwXgicB6GLHorhOfcWC5443wD2mJw==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-17.3.4.tgz", + "integrity": "sha512-TVWjpZSI/GIXTYsmVgEKYjBckcW8Aj62DcxLNehRFR+c7UB95OY3ZFjU8U4jL0XvWPgTkkVWQVq+P6N4KCBsyw==", "dev": true, "dependencies": { "@babel/core": "7.23.9", @@ -1471,14 +1471,14 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/compiler": "17.3.3", + "@angular/compiler": "17.3.4", "typescript": ">=5.2 <5.5" } }, "node_modules/@angular/core": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-17.3.3.tgz", - "integrity": "sha512-O/jr3aFJMCxF6Jmymjx4jIigRHJfqM/ALIi60y2LVznBVFkk9xyMTsAjgWQIEHX+2muEIzgfKuXzpL0y30y+wA==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-17.3.4.tgz", + "integrity": "sha512-fvhBkfa/DDBzp1UcNzSxHj+Z9DebSS/o9pZpZlbu/0uEiu9hScmScnhaty5E0EbutzHB0SVUCz7zZuDeAywvWg==", "dependencies": { "tslib": "^2.3.0" }, @@ -1491,9 +1491,9 @@ } }, "node_modules/@angular/forms": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-17.3.3.tgz", - "integrity": "sha512-wqn+eAggbOZY91hr7oDjv5qdflszVOC9SZMcWJUoZTGn+8eoV6v6728GDFuDDwYkKQ9G9eQbX4IZmYoVw3TVjQ==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-17.3.4.tgz", + "integrity": "sha512-XWA/FAs0r7VRdztMIfGU9EE0Chj+1U/sDnzJK3ZPO0n8F8oDAEWGJyiw8GIyWTLs+mz43thVIED3DhbRNsXbWw==", "dependencies": { "tslib": "^2.3.0" }, @@ -1501,16 +1501,16 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/common": "17.3.3", - "@angular/core": "17.3.3", - "@angular/platform-browser": "17.3.3", + "@angular/common": "17.3.4", + "@angular/core": "17.3.4", + "@angular/platform-browser": "17.3.4", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/platform-browser": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-17.3.3.tgz", - "integrity": "sha512-XFWjquD+Pr9VszRzrDlT6uaf57TsY9XhL9iHCNok6Op5DpVQpIAuw1vFt2t5ZoQ0gv+lY8mVWnxgqe3CgTdYxw==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-17.3.4.tgz", + "integrity": "sha512-W2nH9WSQJfdNG4HH9B1Cvj5CTmy9gF3321I+65Tnb8jFmpeljYDBC/VVUhTZUCRpg8udMWeMHEQHuSb8CbozmQ==", "dependencies": { "tslib": "^2.3.0" }, @@ -1518,9 +1518,9 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/animations": "17.3.3", - "@angular/common": "17.3.3", - "@angular/core": "17.3.3" + "@angular/animations": "17.3.4", + "@angular/common": "17.3.4", + "@angular/core": "17.3.4" }, "peerDependenciesMeta": { "@angular/animations": { @@ -1529,9 +1529,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-17.3.3.tgz", - "integrity": "sha512-jSgSNHRTXCIat20I+4tLm/e8qOvrIE3Zv7S/DtYZEiAth84uoznvo1kXnN+KREse2vP/WoNgSDKQ2JLzkwYXSQ==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-17.3.4.tgz", + "integrity": "sha512-S53jPyQtInVYkjdGEFt4dxM1NrHNkWCvXGRsCO7Uh+laDf1OpIDp9YHf49OZohYLajJradN6y4QfdZL6IUwXKA==", "dependencies": { "tslib": "^2.3.0" }, @@ -1539,16 +1539,16 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/common": "17.3.3", - "@angular/compiler": "17.3.3", - "@angular/core": "17.3.3", - "@angular/platform-browser": "17.3.3" + "@angular/common": "17.3.4", + "@angular/compiler": "17.3.4", + "@angular/core": "17.3.4", + "@angular/platform-browser": "17.3.4" } }, "node_modules/@angular/router": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-17.3.3.tgz", - "integrity": "sha512-kj42+TtwvET7MFqxB3pkKyob0VNmspASlv8Y29vSpzzaOHn8J1fDf6H+8opoIC+Gmvo5NqXUDwq7nxI5aQ0mUQ==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-17.3.4.tgz", + "integrity": "sha512-B1zjUYyhN66dp47zdF96NRwo0dEdM5In4Ob8HN64PAbnaK3y1EPp31aN6EGernPvKum1ibgwSZw+Uwnbkuv7Ww==", "dependencies": { "tslib": "^2.3.0" }, @@ -1556,9 +1556,9 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/common": "17.3.3", - "@angular/core": "17.3.3", - "@angular/platform-browser": "17.3.3", + "@angular/common": "17.3.4", + "@angular/core": "17.3.4", + "@angular/platform-browser": "17.3.4", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -31211,7 +31211,7 @@ "license": "Apache-2.0", "devDependencies": { "@angular-devkit/build-angular": "17.3.3", - "@angular/common": "17.3.3", + "@angular/common": "17.3.4", "ng-packagr": "17.3.0", "typescript": "^5.4.5" } @@ -31301,14 +31301,14 @@ "showcases/angular-showcase": { "version": "0.0.0", "dependencies": { - "@angular/animations": "17.3.3", - "@angular/common": "17.3.3", - "@angular/compiler": "17.3.3", - "@angular/core": "17.3.3", - "@angular/forms": "17.3.3", - "@angular/platform-browser": "17.3.3", - "@angular/platform-browser-dynamic": "17.3.3", - "@angular/router": "17.3.3", + "@angular/animations": "17.3.4", + "@angular/common": "17.3.4", + "@angular/compiler": "17.3.4", + "@angular/core": "17.3.4", + "@angular/forms": "17.3.4", + "@angular/platform-browser": "17.3.4", + "@angular/platform-browser-dynamic": "17.3.4", + "@angular/router": "17.3.4", "rxjs": "~7.8.1", "tslib": "^2.6.2", "zone.js": "~0.14.4" @@ -31316,7 +31316,7 @@ "devDependencies": { "@angular-devkit/build-angular": "17.3.3", "@angular/cli": "17.3.3", - "@angular/compiler-cli": "17.3.3", + "@angular/compiler-cli": "17.3.4", "ng-packagr": "17.3.0", "typescript": "^5.4.5" } diff --git a/showcases/angular-showcase/package.json b/showcases/angular-showcase/package.json index d2b68a30aa5..9cdb748d1fe 100644 --- a/showcases/angular-showcase/package.json +++ b/showcases/angular-showcase/package.json @@ -12,14 +12,14 @@ "watch": "ng build --watch --configuration development" }, "dependencies": { - "@angular/animations": "17.3.3", - "@angular/common": "17.3.3", - "@angular/compiler": "17.3.3", - "@angular/core": "17.3.3", - "@angular/forms": "17.3.3", - "@angular/platform-browser": "17.3.3", - "@angular/platform-browser-dynamic": "17.3.3", - "@angular/router": "17.3.3", + "@angular/animations": "17.3.4", + "@angular/common": "17.3.4", + "@angular/compiler": "17.3.4", + "@angular/core": "17.3.4", + "@angular/forms": "17.3.4", + "@angular/platform-browser": "17.3.4", + "@angular/platform-browser-dynamic": "17.3.4", + "@angular/router": "17.3.4", "rxjs": "~7.8.1", "tslib": "^2.6.2", "zone.js": "~0.14.4" @@ -27,7 +27,7 @@ "devDependencies": { "@angular-devkit/build-angular": "17.3.3", "@angular/cli": "17.3.3", - "@angular/compiler-cli": "17.3.3", + "@angular/compiler-cli": "17.3.4", "ng-packagr": "17.3.0", "typescript": "^5.4.5" } From 945cc18b0485c39bd9472ec51096acf8aaa18c63 Mon Sep 17 00:00:00 2001 From: Nicolas Merget <104347736+nmerget@users.noreply.github.com> Date: Thu, 11 Apr 2024 08:41:23 +0200 Subject: [PATCH 5/6] chore: prepare patternhub to use static assets provided by react showcase (#2342) --- .../patternhub/components/default-page.tsx | 4 ++- .../patternhub/components/src/tsconfig.json | 27 ------------------- showcases/patternhub/package.json | 2 +- .../public/{ => assets}/images/db_logo.svg | 0 showcases/patternhub/public/site.webmanifest | 2 +- showcases/patternhub/scripts/fix-base-path.js | 8 ++++++ 6 files changed, 13 insertions(+), 30 deletions(-) delete mode 100644 showcases/patternhub/components/src/tsconfig.json rename showcases/patternhub/public/{ => assets}/images/db_logo.svg (100%) create mode 100644 showcases/patternhub/scripts/fix-base-path.js diff --git a/showcases/patternhub/components/default-page.tsx b/showcases/patternhub/components/default-page.tsx index 341d474359b..72f1f886dcf 100644 --- a/showcases/patternhub/components/default-page.tsx +++ b/showcases/patternhub/components/default-page.tsx @@ -84,7 +84,9 @@ const DefaultPage = ({ children }: any) => { onToggle={setDrawerOpen} slotBrand={ {process.env.NEXT_PUBLIC_APP_NAME} diff --git a/showcases/patternhub/components/src/tsconfig.json b/showcases/patternhub/components/src/tsconfig.json deleted file mode 100644 index ad8e8da3da5..00000000000 --- a/showcases/patternhub/components/src/tsconfig.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "compilerOptions": { - "strict": false, - "allowUnreachableCode": false, - "allowSyntheticDefaultImports": true, - "declaration": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "esModuleInterop": true, - "lib": ["dom", "es2015"], - "module": "es2015", - "moduleResolution": "node", - "noImplicitAny": false, - "noImplicitReturns": false, - "noUnusedLocals": false, - "noUnusedParameters": false, - "outDir": "dist", - "removeComments": false, - "sourceMap": true, - "jsx": "react", - "target": "ES6" - }, - "include": ["**/*.ts", "**/*.tsx"], - "exclude": ["node_modules", "**/*.spec.tsx", "dist"], - "compileOnSave": false, - "buildOnSave": false -} diff --git a/showcases/patternhub/package.json b/showcases/patternhub/package.json index 24407c31c70..dd0d55cc13b 100644 --- a/showcases/patternhub/package.json +++ b/showcases/patternhub/package.json @@ -13,10 +13,10 @@ "compile:03_copy-docs": "cpr ../../docs ./public/docs -o", "compile:04_components": "node scripts/esbuild-generate.mjs", "compile:05_run": "node generated.js", + "compile:06_replace_base": "node scripts/fix-base-path.js", "dev": "cross-env NEXT_PUBLIC_BASE_PATH=/mono/sub npm-run-all compile -p open next:dev", "lint": "next lint", "next:dev": "next dev", - "next:start": "next start", "open": "open-cli http://localhost:3000/mono/sub", "prebuild:app": "cpr ../../node_modules/iframe-resizer/js/ public/iframe-resizer -o", "start": "cross-env NEXT_PUBLIC_BASE_PATH=/mono/sub npm-run-all compile next:dev" diff --git a/showcases/patternhub/public/images/db_logo.svg b/showcases/patternhub/public/assets/images/db_logo.svg similarity index 100% rename from showcases/patternhub/public/images/db_logo.svg rename to showcases/patternhub/public/assets/images/db_logo.svg diff --git a/showcases/patternhub/public/site.webmanifest b/showcases/patternhub/public/site.webmanifest index c5b4ef35c07..34a49346fc0 100644 --- a/showcases/patternhub/public/site.webmanifest +++ b/showcases/patternhub/public/site.webmanifest @@ -3,7 +3,7 @@ "name": "", "icons": [ { - "src": "/images/db_logo.svg", + "src": "/assets/images/db_logo.svg", "type": "image/svg", "sizes": "192x192" } diff --git a/showcases/patternhub/scripts/fix-base-path.js b/showcases/patternhub/scripts/fix-base-path.js new file mode 100644 index 00000000000..93f6900ac46 --- /dev/null +++ b/showcases/patternhub/scripts/fix-base-path.js @@ -0,0 +1,8 @@ +import Replace from 'replace-in-file'; + +const option = { + files: './pages/components/**/*.tsx', + from: 'import.meta.env.BASE_URL', + to: 'process.env.NEXT_PUBLIC_BASE_PATH' +}; +Replace.replaceInFileSync(option); From 6c433ce06ec1f69cff6805f454833b3d4a2a711e Mon Sep 17 00:00:00 2001 From: Nicolas Merget <104347736+nmerget@users.noreply.github.com> Date: Thu, 11 Apr 2024 08:50:39 +0200 Subject: [PATCH 6/6] docs: update properties.mdx for icons (#2483) --- packages/components/src/shared/model.ts | 4 ++-- .../patternhub/scripts/get-properties-file.js | 21 ++++++++++++------- showcases/patternhub/scripts/utils.js | 4 +++- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/packages/components/src/shared/model.ts b/packages/components/src/shared/model.ts index 8a727eb3940..00cc2782cec 100644 --- a/packages/components/src/shared/model.ts +++ b/packages/components/src/shared/model.ts @@ -58,14 +58,14 @@ export type DefaultVariantProps = { export type IconProps = { /** - * Define an icon by it's identifier (like e.g. _account_, compare to [Icons](https://db-ui.github.io/mono/review/main/foundations/icons) to get displayed in front of the elements content. + * Define an icon by its identifier (like e.g. _account_, compare to [Icons](https://db-ui.github.io/mono/review/main/foundations/icons/overview)) to get displayed in front of the elements content. */ icon?: IconTypes; }; export type IconAfterProps = { /** - * Define an icon by it's identifier (like e.g. _account_, compare to [Icons](https://db-ui.github.io/mono/review/main/foundations/icons) to get displayed in front of the elements content. + * Define an icon by its identifier (like e.g. _account_, compare to [Icons](https://db-ui.github.io/mono/review/main/foundations/icons/overview)) to get displayed in front of the elements content. */ iconAfter?: IconTypes; }; diff --git a/showcases/patternhub/scripts/get-properties-file.js b/showcases/patternhub/scripts/get-properties-file.js index b5676835132..07c582c1474 100644 --- a/showcases/patternhub/scripts/get-properties-file.js +++ b/showcases/patternhub/scripts/get-properties-file.js @@ -60,14 +60,19 @@ const getPropertiesFile = ({ displayName, description, props }) => { 'No description' } `; propertyTable += `| ${property.tsType.type ?? property.tsType.name} `; - propertyTable += `| ${ - options - ? `
${options.replaceAll(
-						'',
-						''
-					)}
` - : '' - } |\n`; + + if (['icon', 'iconAfter', 'messageIcon'].includes(propertyKey)) { + propertyTable += `| [IconTypes](https://db-ui.github.io/mono/review/main/foundations/icons/overview) |\n`; + } else { + propertyTable += `| ${ + options + ? `
${options.replaceAll(
+							'',
+							''
+						)}
` + : '' + } |\n`; + } } return ` diff --git a/showcases/patternhub/scripts/utils.js b/showcases/patternhub/scripts/utils.js index 654b059a100..73aded4e121 100644 --- a/showcases/patternhub/scripts/utils.js +++ b/showcases/patternhub/scripts/utils.js @@ -10,7 +10,9 @@ export const getUnionElements = (options, elements) => { options.push( element.name === 'literal' ? element.value - : getUnionElements(options, element.elements) + : element.elements + ? getUnionElements(options, element.elements) + : element.name ); } }