From b0b93c14a7dd9db153b940f5d65b00b7fd92d114 Mon Sep 17 00:00:00 2001 From: Ni55aN Date: Mon, 30 Dec 2024 02:03:55 +0200 Subject: [PATCH] feat: add angular 19 --- .github/workflows/daily.yml | 2 +- package-lock.json | 5 ++--- package.json | 4 ++-- src/commands/init/index.ts | 4 ++-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index bd34ef1..db3739a 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false max-parallel: 2 matrix: - version: [18,17,16,15,14,13,12] + version: [19,18,17,16,15,14,13,12] uses: ./.github/workflows/regression.yml with: name: angular diff --git a/package-lock.json b/package-lock.json index b2a15da..08edd46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "globals": "^15.9.0", "nodemon": "^2.0.20", "rete-cli": "~2.0.1", - "rete-kit": "^1.11.0", + "rete-kit": "github:retejs/rete-kit#dist/angular-19", "typescript": "^4.9.5" } }, @@ -7904,8 +7904,7 @@ }, "node_modules/rete-kit": { "version": "1.11.0", - "resolved": "https://registry.npmjs.org/rete-kit/-/rete-kit-1.11.0.tgz", - "integrity": "sha512-f/Iay7s+iO4FGgmuAVWNwrWuzLnIqJKAV142jXBYeYjMqQz8MWkXM+F6yTl7ao5Hm+vCTzptDb+Py6VttEgqqg==", + "resolved": "git+ssh://git@github.com/retejs/rete-kit.git#16433d206e9f5f223bcd9a1495f509e9d576f1a9", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 97ee6a8..e55a7e9 100644 --- a/package.json +++ b/package.json @@ -32,11 +32,11 @@ "globals": "^15.9.0", "nodemon": "^2.0.20", "rete-cli": "~2.0.1", - "rete-kit": "^1.11.0", + "rete-kit": "github:retejs/rete-kit#dist/angular-19", "typescript": "^4.9.5" }, "peerDependencies": { - "rete-kit": "^1.11.0" + "rete-kit": "github:retejs/rete-kit#dist/angular-19" }, "dependencies": { "@playwright/test": "^1.37.1", diff --git a/src/commands/init/index.ts b/src/commands/init/index.ts index d17ad46..dfaef6a 100644 --- a/src/commands/init/index.ts +++ b/src/commands/init/index.ts @@ -4,7 +4,7 @@ export const targets: { stack: App.AppStack, versions: number[] }[] = [ { stack: 'react', versions: [16, 17, 18] }, { stack: 'react-vite', versions: [16, 17, 18] }, { stack: 'vue', versions: [2, 3] }, - { stack: 'angular', versions: [12, 13, 14, 15, 16, 17, 18] }, + { stack: 'angular', versions: [12, 13, 14, 15, 16, 17, 18, 19] }, { stack: 'svelte', versions: [3, 4, 5] }, { stack: 'lit-vite', versions: [3] } ] @@ -21,7 +21,7 @@ export const fixtures = targets export function getFeatures({ stack, version }: Pick<(typeof fixtures)[0], 'stack' | 'version'>, next: boolean) { return [ - stack === 'angular' && new App.Features.Angular(version as 12 | 13 | 14 | 15 | 16 | 17 | 18, next), + stack === 'angular' && new App.Features.Angular(version as 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19, next), ['react', 'react-vite'].includes(stack) && new App.Features.React(version, stack, next), stack === 'vue' && new App.Features.Vue(version as 2 | 3, next), stack === 'svelte' && new App.Features.Svelte(version as 3 | 4 | 5, next),