Skip to content

Commit 5ec7f28

Browse files
authored
build: bump angular 18 (#27)
1 parent a3d930f commit 5ec7f28

File tree

13 files changed

+955
-42
lines changed

13 files changed

+955
-42
lines changed

.eslintrc.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
"style": "kebab-case"
3737
}
3838
],
39-
"@angular-eslint/no-host-metadata-property": [
40-
"off"
41-
]
39+
"@angular-eslint/no-host-metadata-property": "off"
4240
}
4341
},
4442
{

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: run
3131
run: yarn run test
3232

33-
- uses: codecov/codecov-action@v3
33+
- uses: codecov/codecov-action@v4
3434
name: upload
3535
with:
3636
token: ${{ secrets.CODECOV_TOKEN }}

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,16 @@ Thumbs.db
4343

4444
/publish
4545
/yarn.lock
46+
47+
/.angular/cache
48+
49+
# Yarn
50+
yarn.lock
51+
yarn-error.log
52+
.yarn/*
53+
!.yarn/patches
54+
!.yarn/plugins
55+
!.yarn/releases
56+
!.yarn/sdks
57+
!.yarn/versions
58+
.pnp.*

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.12.0
1+
18.19.1

.yarn/releases/yarn-4.0.1.cjs

Lines changed: 893 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
enableImmutableInstalls: false
2+
3+
nodeLinker: node-modules
4+
5+
yarnPath: .yarn/releases/yarn-4.0.1.cjs

angular.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
],
2929
"tsConfig": "tsconfig.app.json",
3030
"assets": [
31-
"src/favicon.ico",
32-
"src/assets"
31+
{
32+
"glob": "**/*",
33+
"input": "public"
34+
}
3335
],
3436
"inlineStyleLanguage": "less",
3537
"styles": [],
@@ -40,13 +42,13 @@
4042
"budgets": [
4143
{
4244
"type": "initial",
43-
"maximumWarning": "500kb",
44-
"maximumError": "1mb"
45+
"maximumWarning": "500kB",
46+
"maximumError": "1MB"
4547
},
4648
{
4749
"type": "anyComponentStyle",
48-
"maximumWarning": "2kb",
49-
"maximumError": "4kb"
50+
"maximumWarning": "2kB",
51+
"maximumError": "4kB"
5052
}
5153
],
5254
"outputHashing": "all"
@@ -81,7 +83,7 @@
8183
],
8284
"tsConfig": "tsconfig.spec.json",
8385
"scripts": [
84-
"src/assets/highlight.min.js"
86+
"public/highlight.min.js"
8587
],
8688
"include": [
8789
"lib/**/*.spec.ts"

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-highlight-js",
3-
"version": "17.0.0",
3+
"version": "18.0.0",
44
"description": "Angular for syntax highlighting with highlight.js",
55
"keywords": [
66
"highlight",

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-highlight-js",
3-
"version": "17.0.0",
3+
"version": "18.0.0",
44
"description": "Angular for syntax highlighting with highlight.js",
55
"keywords": [
66
"highlight",
@@ -28,39 +28,39 @@
2828
"release:next": "npm run build && cd publish && npm publish --access public --tag next"
2929
},
3030
"dependencies": {
31-
"@angular/animations": "^17.0.0",
32-
"@angular/common": "^17.0.0",
33-
"@angular/compiler": "^17.0.0",
34-
"@angular/core": "^17.0.0",
35-
"@angular/forms": "^17.0.0",
36-
"@angular/platform-browser": "^17.0.0",
37-
"@angular/platform-browser-dynamic": "^17.0.0",
38-
"@angular/router": "^17.0.0",
31+
"@angular/animations": "^18.0.0",
32+
"@angular/common": "^18.0.0",
33+
"@angular/compiler": "^18.0.0",
34+
"@angular/core": "^18.0.0",
35+
"@angular/forms": "^18.0.0",
36+
"@angular/platform-browser": "^18.0.0",
37+
"@angular/platform-browser-dynamic": "^18.0.0",
38+
"@angular/router": "^18.0.0",
3939
"rxjs": "~7.8.0",
4040
"tslib": "^2.3.0",
41-
"zone.js": "~0.14.2",
41+
"zone.js": "~0.14.3",
4242
"highlight.js": "^11.0.0"
4343
},
4444
"devDependencies": {
45-
"@angular-devkit/build-angular": "^17.0.0",
46-
"@angular/cli": "^17.0.0",
47-
"@angular/compiler-cli": "^17.0.0",
45+
"@angular-devkit/build-angular": "^18.0.4",
46+
"@angular/cli": "^18.0.4",
47+
"@angular/compiler-cli": "^18.0.0",
4848
"@types/jasmine": "~5.1.0",
4949
"jasmine-core": "~5.1.0",
5050
"karma": "~6.4.0",
5151
"karma-chrome-launcher": "~3.2.0",
5252
"karma-coverage": "~2.2.0",
5353
"karma-jasmine": "~5.1.0",
5454
"karma-jasmine-html-reporter": "~2.1.0",
55-
"typescript": "~5.2.2",
56-
"@angular-eslint/builder": "^17.0.0",
57-
"@angular-eslint/eslint-plugin": "^17.0.0",
58-
"@angular-eslint/eslint-plugin-template": "^17.0.0",
59-
"@angular-eslint/schematics": "^17.0.0",
60-
"@angular-eslint/template-parser": "^17.0.0",
61-
"@typescript-eslint/eslint-plugin": "^6.10.0",
62-
"@typescript-eslint/parser": "^6.10.0",
55+
"typescript": "~5.4.2",
56+
"@angular-eslint/builder": "^18.0.0",
57+
"@angular-eslint/eslint-plugin": "^18.0.0",
58+
"@angular-eslint/eslint-plugin-template": "^18.0.0",
59+
"@angular-eslint/schematics": "^18.0.0",
60+
"@angular-eslint/template-parser": "^18.0.0",
61+
"@typescript-eslint/eslint-plugin": "^7.13.0",
62+
"@typescript-eslint/parser": "^7.13.0",
6363
"eslint": "^8.53.0",
64-
"ng-packagr": "^17.0.0"
64+
"ng-packagr": "^18.0.0"
6565
}
6666
}

0 commit comments

Comments
 (0)