Skip to content

Commit c60f219

Browse files
committed
feat!: prepare v18
1 parent e299854 commit c60f219

File tree

6 files changed

+2251
-1123
lines changed

6 files changed

+2251
-1123
lines changed

package.json

Lines changed: 46 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
"scully:serve": "scully serve --project demo"
3232
},
3333
"dependencies": {
34-
"@angular/animations": "^18.0.0",
35-
"@angular/cdk": "^18.0.0",
36-
"@angular/common": "^18.0.0",
37-
"@angular/compiler": "^18.0.0",
38-
"@angular/core": "^18.0.0",
39-
"@angular/forms": "^18.0.0",
40-
"@angular/localize": "^18.0.0",
41-
"@angular/platform-browser": "^18.0.0",
42-
"@angular/platform-server": "^18.0.0",
34+
"@angular/animations": "^18.0.1",
35+
"@angular/cdk": "^18.0.1",
36+
"@angular/common": "^18.0.1",
37+
"@angular/compiler": "^18.0.1",
38+
"@angular/core": "^18.0.1",
39+
"@angular/forms": "^18.0.1",
40+
"@angular/localize": "^18.0.1",
41+
"@angular/platform-browser": "^18.0.1",
42+
"@angular/platform-server": "^18.0.1",
4343
"dropzone": "^6.0.0-beta.2",
4444
"moment": "^2.30.1",
4545
"rxjs": "^7.8.1",
@@ -49,22 +49,24 @@
4949
},
5050
"devDependencies": {
5151
"@angular-builders/custom-webpack": "^17.0.2",
52-
"@angular-devkit/architect": "^0.1800.1",
53-
"@angular-devkit/build-angular": "^18.0.1",
54-
"@angular-devkit/core": "^18.0.1",
55-
"@angular-devkit/schematics": "^18.0.1",
56-
"@angular-eslint/builder": "^17.5.1",
57-
"@angular-eslint/eslint-plugin": "^17.5.1",
58-
"@angular-eslint/eslint-plugin-template": "^17.5.1",
59-
"@angular-eslint/schematics": "^17.5.1",
60-
"@angular-eslint/template-parser": "^17.5.1",
61-
"@angular/cli": "^18.0.1",
62-
"@angular/compiler-cli": "^18.0.0",
52+
"@angular-devkit/architect": "^0.1800.2",
53+
"@angular-devkit/build-angular": "^18.0.2",
54+
"@angular-devkit/core": "^18.0.2",
55+
"@angular-devkit/schematics": "^18.0.2",
56+
"@angular-eslint/builder": "^18.0.1",
57+
"@angular-eslint/eslint-plugin": "^18.0.1",
58+
"@angular-eslint/eslint-plugin-template": "^18.0.1",
59+
"@angular-eslint/schematics": "^18.0.1",
60+
"@angular-eslint/template-parser": "^18.0.1",
61+
"@angular/cli": "^18.0.2",
62+
"@angular/compiler-cli": "^18.0.1",
6363
"@babel/plugin-proposal-private-methods": "^7.18.6",
6464
"@commitlint/cli": "^19.3.0",
6565
"@commitlint/config-conventional": "^19.2.2",
66-
"@compodoc/compodoc": "^1.1.24",
66+
"@compodoc/compodoc": "^1.1.25",
6767
"@gammastream/scully-plugin-sitemap": "^1.0.7",
68+
"@lerna-lite/cli": "^3.4.0",
69+
"@lerna-lite/version": "^3.4.0",
6870
"@liquid-js/angular-cli-ghpages": "^2.0.0-beta.2",
6971
"@liquid-js/commitlint-plugin-workspace-scopes": "^2.0.0",
7072
"@scullyio/init": "^2.1.41",
@@ -77,21 +79,21 @@
7779
"@types/jasmine": "^5.1.4",
7880
"@types/node": "<21.0.0",
7981
"@types/semver": "^7.5.8",
80-
"@typescript-eslint/eslint-plugin": "^7.10.0",
81-
"@typescript-eslint/parser": "^7.10.0",
82+
"@typescript-eslint/eslint-plugin": "^7.11.0",
83+
"@typescript-eslint/parser": "^7.11.0",
8284
"conventional-changelog-cli": "^5.0.0",
8385
"cross-env": "^7.0.3",
8486
"eslint": "<9.0.0",
85-
"eslint-plugin-deprecation": "^2.0.0",
87+
"eslint-plugin-deprecation": "^3.0.0",
8688
"eslint-plugin-import": "^2.29.1",
87-
"eslint-plugin-jsdoc": "^48.2.5",
89+
"eslint-plugin-jsdoc": "^48.2.7",
8890
"eslint-plugin-prefer-arrow": "^1.2.3",
89-
"eslint-plugin-unused-imports": "^3.2.0",
91+
"eslint-plugin-unused-imports": "^4.0.0",
9092
"fast-xml-parser": "^4.4.0",
9193
"globby": "^14.0.1",
9294
"husky": "^9.0.11",
93-
"image-minimizer-webpack-plugin": "^4.0.0",
94-
"imagemin": "^8.0.1",
95+
"image-minimizer-webpack-plugin": "^4.0.1",
96+
"imagemin": "<9.0.0",
9597
"imagemin-gif2webp": "^3.0.0",
9698
"imagemin-webp": "^8.0.0",
9799
"jasmine-core": "^5.1.2",
@@ -118,21 +120,21 @@
118120
},
119121
"packageManager": "[email protected]",
120122
"resolutions": {
121-
"@angular-devkit/architect": "^0.1800.1",
122-
"@angular-devkit/build-angular": "^18.0.1",
123-
"@angular-devkit/core": "^18.0.1",
124-
"@angular-devkit/schematics": "^18.0.1",
125-
"@angular/cli": "^18.0.1",
126-
"@angular/compiler-cli": "^18.0.0",
127-
"@angular/animations": "^18.0.0",
128-
"@angular/cdk": "^18.0.0",
129-
"@angular/common": "^18.0.0",
130-
"@angular/compiler": "^18.0.0",
131-
"@angular/core": "^18.0.0",
132-
"@angular/forms": "^18.0.0",
133-
"@angular/localize": "^18.0.0",
134-
"@angular/platform-browser": "^18.0.0",
135-
"@angular/platform-server": "^18.0.0",
136-
"@angular/router": "^18.0.0"
123+
"@angular-devkit/architect": "^0.1800.2",
124+
"@angular-devkit/build-angular": "^18.0.2",
125+
"@angular-devkit/core": "^18.0.2",
126+
"@angular-devkit/schematics": "^18.0.2",
127+
"@angular/cli": "^18.0.2",
128+
"@angular/compiler-cli": "^18.0.1",
129+
"@angular/animations": "^18.0.1",
130+
"@angular/cdk": "^18.0.1",
131+
"@angular/common": "^18.0.1",
132+
"@angular/compiler": "^18.0.1",
133+
"@angular/core": "^18.0.1",
134+
"@angular/forms": "^18.0.1",
135+
"@angular/localize": "^18.0.1",
136+
"@angular/platform-browser": "^18.0.1",
137+
"@angular/platform-server": "^18.0.1",
138+
"@angular/router": "^18.0.1"
137139
}
138140
}

