From 458746f364ae8644328652b565d48c42ef9b3f9a Mon Sep 17 00:00:00 2001 From: "Doberer, Johannes" Date: Thu, 25 Jul 2024 15:04:30 +0200 Subject: [PATCH] container release v1.2.0 --- container/prepareNextRelease.js | 2 +- container/public/package.json | 2 +- .../typings/LuigiCompoundContainer.svelte.d.ts | 8 ++++---- container/typings/LuigiContainer.svelte.d.ts | 14 +++++++------- docs/luigi-compound-container-api.md | 8 ++++---- docs/luigi-container-api.md | 14 +++++++------- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/container/prepareNextRelease.js b/container/prepareNextRelease.js index dd1959c2d1..aa8d38a101 100644 --- a/container/prepareNextRelease.js +++ b/container/prepareNextRelease.js @@ -36,7 +36,7 @@ const replaceVersionInFolder = folderPath => { let fileContent = fs.readFileSync(filePath, 'utf8'); // Check if the file contains the keyword - if (fileContent.includes('NEXT_RELEASE_CONTAINER_CONTAINER')) { + if (fileContent.includes('NEXT_RELEASE_CONTAINER')) { // Replace NEXT_RELEASE_CONTAINER with the actual version fileContent = fileContent.replace(/NEXT_RELEASE_CONTAINER/g, version); diff --git a/container/public/package.json b/container/public/package.json index 30f43ce074..5c4555c785 100644 --- a/container/public/package.json +++ b/container/public/package.json @@ -19,5 +19,5 @@ "micro-frontends", "microfrontends" ], - "version": "1.2.0-rc4" + "version": "1.2.0" } diff --git a/container/typings/LuigiCompoundContainer.svelte.d.ts b/container/typings/LuigiCompoundContainer.svelte.d.ts index e5f2bfec16..57a509a743 100644 --- a/container/typings/LuigiCompoundContainer.svelte.d.ts +++ b/container/typings/LuigiCompoundContainer.svelte.d.ts @@ -26,7 +26,7 @@ export default class LuigiCompoundContainer extends HTMLElement { /** * If set to true, the Luigi compound container webcomponent will not use the shadow DOM for rendering. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ noShadow: boolean; @@ -68,21 +68,21 @@ export default class LuigiCompoundContainer extends HTMLElement { /** * The document title value to be passed to the compound micro frontend. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ documentTitle: string; /** * The hasBack value to be passed to the compound micro frontend. * It indicates that there is one or more preserved views. Useful when you need to show a back button. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ hasBack: string; /** * The dirty status value to be passed to the compound micro frontend. * It's used to indicate that there are unsaved changes when navigating away. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ dirtyStatus: boolean; diff --git a/container/typings/LuigiContainer.svelte.d.ts b/container/typings/LuigiContainer.svelte.d.ts index 157a3a5c54..ecddd28142 100644 --- a/container/typings/LuigiContainer.svelte.d.ts +++ b/container/typings/LuigiContainer.svelte.d.ts @@ -85,7 +85,7 @@ export default class LuigiContainer extends HTMLElement { /** * If set to true, the Luigi container webcomponent will not use the shadow DOM for rendering. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ noShadow: boolean; @@ -122,34 +122,34 @@ export default class LuigiContainer extends HTMLElement { /** * The list of rules for the content in the iframe, managed by the HTML `allow` attribute. * You can use one or more rules by adding them to the array, for example allowRules: ["microphone", "camera"]. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ allowRules: string[]; /** * The list of rules for the content in the iframe, managed by the HTML `sandbox` attribute. * You can use one or more rules by adding them to the array, for example sandboxRules: ["allow-scripts", "allow-same-origin"]. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ sandboxRules: string[]; /** * The document title value to be passed to the web-component-based micro frontend. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ documentTitle: string; /** * The hasBack value to be passed to the web-component-based micro frontend. * It indicates that there is one or more preserved views. Useful when you need to show a back button. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ hasBack: string; /** * The dirty status value to be passed to the web-component-based micro frontend. * It's used to indicate that there are unsaved changes when navigating away. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ dirtyStatus: boolean; @@ -193,7 +193,7 @@ export default class LuigiContainer extends HTMLElement { /** * The authData value to be passed to the iframe-based micro frontend. - * @since NEXT_RELEASE_CONTAINER + * @since 1.2.0 */ authData: Object; } diff --git a/docs/luigi-compound-container-api.md b/docs/luigi-compound-container-api.md index be25857c67..0adbea9f4e 100644 --- a/docs/luigi-compound-container-api.md +++ b/docs/luigi-compound-container-api.md @@ -57,7 +57,7 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0 ### searchParams @@ -127,7 +127,7 @@ Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0 ### hasBack @@ -138,7 +138,7 @@ Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0 ### dirtyStatus @@ -149,7 +149,7 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0 ### webcomponent diff --git a/docs/luigi-container-api.md b/docs/luigi-container-api.md index 4cdf984c73..09fa2b98ba 100644 --- a/docs/luigi-container-api.md +++ b/docs/luigi-container-api.md @@ -149,7 +149,7 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0 ### searchParams @@ -210,7 +210,7 @@ Type: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0 ### sandboxRules @@ -221,7 +221,7 @@ Type: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0 ### documentTitle @@ -231,7 +231,7 @@ Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0 ### hasBack @@ -242,7 +242,7 @@ Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0 ### dirtyStatus @@ -253,7 +253,7 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0 ### updateContext @@ -342,4 +342,4 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa **Meta** -* **since**: NEXT_RELEASE_CONTAINER +* **since**: 1.2.0