diff --git a/angular.json b/angular.json index 95a5daf..bf22847 100644 --- a/angular.json +++ b/angular.json @@ -3,11 +3,14 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "sakai": { + "sakai-ng": { "projectType": "application", "schematics": { "@schematics/angular:component": { "style": "scss" + }, + "@schematics/angular:application": { + "strict": true } }, "root": "", @@ -28,10 +31,10 @@ "src/assets" ], "styles": [ - "src/styles.scss" - ], - "allowedCommonJsDependencies": [ - "chart.js" + "src/styles.scss", + "./node_modules/@fullcalendar/common/main.css", + "./node_modules/@fullcalendar/daygrid/main.css", + "./node_modules/@fullcalendar/timegrid/main.css" ] }, "configurations": { @@ -39,13 +42,13 @@ "budgets": [ { "type": "initial", - "maximumWarning": "3mb", + "maximumWarning": "1mb", "maximumError": "5mb" }, { "type": "anyComponentStyle", - "maximumWarning": "6kb", - "maximumError": "10kb" + "maximumWarning": "2kb", + "maximumError": "4kb" } ], "fileReplacements": [ @@ -71,10 +74,10 @@ "builder": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "browserTarget": "sakai:build:production" + "browserTarget": "sakai-ng:build:production" }, "development": { - "browserTarget": "sakai:build:development" + "browserTarget": "sakai-ng:build:development" } }, "defaultConfiguration": "development" @@ -82,7 +85,7 @@ "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "sakai:build" + "browserTarget": "sakai-ng:build" } }, "test": { @@ -115,7 +118,7 @@ } } }, - "defaultProject": "sakai", + "defaultProject": "sakai-ng", "cli": { "analytics": false, "schematicCollections": [ diff --git a/package.json b/package.json index 0fc38c5..5ea3867 100644 --- a/package.json +++ b/package.json @@ -39,23 +39,16 @@ "@angular/cli": "~14.0.3", "@angular/compiler-cli": "~14.0.0", "@types/jasmine": "~3.10.0", - "@types/jasminewd2": "~2.0.8", "@types/node": "^12.11.1", "@typescript-eslint/eslint-plugin": "5.37.0", "@typescript-eslint/parser": "5.37.0", - "codelyzer": "^6.0.0", "eslint": "^8.23.1", - "jasmine-core": "~3.10.0", - "jasmine-spec-reporter": "~5.0.0", + "jasmine-core": "~4.0.0", "karma": "~6.3.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.2.0", - "karma-coverage-istanbul-reporter": "~3.0.3", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "~1.7.0", - "protractor": "~7.0.0", - "ts-node": "~8.3.0", - "tslint": "~6.1.0", "typescript": "~4.7.2" } } \ No newline at end of file