Skip to content

Commit

Permalink
refactor: use angular signals, standalone component
Browse files Browse the repository at this point in the history
  • Loading branch information
lekhmanrus committed Oct 4, 2024
1 parent eed4770 commit 20ed44c
Show file tree
Hide file tree
Showing 16 changed files with 6,268 additions and 5,039 deletions.
55 changes: 33 additions & 22 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
"schematics": {
"@schematics/angular:component": {
"style": "scss"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "",
"root": "./",
"sourceRoot": "src",
"prefix": "app",
"architect": {
Expand All @@ -21,11 +24,11 @@
"base": "dist/ngx-skeleton-loader-demo"
},
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"src/polyfills.ts"
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"aot": false,
"assets": [
"src/favicon.ico",
"src/assets"
Expand All @@ -34,11 +37,6 @@
"src/styles.scss"
],
"scripts": [],
"extractLicenses": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true,
"browser": "src/main.ts",
"server": "src/main.server.ts",
"prerender": true,
"ssr": {
Expand Down Expand Up @@ -66,32 +64,38 @@
"maximumError": "5mb"
}
]
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": ""
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"buildTarget": "ngx-skeleton-loader-demo:build"
},
"configurations": {
"production": {
"buildTarget": "ngx-skeleton-loader-demo:build:production"
},
"development": {
"buildTarget": "ngx-skeleton-loader-demo:build:development"
}
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "ngx-skeleton-loader-demo:build"
}
"builder": "@angular-devkit/build-angular:extract-i18n"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
Expand Down Expand Up @@ -122,26 +126,33 @@
"projectType": "library",
"root": "projects/ngx-skeleton-loader",
"sourceRoot": "projects/ngx-skeleton-loader/src",
"prefix": "lib",
"prefix": "ngxSkeletonLoader",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/ngx-skeleton-loader/tsconfig.lib.json",
"project": "projects/ngx-skeleton-loader/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/ngx-skeleton-loader/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/ngx-skeleton-loader/tsconfig.lib.json"
}
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/ngx-skeleton-loader/src/test.ts",
"tsConfig": "projects/ngx-skeleton-loader/tsconfig.spec.json",
"karmaConfig": "projects/ngx-skeleton-loader/karma.conf.js"
"karmaConfig": "projects/ngx-skeleton-loader/karma.conf.js",
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
},
"lint": {
Expand Down
Loading

0 comments on commit 20ed44c

Please sign in to comment.