diff --git a/.github/scripts/publish-npm.sh b/.github/scripts/publish-npm.sh
index d9abdb13c89..118e0e4d56d 100644
--- a/.github/scripts/publish-npm.sh
+++ b/.github/scripts/publish-npm.sh
@@ -17,13 +17,13 @@ echo "goto build-outputs"
cd build-outputs || exit 1
# TODO: Add other build as well
-for PACKAGE in 'foundations' 'components' 'ngx-components' 'react-components' 'v-components' 'web-components'; do
+for PACKAGE in 'foundations' 'migration' 'components' 'ngx-components' 'react-components' 'v-components' 'web-components'; do
echo "Start $PACKAGE bundle:"
echo "๐ Update Version"
npm version --no-git-tag-version "$VALID_SEMVER_VERSION" --workspace=@db-ui/"$PACKAGE"
- if [[ $PACKAGE != 'foundations' ]]; then
+ if [[ $PACKAGE != 'foundations' && $PACKAGE != 'migration' ]]; then
echo "๐ต๏ธโ Set foundations dependency"
npm pkg set dependencies.@db-ui/foundations="$VALID_SEMVER_VERSION" --workspace=@db-ui/"$PACKAGE"
if [[ $PACKAGE != 'components' ]]; then
@@ -58,7 +58,7 @@ for REGISTRY in 'GITHUB' 'NPM'; do
fi
# TODO: Add other build as well
- for PACKAGE in 'foundations' 'components' 'ngx-components' 'react-components' 'v-components' 'web-components'; do
+ for PACKAGE in 'foundations' 'migration' 'components' 'ngx-components' 'react-components' 'v-components' 'web-components'; do
echo "โคด Publish $PACKAGE with tag $TAG to $REGISTRY"
# https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
npm publish --tag "$TAG" db-ui-"$PACKAGE"-"$VALID_SEMVER_VERSION".tgz --provenance
diff --git a/.github/workflows/01-build-outputs.yml b/.github/workflows/01-build-outputs.yml
index 21a90a90393..df6d128e7c1 100644
--- a/.github/workflows/01-build-outputs.yml
+++ b/.github/workflows/01-build-outputs.yml
@@ -27,6 +27,12 @@ jobs:
name: db-ui-components-build
path: packages/components/build
+ - name: โฌ Download migration build
+ uses: actions/download-artifact@v4
+ with:
+ name: db-ui-migration-build
+ path: packages/migration/build
+
- name: โฌ Download output
uses: actions/download-artifact@v4
with:
diff --git a/.github/workflows/01-build-packages.yml b/.github/workflows/01-build-packages.yml
index dcbee4cc087..5c8aeae7f58 100644
--- a/.github/workflows/01-build-packages.yml
+++ b/.github/workflows/01-build-packages.yml
@@ -36,6 +36,12 @@ jobs:
name: db-ui-components-build
path: packages/components/build
+ - name: โซ Upload migration build
+ uses: actions/upload-artifact@v4
+ with:
+ name: db-ui-migration-build
+ path: packages/migration/build
+
- name: ๐ Killing me softly
uses: ./.github/actions/cancel-workflow
if: failure()
diff --git a/.xo-config.cjs b/.xo-config.cjs
index 03a6afdcdb7..60542fdfc0d 100644
--- a/.xo-config.cjs
+++ b/.xo-config.cjs
@@ -1,9 +1,6 @@
module.exports = {
prettier: true,
- ignores: [
- './showcases/nuxt-showcase/**',
- './packages/foundations/scripts/**'
- ],
+ ignores: ['./showcases/nuxt-showcase/**', './packages/migration/**'],
overrides: [
{
files: ['./showcases/angular-showcase/**'],
diff --git a/docs/migration/v0.2.x-to-v0.3.x.md b/docs/migration/v0.2.x-to-v0.3.x.md
index a1ad5d287bc..8130c6fa3b6 100644
--- a/docs/migration/v0.2.x-to-v0.3.x.md
+++ b/docs/migration/v0.2.x-to-v0.3.x.md
@@ -22,7 +22,7 @@ We refactored our colors which might add some breaking changes to current projec
## Automate migration via CLI
-We provide a cli tool to auto migrate your source code. Use this command in your repository:
+We provide a CLI tool to auto migrate your source code. Use this command in your repository:
```shell
npx @db-ui/foundations@v0.3 migration --src=./src
diff --git a/docs/migration/v0.3.x-to-v0.4.x.md b/docs/migration/v0.3.x-to-v0.4.x.md
index bd835a811f4..4f14d2e2c06 100644
--- a/docs/migration/v0.3.x-to-v0.4.x.md
+++ b/docs/migration/v0.3.x-to-v0.4.x.md
@@ -27,7 +27,7 @@ We refactored our icons which might add some breaking changes to current project
## Automate migration via CLI
-We provide a cli tool to auto migrate your source code. Use this command in your repository:
+We provide a CLI tool to auto migrate your source code. Use this command in your repository:
```shell
npx @db-ui/foundations@v0.4 migration --type=icon --src=./src
diff --git a/docs/migration/v0.5.x-to-v0.6.x.md b/docs/migration/v0.5.x-to-v0.6.x.md
index da206f41d3b..0d3a88d4a7b 100644
--- a/docs/migration/v0.5.x-to-v0.6.x.md
+++ b/docs/migration/v0.5.x-to-v0.6.x.md
@@ -23,10 +23,10 @@ We changed some properties for components to align with Figma properties:
## Automate migration via CLI
-We provide a cli tool to auto migrate your source code. Use this command in your repository:
+We provide a CLI tool to auto migrate your source code (except for `content` to `text` attribute on `Accordion-Item`). Use this command in your repository:
```shell
-npx @db-ui/foundations@v0.6 migration --type=v005_v006 --src=./src
+npx @db-ui/migration --type=v005_v006 --src=./src
```
Please check the changes made in your codebase afterwards, as this is mainly a simple search & replace and there might be unexpected changes of similar wordings to our icon names for any other methods, or further code occurrences that don't even refer to icons.
diff --git a/output/stencil/package.json b/output/stencil/package.json
index c67228916e9..80b3410d5d4 100644
--- a/output/stencil/package.json
+++ b/output/stencil/package.json
@@ -31,7 +31,7 @@
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.10.4",
- "@stencil/core": "4.22.3",
+ "@stencil/core": "4.23.0",
"cem-plugin-expanded-types": "^1.3.2",
"custom-element-jet-brains-integration": "^1.6.2",
"custom-element-vs-code-integration": "^1.4.1",
diff --git a/package-lock.json b/package-lock.json
index eddc6b5db51..6f6532c3196 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4959,6 +4959,10 @@
"resolved": "packages/foundations",
"link": true
},
+ "node_modules/@db-ui/migration": {
+ "resolved": "packages/migration",
+ "link": true
+ },
"node_modules/@db-ui/mono-e2e": {
"resolved": "e2e",
"link": true
@@ -6992,15 +6996,15 @@
}
},
"node_modules/@next/env": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/env/-/env-15.0.4.tgz",
- "integrity": "sha512-WNRvtgnRVDD4oM8gbUcRc27IAhaL4eXQ/2ovGbgLnPGUvdyDr8UdXP4Q/IBDdAdojnD2eScryIDirv0YUCjUVw==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-15.1.0.tgz",
+ "integrity": "sha512-UcCO481cROsqJuszPPXJnb7GGuLq617ve4xuAyyNG4VSSocJNtMU5Fsx+Lp6mlN8c7W58aZLc5y6D/2xNmaK+w==",
"license": "MIT"
},
"node_modules/@next/eslint-plugin-next": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-15.0.4.tgz",
- "integrity": "sha512-rbsF17XGzHtR7SDWzWpavSfum3/UdnF8bAaisnKwP//si3KWPTedVUsflAdjyK1zW3rweBjbALfKcavFneLGvg==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-15.1.0.tgz",
+ "integrity": "sha512-+jPT0h+nelBT6HC9ZCHGc7DgGVy04cv4shYdAe6tKlEbjQUtwU3LzQhzbDHQyY2m6g39m6B0kOFVuLGBrxxbGg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7038,9 +7042,9 @@
}
},
"node_modules/@next/mdx": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/mdx/-/mdx-15.0.4.tgz",
- "integrity": "sha512-BeqbM0ShnGQGv0qNM1ac7t0TqerHzjYamhbfE62UDZ35U7dlsqaafeuGUw91kZJWdHBOja1kUgZn1I1xCZQNhQ==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/mdx/-/mdx-15.1.0.tgz",
+ "integrity": "sha512-1USYedy2yRmPdIvQC1b2MBVwiJYrcZnCSHHZZETEuV1rAxjjXedbHmo43kwAv6DL3f9AgDHnl1/s1cqI7xhXdA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7060,9 +7064,9 @@
}
},
"node_modules/@next/swc-darwin-arm64": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.0.4.tgz",
- "integrity": "sha512-QecQXPD0yRHxSXWL5Ff80nD+A56sUXZG9koUsjWJwA2Z0ZgVQfuy7gd0/otjxoOovPVHR2eVEvPMHbtZP+pf9w==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.1.0.tgz",
+ "integrity": "sha512-ZU8d7xxpX14uIaFC3nsr4L++5ZS/AkWDm1PzPO6gD9xWhFkOj2hzSbSIxoncsnlJXB1CbLOfGVN4Zk9tg83PUw==",
"cpu": [
"arm64"
],
@@ -7076,9 +7080,9 @@
}
},
"node_modules/@next/swc-darwin-x64": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.0.4.tgz",
- "integrity": "sha512-pb7Bye3y1Og3PlCtnz2oO4z+/b3pH2/HSYkLbL0hbVuTGil7fPen8/3pyyLjdiTLcFJ+ymeU3bck5hd4IPFFCA==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.1.0.tgz",
+ "integrity": "sha512-DQ3RiUoW2XC9FcSM4ffpfndq1EsLV0fj0/UY33i7eklW5akPUCo6OX2qkcLXZ3jyPdo4sf2flwAED3AAq3Om2Q==",
"cpu": [
"x64"
],
@@ -7092,9 +7096,9 @@
}
},
"node_modules/@next/swc-linux-arm64-gnu": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.0.4.tgz",
- "integrity": "sha512-12oSaBFjGpB227VHzoXF3gJoK2SlVGmFJMaBJSu5rbpaoT5OjP5OuCLuR9/jnyBF1BAWMs/boa6mLMoJPRriMA==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.1.0.tgz",
+ "integrity": "sha512-M+vhTovRS2F//LMx9KtxbkWk627l5Q7AqXWWWrfIzNIaUFiz2/NkOFkxCFyNyGACi5YbA8aekzCLtbDyfF/v5Q==",
"cpu": [
"arm64"
],
@@ -7108,9 +7112,9 @@
}
},
"node_modules/@next/swc-linux-arm64-musl": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.0.4.tgz",
- "integrity": "sha512-QARO88fR/a+wg+OFC3dGytJVVviiYFEyjc/Zzkjn/HevUuJ7qGUUAUYy5PGVWY1YgTzeRYz78akQrVQ8r+sMjw==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.1.0.tgz",
+ "integrity": "sha512-Qn6vOuwaTCx3pNwygpSGtdIu0TfS1KiaYLYXLH5zq1scoTXdwYfdZtwvJTpB1WrLgiQE2Ne2kt8MZok3HlFqmg==",
"cpu": [
"arm64"
],
@@ -7124,9 +7128,9 @@
}
},
"node_modules/@next/swc-linux-x64-gnu": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.0.4.tgz",
- "integrity": "sha512-Z50b0gvYiUU1vLzfAMiChV8Y+6u/T2mdfpXPHraqpypP7yIT2UV9YBBhcwYkxujmCvGEcRTVWOj3EP7XW/wUnw==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.1.0.tgz",
+ "integrity": "sha512-yeNh9ofMqzOZ5yTOk+2rwncBzucc6a1lyqtg8xZv0rH5znyjxHOWsoUtSq4cUTeeBIiXXX51QOOe+VoCjdXJRw==",
"cpu": [
"x64"
],
@@ -7140,9 +7144,9 @@
}
},
"node_modules/@next/swc-linux-x64-musl": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.0.4.tgz",
- "integrity": "sha512-7H9C4FAsrTAbA/ENzvFWsVytqRYhaJYKa2B3fyQcv96TkOGVMcvyS6s+sj4jZlacxxTcn7ygaMXUPkEk7b78zw==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.1.0.tgz",
+ "integrity": "sha512-t9IfNkHQs/uKgPoyEtU912MG6a1j7Had37cSUyLTKx9MnUpjj+ZDKw9OyqTI9OwIIv0wmkr1pkZy+3T5pxhJPg==",
"cpu": [
"x64"
],
@@ -7156,9 +7160,9 @@
}
},
"node_modules/@next/swc-win32-arm64-msvc": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.0.4.tgz",
- "integrity": "sha512-Z/v3WV5xRaeWlgJzN9r4PydWD8sXV35ywc28W63i37G2jnUgScA4OOgS8hQdiXLxE3gqfSuHTicUhr7931OXPQ==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.1.0.tgz",
+ "integrity": "sha512-WEAoHyG14t5sTavZa1c6BnOIEukll9iqFRTavqRVPfYmfegOAd5MaZfXgOGG6kGo1RduyGdTHD4+YZQSdsNZXg==",
"cpu": [
"arm64"
],
@@ -7172,9 +7176,9 @@
}
},
"node_modules/@next/swc-win32-x64-msvc": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.0.4.tgz",
- "integrity": "sha512-NGLchGruagh8lQpDr98bHLyWJXOBSmkEAfK980OiNBa7vNm6PsNoPvzTfstT78WyOeMRQphEQ455rggd7Eo+Dw==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.1.0.tgz",
+ "integrity": "sha512-J1YdKuJv9xcixzXR24Dv+4SaDKc2jj31IVUEMdO5xJivMTXuE6MAdIi4qPjSymHuFG8O5wbfWKnhJUcHHpj5CA==",
"cpu": [
"x64"
],
@@ -11367,9 +11371,9 @@
}
},
"node_modules/@stencil/core": {
- "version": "4.22.3",
- "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.22.3.tgz",
- "integrity": "sha512-dYaletX938WgEA2oMROLdh8wpUn1MgBx2zg5kYqwuUR8aua4Gy9EqGQ3zBu1AvL5MzLlZC+lMlxe/g5Dg1ldpw==",
+ "version": "4.23.0",
+ "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.23.0.tgz",
+ "integrity": "sha512-9vI8ywhoqlaDEmrcntejrZ9X76Tddv2JyWakjVpqJAdDNXgf520sYkyjzGT0p8VJfPtSaKm6pMtl5sAH1r9cFg==",
"bin": {
"stencil": "bin/stencil"
},
@@ -11439,11 +11443,12 @@
"integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ=="
},
"node_modules/@swc/helpers": {
- "version": "0.5.13",
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.13.tgz",
- "integrity": "sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w==",
+ "version": "0.5.15",
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz",
+ "integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==",
+ "license": "Apache-2.0",
"dependencies": {
- "tslib": "^2.4.0"
+ "tslib": "^2.8.0"
}
},
"node_modules/@testim/chrome-version": {
@@ -11824,9 +11829,9 @@
"integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g=="
},
"node_modules/@types/node": {
- "version": "22.10.1",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.1.tgz",
- "integrity": "sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==",
+ "version": "22.10.2",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz",
+ "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.20.0"
@@ -13858,6 +13863,7 @@
"resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz",
"integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"call-bind": "^1.0.7",
"define-properties": "^1.2.1",
@@ -13934,6 +13940,7 @@
"resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz",
"integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"call-bind": "^1.0.7",
"define-properties": "^1.2.1",
@@ -15021,15 +15028,15 @@
}
},
"node_modules/call-bind": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
- "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz",
+ "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==",
+ "license": "MIT",
"dependencies": {
+ "call-bind-apply-helpers": "^1.0.0",
"es-define-property": "^1.0.0",
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2",
"get-intrinsic": "^1.2.4",
- "set-function-length": "^1.2.1"
+ "set-function-length": "^1.2.2"
},
"engines": {
"node": ">= 0.4"
@@ -15038,6 +15045,19 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/call-bind-apply-helpers": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz",
+ "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
"node_modules/callsites": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
@@ -15169,7 +15189,6 @@
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
"integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
- "dev": true,
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
@@ -15825,7 +15844,6 @@
"version": "12.1.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
"integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",
- "dev": true,
"engines": {
"node": ">=18"
}
@@ -17561,6 +17579,21 @@
"url": "https://dotenvx.com"
}
},
+ "node_modules/dunder-proto": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.0.tgz",
+ "integrity": "sha512-9+Sj30DIu+4KvHqMfLUGLFYL2PkURSYMVXJyXe92nFRvlYq5hBjLEhblKB+vkd/WVlUYMWigiY07T91Fkk0+4A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
"node_modules/duplexer": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",
@@ -17797,10 +17830,11 @@
"integrity": "sha512-fZmsRiDNv07K6s2KkKFTiD2aIvECa7++PKyD5NC32tpRw46qZA3sOz+aM+/V9V0GDHxVTKLziveV4JhzBHDp9Q=="
},
"node_modules/es-abstract": {
- "version": "1.23.3",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz",
- "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==",
+ "version": "1.23.5",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.5.tgz",
+ "integrity": "sha512-vlmniQ0WNPwXqA0BnmwV3Ng7HxiGlh6r5U6JcTMNx8OilcAGqVJBHJcPjqOMaczU9fRuRK5Px2BdVyPRnKMMVQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"array-buffer-byte-length": "^1.0.1",
"arraybuffer.prototype.slice": "^1.0.3",
@@ -17817,7 +17851,7 @@
"function.prototype.name": "^1.1.6",
"get-intrinsic": "^1.2.4",
"get-symbol-description": "^1.0.2",
- "globalthis": "^1.0.3",
+ "globalthis": "^1.0.4",
"gopd": "^1.0.1",
"has-property-descriptors": "^1.0.2",
"has-proto": "^1.0.3",
@@ -17833,10 +17867,10 @@
"is-string": "^1.0.7",
"is-typed-array": "^1.1.13",
"is-weakref": "^1.0.2",
- "object-inspect": "^1.13.1",
+ "object-inspect": "^1.13.3",
"object-keys": "^1.1.1",
"object.assign": "^4.1.5",
- "regexp.prototype.flags": "^1.5.2",
+ "regexp.prototype.flags": "^1.5.3",
"safe-array-concat": "^1.1.2",
"safe-regex-test": "^1.0.3",
"string.prototype.trim": "^1.2.9",
@@ -17876,10 +17910,11 @@
}
},
"node_modules/es-iterator-helpers": {
- "version": "1.0.19",
- "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz",
- "integrity": "sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.2.0.tgz",
+ "integrity": "sha512-tpxqxncxnpw3c93u8n3VOzACmRFoVmWJqbWXvX/JfKbkhBw1oslgPrUfeSt2psuqyEJFD6N/9lg5i7bsKpoq+Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"call-bind": "^1.0.7",
"define-properties": "^1.2.1",
@@ -17888,12 +17923,13 @@
"es-set-tostringtag": "^2.0.3",
"function-bind": "^1.1.2",
"get-intrinsic": "^1.2.4",
- "globalthis": "^1.0.3",
+ "globalthis": "^1.0.4",
+ "gopd": "^1.0.1",
"has-property-descriptors": "^1.0.2",
"has-proto": "^1.0.3",
"has-symbols": "^1.0.3",
"internal-slot": "^1.0.7",
- "iterator.prototype": "^1.1.2",
+ "iterator.prototype": "^1.1.3",
"safe-array-concat": "^1.1.2"
},
"engines": {
@@ -18141,13 +18177,13 @@
}
},
"node_modules/eslint-config-next": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-15.0.4.tgz",
- "integrity": "sha512-97mLaAhbJKVQYXUBBrenRtEUAA6bNDPxWfaFEd6mEhKfpajP4wJrW4l7BUlHuYWxR8oQa9W014qBJpumpJQwWA==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-15.1.0.tgz",
+ "integrity": "sha512-gADO+nKVseGso3DtOrYX9H7TxB/MuX7AUYhMlvQMqLYvUWu4HrOQuU7cC1HW74tHIqkAvXdwgAz3TCbczzSEXw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@next/eslint-plugin-next": "15.0.4",
+ "@next/eslint-plugin-next": "15.1.0",
"@rushstack/eslint-patch": "^1.10.3",
"@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
@@ -18155,7 +18191,7 @@
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
- "eslint-plugin-react": "^7.35.0",
+ "eslint-plugin-react": "^7.37.0",
"eslint-plugin-react-hooks": "^5.0.0"
},
"peerDependencies": {
@@ -18832,17 +18868,18 @@
}
},
"node_modules/eslint-plugin-react": {
- "version": "7.35.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.0.tgz",
- "integrity": "sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==",
+ "version": "7.37.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.2.tgz",
+ "integrity": "sha512-EsTAnj9fLVr/GZleBLFbj/sSuXeWmp1eXIN60ceYnZveqEaUCyW4X+Vh4WTdUhCkW4xutXYqTXCUSyqD4rB75w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"array-includes": "^3.1.8",
"array.prototype.findlast": "^1.2.5",
"array.prototype.flatmap": "^1.3.2",
"array.prototype.tosorted": "^1.1.4",
"doctrine": "^2.1.0",
- "es-iterator-helpers": "^1.0.19",
+ "es-iterator-helpers": "^1.1.0",
"estraverse": "^5.3.0",
"hasown": "^2.0.2",
"jsx-ast-utils": "^2.4.1 || ^3.0.0",
@@ -18880,6 +18917,7 @@
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
"integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"esutils": "^2.0.2"
},
@@ -18892,6 +18930,7 @@
"resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz",
"integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
@@ -18909,6 +18948,7 @@
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"dev": true,
+ "license": "ISC",
"bin": {
"semver": "bin/semver.js"
}
@@ -20716,7 +20756,6 @@
"version": "11.0.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-11.0.0.tgz",
"integrity": "sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==",
- "dev": true,
"dependencies": {
"foreground-child": "^3.1.0",
"jackspeak": "^4.0.1",
@@ -20757,7 +20796,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0"
}
@@ -20766,7 +20804,6 @@
"version": "10.0.1",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz",
"integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==",
- "dev": true,
"dependencies": {
"brace-expansion": "^2.0.1"
},
@@ -22539,6 +22576,7 @@
"resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz",
"integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"has-tostringtag": "^1.0.0"
},
@@ -22714,12 +22752,16 @@
}
},
"node_modules/is-finalizationregistry": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz",
- "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.0.tgz",
+ "integrity": "sha512-qfMdqbAQEwBw78ZyReKnlA8ezmPdb9BemzIIip/JkjaZUhitfXDkkr+3QTboW0JrSXT1QWyYShpvnNHGZ4c4yA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.2"
+ "call-bind": "^1.0.7"
+ },
+ "engines": {
+ "node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -22742,6 +22784,7 @@
"resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz",
"integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"has-tostringtag": "^1.0.0"
},
@@ -22937,6 +22980,7 @@
"resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz",
"integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">= 0.4"
},
@@ -23110,6 +23154,7 @@
"resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz",
"integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">= 0.4"
},
@@ -23252,6 +23297,7 @@
"resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz",
"integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">= 0.4"
},
@@ -23276,6 +23322,7 @@
"resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz",
"integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"call-bind": "^1.0.7",
"get-intrinsic": "^1.2.4"
@@ -23399,23 +23446,26 @@
}
},
"node_modules/iterator.prototype": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz",
- "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==",
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.3.tgz",
+ "integrity": "sha512-FW5iMbeQ6rBGm/oKgzq2aW4KvAGpxPzYES8N4g4xNXUKpL1mclMvOe+76AcLDTvD+Ze+sOpVhgdAQEKF4L9iGQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"define-properties": "^1.2.1",
"get-intrinsic": "^1.2.1",
"has-symbols": "^1.0.3",
"reflect.getprototypeof": "^1.0.4",
"set-function-name": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
}
},
"node_modules/jackspeak": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.1.tgz",
"integrity": "sha512-cub8rahkh0Q/bw1+GxP7aeSe29hHHn2V4m29nnDlvCdlgU+3UGxkZp7Z53jLUdpX3jdTO0nJZUDl3xvbWc2Xog==",
- "dev": true,
"dependencies": {
"@isaacs/cliui": "^8.0.2"
},
@@ -24974,7 +25024,6 @@
"version": "11.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.0.tgz",
"integrity": "sha512-Qv32eSV1RSCfhY3fpPE2GNZ8jgM9X7rdAfemLWqTUxwiyIC4jJ6Sy0fZ8H+oLWevO6i4/bizg7c8d8i6bxrzbA==",
- "dev": true,
"engines": {
"node": "20 || >=22"
}
@@ -26829,14 +26878,14 @@
}
},
"node_modules/next": {
- "version": "15.0.4",
- "resolved": "https://registry.npmjs.org/next/-/next-15.0.4.tgz",
- "integrity": "sha512-nuy8FH6M1FG0lktGotamQDCXhh5hZ19Vo0ht1AOIQWrYJLP598TIUagKtvJrfJ5AGwB/WmDqkKaKhMpVifvGPA==",
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/next/-/next-15.1.0.tgz",
+ "integrity": "sha512-QKhzt6Y8rgLNlj30izdMbxAwjHMFANnLwDwZ+WQh5sMhyt4lEBqDK9QpvWHtIM4rINKPoJ8aiRZKg5ULSybVHw==",
"license": "MIT",
"dependencies": {
- "@next/env": "15.0.4",
+ "@next/env": "15.1.0",
"@swc/counter": "0.1.3",
- "@swc/helpers": "0.5.13",
+ "@swc/helpers": "0.5.15",
"busboy": "1.6.0",
"caniuse-lite": "^1.0.30001579",
"postcss": "8.4.31",
@@ -26849,22 +26898,22 @@
"node": "^18.18.0 || ^19.8.0 || >= 20.0.0"
},
"optionalDependencies": {
- "@next/swc-darwin-arm64": "15.0.4",
- "@next/swc-darwin-x64": "15.0.4",
- "@next/swc-linux-arm64-gnu": "15.0.4",
- "@next/swc-linux-arm64-musl": "15.0.4",
- "@next/swc-linux-x64-gnu": "15.0.4",
- "@next/swc-linux-x64-musl": "15.0.4",
- "@next/swc-win32-arm64-msvc": "15.0.4",
- "@next/swc-win32-x64-msvc": "15.0.4",
+ "@next/swc-darwin-arm64": "15.1.0",
+ "@next/swc-darwin-x64": "15.1.0",
+ "@next/swc-linux-arm64-gnu": "15.1.0",
+ "@next/swc-linux-arm64-musl": "15.1.0",
+ "@next/swc-linux-x64-gnu": "15.1.0",
+ "@next/swc-linux-x64-musl": "15.1.0",
+ "@next/swc-win32-arm64-msvc": "15.1.0",
+ "@next/swc-win32-x64-msvc": "15.1.0",
"sharp": "^0.33.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.1.0",
"@playwright/test": "^1.41.2",
"babel-plugin-react-compiler": "*",
- "react": "^18.2.0 || 19.0.0-rc-66855b96-20241106 || ^19.0.0",
- "react-dom": "^18.2.0 || 19.0.0-rc-66855b96-20241106 || ^19.0.0",
+ "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",
+ "react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",
"sass": "^1.3.0"
},
"peerDependenciesMeta": {
@@ -29468,9 +29517,10 @@
}
},
"node_modules/object-inspect": {
- "version": "1.13.2",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz",
- "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz",
+ "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==",
+ "license": "MIT",
"engines": {
"node": ">= 0.4"
},
@@ -29510,6 +29560,7 @@
"resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.8.tgz",
"integrity": "sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"call-bind": "^1.0.7",
"define-properties": "^1.2.1",
@@ -30449,7 +30500,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz",
"integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==",
- "dev": true,
"dependencies": {
"lru-cache": "^11.0.0",
"minipass": "^7.1.2"
@@ -32617,18 +32667,20 @@
"dev": true
},
"node_modules/reflect.getprototypeof": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz",
- "integrity": "sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.8.tgz",
+ "integrity": "sha512-B5dj6usc5dkk8uFliwjwDHM8To5/QwdKz9JcBZ8Ic4G1f0YmeeJTtE/ZTdgRFPAfxZFiUaPhZ1Jcs4qeagItGQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.7",
+ "call-bind": "^1.0.8",
"define-properties": "^1.2.1",
- "es-abstract": "^1.23.1",
+ "dunder-proto": "^1.0.0",
+ "es-abstract": "^1.23.5",
"es-errors": "^1.3.0",
"get-intrinsic": "^1.2.4",
- "globalthis": "^1.0.3",
- "which-builtin-type": "^1.1.3"
+ "gopd": "^1.2.0",
+ "which-builtin-type": "^1.2.0"
},
"engines": {
"node": ">= 0.4"
@@ -32698,15 +32750,16 @@
}
},
"node_modules/regexp.prototype.flags": {
- "version": "1.5.2",
- "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz",
- "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==",
+ "version": "1.5.3",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz",
+ "integrity": "sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.6",
+ "call-bind": "^1.0.7",
"define-properties": "^1.2.1",
"es-errors": "^1.3.0",
- "set-function-name": "^2.0.1"
+ "set-function-name": "^2.0.2"
},
"engines": {
"node": ">= 0.4"
@@ -32880,7 +32933,6 @@
"version": "8.2.0",
"resolved": "https://registry.npmjs.org/replace-in-file/-/replace-in-file-8.2.0.tgz",
"integrity": "sha512-hMsQtdYHwWviQT5ZbNsgfu0WuCiNlcUSnnD+aHAL081kbU9dPkPocDaHlDvAHKydTWWpx1apfcEcmvIyQk3CpQ==",
- "dev": true,
"dependencies": {
"chalk": "^5.3.0",
"glob": "^10.4.2",
@@ -32897,7 +32949,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0"
}
@@ -32906,7 +32957,6 @@
"version": "10.4.5",
"resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
"integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
- "dev": true,
"dependencies": {
"foreground-child": "^3.1.0",
"jackspeak": "^3.1.2",
@@ -32926,7 +32976,6 @@
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
"integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
- "dev": true,
"dependencies": {
"@isaacs/cliui": "^8.0.2"
},
@@ -32940,14 +32989,12 @@
"node_modules/replace-in-file/node_modules/lru-cache": {
"version": "10.4.3",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
- "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
- "dev": true
+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ=="
},
"node_modules/replace-in-file/node_modules/minimatch": {
"version": "9.0.5",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
- "dev": true,
"dependencies": {
"brace-expansion": "^2.0.1"
},
@@ -32962,7 +33009,6 @@
"version": "1.11.1",
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
"integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
- "dev": true,
"dependencies": {
"lru-cache": "^10.2.0",
"minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
@@ -34622,6 +34668,7 @@
"resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz",
"integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.5"
@@ -39618,16 +39665,18 @@
}
},
"node_modules/which-builtin-type": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.4.tgz",
- "integrity": "sha512-bppkmBSsHFmIMSl8BO9TbsyzsvGjVoppt8xUiGzwiu/bhDCGxnpOKCxgqj6GuyHE0mINMDecBFPlOm2hzY084w==",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.0.tgz",
+ "integrity": "sha512-I+qLGQ/vucCby4tf5HsLmGueEla4ZhwTBSqaooS+Y0BuxN4Cp+okmGuV+8mXZ84KDI9BA+oklo+RzKg0ONdSUA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
+ "call-bind": "^1.0.7",
"function.prototype.name": "^1.1.6",
"has-tostringtag": "^1.0.2",
"is-async-function": "^2.0.0",
"is-date-object": "^1.0.5",
- "is-finalizationregistry": "^1.0.2",
+ "is-finalizationregistry": "^1.1.0",
"is-generator-function": "^1.0.10",
"is-regex": "^1.1.4",
"is-weakref": "^1.0.2",
@@ -39648,6 +39697,7 @@
"resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz",
"integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-map": "^2.0.3",
"is-set": "^2.0.3",
@@ -40978,7 +41028,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.10.4",
- "@stencil/core": "4.22.3",
+ "@stencil/core": "4.23.0",
"cem-plugin-expanded-types": "^1.3.2",
"custom-element-jet-brains-integration": "^1.6.2",
"custom-element-vs-code-integration": "^1.4.1",
@@ -41302,16 +41352,30 @@
"devDependencies": {
"@csstools/normalize.css": "12.1.1",
"@db-ux/core-icons": "0.0.7",
- "commander": "^12.0.0",
"cpr": "3.0.1",
"cssnano": "^7.0.6",
"dotenv": "^16.4.7",
- "glob": "^11.0.0",
"nodemon": "3.1.7",
- "replace-in-file": "^8.2.0",
"sass": "1.77.4",
"tsx": "^4.19.2",
- "vite": "^6.0.3",
+ "vite": "^6.0.3"
+ }
+ },
+ "packages/migration": {
+ "name": "@db-ui/migration",
+ "version": "0.0.0",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "commander": "^12.0.0",
+ "glob": "^11.0.0",
+ "replace-in-file": "^8.2.0"
+ },
+ "bin": {
+ "migration": "build/index.js"
+ },
+ "devDependencies": {
+ "cpr": "3.0.1",
+ "tsx": "^4.19.2",
"vitest": "^2.1.8"
}
},
@@ -41371,7 +41435,7 @@
"@angular/cli": "17.3.11",
"@angular/compiler-cli": "17.3.12",
"@types/express": "^5.0.0",
- "@types/node": "^22.10.1",
+ "@types/node": "^22.10.2",
"cpr": "3.0.1",
"ng-packagr": "17.3.0",
"typescript": "^5.4.5"
@@ -41379,12 +41443,12 @@
},
"showcases/next-showcase": {
"dependencies": {
- "next": "latest",
+ "next": "*",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
- "@types/node": "^22.10.1",
+ "@types/node": "^22.10.2",
"@types/react": "^18.3.13",
"npm-run-all": "^4.1.5",
"open-cli": "^8.0.0",
@@ -41409,7 +41473,7 @@
"@db-ux/core-icons": "0.0.7",
"dompurify": "3.2.3",
"highlight.js": "^11.10.0",
- "next": "15.0.4",
+ "next": "15.1.0",
"react": "18.3.1",
"react-archer": "^4.4.0",
"react-dom": "18.3.1",
@@ -41419,14 +41483,14 @@
"devDependencies": {
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
- "@next/mdx": "^15.0.4",
+ "@next/mdx": "^15.1.0",
"@types/dompurify": "3.2.0",
- "@types/node": "22.10.1",
+ "@types/node": "22.10.2",
"@types/react": "18.3.13",
"@types/react-dom": "18.3.1",
"esbuild": "0.24.0",
"eslint": "8.57.0",
- "eslint-config-next": "15.0.4",
+ "eslint-config-next": "15.1.0",
"iframe-resizer": "^5.3.2",
"open-cli": "^8.0.0",
"sass": "1.77.4",
@@ -41884,7 +41948,7 @@
"@angular/platform-browser": "17.3.12",
"@angular/platform-browser-dynamic": "17.3.12",
"@angular/router": "17.3.12",
- "@stencil/core": "4.22.3",
+ "@stencil/core": "4.23.0",
"rxjs": "~7.8.1",
"tslib": "^2.8.1",
"zone.js": "~0.14.10"
diff --git a/packages/foundations/README.md b/packages/foundations/README.md
index 86062325f5c..6a06e100eee 100644
--- a/packages/foundations/README.md
+++ b/packages/foundations/README.md
@@ -306,11 +306,7 @@ If you want to optimize the size of the loaded styles, you might skip loading `@
## Migration
-We provide a cli tool to auto migrate your source code. Use this command in your repository:
-
-```shell
-npx @db-ui/foundations migration --src=./src
-```
+We provide a [CLI tool](https://github.com/db-ui/mono/blob/main/packages/migration/README.md) to auto migrate your source code.
## Deutsche Bahn brand
diff --git a/packages/foundations/package.json b/packages/foundations/package.json
index 3667680b3b2..a62de7dfaed 100644
--- a/packages/foundations/package.json
+++ b/packages/foundations/package.json
@@ -24,7 +24,6 @@
"build:04_tailwind": "cpr tailwind build/tailwind -o",
"build:05_postcss": "postcss build/css/**/*.css --replace",
"build:06_ide": "cpr ide build/ide -o",
- "build:99_foundations_common": "node scripts/esbuild.js",
"clean": "rm -rf build",
"copy-build": "npm-run-all copy-build:*",
"copy-build:assets": "cpr assets ../../build-outputs/foundations/assets -o",
@@ -41,24 +40,18 @@
"prestart": "npm-run-all copy-prepare:*",
"regenerate:screenshots": "npx playwright test -c ./test/playwright.config.js --update-snapshots",
"start": "nodemon --config nodemon.json",
- "test": "vitest run --config scripts/vitest.config.ts",
- "test:e2e": "npx playwright test --config=./test/playwright.config.js",
- "test:migration": "tsx scripts/cli.ts migration --type v005_v006 --src=./scss --dryRun=true"
+ "test:e2e": "npx playwright test --config=./test/playwright.config.js"
},
"devDependencies": {
"@csstools/normalize.css": "12.1.1",
"@db-ux/core-icons": "0.0.7",
- "commander": "^12.0.0",
"cpr": "3.0.1",
"cssnano": "^7.0.6",
"dotenv": "^16.4.7",
- "glob": "^11.0.0",
"nodemon": "3.1.7",
- "replace-in-file": "^8.2.0",
"sass": "1.77.4",
"tsx": "^4.19.2",
- "vite": "^6.0.3",
- "vitest": "^2.1.8"
+ "vite": "^6.0.3"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
diff --git a/packages/foundations/scripts/local/generate-icon-overview.ts b/packages/foundations/scripts/local/generate-icon-overview.ts
index 8353c25f980..d143b47da00 100644
--- a/packages/foundations/scripts/local/generate-icon-overview.ts
+++ b/packages/foundations/scripts/local/generate-icon-overview.ts
@@ -1,3 +1,5 @@
+/* eslint-disable @typescript-eslint/no-unsafe-call */
+
/*
* This script can be used to update the icon overview for foundation testing.
*/
diff --git a/packages/migration/README.md b/packages/migration/README.md
new file mode 100644
index 00000000000..1117b0d2b91
--- /dev/null
+++ b/packages/migration/README.md
@@ -0,0 +1,34 @@
+# @db-ui/migration
+
+![Apache 2.0 license badge](https://img.shields.io/badge/License-Apache_2.0-blue.svg)
+[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
+[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
+
+## Usage
+
+We provide a cli tool to auto migrate your source code. Use this command in your repository:
+
+```shell
+npx @db-ui/migration --type=v005_v006 --src=./src
+```
+
+## Deutsche Bahn brand
+
+As we'd like to perfectly support our users and customers on their digital journey, the usage of Deutsche Bahn brand and trademarks are bound of clear guidelines and restrictions even when being used with the code that we're provide with this product; Deutsche Bahn fully reserves all rights regarding the Deutsche Bahn brand, even though that we're providing the code of DB UI products free to use and release it under the Apache 2.0 license.
+Please have a look at our brand portal at for any further questions and whom to contact on any brand issues.
+
+You must remove or replace any Deutsche Bahn brand and design assets as well as protected characteristics and trademarks. We're even also planning to provide a neutral theme that would make it much easier for you to use our product without the trademarks by Deutsche Bahn.
+
+## Contributions
+
+Contributions are very welcome, please refer to the [contribution guide](https://github.com/db-ui/mono/blob/main/CONTRIBUTING.md).
+
+## Code of conduct
+
+We as members, contributors, and leaders pledge to make participation in our
+community a harassment-free experience for everyone โ have a look at our [Contributor Covenant Code of Conduct](https://github.com/db-ui/mono/blob/main/CODE-OF-CONDUCT.md).
+
+## License
+
+This project is licensed under [Apache-2.0](LICENSE).
diff --git a/packages/foundations/scripts/esbuild.js b/packages/migration/esbuild.js
similarity index 69%
rename from packages/foundations/scripts/esbuild.js
rename to packages/migration/esbuild.js
index 76c1e9b0985..9cb15585713 100644
--- a/packages/foundations/scripts/esbuild.js
+++ b/packages/migration/esbuild.js
@@ -1,10 +1,10 @@
import { build } from 'esbuild';
await build({
- entryPoints: ['./scripts/cli.ts'],
+ entryPoints: ['./src/cli.ts'],
bundle: true,
outfile: './build/index.js',
platform: 'node',
format: 'esm',
- external: ['chalk']
+ packages: 'external'
});
diff --git a/packages/migration/package.json b/packages/migration/package.json
new file mode 100644
index 00000000000..bdbac0fe7dd
--- /dev/null
+++ b/packages/migration/package.json
@@ -0,0 +1,41 @@
+{
+ "name": "@db-ui/migration",
+ "version": "0.0.0",
+ "type": "module",
+ "description": "Migration script for changing your code in between DB UX Design System v3 versions regarding BREAKING CHANGES.",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/db-ui/mono.git"
+ },
+ "license": "Apache-2.0",
+ "bin": {
+ "@db-ui/migration": "build/index.js"
+ },
+ "main": "build.js",
+ "files": [
+ "build"
+ ],
+ "scripts": {
+ "build": "node esbuild.js",
+ "copy-build": "npm-run-all copy-build:*",
+ "copy-build:build": "cpr build ../../build-outputs/migration/build -o",
+ "copy-build:package.json": "cpr package.json ../../build-outputs/migration/package.json -o",
+ "copy-build:readme": "cpr README.md ../../build-outputs/migration/README.md -o",
+ "test": "vitest run --config vitest.config.ts",
+ "test:migration": "tsx src/cli.ts migration --type v005_v006 --src=./scss --dryRun=true"
+ },
+ "dependencies": {
+ "commander": "^12.0.0",
+ "glob": "^11.0.0",
+ "replace-in-file": "^8.2.0"
+ },
+ "devDependencies": {
+ "cpr": "3.0.1",
+ "tsx": "^4.19.2",
+ "vitest": "^2.1.8"
+ },
+ "publishConfig": {
+ "registry": "https://registry.npmjs.org/",
+ "access": "public"
+ }
+}
diff --git a/packages/foundations/scripts/cli.ts b/packages/migration/src/cli.ts
similarity index 55%
rename from packages/foundations/scripts/cli.ts
rename to packages/migration/src/cli.ts
index a62f94f97b9..0edbe96c95b 100644
--- a/packages/foundations/scripts/cli.ts
+++ b/packages/migration/src/cli.ts
@@ -5,14 +5,8 @@ import startProgram from './program';
import { options } from './data';
import { migrate } from './migration';
-const action = async (functionName: string, options: OptionsType) => {
- if (functionName === 'migration') {
- migrate(options, true);
- } else {
- console.error(
- `There is no function for this library named ${functionName}`
- );
- }
+const action = async (_: unknown, options: OptionsType) => {
+ migrate(options, true);
};
startProgram(
diff --git a/packages/foundations/scripts/data.ts b/packages/migration/src/data.ts
similarity index 100%
rename from packages/foundations/scripts/data.ts
rename to packages/migration/src/data.ts
diff --git a/packages/foundations/scripts/migration/color-q32024.ts b/packages/migration/src/migration/color-q32024.ts
similarity index 100%
rename from packages/foundations/scripts/migration/color-q32024.ts
rename to packages/migration/src/migration/color-q32024.ts
diff --git a/packages/foundations/scripts/migration/icon-q32024.ts b/packages/migration/src/migration/icon-q32024.ts
similarity index 100%
rename from packages/foundations/scripts/migration/icon-q32024.ts
rename to packages/migration/src/migration/icon-q32024.ts
diff --git a/packages/foundations/scripts/migration/index.ts b/packages/migration/src/migration/index.ts
similarity index 81%
rename from packages/foundations/scripts/migration/index.ts
rename to packages/migration/src/migration/index.ts
index ccb50312499..48700783c02 100644
--- a/packages/foundations/scripts/migration/index.ts
+++ b/packages/migration/src/migration/index.ts
@@ -1,6 +1,6 @@
import { globSync } from 'glob';
-import { ReplaceInFileConfig, replaceInFileSync } from 'replace-in-file';
-import type { ReplaceResult } from 'replace-in-file';
+import type { ReplaceInFileConfig, ReplaceResult } from 'replace-in-file';
+import { replaceInFileSync } from 'replace-in-file';
import type { OptionsType } from '../types';
import { migrationTypes } from '../data';
@@ -21,7 +21,10 @@ export const migrate = (
const replacements: ReplaceInFileConfig[] = Object.entries(
migrationTypes
).reduce(
- (previousReplacements, [currentKey, currentReplacements]) =>
+ (
+ previousReplacements: ReplaceInFileConfig[],
+ [currentKey, currentReplacements]
+ ) =>
type.includes(currentKey)
? [...previousReplacements, ...currentReplacements]
: previousReplacements,
diff --git a/packages/foundations/scripts/migration/v0.0.5-v0.0.6.ts b/packages/migration/src/migration/v0.0.5-v0.0.6.ts
similarity index 67%
rename from packages/foundations/scripts/migration/v0.0.5-v0.0.6.ts
rename to packages/migration/src/migration/v0.0.5-v0.0.6.ts
index b551f2f721a..65da2b461e4 100644
--- a/packages/foundations/scripts/migration/v0.0.5-v0.0.6.ts
+++ b/packages/migration/src/migration/v0.0.5-v0.0.6.ts
@@ -4,8 +4,13 @@ export const v005_v006: ReplaceInFileConfig[] = [
// Components
{
files: '',
- from: /behaviour="closable"/g,
- to: 'closable="true"'
+ from: /behaviour="closeable"/g,
+ to: 'closeable="true"'
+ },
+ {
+ files: '',
+ from: /behaviour="permanent"/g,
+ to: 'closeable="false"'
},
{
files: '',
diff --git a/packages/foundations/scripts/program.ts b/packages/migration/src/program.ts
similarity index 100%
rename from packages/foundations/scripts/program.ts
rename to packages/migration/src/program.ts
diff --git a/packages/foundations/scripts/types.ts b/packages/migration/src/types.ts
similarity index 69%
rename from packages/foundations/scripts/types.ts
rename to packages/migration/src/types.ts
index 27b92c6e435..cfd22dc126b 100644
--- a/packages/foundations/scripts/types.ts
+++ b/packages/migration/src/types.ts
@@ -1,3 +1,5 @@
+import { v005_v006 } from './migration/v0.0.5-v0.0.6';
+
export type ProgrammOptionsType = {
name: string;
short?: string;
@@ -10,6 +12,6 @@ export type ProgrammOptionsType = {
export type OptionsType = {
src: string;
- type: (string | 'colorQ32024' | 'iconQ32024')[];
+ type: (string | 'colorQ32024' | 'iconQ32024' | 'v005_v006')[];
dryRun?: string | boolean;
};
diff --git a/packages/foundations/scripts/test/color-q32024/color-q32024.spec.ts b/packages/migration/test/color-q32024/color-q32024.spec.ts
similarity index 72%
rename from packages/foundations/scripts/test/color-q32024/color-q32024.spec.ts
rename to packages/migration/test/color-q32024/color-q32024.spec.ts
index 15aff5e9ec8..1bbf59447ea 100644
--- a/packages/foundations/scripts/test/color-q32024/color-q32024.spec.ts
+++ b/packages/migration/test/color-q32024/color-q32024.spec.ts
@@ -1,11 +1,11 @@
import { describe, expect, test } from 'vitest';
-import { migrate } from '../../migration';
-import { ReplaceResult } from 'replace-in-file';
+import { type ReplaceResult } from 'replace-in-file';
+import { migrate } from '../../src/migration';
describe('color-q32024', () => {
test('check if changes are detected', async () => {
const result = migrate({
- src: './scripts/test/color-q32024',
+ src: './test/color-q32024',
type: ['colorQ32024'],
dryRun: true
});
diff --git a/packages/foundations/scripts/test/color-q32024/has-changes.txt b/packages/migration/test/color-q32024/has-changes.txt
similarity index 100%
rename from packages/foundations/scripts/test/color-q32024/has-changes.txt
rename to packages/migration/test/color-q32024/has-changes.txt
diff --git a/packages/foundations/scripts/test/color-q32024/no-change.txt b/packages/migration/test/color-q32024/no-change.txt
similarity index 100%
rename from packages/foundations/scripts/test/color-q32024/no-change.txt
rename to packages/migration/test/color-q32024/no-change.txt
diff --git a/packages/foundations/scripts/test/icon-q32024/has-changes.txt b/packages/migration/test/icon-q32024/has-changes.txt
similarity index 100%
rename from packages/foundations/scripts/test/icon-q32024/has-changes.txt
rename to packages/migration/test/icon-q32024/has-changes.txt
diff --git a/packages/foundations/scripts/test/icon-q32024/icon-q32024.spec.ts b/packages/migration/test/icon-q32024/icon-q32024.spec.ts
similarity index 72%
rename from packages/foundations/scripts/test/icon-q32024/icon-q32024.spec.ts
rename to packages/migration/test/icon-q32024/icon-q32024.spec.ts
index 6f883bb43ae..61e64a73701 100644
--- a/packages/foundations/scripts/test/icon-q32024/icon-q32024.spec.ts
+++ b/packages/migration/test/icon-q32024/icon-q32024.spec.ts
@@ -1,11 +1,11 @@
import { describe, expect, test } from 'vitest';
-import { migrate } from '../../migration';
-import { ReplaceResult } from 'replace-in-file';
+import { type ReplaceResult } from 'replace-in-file';
+import { migrate } from '../../src/migration';
describe('icon-q32024', () => {
test('check if changes are detected', async () => {
const result = migrate({
- src: './scripts/test/icon-q32024',
+ src: './test/icon-q32024',
type: ['iconQ32024'],
dryRun: true
});
diff --git a/packages/foundations/scripts/test/icon-q32024/no-change.txt b/packages/migration/test/icon-q32024/no-change.txt
similarity index 100%
rename from packages/foundations/scripts/test/icon-q32024/no-change.txt
rename to packages/migration/test/icon-q32024/no-change.txt
diff --git a/packages/foundations/scripts/test/v0.0.5-v0.0.6/has-changes.txt b/packages/migration/test/v0.0.5-v0.0.6/has-changes.txt
similarity index 64%
rename from packages/foundations/scripts/test/v0.0.5-v0.0.6/has-changes.txt
rename to packages/migration/test/v0.0.5-v0.0.6/has-changes.txt
index 54a38a3c9e0..e625906bbf2 100644
--- a/packages/foundations/scripts/test/v0.0.5-v0.0.6/has-changes.txt
+++ b/packages/migration/test/v0.0.5-v0.0.6/has-changes.txt
@@ -1,8 +1,10 @@
(close = 'test')}
- behaviour="closable">
+ behaviour="closeable">
Test
+
+
diff --git a/packages/foundations/scripts/test/v0.0.5-v0.0.6/no-change.txt b/packages/migration/test/v0.0.5-v0.0.6/no-change.txt
similarity index 57%
rename from packages/foundations/scripts/test/v0.0.5-v0.0.6/no-change.txt
rename to packages/migration/test/v0.0.5-v0.0.6/no-change.txt
index 663295aed2b..cce284648b9 100644
--- a/packages/foundations/scripts/test/v0.0.5-v0.0.6/no-change.txt
+++ b/packages/migration/test/v0.0.5-v0.0.6/no-change.txt
@@ -6,3 +6,6 @@
+
+
+
diff --git a/packages/foundations/scripts/test/v0.0.5-v0.0.6/v005_v006.spec.ts b/packages/migration/test/v0.0.5-v0.0.6/v005_v006.spec.ts
similarity index 72%
rename from packages/foundations/scripts/test/v0.0.5-v0.0.6/v005_v006.spec.ts
rename to packages/migration/test/v0.0.5-v0.0.6/v005_v006.spec.ts
index a1d84b73172..d85768603cc 100644
--- a/packages/foundations/scripts/test/v0.0.5-v0.0.6/v005_v006.spec.ts
+++ b/packages/migration/test/v0.0.5-v0.0.6/v005_v006.spec.ts
@@ -1,11 +1,11 @@
import { describe, expect, test } from 'vitest';
-import { migrate } from '../../migration';
-import { ReplaceResult } from 'replace-in-file';
+import { type ReplaceResult } from 'replace-in-file';
+import { migrate } from '../../src/migration';
describe('v005_v006', () => {
test('check if changes are detected', async () => {
const result = migrate({
- src: './scripts/test/v0.0.5-v0.0.6',
+ src: './test/v0.0.5-v0.0.6',
type: ['v005_v006'],
dryRun: true
});
diff --git a/packages/foundations/scripts/tsconfig.json b/packages/migration/tsconfig.json
similarity index 100%
rename from packages/foundations/scripts/tsconfig.json
rename to packages/migration/tsconfig.json
diff --git a/packages/foundations/scripts/vitest.config.ts b/packages/migration/vitest.config.ts
similarity index 62%
rename from packages/foundations/scripts/vitest.config.ts
rename to packages/migration/vitest.config.ts
index d3230064db1..08aee380068 100644
--- a/packages/foundations/scripts/vitest.config.ts
+++ b/packages/migration/vitest.config.ts
@@ -2,6 +2,6 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
- include: ['scripts/**/*.{test,spec}.?(c|m)[jt]s?(x)']
+ include: ['test/**/*.{test,spec}.?(c|m)[jt]s?(x)']
}
});
diff --git a/scripts/package.json b/scripts/package.json
index 252a0e79194..93ab6deb5ae 100644
--- a/scripts/package.json
+++ b/scripts/package.json
@@ -4,10 +4,11 @@
"type": "module",
"description": "contains scripts for monorepo",
"scripts": {
- "build": "npm-run-all build:foundations build:components",
+ "build": "npm-run-all build:foundations build:components build:migration",
"build-outputs": "npm-run-all -p build-outputs:*",
"build-outputs:components": "npm run copy-output --workspace=@db-ui/components",
"build-outputs:foundations": "npm run copy-build --workspace=@db-ui/foundations",
+ "build-outputs:migration": "npm run copy-build --workspace=@db-ui/migration",
"build-outputs:ngx-components": "npm run build --workspace=@db-ui/ngx-components",
"build-outputs:react-components": "npm run build --workspace=@db-ui/react-components",
"build-outputs:stencil-components": "npm run build --workspace=@db-ui/web-components",
@@ -24,6 +25,7 @@
"build-showcases:vue": "npm run build --workspace=vue-showcase",
"build:components": "npm run build --workspace=@db-ui/components",
"build:foundations": "npm run build --workspace=@db-ui/foundations",
+ "build:migration": "npm run build --workspace=@db-ui/migration",
"dev": "tsx dev.js",
"dev:angular-components": "npm run dev:angular --workspace=@db-ui/components",
"dev:plain-html-components": "npm run dev:html --workspace=@db-ui/components",
@@ -60,7 +62,7 @@
"start-showcase:vue": "npm run dev --workspace=vue-showcase",
"start:foundations": "npm run start --workspace=@db-ui/foundations",
"test": "npm-run-all -p test:*",
- "test:foundations-migration": "npm run test --workspace=@db-ui/foundations",
+ "test:migration": "npm run test --workspace=@db-ui/migration",
"update:icon-fonts": "npm-run-all generate:icon-fonts generate:icon-types"
},
"devDependencies": {
diff --git a/scripts/rebuild-e2e.js b/scripts/rebuild-e2e.js
index 3093540d930..fa744f728f7 100644
--- a/scripts/rebuild-e2e.js
+++ b/scripts/rebuild-e2e.js
@@ -3,7 +3,7 @@ import { spawnSync } from 'node:child_process';
/**
* Simple script to run docker-compose with the correct playwright version
- * Need this script because npm under windows uses cmd which is unable to use variables in a cli like $version
+ * Need this script because npm under windows uses cmd which is unable to use variables in a CLI like $version
*/
const rebuildE2e = () => {
diff --git a/showcases/angular-ssr-showcase/package.json b/showcases/angular-ssr-showcase/package.json
index 28c5f928831..2f339ed71bb 100644
--- a/showcases/angular-ssr-showcase/package.json
+++ b/showcases/angular-ssr-showcase/package.json
@@ -32,7 +32,7 @@
"@angular/cli": "17.3.11",
"@angular/compiler-cli": "17.3.12",
"@types/express": "^5.0.0",
- "@types/node": "^22.10.1",
+ "@types/node": "^22.10.2",
"cpr": "3.0.1",
"ng-packagr": "17.3.0",
"typescript": "^5.4.5"
diff --git a/showcases/next-showcase/package.json b/showcases/next-showcase/package.json
index f522b0ee59b..10bdcfc6c87 100644
--- a/showcases/next-showcase/package.json
+++ b/showcases/next-showcase/package.json
@@ -17,7 +17,7 @@
"react-dom": "18.3.1"
},
"devDependencies": {
- "@types/node": "^22.10.1",
+ "@types/node": "^22.10.2",
"@types/react": "^18.3.13",
"npm-run-all": "^4.1.5",
"open-cli": "^8.0.0",
diff --git a/showcases/patternhub/package.json b/showcases/patternhub/package.json
index 39890544c94..0278b079d68 100644
--- a/showcases/patternhub/package.json
+++ b/showcases/patternhub/package.json
@@ -26,7 +26,7 @@
"@db-ux/core-icons": "0.0.7",
"dompurify": "3.2.3",
"highlight.js": "^11.10.0",
- "next": "15.0.4",
+ "next": "15.1.0",
"react": "18.3.1",
"react-archer": "^4.4.0",
"react-dom": "18.3.1",
@@ -36,14 +36,14 @@
"devDependencies": {
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
- "@next/mdx": "^15.0.4",
+ "@next/mdx": "^15.1.0",
"@types/dompurify": "3.2.0",
- "@types/node": "22.10.1",
+ "@types/node": "22.10.2",
"@types/react": "18.3.13",
"@types/react-dom": "18.3.1",
"esbuild": "0.24.0",
"eslint": "8.57.0",
- "eslint-config-next": "15.0.4",
+ "eslint-config-next": "15.1.0",
"iframe-resizer": "^5.3.2",
"open-cli": "^8.0.0",
"sass": "1.77.4",
diff --git a/showcases/stencil-showcase/package.json b/showcases/stencil-showcase/package.json
index 6ee48c7fcfb..2e3293714aa 100644
--- a/showcases/stencil-showcase/package.json
+++ b/showcases/stencil-showcase/package.json
@@ -23,7 +23,7 @@
"@angular/platform-browser": "17.3.12",
"@angular/platform-browser-dynamic": "17.3.12",
"@angular/router": "17.3.12",
- "@stencil/core": "4.22.3",
+ "@stencil/core": "4.23.0",
"rxjs": "~7.8.1",
"tslib": "^2.8.1",
"zone.js": "~0.14.10"