Skip to content

Commit

Permalink
Include ERP HGrid sample in to base app. Pre config for Fleet Managem…
Browse files Browse the repository at this point in the history
…ent app. (#19)
  • Loading branch information
skrustev authored Jan 17, 2025
1 parent f3c629b commit ac871e6
Show file tree
Hide file tree
Showing 118 changed files with 264 additions and 398 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
114 changes: 114 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,120 @@
}
}
}
},
"fleet-management": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "projects/fleet-management-grid",
"sourceRoot": "projects/fleet-management-grid/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/fleet-management",
"index": "projects/fleet-management-grid/src/index.html",
"browser": "projects/fleet-management-grid/src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "projects/fleet-management-grid/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
"input": "projects/fleet-management-grid/public"
}
],
"styles": [
"projects/fleet-management-grid/src/styles.scss"
],
"scripts": [
"./node_modules/hammerjs/hammer.min.js"
],
"server": "projects/fleet-management-grid/src/main.server.ts",
"prerender": true,
"ssr": {
"entry": "projects/fleet-management-grid/src/server.ts"
},
"stylePreprocessorOptions": {
"includePaths": [
"node_modules"
]
}
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "11MB",
"maximumError": "12MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "4kB",
"maximumError": "8kB"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "fleet-management:build:production"
},
"development": {
"buildTarget": "fleet-management:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "projects/fleet-management-grid/tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
"input": "projects/fleet-management-grid/public"
}
],
"styles": [
"projects/fleet-management-grid/src/styles.scss"
],
"scripts": [
"./node_modules/hammerjs/hammer.min.js"
],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules"
]
}
}
}
}
}
}
}
16 changes: 16 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
{
"name": "grid-demos",
"version": "0.0.0",
"homepage": "https://github.com/IgniteUI/grid-demos",
"version": "1.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"start:erp": "ng serve --project=erp-hgrid",
"start:fin": "ng serve --project=finance-grid",
"start:hr": "ng serve --project=hr-portal",
"start:sales": "ng serve --project=sales-grid",
"start:fleet": "ng serve --project=fleet-management",
"build": "ng build",
"build:ci": "ng build --base-href /angular-grid-examples/",
"build:erp": "ng build erp-hgrid",
"build:fin": "ng build finance-grid",
"build:hr": "ng build hr-portal",
"build:sales": "ng build sales-grid",
"build:fleet": "ng build fleet-management",
"watch": "ng build --watch --configuration development",
"watch:erp": "ng build erp-hgrid --watch --configuration development",
"watch:fin": "ng build finance-grid --watch --configuration development",
"watch:hr:": "ng build hr-portal --watch --configuration development",
"watch:sales": "ng build sales-grid --watch --configuration development",
"watch:fleet": "ng build fleet-management --watch --configuration development",
"test": "ng test",
"ssr": "node dist/grid-demos/server/server.mjs",
"ssr:erp": "node dist/erp-hgrid/server/server.mjs",
"ssr:erp:watch": "node dist/erp-hgrid/server/server.mjs",
"ssr:fin": "node dist/finance-grid/server/server.mjs",
"ssr:hr": "node dist/hr-portal/server/server.mjs",
"ssr:sales": "node dist/sales-grid/server/server.mjs"
"ssr:sales": "node dist/sales-grid/server/server.mjs",
"ssr:fleet": "node dist/fleet-management/server/server.mjs"
},
"private": true,
"dependencies": {
Expand Down Expand Up @@ -67,5 +71,8 @@
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.6.2"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.26.0"
}
}
File renamed without changes.
1 change: 1 addition & 0 deletions projects/erp-hgrid/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"hgrid-erp": {
"erp-hgrid": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
Expand All @@ -17,7 +17,7 @@
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/hgrid-erp",
"outputPath": "dist/erp-hgrid-app",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
Expand Down Expand Up @@ -76,18 +76,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "hgrid-erp:build:production"
"buildTarget": "erp-hgrid:build:production"
},
"development": {
"buildTarget": "hgrid-erp:build:development"
"buildTarget": "erp-hgrid:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "hgrid-erp:build"
"buildTarget": "erp-hgrid:build"
}
},
"test": {
Expand Down
Loading

0 comments on commit ac871e6

Please sign in to comment.