Skip to content

Commit 276837e

Browse files
committed
feat(ref: no-ref): angular v20
1 parent 086c256 commit 276837e

File tree

3 files changed

+135
-117
lines changed

3 files changed

+135
-117
lines changed

angular.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,34 @@
77
"style": "scss",
88
"standalone": true,
99
"changeDetection": "OnPush",
10-
"viewEncapsulation": "Emulated"
10+
"viewEncapsulation": "Emulated",
11+
"type": "component"
1112
},
1213
"@schematics/angular:directive": {
13-
"standalone": true
14+
"standalone": true,
15+
"type": "directive"
1416
},
1517
"@schematics/angular:pipe": {
16-
"standalone": true
18+
"standalone": true,
19+
"typeSeparator": "."
1720
},
1821
"@schematics/angular:application": {
1922
"strict": true
23+
},
24+
"@schematics/angular:service": {
25+
"type": "service"
26+
},
27+
"@schematics/angular:guard": {
28+
"typeSeparator": "."
29+
},
30+
"@schematics/angular:interceptor": {
31+
"typeSeparator": "."
32+
},
33+
"@schematics/angular:module": {
34+
"typeSeparator": "."
35+
},
36+
"@schematics/angular:resolver": {
37+
"typeSeparator": "."
2038
}
2139
},
2240
"projects": {

package.json

Lines changed: 112 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,114 @@
11
{
2-
"name": "ngx-loader-indicator",
3-
"version": "20.0.0",
4-
"description": "The best directive without wrapping your element to additional component",
5-
"license": "MIT",
6-
"keywords": [
7-
"ngx-loader-indicator",
8-
"ngx-loader",
9-
"ngx",
10-
"ngx-spinner",
11-
"ngx-loader-spinner",
12-
"angular",
13-
"jsdaddy"
14-
],
15-
"scripts": {
16-
"ng": "ng",
17-
"start": "ng serve",
18-
"build": "ng build angular-loader --base-href /ngx-loader-indicator/ --configuration production",
19-
"build:lib": "ng build --configuration production ngx-loader-indicator-lib && bun run copy-libdocs",
20-
"copy-libdocs": "cp README.md LICENSE dist/ngx-loader-indicator-lib",
21-
"publish:lib": "cd dist/ngx-loader-indicator-lib && bun publish",
22-
"test": "ng test",
23-
"test:pre-commit": "ng test --watch=false",
24-
"lint": "npx eslint . && bun run lint:scss",
25-
"lint:scss": "stylelint \"**/*.scss\"",
26-
"lint:scss:fix": "stylelint \"**/*.scss\" --fix",
27-
"lint:fix": "ng lint --fix && bun run lint:scss:fix",
28-
"prettier:fix": "npx prettier --write .",
29-
"type-coverage": "type-coverage",
30-
"init:git:hooks": ".github/scripts/setup_hooks.sh",
31-
"snyk:auth": "snyk auth",
32-
"snyk:test": "snyk test && snyk code test"
33-
},
34-
"repository": {
35-
"type": "git",
36-
"url": "https://github.com/JsDaddy/ngx-loader-indicator.git"
37-
},
38-
"dependencies": {
39-
"@angular/animations": "19.2.8",
40-
"@angular/common": "19.2.8",
41-
"@angular/compiler": "19.2.8",
42-
"@angular/core": "19.2.8",
43-
"@angular/forms": "19.2.8",
44-
"@angular/platform-browser": "19.2.8",
45-
"@angular/platform-browser-dynamic": "19.2.8",
46-
"@angular/router": "^19.2.8",
47-
"@tailwindcss/postcss": "^4.1.4",
48-
"core-js": "3.42.0",
49-
"highlight.js": "^11.11.1",
50-
"ngx-highlightjs": "^14.0.0",
51-
"ngxtension": "5.0.0",
52-
"rxjs": "7.8.2"
53-
},
54-
"devDependencies": {
55-
"@angular-devkit/build-angular": "19.2.9",
56-
"@angular-eslint/builder": "19.3.0",
57-
"@angular-eslint/eslint-plugin": "19.3.0",
58-
"@angular-eslint/eslint-plugin-template": "19.3.0",
59-
"@angular-eslint/schematics": "19.3.0",
60-
"@angular-eslint/template-parser": "19.3.0",
61-
"@angular/cli": "19.2.9",
62-
"@angular/compiler-cli": "19.2.8",
63-
"@angular/language-service": "19.2.8",
64-
"@commitlint/cli": "19.8.0",
65-
"@commitlint/config-conventional": "19.8.0",
66-
"@types/jasmine": "5.1.7",
67-
"@types/jasminewd2": "2.0.13",
68-
"@types/node": "22.15.3",
69-
"@typescript-eslint/eslint-plugin": "8.31.1",
70-
"@web/test-runner": "^0.20.1",
71-
"angular-eslint": "^19.3.0",
72-
"eslint": "9.25.1",
73-
"eslint-config-prettier": "10.1.2",
74-
"eslint-plugin-import": "2.31.0",
75-
"eslint-plugin-json": "4.0.1",
76-
"eslint-plugin-prettier": "5.2.6",
77-
"jasmine-core": "5.7.0",
78-
"jasmine-spec-reporter": "7.0.0",
79-
"lint-staged": "15.5.1",
80-
"ng-packagr": "19.2.2",
81-
"npm-check-updates": "^18.0.1",
82-
"prettier": "3.5.3",
83-
"puppeteer": "24.7.2",
84-
"semantic-release": "24.2.3",
85-
"semantic-release-export-data": "1.1.0",
86-
"snyk": "^1.1296.2",
87-
"stylelint": "16.19.1",
88-
"stylelint-config-prettier": "9.0.5",
89-
"stylelint-config-recommended-scss": "14.1.0",
90-
"stylelint-prettier": "5.0.3",
91-
"ts-node": "10.9.2",
92-
"type-coverage": "^2.29.7",
93-
"typescript": "5.8.3",
94-
"typescript-eslint": "^8.31.1",
95-
"tailwindcss": "^4.1.4",
96-
"bun-types": "^1.2.11",
97-
"postcss": "^8.5.3"
98-
},
99-
"typeCoverage": {
100-
"atLeast": 98,
101-
"ignoreObject": true,
102-
"ignoreAsAssertion": true,
103-
"ignoreTypeAssertion;": true,
104-
"strict": true,
105-
"suppressError": true,
106-
"reportSemanticError": true,
107-
"ignoreCatch": true,
108-
"ignoreFiles": [
109-
"server/**/*.ts",
110-
"server.ts"
111-
]
112-
},
113-
"ngPackage": true
2+
"name": "ngx-loader-indicator",
3+
"version": "20.0.0",
4+
"description": "The best directive without wrapping your element to additional component",
5+
"license": "MIT",
6+
"keywords": [
7+
"ngx-loader-indicator",
8+
"ngx-loader",
9+
"ngx",
10+
"ngx-spinner",
11+
"ngx-loader-spinner",
12+
"angular",
13+
"jsdaddy"
14+
],
15+
"scripts": {
16+
"ng": "ng",
17+
"start": "ng serve",
18+
"build": "ng build angular-loader --base-href /ngx-loader-indicator/ --configuration production",
19+
"build:lib": "ng build --configuration production ngx-loader-indicator-lib && bun run copy-libdocs",
20+
"copy-libdocs": "cp README.md LICENSE dist/ngx-loader-indicator-lib",
21+
"publish:lib": "cd dist/ngx-loader-indicator-lib && bun publish",
22+
"test": "ng test",
23+
"test:pre-commit": "ng test --watch=false",
24+
"lint": "npx eslint . && bun run lint:scss",
25+
"lint:scss": "stylelint \"**/*.scss\"",
26+
"lint:scss:fix": "stylelint \"**/*.scss\" --fix",
27+
"lint:fix": "ng lint --fix && bun run lint:scss:fix",
28+
"prettier:fix": "npx prettier --write .",
29+
"type-coverage": "type-coverage",
30+
"init:git:hooks": ".github/scripts/setup_hooks.sh",
31+
"snyk:auth": "snyk auth",
32+
"snyk:test": "snyk test && snyk code test"
33+
},
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/JsDaddy/ngx-loader-indicator.git"
37+
},
38+
"dependencies": {
39+
"@angular/animations": "20.1.4",
40+
"@angular/common": "20.1.4",
41+
"@angular/compiler": "20.1.4",
42+
"@angular/core": "20.1.4",
43+
"@angular/forms": "20.1.4",
44+
"@angular/platform-browser": "20.1.4",
45+
"@angular/platform-browser-dynamic": "20.1.4",
46+
"@angular/router": "^20.1.4",
47+
"@tailwindcss/postcss": "^4.1.4",
48+
"core-js": "3.42.0",
49+
"highlight.js": "^11.11.1",
50+
"ngx-highlightjs": "^14.0.0",
51+
"ngxtension": "5.0.0",
52+
"rxjs": "7.8.2"
53+
},
54+
"devDependencies": {
55+
"@angular-devkit/build-angular": "20.1.4",
56+
"@angular-eslint/builder": "19.3.0",
57+
"@angular-eslint/eslint-plugin": "19.3.0",
58+
"@angular-eslint/eslint-plugin-template": "19.3.0",
59+
"@angular-eslint/schematics": "19.3.0",
60+
"@angular-eslint/template-parser": "19.3.0",
61+
"@angular/cli": "20.1.4",
62+
"@angular/compiler-cli": "20.1.4",
63+
"@angular/language-service": "20.1.4",
64+
"@commitlint/cli": "19.8.0",
65+
"@commitlint/config-conventional": "19.8.0",
66+
"@types/jasmine": "5.1.7",
67+
"@types/jasminewd2": "2.0.13",
68+
"@types/node": "22.15.3",
69+
"@typescript-eslint/eslint-plugin": "8.31.1",
70+
"@web/test-runner": "^0.20.1",
71+
"angular-eslint": "^19.3.0",
72+
"eslint": "9.25.1",
73+
"eslint-config-prettier": "10.1.2",
74+
"eslint-plugin-import": "2.31.0",
75+
"eslint-plugin-json": "4.0.1",
76+
"eslint-plugin-prettier": "5.2.6",
77+
"jasmine-core": "5.7.0",
78+
"jasmine-spec-reporter": "7.0.0",
79+
"lint-staged": "15.5.1",
80+
"ng-packagr": "20.1.0",
81+
"npm-check-updates": "^18.0.1",
82+
"prettier": "3.5.3",
83+
"puppeteer": "24.7.2",
84+
"semantic-release": "24.2.3",
85+
"semantic-release-export-data": "1.1.0",
86+
"snyk": "^1.1296.2",
87+
"stylelint": "16.19.1",
88+
"stylelint-config-prettier": "9.0.5",
89+
"stylelint-config-recommended-scss": "14.1.0",
90+
"stylelint-prettier": "5.0.3",
91+
"ts-node": "10.9.2",
92+
"type-coverage": "^2.29.7",
93+
"typescript": "5.8.3",
94+
"typescript-eslint": "^8.31.1",
95+
"tailwindcss": "^4.1.4",
96+
"bun-types": "^1.2.11",
97+
"postcss": "^8.5.3"
98+
},
99+
"typeCoverage": {
100+
"atLeast": 98,
101+
"ignoreObject": true,
102+
"ignoreAsAssertion": true,
103+
"ignoreTypeAssertion;": true,
104+
"strict": true,
105+
"suppressError": true,
106+
"reportSemanticError": true,
107+
"ignoreCatch": true,
108+
"ignoreFiles": [
109+
"server/**/*.ts",
110+
"server.ts"
111+
]
112+
},
113+
"ngPackage": true
114114
}

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { provideExperimentalZonelessChangeDetection } from '@angular/core';
1+
import { provideZonelessChangeDetection } from '@angular/core';
22
import { provideHttpClient } from '@angular/common/http';
33
import { bootstrapApplication } from '@angular/platform-browser';
44
import { provideAnimations } from '@angular/platform-browser/animations';
@@ -12,7 +12,7 @@ import { AppComponent } from './app/app.component';
1212

1313
bootstrapApplication(AppComponent, {
1414
providers: [
15-
provideExperimentalZonelessChangeDetection(),
15+
provideZonelessChangeDetection(),
1616
provideAnimations(),
1717
provideRouter([]),
1818
GithubStarsService,

0 commit comments

Comments
 (0)