packages/demo/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
"lint:sass:fix": "yarn lint:sass --fix"
1515
},
1616
"dependencies": {
17-
"@angular/animations": "^18.0.0",
18-
"@angular/cdk": "^18.0.0",
19-
"@angular/common": "^18.0.0",
20-
"@angular/compiler": "^18.0.0",
21-
"@angular/core": "^18.0.0",
22-
"@angular/forms": "^18.0.0",
23-
"@angular/platform-browser": "^18.0.0",
24-
"@angular/platform-browser-dynamic": "^18.0.0",
25-
"@angular/router": "^18.0.0",
26-
"@angular/service-worker": "^18.0.0",
17+
"@angular/animations": "^18.0.1",
18+
"@angular/cdk": "^18.0.1",
19+
"@angular/common": "^18.0.1",
20+
"@angular/compiler": "^18.0.1",
21+
"@angular/core": "^18.0.1",
22+
"@angular/forms": "^18.0.1",
23+
"@angular/platform-browser": "^18.0.1",
24+
"@angular/platform-browser-dynamic": "^18.0.1",
25+
"@angular/router": "^18.0.1",
26+
"@angular/service-worker": "^18.0.1",
2727
"@popperjs/core": "^2.11.8",
2828
"@scullyio/ng-lib": "^2.1.41",
2929
"bootstrap": "^5.3.3",
@@ -33,7 +33,7 @@
3333
"i18n-iso-countries": "^7.11.2",
3434
"jquery": "^3.7.1",
3535
"ngx-bootstrap": "^12.0.0",
36-
"ngx-highlightjs": "^10.0.0",
36+
"ngx-highlightjs": "^12.0.0",
3737
"rxjs": "^7.8.1",
3838
"sortablejs": "^1.15.2",
3939
"tslib": "^2.6.2",

packages/demo/src/app/code-block/code-block.component.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<ng-container *ngIf="code">
2-
<pre><code [highlight]="code"
3-
[languages]="languages ?? []"
4-
[lineNumbers]="false"></code></pre>
2+
<pre><code [highlightAuto]="code"
3+
[languages]="languages ?? []"></code></pre>
54

65
<button *ngIf="copy"
76
type="button"

packages/demo/src/app/example/example.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ <h2 class="h3">{{ config.name }}</h2>
3434
<tab *ngFor="let source of sources; trackBy tabTrackBy"
3535
[heading]="source.tab"
3636
class="example-tab-content">
37-
<pre><code [highlight]="source.code"
37+
<pre><code [highlightAuto]="source.code"
3838
[languages]="[source.language]"
39-
[lineNumbers]="true"></code></pre>
39+
lineNumbers></code></pre>
4040
</tab>
4141
</tabset>
4242
<ng-template #single>
4343
<div *ngIf="sources?.[0] as source"
4444
class="example-tab-content example-tab-content--single">
45-
<pre><code [highlight]="source.code"
45+
<pre><code [highlightAuto]="source.code"
4646
[languages]="[source.language]"
47-
[lineNumbers]="true"></code></pre>
47+
lineNumbers></code></pre>
4848
</div>
4949
</ng-template>
5050
</div>

packages/demo/src/app/example/example.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { CommonModule } from '@angular/common'
22
import { Component, Injector, Input, Type, ViewEncapsulation } from '@angular/core'
33
import { TabsModule } from 'ngx-bootstrap/tabs'
44
import { HighlightModule } from 'ngx-highlightjs'
5+
import { HighlightLineNumbers } from 'ngx-highlightjs/line-numbers'
56

67
export interface ExampleConfig {
78
component?: Type<any>
@@ -56,7 +57,8 @@ export function resolveTempaltes(cfg: LoaderConfig, prefix: string) {
5657
imports: [
5758
CommonModule,
5859
TabsModule,
59-
HighlightModule
60+
HighlightModule,
61+
HighlightLineNumbers
6062
],
6163
templateUrl: './example.component.html',
6264
styleUrls: ['./example.component.scss'],

0 commit comments

Comments
 (0)