-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to Angular 17 #485
Milestone
Comments
Marcarrian
added a commit
that referenced
this issue
Nov 13, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly;
Marcarrian
added a commit
that referenced
this issue
Nov 14, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly;
Marcarrian
added a commit
that referenced
this issue
Nov 14, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly;
Marcarrian
added a commit
that referenced
this issue
Nov 14, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ``` @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ``` "externalDependencies": [ "path/to/font/scion-workbench-icons.ttf?*", "path/to/font/scion-workbench-icons.woff?*", "path/to/font/scion-workbench-icons.svg?*" ] ``` Using `@angular-devkit/build-angular:browser`: ``` @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 16, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ``` @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ``` "externalDependencies": [ "path/to/font/scion-workbench-icons.ttf?*", "path/to/font/scion-workbench-icons.woff?*", "path/to/font/scion-workbench-icons.svg?*" ] ``` Using `@angular-devkit/build-angular:browser`: ``` @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 16, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ``` @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ``` "externalDependencies": [ "path/to/font/scion-workbench-icons.ttf?*", "path/to/font/scion-workbench-icons.woff?*", "path/to/font/scion-workbench-icons.svg?*" ] ``` Using `@angular-devkit/build-angular:browser`: ``` @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 16, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.ttf?*", "path/to/font/scion-workbench-icons.woff?*", "path/to/font/scion-workbench-icons.svg?*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 17, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.ttf?*", "path/to/font/scion-workbench-icons.woff?*", "path/to/font/scion-workbench-icons.svg?*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 17, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.ttf?*", "path/to/font/scion-workbench-icons.woff?*", "path/to/font/scion-workbench-icons.svg?*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 17, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.ttf?*", "path/to/font/scion-workbench-icons.woff?*", "path/to/font/scion-workbench-icons.svg?*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 17, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.ttf?*", "path/to/font/scion-workbench-icons.woff?*", "path/to/font/scion-workbench-icons.svg?*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 17, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.ttf?*", "path/to/font/scion-workbench-icons.woff?*", "path/to/font/scion-workbench-icons.svg?*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
17 tasks
Marcarrian
added a commit
that referenced
this issue
Nov 17, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.ttf?*", "path/to/font/scion-workbench-icons.woff?*", "path/to/font/scion-workbench-icons.svg?*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 17, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 17, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 17, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - `WorkbenchModule#forChild` was deprecated and has been removed; import `WorkbenchModule` or standalone directives directly; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 17, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - If deploying the application in a subdirectory, you now need to configure the icon font directory as follows: Using `@angular-devkit/build-angular:application`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' ) ); ``` And add the paths to the `externalDependencies` build option: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.*" ] ``` Using `@angular-devkit/build-angular:browser`: ```scss @use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 21, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - If deploying the application in a subdirectory, use a relative directory path for the browser to load the icon files relative to the document base URL (as specified in the `<base>` HTML tag). Note that using a relative path requires to exclude the icon files from the application build. Depending on building the application with esbuild `@angular-devkit/build-angular:application` or webpack `@angular-devkit/build-angular:browser`, different steps are required to exclude the icons from the build. ### Using @angular-devkit/build-angular:application (esbuild) Configure the `@scion/workbench` SCSS module to load the icon font relative to the document base URL: ```scss use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' // no leading slash, typically `assets/fonts` ) ; `` Add the path to the `externalDependencies` build option in the `angular.json` file: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.*" ] ``` ### Using @angular-devkit/build-angular:browser (webpack) Configure the `@scion/workbench` SCSS module to load the icon font relative to the document base URL: ```scss use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' // no leading slash but with a caret (^), typically `^assets/fonts` ) ); ```
Marcarrian
added a commit
that referenced
this issue
Nov 21, 2023
closes #485 BREAKING CHANGE: Updating `@scion/workbench` to Angular 17 introduced a breaking change. To migrate: - update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; - update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; - If deploying the application in a subdirectory, use a relative directory path for the browser to load the icon files relative to the document base URL (as specified in the `<base>` HTML tag). Note that using a relative path requires to exclude the icon files from the application build. Depending on building the application with esbuild `@angular-devkit/build-angular:application` or webpack `@angular-devkit/build-angular:browser`, different steps are required to exclude the icons from the build. ** Using @angular-devkit/build-angular:application (esbuild) ** Configure the `@scion/workbench` SCSS module to load the icon font relative to the document base URL: ```scss use '@scion/workbench' with ( $icon-font: ( directory: 'path/to/font' // no leading slash, typically `assets/fonts` ) ; `` Add the path to the `externalDependencies` build option in the `angular.json` file: ```json "externalDependencies": [ "path/to/font/scion-workbench-icons.*" ] ``` ** Using @angular-devkit/build-angular:browser (webpack) ** Configure the `@scion/workbench` SCSS module to load the icon font relative to the document base URL: ```scss use '@scion/workbench' with ( $icon-font: ( directory: '^path/to/font' // no leading slash but with a caret (^), typically `^assets/fonts` ) ); ```
done 637e8bd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Migrate SCION Workbench to Angular 17.
Angular 17 is expected to be released in the week of 2023-11-06.
For more information, refer to the Angular CHANGELOG and Update Guide.
The text was updated successfully, but these errors were encountered: