Skip to content

Commit b7db36d

Browse files
authored
Merge pull request #2536 from Akshat55/angular-14
feat: Update to angular 14
2 parents 609da58 + f45cdd4 commit b7db36d

File tree

137 files changed

+4220
-21078
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+4220
-21078
lines changed

.github/workflows/check-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
strategy:
4343
matrix:
44-
angular-version: [13, 14, 15]
44+
angular-version: [14, 15]
4545
node-version: [16.x]
4646

4747
steps:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ Assuming we're starting with a new @angular/cli project:
2929
```shell
3030
$ npx @angular/cli new my-project --style=scss
3131
$ cd my-project
32-
$ npm i --save carbon-components-angular carbon-components
32+
$ npm i --save carbon-components-angular @carbon/styles
3333
```
3434

3535
Then we need to include carbon-components in `src/styles.scss`:
3636

3737
```scss
38-
@import "~carbon-components/scss/globals/scss/styles.scss";
38+
@use "@carbon/styles";
3939
```
4040

4141
> *Note:* For offline usage we'll need to set `$font-path: '~carbon-components/src/globals/fonts';` at the very top of our `src/styles.scss`. This will copy the fonts to our `dist` folder upon successful build. If you like the fonts to be a part of your `assets` folder and not pollute the `dist` folder then copy the fonts from `node_modules/carbon-components/src/globals/fonts` into our app's `src/assets/fonts` folder and add `$font-path: '/assets/fonts/';` at the very top of our `src/styles.scss`.
@@ -64,7 +64,7 @@ Angular version support matrix:
6464
| 10 ||||
6565
| 11 ||||
6666
| 12 ||||
67-
| 13 ||| |
67+
| 13 ||| |
6868
| 14 ||||
6969

7070
Carbon Components Angular version support matrix:

angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
}
9292
}
9393
},
94-
"defaultProject": "carbon-components-angular",
9594
"schematics": {
9695
"@schematics/angular:component": {
9796
"prefix": "ibm",

integration/ng13/.browserslistrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

integration/ng13/.editorconfig

Lines changed: 0 additions & 16 deletions
This file was deleted.

integration/ng13/.gitignore

Lines changed: 0 additions & 46 deletions
This file was deleted.

integration/ng13/README.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

integration/ng13/angular.json

Lines changed: 0 additions & 114 deletions
This file was deleted.

integration/ng13/karma.conf.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)