Skip to content

Commit 192d114

Browse files
Update to v16
1 parent 5a0ec36 commit 192d114

45 files changed

Lines changed: 3550 additions & 540 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.browserslistrc

Lines changed: 0 additions & 16 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ Thumbs.db
4141
# Compiled files
4242
layout.css
4343
src/assets/demo/styles/badges.css
44-
src/assets/layout/styles/theme/designer

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 16.0.0
4+
**Migration Guide**
5+
- Upgrade to PrimeNG 16
6+
- Upgrade to Angular 16
7+
- Update theme files
8+
39
## 15.0.0
410
**Migration Guide**
511
- Upgrade to PrimeNG 15

angular.json

Lines changed: 128 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1,125 +1,135 @@
11
{
2-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3-
"version": 1,
4-
"newProjectRoot": "projects",
5-
"projects": {
6-
"sakai-ng": {
7-
"projectType": "application",
8-
"schematics": {
9-
"@schematics/angular:component": {
10-
"style": "scss"
11-
},
12-
"@schematics/angular:application": {
13-
"strict": true
14-
}
15-
},
16-
"root": "",
17-
"sourceRoot": "src",
18-
"prefix": "app",
19-
"architect": {
20-
"build": {
21-
"builder": "@angular-devkit/build-angular:browser",
22-
"options": {
23-
"outputPath": "dist/sakai-ng",
24-
"index": "src/index.html",
25-
"main": "src/main.ts",
26-
"polyfills": "src/polyfills.ts",
27-
"tsConfig": "tsconfig.app.json",
28-
"inlineStyleLanguage": "scss",
29-
"assets": [
30-
"src/favicon.ico",
31-
"src/assets"
32-
],
33-
"styles": [
34-
"src/styles.scss"
35-
]
36-
},
37-
"configurations": {
38-
"production": {
39-
"budgets": [
40-
{
41-
"type": "initial",
42-
"maximumWarning": "1mb",
43-
"maximumError": "5mb"
44-
},
45-
{
46-
"type": "anyComponentStyle",
47-
"maximumWarning": "2kb",
48-
"maximumError": "4kb"
49-
}
50-
],
51-
"fileReplacements": [
52-
{
53-
"replace": "src/environments/environment.ts",
54-
"with": "src/environments/environment.prod.ts"
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"sakai-ng": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "scss"
5511
}
56-
],
57-
"outputHashing": "all"
58-
},
59-
"development": {
60-
"buildOptimizer": false,
61-
"optimization": false,
62-
"vendorChunk": true,
63-
"extractLicenses": false,
64-
"sourceMap": true,
65-
"namedChunks": true
66-
}
67-
},
68-
"defaultConfiguration": "production"
69-
},
70-
"serve": {
71-
"builder": "@angular-devkit/build-angular:dev-server",
72-
"configurations": {
73-
"production": {
74-
"browserTarget": "sakai-ng:build:production"
7512
},
76-
"development": {
77-
"browserTarget": "sakai-ng:build:development"
13+
"root": "",
14+
"sourceRoot": "src",
15+
"prefix": "app",
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist/sakai-ng",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"polyfills": [
24+
"zone.js"
25+
],
26+
"tsConfig": "tsconfig.app.json",
27+
"inlineStyleLanguage": "scss",
28+
"aot": true,
29+
"assets": [
30+
"src/favicon.ico",
31+
"src/assets"
32+
],
33+
"styles": [
34+
"src/styles.scss"
35+
],
36+
"scripts": [
37+
"node_modules/prismjs/prism.js",
38+
"node_modules/prismjs/components/prism-typescript.js"
39+
]
40+
},
41+
"configurations": {
42+
"production": {
43+
"budgets": [
44+
{
45+
"type": "initial",
46+
"maximumWarning": "3mb",
47+
"maximumError": "5mb"
48+
},
49+
{
50+
"type": "anyComponentStyle",
51+
"maximumWarning": "6kb",
52+
"maximumError": "10kb"
53+
}
54+
],
55+
"fileReplacements": [
56+
{
57+
"replace": "src/environments/environment.ts",
58+
"with": "src/environments/environment.prod.ts"
59+
}
60+
],
61+
"outputHashing": "all"
62+
},
63+
"development": {
64+
"buildOptimizer": false,
65+
"optimization": false,
66+
"vendorChunk": true,
67+
"extractLicenses": false,
68+
"sourceMap": true,
69+
"namedChunks": true
70+
}
71+
},
72+
"defaultConfiguration": "production"
73+
},
74+
"serve": {
75+
"builder": "@angular-devkit/build-angular:dev-server",
76+
"options": {
77+
"browserTarget": "sakai-ng:build"
78+
},
79+
"configurations": {
80+
"production": {
81+
"browserTarget": "sakai-ng:build:production"
82+
},
83+
"development": {
84+
"browserTarget": "sakai-ng:build:development"
85+
}
86+
},
87+
"defaultConfiguration": "development"
88+
},
89+
"extract-i18n": {
90+
"builder": "@angular-devkit/build-angular:extract-i18n",
91+
"options": {
92+
"browserTarget": "sakai-ng:build"
93+
}
94+
},
95+
"test": {
96+
"builder": "@angular-devkit/build-angular:karma",
97+
"options": {
98+
"main": "src/test.ts",
99+
"polyfills": [
100+
"zone.js",
101+
"zone.js/testing"
102+
],
103+
"tsConfig": "tsconfig.spec.json",
104+
"karmaConfig": "karma.conf.js",
105+
"inlineStyleLanguage": "scss",
106+
"styles": [
107+
"src/styles.scss"
108+
],
109+
"scripts": [],
110+
"assets": [
111+
"src/favicon.ico",
112+
"src/upload.php",
113+
"src/assets"
114+
]
115+
}
116+
},
117+
"lint": {
118+
"builder": "@angular-devkit/build-angular:tslint",
119+
"options": {
120+
"tsConfig": [
121+
"tsconfig.app.json",
122+
"tsconfig.spec.json"
123+
],
124+
"exclude": [
125+
"**/node_modules/**"
126+
]
127+
}
128+
}
78129
}
79-
},
80-
"defaultConfiguration": "development"
81-
},
82-
"extract-i18n": {
83-
"builder": "@angular-devkit/build-angular:extract-i18n",
84-
"options": {
85-
"browserTarget": "sakai-ng:build"
86-
}
87-
},
88-
"test": {
89-
"builder": "@angular-devkit/build-angular:karma",
90-
"options": {
91-
"main": "src/test.ts",
92-
"polyfills": "src/polyfills.ts",
93-
"tsConfig": "tsconfig.spec.json",
94-
"karmaConfig": "karma.conf.js",
95-
"inlineStyleLanguage": "scss",
96-
"assets": [
97-
"src/favicon.ico",
98-
"src/assets"
99-
],
100-
"styles": [
101-
"src/styles.scss"
102-
],
103-
"scripts": []
104-
}
105-
},
106-
"lint": {
107-
"builder": "@angular-eslint/builder:lint",
108-
"options": {
109-
"lintFilePatterns": [
110-
"src/**/*.ts",
111-
"src/**/*.html"
112-
]
113-
}
114130
}
115-
}
131+
},
132+
"cli": {
133+
"analytics": false
116134
}
117-
},
118-
"defaultProject": "sakai-ng",
119-
"cli": {
120-
"analytics": false,
121-
"schematicCollections": [
122-
"@angular-eslint/schematics"
123-
]
124-
}
125135
}

karma.conf.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)