Skip to content

Commit 7175132

Browse files
committed
feat: add support for fit to window
1 parent 16d8b0c commit 7175132

File tree

9 files changed

+2036
-1135
lines changed

9 files changed

+2036
-1135
lines changed

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"name": "ng serve",
77
"type": "chrome",
88
"request": "launch",
9-
"preLaunchTask": "npm: start",
10-
"url": "http://localhost:4200/"
9+
// "preLaunchTask": "pnpm: start",
10+
"url": "http://localhost:52666/"
1111
},
1212
{
1313
"name": "ng test",

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"javascript.inlayHints.variableTypes.enabled": true,
77
"explorer.fileNesting.enabled": true,
88
"explorer.fileNesting.patterns": {
9-
"*.ts": "${basename}.spec.ts,${basename}.ts"
9+
"*.ts": "${basename}.*.ts"
1010
}
1111
}

angular.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
"prefix": "app",
2323
"architect": {
2424
"build": {
25-
"builder": "@angular-devkit/build-angular:browser-esbuild",
25+
"builder": "@angular-devkit/build-angular:application",
2626
"options": {
2727
"outputPath": "dist/angular-flow",
2828
"index": "src/index.html",
29-
"main": "src/main.ts",
29+
"browser": "src/main.ts",
3030
"polyfills": ["zone.js"],
3131
"tsConfig": "tsconfig.app.json",
3232
"inlineStyleLanguage": "scss",
@@ -51,9 +51,7 @@
5151
"outputHashing": "all"
5252
},
5353
"development": {
54-
"buildOptimizer": false,
5554
"optimization": false,
56-
"vendorChunk": true,
5755
"extractLicenses": false,
5856
"sourceMap": true,
5957
"namedChunks": true
@@ -65,18 +63,18 @@
6563
"builder": "@angular-devkit/build-angular:dev-server",
6664
"configurations": {
6765
"production": {
68-
"browserTarget": "angular-flow:build:production"
66+
"buildTarget": "angular-flow:build:production"
6967
},
7068
"development": {
71-
"browserTarget": "angular-flow:build:development"
69+
"buildTarget": "angular-flow:build:development"
7270
}
7371
},
7472
"defaultConfiguration": "development"
7573
},
7674
"extract-i18n": {
7775
"builder": "@angular-devkit/build-angular:extract-i18n",
7876
"options": {
79-
"browserTarget": "angular-flow:build"
77+
"buildTarget": "angular-flow:build"
8078
}
8179
},
8280
"test": {
@@ -92,5 +90,8 @@
9290
}
9391
}
9492
}
93+
},
94+
"cli": {
95+
"packageManager": "pnpm"
9596
}
9697
}

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,29 @@
1010
},
1111
"private": true,
1212
"dependencies": {
13-
"@angular/animations": "^16.1.0",
14-
"@angular/common": "^16.1.0",
15-
"@angular/compiler": "^16.1.0",
16-
"@angular/core": "^16.1.0",
17-
"@angular/forms": "^16.1.0",
18-
"@angular/platform-browser": "^16.1.0",
19-
"@angular/platform-browser-dynamic": "^16.1.0",
20-
"@angular/router": "^16.1.0",
13+
"@angular/animations": "^17.0.2",
14+
"@angular/common": "^17.0.2",
15+
"@angular/compiler": "^17.0.2",
16+
"@angular/core": "^17.0.2",
17+
"@angular/forms": "^17.0.2",
18+
"@angular/platform-browser": "^17.0.2",
19+
"@angular/platform-browser-dynamic": "^17.0.2",
20+
"@angular/router": "^17.0.2",
2121
"rxjs": "~7.8.0",
2222
"tslib": "^2.3.0",
23-
"zone.js": "~0.13.0"
23+
"zone.js": "~0.14.2"
2424
},
2525
"devDependencies": {
26-
"@angular-devkit/build-angular": "^16.1.4",
27-
"@angular/cli": "~16.1.4",
28-
"@angular/compiler-cli": "^16.1.0",
26+
"@angular-devkit/build-angular": "^17.0.0",
27+
"@angular/cli": "~17.0.0",
28+
"@angular/compiler-cli": "^17.0.2",
2929
"@types/jest": "^29.5.5",
3030
"autoprefixer": "^10.4.15",
3131
"jest": "^29.7.0",
3232
"jest-preset-angular": "^13.1.2",
3333
"postcss": "^8.4.28",
3434
"tailwindcss": "^3.3.3",
35-
"typescript": "~5.1.3"
35+
"typescript": "~5.2.2"
3636
},
3737
"jest": {
3838
"preset": "jest-preset-angular",

0 commit comments

Comments
 (0)