From ef517a01546e79e853ace081aba0f03768a6ff5c Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 12 Nov 2024 14:56:09 +0000 Subject: [PATCH 01/22] chore: release 1.9.3 [skip ci] --- CHANGELOG.md | 6 ++++++ package.json | 2 +- packages/astro-angular/package.json | 4 ++-- packages/content/package.json | 2 +- packages/create-analog/package.json | 2 +- .../create-analog/template-angular-v16/package.json | 10 +++++----- .../create-analog/template-angular-v17/package.json | 10 +++++----- packages/create-analog/template-blog/package.json | 10 +++++----- packages/create-analog/template-latest/package.json | 10 +++++----- packages/create-analog/template-minimal/package.json | 10 +++++----- packages/platform/package.json | 6 +++--- packages/router/package.json | 4 ++-- packages/vite-plugin-angular/package.json | 2 +- packages/vite-plugin-nitro/package.json | 2 +- packages/vitest-angular/package.json | 2 +- 15 files changed, 44 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97787d8e9..bd14d0ffe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [1.9.3](https://github.com/analogjs/analog/compare/v1.9.2...v1.9.3) (2024-11-12) + +### Bug Fixes + +- **vitest-angular:** set correct type in package.json based on output format ([#1438](https://github.com/analogjs/analog/issues/1438)) ([1f078ff](https://github.com/analogjs/analog/commit/1f078ffb57b559540e43ef5e46e2bff70b652fce)) + ## [1.9.3-beta.1](https://github.com/analogjs/analog/compare/v1.9.2...v1.9.3-beta.1) (2024-11-08) ### Bug Fixes diff --git a/package.json b/package.json index 1da9b7cf1..de0336ab0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "analogjs-platform", - "version": "1.9.3-beta.1", + "version": "1.9.3", "license": "MIT", "type": "module", "scripts": { diff --git a/packages/astro-angular/package.json b/packages/astro-angular/package.json index d363fc433..00c7a3ee8 100644 --- a/packages/astro-angular/package.json +++ b/packages/astro-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/astro-angular", - "version": "1.9.3-beta.1", + "version": "1.9.3", "description": "Use Angular components within Astro", "type": "module", "author": "Brandon Roberts ", @@ -32,7 +32,7 @@ "url": "https://github.com/sponsors/brandonroberts" }, "dependencies": { - "@analogjs/vite-plugin-angular": "^1.9.3-beta.1" + "@analogjs/vite-plugin-angular": "^1.9.3" }, "peerDependencies": { "@angular-devkit/build-angular": ">=16.0.0", diff --git a/packages/content/package.json b/packages/content/package.json index 122031324..ed7a3b847 100644 --- a/packages/content/package.json +++ b/packages/content/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/content", - "version": "1.9.3-beta.1", + "version": "1.9.3", "description": "Content Rendering for Analog", "type": "module", "author": "Brandon Roberts ", diff --git a/packages/create-analog/package.json b/packages/create-analog/package.json index d20960f69..b9a068785 100644 --- a/packages/create-analog/package.json +++ b/packages/create-analog/package.json @@ -1,6 +1,6 @@ { "name": "create-analog", - "version": "1.9.3-beta.1", + "version": "1.9.3", "type": "module", "license": "MIT", "author": "Brandon Roberts", diff --git a/packages/create-analog/template-angular-v16/package.json b/packages/create-analog/template-angular-v16/package.json index c12129280..331204c7e 100644 --- a/packages/create-analog/template-angular-v16/package.json +++ b/packages/create-analog/template-angular-v16/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.3-beta.1", - "@analogjs/router": "^1.9.3-beta.1", + "@analogjs/content": "^1.9.3", + "@analogjs/router": "^1.9.3", "@angular/animations": "^16.2.0", "@angular/common": "^16.2.0", "@angular/compiler": "^16.2.0", @@ -38,9 +38,9 @@ "zone.js": "~0.13.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.3-beta.1", - "@analogjs/vite-plugin-angular": "^1.9.3-beta.1", - "@analogjs/vitest-angular": "^1.9.3-beta.1", + "@analogjs/platform": "^1.9.3", + "@analogjs/vite-plugin-angular": "^1.9.3", + "@analogjs/vitest-angular": "^1.9.3", "@angular-devkit/build-angular": "^16.2.0", "@angular/cli": "^16.2.0", "@angular/compiler-cli": "^16.2.0", diff --git a/packages/create-analog/template-angular-v17/package.json b/packages/create-analog/template-angular-v17/package.json index d33474775..6edba023c 100644 --- a/packages/create-analog/template-angular-v17/package.json +++ b/packages/create-analog/template-angular-v17/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.3-beta.1", - "@analogjs/router": "^1.9.3-beta.1", + "@analogjs/content": "^1.9.3", + "@analogjs/router": "^1.9.3", "@angular/animations": "^17.2.0", "@angular/common": "^17.2.0", "@angular/compiler": "^17.2.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.3-beta.1", - "@analogjs/vite-plugin-angular": "^1.9.3-beta.1", - "@analogjs/vitest-angular": "^1.9.3-beta.1", + "@analogjs/platform": "^1.9.3", + "@analogjs/vite-plugin-angular": "^1.9.3", + "@analogjs/vitest-angular": "^1.9.3", "@angular-devkit/build-angular": "^17.2.0", "@angular/cli": "^17.2.0", "@angular/compiler-cli": "^17.2.0", diff --git a/packages/create-analog/template-blog/package.json b/packages/create-analog/template-blog/package.json index 25c976a9e..8cb540bf6 100644 --- a/packages/create-analog/template-blog/package.json +++ b/packages/create-analog/template-blog/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.3-beta.1", - "@analogjs/router": "^1.9.3-beta.1", + "@analogjs/content": "^1.9.3", + "@analogjs/router": "^1.9.3", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -36,9 +36,9 @@ "zone.js": "~0.14.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.3-beta.1", - "@analogjs/vite-plugin-angular": "^1.9.3-beta.1", - "@analogjs/vitest-angular": "^1.9.3-beta.1", + "@analogjs/platform": "^1.9.3", + "@analogjs/vite-plugin-angular": "^1.9.3", + "@analogjs/vitest-angular": "^1.9.3", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "jsdom": "^22.1.0", diff --git a/packages/create-analog/template-latest/package.json b/packages/create-analog/template-latest/package.json index fa42931c9..bd6a0b3bd 100644 --- a/packages/create-analog/template-latest/package.json +++ b/packages/create-analog/template-latest/package.json @@ -15,8 +15,8 @@ }, "private": true, "dependencies": { - "@analogjs/content": "^1.9.3-beta.1", - "@analogjs/router": "^1.9.3-beta.1", + "@analogjs/content": "^1.9.3", + "@analogjs/router": "^1.9.3", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.3" }, "devDependencies": { - "@analogjs/platform": "^1.9.3-beta.1", - "@analogjs/vite-plugin-angular": "^1.9.3-beta.1", - "@analogjs/vitest-angular": "^1.9.3-beta.1", + "@analogjs/platform": "^1.9.3", + "@analogjs/vite-plugin-angular": "^1.9.3", + "@analogjs/vitest-angular": "^1.9.3", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "jsdom": "^22.0.0", diff --git a/packages/create-analog/template-minimal/package.json b/packages/create-analog/template-minimal/package.json index 5bc769537..90269f680 100644 --- a/packages/create-analog/template-minimal/package.json +++ b/packages/create-analog/template-minimal/package.json @@ -15,8 +15,8 @@ }, "private": true, "dependencies": { - "@analogjs/content": "^1.9.3-beta.1", - "@analogjs/router": "^1.9.3-beta.1", + "@analogjs/content": "^1.9.3", + "@analogjs/router": "^1.9.3", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.3" }, "devDependencies": { - "@analogjs/platform": "^1.9.3-beta.1", - "@analogjs/vite-plugin-angular": "^1.9.3-beta.1", - "@analogjs/vitest-angular": "^1.9.3-beta.1", + "@analogjs/platform": "^1.9.3", + "@analogjs/vite-plugin-angular": "^1.9.3", + "@analogjs/vitest-angular": "^1.9.3", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "typescript": "~5.4.2", diff --git a/packages/platform/package.json b/packages/platform/package.json index 05ea2888d..8cb1f8c8d 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/platform", - "version": "1.9.3-beta.1", + "version": "1.9.3", "description": "The fullstack meta-framework for Angular", "type": "module", "author": "Brandon Roberts ", @@ -29,8 +29,8 @@ }, "dependencies": { "nitropack": "^2.9.0", - "@analogjs/vite-plugin-angular": "^1.9.3-beta.1", - "@analogjs/vite-plugin-nitro": "^1.9.3-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.3", + "@analogjs/vite-plugin-nitro": "^1.9.3", "vitefu": "^0.2.5" }, "peerDependencies": { diff --git a/packages/router/package.json b/packages/router/package.json index 227cdc311..fa2c6d151 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/router", - "version": "1.9.3-beta.1", + "version": "1.9.3", "description": "Filesystem-based routing for Angular", "type": "module", "author": "Brandon Roberts ", @@ -24,7 +24,7 @@ "url": "https://github.com/sponsors/brandonroberts" }, "peerDependencies": { - "@analogjs/content": "^1.9.3-beta.1", + "@analogjs/content": "^1.9.3", "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0", "@angular/router": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0" }, diff --git a/packages/vite-plugin-angular/package.json b/packages/vite-plugin-angular/package.json index 81cce23bd..15559c48a 100644 --- a/packages/vite-plugin-angular/package.json +++ b/packages/vite-plugin-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vite-plugin-angular", - "version": "1.9.3-beta.1", + "version": "1.9.3", "description": "Vite Plugin for Angular", "type": "module", "keywords": [ diff --git a/packages/vite-plugin-nitro/package.json b/packages/vite-plugin-nitro/package.json index fcaa6f3c7..bfe8c7c1c 100644 --- a/packages/vite-plugin-nitro/package.json +++ b/packages/vite-plugin-nitro/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vite-plugin-nitro", - "version": "1.9.3-beta.1", + "version": "1.9.3", "description": "A Vite plugin for adding a nitro API server", "type": "module", "author": "Brandon Roberts ", diff --git a/packages/vitest-angular/package.json b/packages/vitest-angular/package.json index be2d448d3..5cebc6a8b 100644 --- a/packages/vitest-angular/package.json +++ b/packages/vitest-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vitest-angular", - "version": "1.9.3-beta.1", + "version": "1.9.3", "description": "Vitest Builder for Angular", "type": "commonjs", "author": "Brandon Roberts ", From 8338d4209f1cd72899669e0fa14e46d40ad4be7f Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Thu, 14 Nov 2024 13:51:30 -0600 Subject: [PATCH 02/22] fix(vite-plugin-angular): improve support for Angular Material and testing using harnesses (#1442) --- apps/analog-app/project.json | 1 + .../src/lib/angular-vitest-plugin.ts | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/apps/analog-app/project.json b/apps/analog-app/project.json index 7a92cf07d..7a742342c 100644 --- a/apps/analog-app/project.json +++ b/apps/analog-app/project.json @@ -4,6 +4,7 @@ "projectType": "application", "sourceRoot": "apps/analog-app/src", "prefix": "analogjs", + "implicitDependencies": ["vitest-angular"], "tags": [], "targets": { "build": { diff --git a/packages/vite-plugin-angular/src/lib/angular-vitest-plugin.ts b/packages/vite-plugin-angular/src/lib/angular-vitest-plugin.ts index cf692fd56..4ecde2205 100644 --- a/packages/vite-plugin-angular/src/lib/angular-vitest-plugin.ts +++ b/packages/vite-plugin-angular/src/lib/angular-vitest-plugin.ts @@ -7,6 +7,10 @@ export function angularVitestPlugin(): Plugin { enforce: 'post', config(userConfig) { return { + optimizeDeps: { + include: ['tslib', '@angular/cdk/testing/testbed'], + exclude: ['@angular/cdk/testing'], + }, ssr: { noExternal: [/cdk\/fesm2022/], }, @@ -15,6 +19,7 @@ export function angularVitestPlugin(): Plugin { server: { deps: { inline: [ + '@angular/material', '@analogjs/router', '@analogjs/vitest-angular/setup-zone', ], @@ -74,6 +79,12 @@ export function angularVitestSourcemapPlugin(): Plugin { return { name: '@analogjs/vitest-angular-sourcemap-plugin', async transform(code: string, id: string) { + const [, query] = id.split('?'); + + if (query && query.includes('inline')) { + return; + } + const result = await transformWithEsbuild(code, id, { loader: 'js', }); From 8d2231ff60e62973af86d48fa82e2e3a225cebcd Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 14 Nov 2024 19:52:11 +0000 Subject: [PATCH 03/22] chore: release 1.9.4-beta.1 [skip ci] --- CHANGELOG.md | 6 ++++++ package.json | 2 +- packages/astro-angular/package.json | 4 ++-- packages/content/package.json | 2 +- packages/create-analog/package.json | 2 +- .../create-analog/template-angular-v16/package.json | 10 +++++----- .../create-analog/template-angular-v17/package.json | 10 +++++----- packages/create-analog/template-blog/package.json | 10 +++++----- packages/create-analog/template-latest/package.json | 10 +++++----- packages/create-analog/template-minimal/package.json | 10 +++++----- packages/platform/package.json | 6 +++--- packages/router/package.json | 4 ++-- packages/vite-plugin-angular/package.json | 2 +- packages/vite-plugin-nitro/package.json | 2 +- packages/vitest-angular/package.json | 2 +- 15 files changed, 44 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd14d0ffe..ca3004e69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [1.9.4-beta.1](https://github.com/analogjs/analog/compare/v1.9.3...v1.9.4-beta.1) (2024-11-14) + +### Bug Fixes + +- **vite-plugin-angular:** improve support for Angular Material and testing using harnesses ([#1442](https://github.com/analogjs/analog/issues/1442)) ([8338d42](https://github.com/analogjs/analog/commit/8338d4209f1cd72899669e0fa14e46d40ad4be7f)) + ## [1.9.3](https://github.com/analogjs/analog/compare/v1.9.2...v1.9.3) (2024-11-12) ### Bug Fixes diff --git a/package.json b/package.json index de0336ab0..8854d9776 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "analogjs-platform", - "version": "1.9.3", + "version": "1.9.4-beta.1", "license": "MIT", "type": "module", "scripts": { diff --git a/packages/astro-angular/package.json b/packages/astro-angular/package.json index 00c7a3ee8..0ca715ac8 100644 --- a/packages/astro-angular/package.json +++ b/packages/astro-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/astro-angular", - "version": "1.9.3", + "version": "1.9.4-beta.1", "description": "Use Angular components within Astro", "type": "module", "author": "Brandon Roberts ", @@ -32,7 +32,7 @@ "url": "https://github.com/sponsors/brandonroberts" }, "dependencies": { - "@analogjs/vite-plugin-angular": "^1.9.3" + "@analogjs/vite-plugin-angular": "^1.9.4-beta.1" }, "peerDependencies": { "@angular-devkit/build-angular": ">=16.0.0", diff --git a/packages/content/package.json b/packages/content/package.json index ed7a3b847..16676cc6f 100644 --- a/packages/content/package.json +++ b/packages/content/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/content", - "version": "1.9.3", + "version": "1.9.4-beta.1", "description": "Content Rendering for Analog", "type": "module", "author": "Brandon Roberts ", diff --git a/packages/create-analog/package.json b/packages/create-analog/package.json index b9a068785..3450f8493 100644 --- a/packages/create-analog/package.json +++ b/packages/create-analog/package.json @@ -1,6 +1,6 @@ { "name": "create-analog", - "version": "1.9.3", + "version": "1.9.4-beta.1", "type": "module", "license": "MIT", "author": "Brandon Roberts", diff --git a/packages/create-analog/template-angular-v16/package.json b/packages/create-analog/template-angular-v16/package.json index 331204c7e..8b44f4139 100644 --- a/packages/create-analog/template-angular-v16/package.json +++ b/packages/create-analog/template-angular-v16/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.3", - "@analogjs/router": "^1.9.3", + "@analogjs/content": "^1.9.4-beta.1", + "@analogjs/router": "^1.9.4-beta.1", "@angular/animations": "^16.2.0", "@angular/common": "^16.2.0", "@angular/compiler": "^16.2.0", @@ -38,9 +38,9 @@ "zone.js": "~0.13.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.3", - "@analogjs/vite-plugin-angular": "^1.9.3", - "@analogjs/vitest-angular": "^1.9.3", + "@analogjs/platform": "^1.9.4-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", + "@analogjs/vitest-angular": "^1.9.4-beta.1", "@angular-devkit/build-angular": "^16.2.0", "@angular/cli": "^16.2.0", "@angular/compiler-cli": "^16.2.0", diff --git a/packages/create-analog/template-angular-v17/package.json b/packages/create-analog/template-angular-v17/package.json index 6edba023c..6b6044613 100644 --- a/packages/create-analog/template-angular-v17/package.json +++ b/packages/create-analog/template-angular-v17/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.3", - "@analogjs/router": "^1.9.3", + "@analogjs/content": "^1.9.4-beta.1", + "@analogjs/router": "^1.9.4-beta.1", "@angular/animations": "^17.2.0", "@angular/common": "^17.2.0", "@angular/compiler": "^17.2.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.3", - "@analogjs/vite-plugin-angular": "^1.9.3", - "@analogjs/vitest-angular": "^1.9.3", + "@analogjs/platform": "^1.9.4-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", + "@analogjs/vitest-angular": "^1.9.4-beta.1", "@angular-devkit/build-angular": "^17.2.0", "@angular/cli": "^17.2.0", "@angular/compiler-cli": "^17.2.0", diff --git a/packages/create-analog/template-blog/package.json b/packages/create-analog/template-blog/package.json index 8cb540bf6..e8657cf5b 100644 --- a/packages/create-analog/template-blog/package.json +++ b/packages/create-analog/template-blog/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.3", - "@analogjs/router": "^1.9.3", + "@analogjs/content": "^1.9.4-beta.1", + "@analogjs/router": "^1.9.4-beta.1", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -36,9 +36,9 @@ "zone.js": "~0.14.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.3", - "@analogjs/vite-plugin-angular": "^1.9.3", - "@analogjs/vitest-angular": "^1.9.3", + "@analogjs/platform": "^1.9.4-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", + "@analogjs/vitest-angular": "^1.9.4-beta.1", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "jsdom": "^22.1.0", diff --git a/packages/create-analog/template-latest/package.json b/packages/create-analog/template-latest/package.json index bd6a0b3bd..cc778da4e 100644 --- a/packages/create-analog/template-latest/package.json +++ b/packages/create-analog/template-latest/package.json @@ -15,8 +15,8 @@ }, "private": true, "dependencies": { - "@analogjs/content": "^1.9.3", - "@analogjs/router": "^1.9.3", + "@analogjs/content": "^1.9.4-beta.1", + "@analogjs/router": "^1.9.4-beta.1", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.3" }, "devDependencies": { - "@analogjs/platform": "^1.9.3", - "@analogjs/vite-plugin-angular": "^1.9.3", - "@analogjs/vitest-angular": "^1.9.3", + "@analogjs/platform": "^1.9.4-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", + "@analogjs/vitest-angular": "^1.9.4-beta.1", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "jsdom": "^22.0.0", diff --git a/packages/create-analog/template-minimal/package.json b/packages/create-analog/template-minimal/package.json index 90269f680..b4888ecfc 100644 --- a/packages/create-analog/template-minimal/package.json +++ b/packages/create-analog/template-minimal/package.json @@ -15,8 +15,8 @@ }, "private": true, "dependencies": { - "@analogjs/content": "^1.9.3", - "@analogjs/router": "^1.9.3", + "@analogjs/content": "^1.9.4-beta.1", + "@analogjs/router": "^1.9.4-beta.1", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.3" }, "devDependencies": { - "@analogjs/platform": "^1.9.3", - "@analogjs/vite-plugin-angular": "^1.9.3", - "@analogjs/vitest-angular": "^1.9.3", + "@analogjs/platform": "^1.9.4-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", + "@analogjs/vitest-angular": "^1.9.4-beta.1", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "typescript": "~5.4.2", diff --git a/packages/platform/package.json b/packages/platform/package.json index 8cb1f8c8d..52e3cbb50 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/platform", - "version": "1.9.3", + "version": "1.9.4-beta.1", "description": "The fullstack meta-framework for Angular", "type": "module", "author": "Brandon Roberts ", @@ -29,8 +29,8 @@ }, "dependencies": { "nitropack": "^2.9.0", - "@analogjs/vite-plugin-angular": "^1.9.3", - "@analogjs/vite-plugin-nitro": "^1.9.3", + "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", + "@analogjs/vite-plugin-nitro": "^1.9.4-beta.1", "vitefu": "^0.2.5" }, "peerDependencies": { diff --git a/packages/router/package.json b/packages/router/package.json index fa2c6d151..e4c25f522 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/router", - "version": "1.9.3", + "version": "1.9.4-beta.1", "description": "Filesystem-based routing for Angular", "type": "module", "author": "Brandon Roberts ", @@ -24,7 +24,7 @@ "url": "https://github.com/sponsors/brandonroberts" }, "peerDependencies": { - "@analogjs/content": "^1.9.3", + "@analogjs/content": "^1.9.4-beta.1", "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0", "@angular/router": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0" }, diff --git a/packages/vite-plugin-angular/package.json b/packages/vite-plugin-angular/package.json index 15559c48a..fdb1f2478 100644 --- a/packages/vite-plugin-angular/package.json +++ b/packages/vite-plugin-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vite-plugin-angular", - "version": "1.9.3", + "version": "1.9.4-beta.1", "description": "Vite Plugin for Angular", "type": "module", "keywords": [ diff --git a/packages/vite-plugin-nitro/package.json b/packages/vite-plugin-nitro/package.json index bfe8c7c1c..27834888f 100644 --- a/packages/vite-plugin-nitro/package.json +++ b/packages/vite-plugin-nitro/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vite-plugin-nitro", - "version": "1.9.3", + "version": "1.9.4-beta.1", "description": "A Vite plugin for adding a nitro API server", "type": "module", "author": "Brandon Roberts ", diff --git a/packages/vitest-angular/package.json b/packages/vitest-angular/package.json index 5cebc6a8b..896aae790 100644 --- a/packages/vitest-angular/package.json +++ b/packages/vitest-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vitest-angular", - "version": "1.9.3", + "version": "1.9.4-beta.1", "description": "Vitest Builder for Angular", "type": "commonjs", "author": "Brandon Roberts ", From e33ed826cdc723642388bc2dea500de39bac3124 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 18 Nov 2024 20:00:41 +0000 Subject: [PATCH 04/22] chore: release 1.9.4 [skip ci] --- CHANGELOG.md | 6 ++++++ package.json | 2 +- packages/astro-angular/package.json | 4 ++-- packages/content/package.json | 2 +- packages/create-analog/package.json | 2 +- .../create-analog/template-angular-v16/package.json | 10 +++++----- .../create-analog/template-angular-v17/package.json | 10 +++++----- packages/create-analog/template-blog/package.json | 10 +++++----- packages/create-analog/template-latest/package.json | 10 +++++----- packages/create-analog/template-minimal/package.json | 10 +++++----- packages/platform/package.json | 6 +++--- packages/router/package.json | 4 ++-- packages/vite-plugin-angular/package.json | 2 +- packages/vite-plugin-nitro/package.json | 2 +- packages/vitest-angular/package.json | 2 +- 15 files changed, 44 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca3004e69..399141b0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [1.9.4](https://github.com/analogjs/analog/compare/v1.9.3...v1.9.4) (2024-11-18) + +### Bug Fixes + +- **vite-plugin-angular:** improve support for Angular Material and testing using harnesses ([#1442](https://github.com/analogjs/analog/issues/1442)) ([8338d42](https://github.com/analogjs/analog/commit/8338d4209f1cd72899669e0fa14e46d40ad4be7f)) + ## [1.9.4-beta.1](https://github.com/analogjs/analog/compare/v1.9.3...v1.9.4-beta.1) (2024-11-14) ### Bug Fixes diff --git a/package.json b/package.json index 8854d9776..5e8e0f1a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "analogjs-platform", - "version": "1.9.4-beta.1", + "version": "1.9.4", "license": "MIT", "type": "module", "scripts": { diff --git a/packages/astro-angular/package.json b/packages/astro-angular/package.json index 0ca715ac8..e1c592544 100644 --- a/packages/astro-angular/package.json +++ b/packages/astro-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/astro-angular", - "version": "1.9.4-beta.1", + "version": "1.9.4", "description": "Use Angular components within Astro", "type": "module", "author": "Brandon Roberts ", @@ -32,7 +32,7 @@ "url": "https://github.com/sponsors/brandonroberts" }, "dependencies": { - "@analogjs/vite-plugin-angular": "^1.9.4-beta.1" + "@analogjs/vite-plugin-angular": "^1.9.4" }, "peerDependencies": { "@angular-devkit/build-angular": ">=16.0.0", diff --git a/packages/content/package.json b/packages/content/package.json index 16676cc6f..827b9b190 100644 --- a/packages/content/package.json +++ b/packages/content/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/content", - "version": "1.9.4-beta.1", + "version": "1.9.4", "description": "Content Rendering for Analog", "type": "module", "author": "Brandon Roberts ", diff --git a/packages/create-analog/package.json b/packages/create-analog/package.json index 3450f8493..8792e73c7 100644 --- a/packages/create-analog/package.json +++ b/packages/create-analog/package.json @@ -1,6 +1,6 @@ { "name": "create-analog", - "version": "1.9.4-beta.1", + "version": "1.9.4", "type": "module", "license": "MIT", "author": "Brandon Roberts", diff --git a/packages/create-analog/template-angular-v16/package.json b/packages/create-analog/template-angular-v16/package.json index 8b44f4139..095c01236 100644 --- a/packages/create-analog/template-angular-v16/package.json +++ b/packages/create-analog/template-angular-v16/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.4-beta.1", - "@analogjs/router": "^1.9.4-beta.1", + "@analogjs/content": "^1.9.4", + "@analogjs/router": "^1.9.4", "@angular/animations": "^16.2.0", "@angular/common": "^16.2.0", "@angular/compiler": "^16.2.0", @@ -38,9 +38,9 @@ "zone.js": "~0.13.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.4-beta.1", - "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", - "@analogjs/vitest-angular": "^1.9.4-beta.1", + "@analogjs/platform": "^1.9.4", + "@analogjs/vite-plugin-angular": "^1.9.4", + "@analogjs/vitest-angular": "^1.9.4", "@angular-devkit/build-angular": "^16.2.0", "@angular/cli": "^16.2.0", "@angular/compiler-cli": "^16.2.0", diff --git a/packages/create-analog/template-angular-v17/package.json b/packages/create-analog/template-angular-v17/package.json index 6b6044613..3a4408b5f 100644 --- a/packages/create-analog/template-angular-v17/package.json +++ b/packages/create-analog/template-angular-v17/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.4-beta.1", - "@analogjs/router": "^1.9.4-beta.1", + "@analogjs/content": "^1.9.4", + "@analogjs/router": "^1.9.4", "@angular/animations": "^17.2.0", "@angular/common": "^17.2.0", "@angular/compiler": "^17.2.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.4-beta.1", - "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", - "@analogjs/vitest-angular": "^1.9.4-beta.1", + "@analogjs/platform": "^1.9.4", + "@analogjs/vite-plugin-angular": "^1.9.4", + "@analogjs/vitest-angular": "^1.9.4", "@angular-devkit/build-angular": "^17.2.0", "@angular/cli": "^17.2.0", "@angular/compiler-cli": "^17.2.0", diff --git a/packages/create-analog/template-blog/package.json b/packages/create-analog/template-blog/package.json index e8657cf5b..d811447e8 100644 --- a/packages/create-analog/template-blog/package.json +++ b/packages/create-analog/template-blog/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.4-beta.1", - "@analogjs/router": "^1.9.4-beta.1", + "@analogjs/content": "^1.9.4", + "@analogjs/router": "^1.9.4", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -36,9 +36,9 @@ "zone.js": "~0.14.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.4-beta.1", - "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", - "@analogjs/vitest-angular": "^1.9.4-beta.1", + "@analogjs/platform": "^1.9.4", + "@analogjs/vite-plugin-angular": "^1.9.4", + "@analogjs/vitest-angular": "^1.9.4", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "jsdom": "^22.1.0", diff --git a/packages/create-analog/template-latest/package.json b/packages/create-analog/template-latest/package.json index cc778da4e..6d665cfa2 100644 --- a/packages/create-analog/template-latest/package.json +++ b/packages/create-analog/template-latest/package.json @@ -15,8 +15,8 @@ }, "private": true, "dependencies": { - "@analogjs/content": "^1.9.4-beta.1", - "@analogjs/router": "^1.9.4-beta.1", + "@analogjs/content": "^1.9.4", + "@analogjs/router": "^1.9.4", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.3" }, "devDependencies": { - "@analogjs/platform": "^1.9.4-beta.1", - "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", - "@analogjs/vitest-angular": "^1.9.4-beta.1", + "@analogjs/platform": "^1.9.4", + "@analogjs/vite-plugin-angular": "^1.9.4", + "@analogjs/vitest-angular": "^1.9.4", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "jsdom": "^22.0.0", diff --git a/packages/create-analog/template-minimal/package.json b/packages/create-analog/template-minimal/package.json index b4888ecfc..affaa5d0a 100644 --- a/packages/create-analog/template-minimal/package.json +++ b/packages/create-analog/template-minimal/package.json @@ -15,8 +15,8 @@ }, "private": true, "dependencies": { - "@analogjs/content": "^1.9.4-beta.1", - "@analogjs/router": "^1.9.4-beta.1", + "@analogjs/content": "^1.9.4", + "@analogjs/router": "^1.9.4", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.3" }, "devDependencies": { - "@analogjs/platform": "^1.9.4-beta.1", - "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", - "@analogjs/vitest-angular": "^1.9.4-beta.1", + "@analogjs/platform": "^1.9.4", + "@analogjs/vite-plugin-angular": "^1.9.4", + "@analogjs/vitest-angular": "^1.9.4", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "typescript": "~5.4.2", diff --git a/packages/platform/package.json b/packages/platform/package.json index 52e3cbb50..55205b862 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/platform", - "version": "1.9.4-beta.1", + "version": "1.9.4", "description": "The fullstack meta-framework for Angular", "type": "module", "author": "Brandon Roberts ", @@ -29,8 +29,8 @@ }, "dependencies": { "nitropack": "^2.9.0", - "@analogjs/vite-plugin-angular": "^1.9.4-beta.1", - "@analogjs/vite-plugin-nitro": "^1.9.4-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.4", + "@analogjs/vite-plugin-nitro": "^1.9.4", "vitefu": "^0.2.5" }, "peerDependencies": { diff --git a/packages/router/package.json b/packages/router/package.json index e4c25f522..6aa120ded 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/router", - "version": "1.9.4-beta.1", + "version": "1.9.4", "description": "Filesystem-based routing for Angular", "type": "module", "author": "Brandon Roberts ", @@ -24,7 +24,7 @@ "url": "https://github.com/sponsors/brandonroberts" }, "peerDependencies": { - "@analogjs/content": "^1.9.4-beta.1", + "@analogjs/content": "^1.9.4", "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0", "@angular/router": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0" }, diff --git a/packages/vite-plugin-angular/package.json b/packages/vite-plugin-angular/package.json index fdb1f2478..a3dc265a7 100644 --- a/packages/vite-plugin-angular/package.json +++ b/packages/vite-plugin-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vite-plugin-angular", - "version": "1.9.4-beta.1", + "version": "1.9.4", "description": "Vite Plugin for Angular", "type": "module", "keywords": [ diff --git a/packages/vite-plugin-nitro/package.json b/packages/vite-plugin-nitro/package.json index 27834888f..a3004dc45 100644 --- a/packages/vite-plugin-nitro/package.json +++ b/packages/vite-plugin-nitro/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vite-plugin-nitro", - "version": "1.9.4-beta.1", + "version": "1.9.4", "description": "A Vite plugin for adding a nitro API server", "type": "module", "author": "Brandon Roberts ", diff --git a/packages/vitest-angular/package.json b/packages/vitest-angular/package.json index 896aae790..ac578c21b 100644 --- a/packages/vitest-angular/package.json +++ b/packages/vitest-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vitest-angular", - "version": "1.9.4-beta.1", + "version": "1.9.4", "description": "Vitest Builder for Angular", "type": "commonjs", "author": "Brandon Roberts ", From a7f4587ef2047ce7c623046b650037a77465f9e2 Mon Sep 17 00:00:00 2001 From: Younes Jaaidi Date: Tue, 19 Nov 2024 15:07:15 +0100 Subject: [PATCH 05/22] perf(vite-plugin-angular): speed up tests by reusing compiler (#1444) Co-authored-by: Brandon Roberts --- packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts b/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts index e6da18911..0e39c7d1e 100644 --- a/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts +++ b/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts @@ -159,6 +159,11 @@ export function angular(options?: PluginOptions): Plugin[] { return { name: '@analogjs/vite-plugin-angular', + async watchChange() { + if (isTest) { + await buildAndAnalyze(); + } + }, async config(config, { command }) { watchMode = command === 'serve'; isProd = @@ -320,7 +325,6 @@ export function angular(options?: PluginOptions): Plugin[] { const tsMod = viteServer?.moduleGraph.getModuleById(id); if (tsMod) { sourceFileCache.invalidate([id]); - await buildAndAnalyze(); } } From 167a52d3a43753c2876164b42542e19da2e82faa Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 19 Nov 2024 14:07:56 +0000 Subject: [PATCH 06/22] chore: release 1.9.5-beta.1 [skip ci] --- CHANGELOG.md | 6 ++++++ package.json | 2 +- packages/astro-angular/package.json | 4 ++-- packages/content/package.json | 2 +- packages/create-analog/package.json | 2 +- .../create-analog/template-angular-v16/package.json | 10 +++++----- .../create-analog/template-angular-v17/package.json | 10 +++++----- packages/create-analog/template-blog/package.json | 10 +++++----- packages/create-analog/template-latest/package.json | 10 +++++----- packages/create-analog/template-minimal/package.json | 10 +++++----- packages/platform/package.json | 6 +++--- packages/router/package.json | 4 ++-- packages/vite-plugin-angular/package.json | 2 +- packages/vite-plugin-nitro/package.json | 2 +- packages/vitest-angular/package.json | 2 +- 15 files changed, 44 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 399141b0f..772c89893 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [1.9.5-beta.1](https://github.com/analogjs/analog/compare/v1.9.4...v1.9.5-beta.1) (2024-11-19) + +### Performance Improvements + +- **vite-plugin-angular:** speed up tests by reusing compiler ([#1444](https://github.com/analogjs/analog/issues/1444)) ([a7f4587](https://github.com/analogjs/analog/commit/a7f4587ef2047ce7c623046b650037a77465f9e2)) + ## [1.9.4](https://github.com/analogjs/analog/compare/v1.9.3...v1.9.4) (2024-11-18) ### Bug Fixes diff --git a/package.json b/package.json index 5e8e0f1a7..4a619943a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "analogjs-platform", - "version": "1.9.4", + "version": "1.9.5-beta.1", "license": "MIT", "type": "module", "scripts": { diff --git a/packages/astro-angular/package.json b/packages/astro-angular/package.json index e1c592544..0db98f40f 100644 --- a/packages/astro-angular/package.json +++ b/packages/astro-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/astro-angular", - "version": "1.9.4", + "version": "1.9.5-beta.1", "description": "Use Angular components within Astro", "type": "module", "author": "Brandon Roberts ", @@ -32,7 +32,7 @@ "url": "https://github.com/sponsors/brandonroberts" }, "dependencies": { - "@analogjs/vite-plugin-angular": "^1.9.4" + "@analogjs/vite-plugin-angular": "^1.9.5-beta.1" }, "peerDependencies": { "@angular-devkit/build-angular": ">=16.0.0", diff --git a/packages/content/package.json b/packages/content/package.json index 827b9b190..e98f5c907 100644 --- a/packages/content/package.json +++ b/packages/content/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/content", - "version": "1.9.4", + "version": "1.9.5-beta.1", "description": "Content Rendering for Analog", "type": "module", "author": "Brandon Roberts ", diff --git a/packages/create-analog/package.json b/packages/create-analog/package.json index 8792e73c7..505d4c285 100644 --- a/packages/create-analog/package.json +++ b/packages/create-analog/package.json @@ -1,6 +1,6 @@ { "name": "create-analog", - "version": "1.9.4", + "version": "1.9.5-beta.1", "type": "module", "license": "MIT", "author": "Brandon Roberts", diff --git a/packages/create-analog/template-angular-v16/package.json b/packages/create-analog/template-angular-v16/package.json index 095c01236..17d45df41 100644 --- a/packages/create-analog/template-angular-v16/package.json +++ b/packages/create-analog/template-angular-v16/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.4", - "@analogjs/router": "^1.9.4", + "@analogjs/content": "^1.9.5-beta.1", + "@analogjs/router": "^1.9.5-beta.1", "@angular/animations": "^16.2.0", "@angular/common": "^16.2.0", "@angular/compiler": "^16.2.0", @@ -38,9 +38,9 @@ "zone.js": "~0.13.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.4", - "@analogjs/vite-plugin-angular": "^1.9.4", - "@analogjs/vitest-angular": "^1.9.4", + "@analogjs/platform": "^1.9.5-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.5-beta.1", + "@analogjs/vitest-angular": "^1.9.5-beta.1", "@angular-devkit/build-angular": "^16.2.0", "@angular/cli": "^16.2.0", "@angular/compiler-cli": "^16.2.0", diff --git a/packages/create-analog/template-angular-v17/package.json b/packages/create-analog/template-angular-v17/package.json index 3a4408b5f..3a180996d 100644 --- a/packages/create-analog/template-angular-v17/package.json +++ b/packages/create-analog/template-angular-v17/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.4", - "@analogjs/router": "^1.9.4", + "@analogjs/content": "^1.9.5-beta.1", + "@analogjs/router": "^1.9.5-beta.1", "@angular/animations": "^17.2.0", "@angular/common": "^17.2.0", "@angular/compiler": "^17.2.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.4", - "@analogjs/vite-plugin-angular": "^1.9.4", - "@analogjs/vitest-angular": "^1.9.4", + "@analogjs/platform": "^1.9.5-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.5-beta.1", + "@analogjs/vitest-angular": "^1.9.5-beta.1", "@angular-devkit/build-angular": "^17.2.0", "@angular/cli": "^17.2.0", "@angular/compiler-cli": "^17.2.0", diff --git a/packages/create-analog/template-blog/package.json b/packages/create-analog/template-blog/package.json index d811447e8..aa8b8468a 100644 --- a/packages/create-analog/template-blog/package.json +++ b/packages/create-analog/template-blog/package.json @@ -15,8 +15,8 @@ "test": "ng test" }, "dependencies": { - "@analogjs/content": "^1.9.4", - "@analogjs/router": "^1.9.4", + "@analogjs/content": "^1.9.5-beta.1", + "@analogjs/router": "^1.9.5-beta.1", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -36,9 +36,9 @@ "zone.js": "~0.14.0" }, "devDependencies": { - "@analogjs/platform": "^1.9.4", - "@analogjs/vite-plugin-angular": "^1.9.4", - "@analogjs/vitest-angular": "^1.9.4", + "@analogjs/platform": "^1.9.5-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.5-beta.1", + "@analogjs/vitest-angular": "^1.9.5-beta.1", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "jsdom": "^22.1.0", diff --git a/packages/create-analog/template-latest/package.json b/packages/create-analog/template-latest/package.json index 6d665cfa2..e54e89282 100644 --- a/packages/create-analog/template-latest/package.json +++ b/packages/create-analog/template-latest/package.json @@ -15,8 +15,8 @@ }, "private": true, "dependencies": { - "@analogjs/content": "^1.9.4", - "@analogjs/router": "^1.9.4", + "@analogjs/content": "^1.9.5-beta.1", + "@analogjs/router": "^1.9.5-beta.1", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.3" }, "devDependencies": { - "@analogjs/platform": "^1.9.4", - "@analogjs/vite-plugin-angular": "^1.9.4", - "@analogjs/vitest-angular": "^1.9.4", + "@analogjs/platform": "^1.9.5-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.5-beta.1", + "@analogjs/vitest-angular": "^1.9.5-beta.1", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "jsdom": "^22.0.0", diff --git a/packages/create-analog/template-minimal/package.json b/packages/create-analog/template-minimal/package.json index affaa5d0a..83fb100d4 100644 --- a/packages/create-analog/template-minimal/package.json +++ b/packages/create-analog/template-minimal/package.json @@ -15,8 +15,8 @@ }, "private": true, "dependencies": { - "@analogjs/content": "^1.9.4", - "@analogjs/router": "^1.9.4", + "@analogjs/content": "^1.9.5-beta.1", + "@analogjs/router": "^1.9.5-beta.1", "@angular/animations": "^18.0.0", "@angular/build": "^18.0.0", "@angular/common": "^18.0.0", @@ -38,9 +38,9 @@ "zone.js": "~0.14.3" }, "devDependencies": { - "@analogjs/platform": "^1.9.4", - "@analogjs/vite-plugin-angular": "^1.9.4", - "@analogjs/vitest-angular": "^1.9.4", + "@analogjs/platform": "^1.9.5-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.5-beta.1", + "@analogjs/vitest-angular": "^1.9.5-beta.1", "@angular/cli": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "typescript": "~5.4.2", diff --git a/packages/platform/package.json b/packages/platform/package.json index 55205b862..b996e2994 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/platform", - "version": "1.9.4", + "version": "1.9.5-beta.1", "description": "The fullstack meta-framework for Angular", "type": "module", "author": "Brandon Roberts ", @@ -29,8 +29,8 @@ }, "dependencies": { "nitropack": "^2.9.0", - "@analogjs/vite-plugin-angular": "^1.9.4", - "@analogjs/vite-plugin-nitro": "^1.9.4", + "@analogjs/vite-plugin-angular": "^1.9.5-beta.1", + "@analogjs/vite-plugin-nitro": "^1.9.5-beta.1", "vitefu": "^0.2.5" }, "peerDependencies": { diff --git a/packages/router/package.json b/packages/router/package.json index 6aa120ded..d1311c5aa 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/router", - "version": "1.9.4", + "version": "1.9.5-beta.1", "description": "Filesystem-based routing for Angular", "type": "module", "author": "Brandon Roberts ", @@ -24,7 +24,7 @@ "url": "https://github.com/sponsors/brandonroberts" }, "peerDependencies": { - "@analogjs/content": "^1.9.4", + "@analogjs/content": "^1.9.5-beta.1", "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0", "@angular/router": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0" }, diff --git a/packages/vite-plugin-angular/package.json b/packages/vite-plugin-angular/package.json index a3dc265a7..bdb3cdef8 100644 --- a/packages/vite-plugin-angular/package.json +++ b/packages/vite-plugin-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vite-plugin-angular", - "version": "1.9.4", + "version": "1.9.5-beta.1", "description": "Vite Plugin for Angular", "type": "module", "keywords": [ diff --git a/packages/vite-plugin-nitro/package.json b/packages/vite-plugin-nitro/package.json index a3004dc45..1f30188a4 100644 --- a/packages/vite-plugin-nitro/package.json +++ b/packages/vite-plugin-nitro/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vite-plugin-nitro", - "version": "1.9.4", + "version": "1.9.5-beta.1", "description": "A Vite plugin for adding a nitro API server", "type": "module", "author": "Brandon Roberts ", diff --git a/packages/vitest-angular/package.json b/packages/vitest-angular/package.json index ac578c21b..aaae1db68 100644 --- a/packages/vitest-angular/package.json +++ b/packages/vitest-angular/package.json @@ -1,6 +1,6 @@ { "name": "@analogjs/vitest-angular", - "version": "1.9.4", + "version": "1.9.5-beta.1", "description": "Vitest Builder for Angular", "type": "commonjs", "author": "Brandon Roberts ", From 72b8dc79b2cd28ad66c3a297d1725a4e51974693 Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Tue, 19 Nov 2024 12:43:45 -0600 Subject: [PATCH 07/22] feat(create-analog): update template for latest to Angular v19 (#1447) --- package.json | 46 +- packages/content/package.json | 8 +- packages/create-analog/package.json | 1 + .../template-angular-v18/.editorconfig | 16 + .../.vscode/extensions.json | 4 + .../template-angular-v18/.vscode/launch.json | 19 + .../template-angular-v18/.vscode/tasks.json | 42 + .../template-angular-v18/README.md | 26 + .../template-angular-v18/_gitignore | 44 + .../template-angular-v18/angular.json | 54 + .../template-angular-v18/index.html | 15 + .../template-angular-v18/package.json | 52 + .../template-angular-v18/public/.gitkeep | 0 .../template-angular-v18/public/analog.svg | 1 + .../template-angular-v18/public/favicon.ico | Bin 0 -> 948 bytes .../template-angular-v18/public/vite.svg | 1 + .../template-angular-v18/src/app/app-root.ag | 16 + .../src/app/app-root.spec.ts | 20 + .../src/app/app.component.spec.ts | 20 + .../src/app/app.component.ts | 18 + .../src/app/app.config.server.ts | 10 + .../src/app/app.config.ts | 20 + .../src/app/pages/index.page.ag | 53 + .../src/app/pages/index.page.ts | 55 + .../template-angular-v18/src/main.server.ts | 32 + .../template-angular-v18/src/main.ts | 7 + .../src/server/routes/v1/hello.ts | 3 + .../template-angular-v18/src/styles.css | 80 + .../template-angular-v18/src/test-setup.ts | 12 + .../template-angular-v18/src/vite-env.d.ts | 1 + .../template-angular-v18/tsconfig.app.json | 14 + .../template-angular-v18/tsconfig.json | 31 + .../template-angular-v18/tsconfig.spec.json | 11 + .../template-angular-v18/vite.config.ts | 25 + .../create-analog/template-blog/package.json | 48 +- .../create-analog/template-blog/tsconfig.json | 1 + .../template-latest/package.json | 30 +- .../template-latest/tsconfig.json | 1 + .../template-minimal/package.json | 33 +- .../template-minimal/tsconfig.json | 1 + packages/router/package.json | 4 +- packages/trpc/package.json | 4 +- packages/vite-plugin-angular/package.json | 4 +- packages/vitest-angular/package.json | 2 +- pnpm-lock.yaml | 2055 ++++++++--------- 45 files changed, 1798 insertions(+), 1142 deletions(-) create mode 100644 packages/create-analog/template-angular-v18/.editorconfig create mode 100644 packages/create-analog/template-angular-v18/.vscode/extensions.json create mode 100644 packages/create-analog/template-angular-v18/.vscode/launch.json create mode 100644 packages/create-analog/template-angular-v18/.vscode/tasks.json create mode 100644 packages/create-analog/template-angular-v18/README.md create mode 100644 packages/create-analog/template-angular-v18/_gitignore create mode 100644 packages/create-analog/template-angular-v18/angular.json create mode 100644 packages/create-analog/template-angular-v18/index.html create mode 100644 packages/create-analog/template-angular-v18/package.json create mode 100644 packages/create-analog/template-angular-v18/public/.gitkeep create mode 100644 packages/create-analog/template-angular-v18/public/analog.svg create mode 100644 packages/create-analog/template-angular-v18/public/favicon.ico create mode 100644 packages/create-analog/template-angular-v18/public/vite.svg create mode 100644 packages/create-analog/template-angular-v18/src/app/app-root.ag create mode 100644 packages/create-analog/template-angular-v18/src/app/app-root.spec.ts create mode 100644 packages/create-analog/template-angular-v18/src/app/app.component.spec.ts create mode 100644 packages/create-analog/template-angular-v18/src/app/app.component.ts create mode 100644 packages/create-analog/template-angular-v18/src/app/app.config.server.ts create mode 100644 packages/create-analog/template-angular-v18/src/app/app.config.ts create mode 100644 packages/create-analog/template-angular-v18/src/app/pages/index.page.ag create mode 100644 packages/create-analog/template-angular-v18/src/app/pages/index.page.ts create mode 100644 packages/create-analog/template-angular-v18/src/main.server.ts create mode 100644 packages/create-analog/template-angular-v18/src/main.ts create mode 100644 packages/create-analog/template-angular-v18/src/server/routes/v1/hello.ts create mode 100644 packages/create-analog/template-angular-v18/src/styles.css create mode 100644 packages/create-analog/template-angular-v18/src/test-setup.ts create mode 100644 packages/create-analog/template-angular-v18/src/vite-env.d.ts create mode 100644 packages/create-analog/template-angular-v18/tsconfig.app.json create mode 100644 packages/create-analog/template-angular-v18/tsconfig.json create mode 100644 packages/create-analog/template-angular-v18/tsconfig.spec.json create mode 100644 packages/create-analog/template-angular-v18/vite.config.ts diff --git a/package.json b/package.json index 4a619943a..905291c57 100644 --- a/package.json +++ b/package.json @@ -41,17 +41,17 @@ }, "private": true, "dependencies": { - "@angular/animations": "^19.0.0-rc.0", - "@angular/cdk": "^19.0.0-rc.0", - "@angular/common": "^19.0.0-rc.0", - "@angular/compiler": "^19.0.0-rc.0", - "@angular/core": "^19.0.0-rc.0", - "@angular/forms": "^19.0.0-rc.0", - "@angular/material": "^19.0.0-rc.0", - "@angular/platform-browser": "^19.0.0-rc.0", - "@angular/platform-browser-dynamic": "^19.0.0-rc.0", - "@angular/platform-server": "^19.0.0-rc.0", - "@angular/router": "^19.0.0-rc.0", + "@angular/animations": "^19.0.0", + "@angular/cdk": "^19.0.0", + "@angular/common": "^19.0.0", + "@angular/compiler": "^19.0.0", + "@angular/core": "^19.0.0", + "@angular/forms": "^19.0.0", + "@angular/material": "^19.0.0", + "@angular/platform-browser": "^19.0.0", + "@angular/platform-browser-dynamic": "^19.0.0", + "@angular/platform-server": "^19.0.0", + "@angular/router": "^19.0.0", "@astrojs/mdx": "^3.0.1", "@astrojs/react": "^3.0.0", "@babel/core": "^7.21.8", @@ -80,17 +80,17 @@ "zone.js": "^0.15.0" }, "devDependencies": { - "@angular-devkit/architect": "^0.1900.0-rc.0", - "@angular-devkit/build-angular": "^19.0.0-rc.0", - "@angular-devkit/core": "^19.0.0-rc.0", - "@angular-devkit/schematics": "^19.0.0-rc.0", + "@angular-devkit/architect": "^0.1900.0", + "@angular-devkit/build-angular": "^19.0.0", + "@angular-devkit/core": "^19.0.0", + "@angular-devkit/schematics": "^19.0.0", "@angular-eslint/eslint-plugin": "18.3.1", "@angular-eslint/eslint-plugin-template": "18.3.1", "@angular-eslint/template-parser": "18.3.1", - "@angular/build": "^19.0.0-rc.0", - "@angular/cli": "^19.0.0-rc.0", - "@angular/compiler-cli": "^19.0.0-rc.0", - "@angular/language-service": "^19.0.0-rc.0", + "@angular/build": "^19.0.0", + "@angular/cli": "^19.0.0", + "@angular/compiler-cli": "^19.0.0", + "@angular/language-service": "^19.0.0", "@astrojs/markdown-component": "^1.0.5", "@commitlint/cli": "^17.4.2", "@commitlint/config-conventional": "^17.4.2", @@ -103,7 +103,7 @@ "@nx/plugin": "20.0.8", "@nx/vite": "20.0.8", "@nx/web": "20.0.8", - "@schematics/angular": "^19.0.0-rc.0", + "@schematics/angular": "^19.0.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/exec": "^6.0.3", "@semantic-release/git": "^10.0.1", @@ -147,7 +147,7 @@ "marked-mangle": "^1.1.7", "marked-shiki": "^1.1.0", "minimist": "^1.2.7", - "ng-packagr": "^19.0.0-rc.0", + "ng-packagr": "^19.0.0", "nitropack": "^2.9.7", "nx": "20.0.8", "playwright": "^1.30.0", @@ -173,11 +173,11 @@ "ts-node": "10.9.1", "typescript": "~5.5.0", "vfile": "^6.0.3", - "vite": "^5.3.0", + "vite": "^5.4.0", "vite-plugin-eslint": "^1.8.1", "vite-tsconfig-paths": "4.2.0", "vitefu": "^0.2.5", - "vitest": "1.4.0", + "vitest": "^2.0.0", "webpack-bundle-analyzer": "^4.7.0", "xmlbuilder2": "^3.0.2" } diff --git a/packages/content/package.json b/packages/content/package.json index e98f5c907..7876e9d3e 100644 --- a/packages/content/package.json +++ b/packages/content/package.json @@ -23,10 +23,10 @@ "url": "https://github.com/sponsors/brandonroberts" }, "peerDependencies": { - "@angular/common": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0", - "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0", - "@angular/platform-browser": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0", - "@angular/router": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0", + "@angular/common": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "@angular/platform-browser": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "@angular/router": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "@nx/devkit": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0", "front-matter": "^4.0.2", "marked": ">=5.0.2", diff --git a/packages/create-analog/package.json b/packages/create-analog/package.json index 505d4c285..13ae142c1 100644 --- a/packages/create-analog/package.json +++ b/packages/create-analog/package.json @@ -12,6 +12,7 @@ "index.js", "template-angular-v16", "template-angular-v17", + "template-angular-v18", "template-blog", "template-latest", "template-minimal", diff --git a/packages/create-analog/template-angular-v18/.editorconfig b/packages/create-analog/template-angular-v18/.editorconfig new file mode 100644 index 000000000..59d9a3a3e --- /dev/null +++ b/packages/create-analog/template-angular-v18/.editorconfig @@ -0,0 +1,16 @@ +# Editor configuration, see https://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.ts] +quote_type = single + +[*.md] +max_line_length = off +trim_trailing_whitespace = false diff --git a/packages/create-analog/template-angular-v18/.vscode/extensions.json b/packages/create-analog/template-angular-v18/.vscode/extensions.json new file mode 100644 index 000000000..e4679f326 --- /dev/null +++ b/packages/create-analog/template-angular-v18/.vscode/extensions.json @@ -0,0 +1,4 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846 + "recommendations": ["angular.ng-template", "analogjs.vscode-analog"] +} diff --git a/packages/create-analog/template-angular-v18/.vscode/launch.json b/packages/create-analog/template-angular-v18/.vscode/launch.json new file mode 100644 index 000000000..57dbf761e --- /dev/null +++ b/packages/create-analog/template-angular-v18/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "ng serve", + "type": "chrome", + "request": "launch", + "preLaunchTask": "npm: start", + "url": "http://localhost:5173/" + }, + { + "name": "ng test", + "type": "chrome", + "request": "launch", + "preLaunchTask": "npm: test" + } + ] +} diff --git a/packages/create-analog/template-angular-v18/.vscode/tasks.json b/packages/create-analog/template-angular-v18/.vscode/tasks.json new file mode 100644 index 000000000..a298b5bd8 --- /dev/null +++ b/packages/create-analog/template-angular-v18/.vscode/tasks.json @@ -0,0 +1,42 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558 + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "start", + "isBackground": true, + "problemMatcher": { + "owner": "typescript", + "pattern": "$tsc", + "background": { + "activeOnStart": true, + "beginsPattern": { + "regexp": "(.*?)" + }, + "endsPattern": { + "regexp": "bundle generation complete" + } + } + } + }, + { + "type": "npm", + "script": "test", + "isBackground": true, + "problemMatcher": { + "owner": "typescript", + "pattern": "$tsc", + "background": { + "activeOnStart": true, + "beginsPattern": { + "regexp": "(.*?)" + }, + "endsPattern": { + "regexp": "bundle generation complete" + } + } + } + } + ] +} diff --git a/packages/create-analog/template-angular-v18/README.md b/packages/create-analog/template-angular-v18/README.md new file mode 100644 index 000000000..e98b397bb --- /dev/null +++ b/packages/create-analog/template-angular-v18/README.md @@ -0,0 +1,26 @@ +# __PROJECT_TITLE__ + +This project was generated with [Analog](https://analogjs.org), the fullstack meta-framework for Angular. + +## Setup + +Run `npm install` to install the application dependencies. + +## Development + +Run `npm start` for a dev server. Navigate to `http://localhost:5173/`. The application automatically reloads if you change any of the source files. + +## Build + +Run `npm run build` to build the client/server project. The client build artifacts are located in the `dist/analog/public` directory. The server for the API build artifacts are located in the `dist/analog/server` directory. + +## Test + +Run `npm run test` to run unit tests with [Vitest](https://vitest.dev). + +## Community + +- Visit and Star the [GitHub Repo](https://github.com/analogjs/analog) +- Join the [Discord](https://chat.analogjs.org) +- Follow us on [Twitter](https://twitter.com/analogjs) +- Become a [Sponsor](https://github.com/sponsors/brandonroberts) diff --git a/packages/create-analog/template-angular-v18/_gitignore b/packages/create-analog/template-angular-v18/_gitignore new file mode 100644 index 000000000..bf149eb7c --- /dev/null +++ b/packages/create-analog/template-angular-v18/_gitignore @@ -0,0 +1,44 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# Compiled output +/dist +/tmp +/out-tsc +/bazel-out + +# Node +/node_modules +npm-debug.log +yarn-error.log + +# IDEs and editors +.idea/ +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# Visual Studio Code +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +.history/* + +# Miscellaneous +/.angular/cache +/.nx/cache +/.nx/workspace-data +.sass-cache/ +/connect.lock +/coverage +/libpeerconnection.log +testem.log +/typings + +# System files +.DS_Store +Thumbs.db diff --git a/packages/create-analog/template-angular-v18/angular.json b/packages/create-analog/template-angular-v18/angular.json new file mode 100644 index 000000000..60b166f35 --- /dev/null +++ b/packages/create-analog/template-angular-v18/angular.json @@ -0,0 +1,54 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "my-app": { + "projectType": "application", + "root": ".", + "sourceRoot": "src", + "prefix": "app", + "architect": { + "build": { + "builder": "@analogjs/platform:vite", + "options": { + "configFile": "vite.config.ts", + "main": "src/main.ts", + "outputPath": "dist/client", + "tsConfig": "tsconfig.app.json" + }, + "defaultConfiguration": "production", + "configurations": { + "development": { + "mode": "development" + }, + "production": { + "sourcemap": false, + "mode": "production" + } + } + }, + "serve": { + "builder": "@analogjs/platform:vite-dev-server", + "defaultConfiguration": "development", + "options": { + "buildTarget": "my-app:build", + "port": 5173 + }, + "configurations": { + "development": { + "buildTarget": "my-app:build:development", + "hmr": true + }, + "production": { + "buildTarget": "my-app:build:production" + } + } + }, + "test": { + "builder": "@analogjs/vitest-angular:test" + } + } + } + } +} diff --git a/packages/create-analog/template-angular-v18/index.html b/packages/create-analog/template-angular-v18/index.html new file mode 100644 index 000000000..e91f5f547 --- /dev/null +++ b/packages/create-analog/template-angular-v18/index.html @@ -0,0 +1,15 @@ + + + + + __PROJECT_TITLE__ + + + + + + + + + + diff --git a/packages/create-analog/template-angular-v18/package.json b/packages/create-analog/template-angular-v18/package.json new file mode 100644 index 000000000..e54e89282 --- /dev/null +++ b/packages/create-analog/template-angular-v18/package.json @@ -0,0 +1,52 @@ +{ + "name": "my-app", + "version": "0.0.0", + "type": "module", + "engines": { + "node": ">=18.19.1" + }, + "scripts": { + "ng": "ng", + "dev": "ng serve", + "start": "ng serve", + "build": "ng build", + "watch": "ng build --watch --configuration development", + "test": "ng test" + }, + "private": true, + "dependencies": { + "@analogjs/content": "^1.9.5-beta.1", + "@analogjs/router": "^1.9.5-beta.1", + "@angular/animations": "^18.0.0", + "@angular/build": "^18.0.0", + "@angular/common": "^18.0.0", + "@angular/compiler": "^18.0.0", + "@angular/core": "^18.0.0", + "@angular/forms": "^18.0.0", + "@angular/platform-browser": "^18.0.0", + "@angular/platform-browser-dynamic": "^18.0.0", + "@angular/platform-server": "^18.0.0", + "@angular/router": "^18.0.0", + "front-matter": "^4.0.2", + "marked": "^5.0.2", + "marked-gfm-heading-id": "^3.1.0", + "marked-highlight": "^2.0.1", + "marked-mangle": "^1.1.7", + "prismjs": "^1.29.0", + "rxjs": "~7.8.0", + "tslib": "^2.3.0", + "zone.js": "~0.14.3" + }, + "devDependencies": { + "@analogjs/platform": "^1.9.5-beta.1", + "@analogjs/vite-plugin-angular": "^1.9.5-beta.1", + "@analogjs/vitest-angular": "^1.9.5-beta.1", + "@angular/cli": "^18.0.0", + "@angular/compiler-cli": "^18.0.0", + "jsdom": "^22.0.0", + "typescript": "~5.4.2", + "vite": "^5.0.0", + "vite-tsconfig-paths": "^4.2.0", + "vitest": "^1.3.1" + } +} diff --git a/packages/create-analog/template-angular-v18/public/.gitkeep b/packages/create-analog/template-angular-v18/public/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/packages/create-analog/template-angular-v18/public/analog.svg b/packages/create-analog/template-angular-v18/public/analog.svg new file mode 100644 index 000000000..e4f555aa7 --- /dev/null +++ b/packages/create-analog/template-angular-v18/public/analog.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/create-analog/template-angular-v18/public/favicon.ico b/packages/create-analog/template-angular-v18/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..997406ad22c29aae95893fb3d666c30258a09537 GIT binary patch literal 948 zcmV;l155mgP)CBYU7IjCFmI-B}4sMJt3^s9NVg!P0 z6hDQy(L`XWMkB@zOLgN$4KYz;j0zZxq9KKdpZE#5@k0crP^5f9KO};h)ZDQ%ybhht z%t9#h|nu0K(bJ ztIkhEr!*UyrZWQ1k2+YkGqDi8Z<|mIN&$kzpKl{cNP=OQzXHz>vn+c)F)zO|Bou>E z2|-d_=qY#Y+yOu1a}XI?cU}%04)zz%anD(XZC{#~WreV!a$7k2Ug`?&CUEc0EtrkZ zL49MB)h!_K{H(*l_93D5tO0;BUnvYlo+;yss%n^&qjt6fZOa+}+FDO(~2>G z2dx@=JZ?DHP^;b7*Y1as5^uphBsh*s*z&MBd?e@I>-9kU>63PjP&^#5YTOb&x^6Cf z?674rmSHB5Fk!{Gv7rv!?qX#ei_L(XtwVqLX3L}$MI|kJ*w(rhx~tc&L&xP#?cQow zX_|gx$wMr3pRZIIr_;;O|8fAjd;1`nOeu5K(pCu7>^3E&D2OBBq?sYa(%S?GwG&_0-s%_v$L@R!5H_fc)lOb9ZoOO#p`Nn`KU z3LTTBtjwo`7(HA6 z7gmO$yTR!5L>Bsg!X8616{JUngg_@&85%>W=mChTR;x4`P=?PJ~oPuy5 zU-L`C@_!34D21{fD~Y8NVnR3t;aqZI3fIhmgmx}$oc-dKDC6Ap$Gy>a!`A*x2L1v0 WcZ@i?LyX}70000