Skip to content

Commit da109a4

Browse files
committed
feat(demo): ng update to 19
1 parent 4c8f748 commit da109a4

File tree

11 files changed

+7773
-4996
lines changed

11 files changed

+7773
-4996
lines changed

demo/angular.json

Lines changed: 145 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -1,150 +1,153 @@
11
{
2-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3-
"version": 1,
4-
"newProjectRoot": "projects",
5-
"projects": {
6-
"app": {
7-
"projectType": "application",
8-
"schematics": {},
9-
"root": "",
10-
"sourceRoot": "src",
11-
"prefix": "app",
12-
"architect": {
13-
"build": {
14-
"builder": "@angular-devkit/build-angular:browser",
15-
"options": {
16-
"outputPath": "www",
17-
"index": "src/index.html",
18-
"main": "src/main.ts",
19-
"polyfills": "src/polyfills.ts",
20-
"tsConfig": "tsconfig.app.json",
21-
"inlineStyleLanguage": "scss",
22-
"assets": [
23-
{
24-
"glob": "**/*",
25-
"input": "src/assets",
26-
"output": "assets"
27-
},
28-
{
29-
"glob": "**/*.svg",
30-
"input": "node_modules/ionicons/dist/ionicons/svg",
31-
"output": "./svg"
32-
}
33-
],
34-
"styles": ["src/theme/variables.scss", "src/global.scss"],
35-
"scripts": []
36-
},
37-
"configurations": {
38-
"production": {
39-
"budgets": [
40-
{
41-
"type": "initial",
42-
"maximumWarning": "2mb",
43-
"maximumError": "5mb"
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"app": {
7+
"projectType": "application",
8+
"schematics": {},
9+
"root": "",
10+
"sourceRoot": "src",
11+
"prefix": "app",
12+
"architect": {
13+
"build": {
14+
"builder": "@angular-devkit/build-angular:application",
15+
"options": {
16+
"outputPath": {
17+
"base": "www"
18+
},
19+
"index": "src/index.html",
20+
"polyfills": [
21+
"src/polyfills.ts"
22+
],
23+
"tsConfig": "tsconfig.app.json",
24+
"inlineStyleLanguage": "scss",
25+
"assets": [
26+
{
27+
"glob": "**/*",
28+
"input": "src/assets",
29+
"output": "assets"
30+
}
31+
],
32+
"styles": [
33+
"src/theme/variables.scss",
34+
"src/global.scss"
35+
],
36+
"scripts": [],
37+
"browser": "src/main.ts"
38+
},
39+
"configurations": {
40+
"production": {
41+
"budgets": [
42+
{
43+
"type": "initial",
44+
"maximumWarning": "2mb",
45+
"maximumError": "5mb"
46+
},
47+
{
48+
"type": "anyComponentStyle",
49+
"maximumWarning": "2kb",
50+
"maximumError": "4kb"
51+
}
52+
],
53+
"fileReplacements": [
54+
{
55+
"replace": "src/environments/environment.ts",
56+
"with": "src/environments/environment.prod.ts"
57+
}
58+
],
59+
"outputHashing": "all"
60+
},
61+
"development": {
62+
"optimization": false,
63+
"extractLicenses": false,
64+
"sourceMap": true,
65+
"namedChunks": true
66+
},
67+
"ci": {
68+
"progress": false
69+
}
70+
},
71+
"defaultConfiguration": "production"
4472
},
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"
73+
"serve": {
74+
"builder": "@angular-devkit/build-angular:dev-server",
75+
"configurations": {
76+
"production": {
77+
"buildTarget": "app:build:production"
78+
},
79+
"development": {
80+
"buildTarget": "app:build:development"
81+
},
82+
"ci": {
83+
"progress": false
84+
}
85+
},
86+
"defaultConfiguration": "development"
87+
},
88+
"extract-i18n": {
89+
"builder": "@angular-devkit/build-angular:extract-i18n",
90+
"options": {
91+
"buildTarget": "app:build"
92+
}
93+
},
94+
"test": {
95+
"builder": "@angular-devkit/build-angular:karma",
96+
"options": {
97+
"main": "src/test.ts",
98+
"polyfills": "src/polyfills.ts",
99+
"tsConfig": "tsconfig.spec.json",
100+
"karmaConfig": "karma.conf.js",
101+
"inlineStyleLanguage": "scss",
102+
"assets": [
103+
{
104+
"glob": "**/*",
105+
"input": "src/assets",
106+
"output": "assets"
107+
},
108+
{
109+
"glob": "**/*.svg",
110+
"input": "node_modules/ionicons/dist/ionicons/svg",
111+
"output": "./svg"
112+
}
113+
],
114+
"styles": [
115+
"src/theme/variables.scss",
116+
"src/global.scss"
117+
],
118+
"scripts": []
119+
},
120+
"configurations": {
121+
"ci": {
122+
"progress": false,
123+
"watch": false
124+
}
125+
}
126+
},
127+
"lint": {
128+
"builder": "@angular-eslint/builder:lint",
129+
"options": {
130+
"lintFilePatterns": [
131+
"src/**/*.ts",
132+
"src/**/*.html"
133+
]
134+
}
55135
}
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-
"ci": {
68-
"progress": false
69-
}
70-
},
71-
"defaultConfiguration": "production"
72-
},
73-
"serve": {
74-
"builder": "@angular-devkit/build-angular:dev-server",
75-
"configurations": {
76-
"production": {
77-
"buildTarget": "app:build:production"
78-
},
79-
"development": {
80-
"buildTarget": "app:build:development"
81-
},
82-
"ci": {
83-
"progress": false
84-
}
85-
},
86-
"defaultConfiguration": "development"
87-
},
88-
"extract-i18n": {
89-
"builder": "@angular-devkit/build-angular:extract-i18n",
90-
"options": {
91-
"buildTarget": "app:build"
92-
}
93-
},
94-
"test": {
95-
"builder": "@angular-devkit/build-angular:karma",
96-
"options": {
97-
"main": "src/test.ts",
98-
"polyfills": "src/polyfills.ts",
99-
"tsConfig": "tsconfig.spec.json",
100-
"karmaConfig": "karma.conf.js",
101-
"inlineStyleLanguage": "scss",
102-
"assets": [
103-
{
104-
"glob": "**/*",
105-
"input": "src/assets",
106-
"output": "assets"
107-
},
108-
{
109-
"glob": "**/*.svg",
110-
"input": "node_modules/ionicons/dist/ionicons/svg",
111-
"output": "./svg"
112-
}
113-
],
114-
"styles": ["src/theme/variables.scss", "src/global.scss"],
115-
"scripts": []
116-
},
117-
"configurations": {
118-
"ci": {
119-
"progress": false,
120-
"watch": false
121136
}
122-
}
123-
},
124-
"lint": {
125-
"builder": "@angular-eslint/builder:lint",
126-
"options": {
127-
"lintFilePatterns": [
128-
"src/**/*.ts",
129-
"src/**/*.html"
130-
]
131-
}
132137
}
133-
}
134-
}
135-
},
136-
"cli": {
137-
"schematicCollections": [
138-
"@ionic/angular-toolkit"
139-
],
140-
"analytics": "6d2d22bc-87a2-406d-9628-145e7122c59e"
141-
},
142-
"schematics": {
143-
"@ionic/angular-toolkit:component": {
144-
"styleext": "scss"
145138
},
146-
"@ionic/angular-toolkit:page": {
147-
"styleext": "scss"
139+
"cli": {
140+
"schematicCollections": [
141+
"@ionic/angular-toolkit"
142+
],
143+
"analytics": "6d2d22bc-87a2-406d-9628-145e7122c59e"
144+
},
145+
"schematics": {
146+
"@ionic/angular-toolkit:component": {
147+
"styleext": "scss"
148+
},
149+
"@ionic/angular-toolkit:page": {
150+
"styleext": "scss"
151+
}
148152
}
149-
}
150153
}

demo/capacitor.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { CapacitorConfig } from '@capacitor/cli';
33
const config: CapacitorConfig = {
44
appId: 'jp.capacitor.screenshotevent',
55
appName: 'demo',
6-
webDir: 'www',
7-
bundledWebRuntime: false,
6+
webDir: 'www/browser',
87
};
98

109
export default config;

0 commit comments

Comments
 (0)