Skip to content

Commit

Permalink
feat: add angular 19
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN committed Dec 30, 2024
1 parent 315184b commit b0b93c1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/init/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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] }
]
Expand All @@ -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),

Check warning on line 24 in src/commands/init/index.ts

View workflow job for this annotation

GitHub Actions / ci / ci

The 'version as 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19' has unsafe 'as' type assertion
['react', 'react-vite'].includes(stack) && new App.Features.React(version, stack, next),
stack === 'vue' && new App.Features.Vue(version as 2 | 3, next),

Check warning on line 26 in src/commands/init/index.ts

View workflow job for this annotation

GitHub Actions / ci / ci

The 'version as 2 | 3' has unsafe 'as' type assertion
stack === 'svelte' && new App.Features.Svelte(version as 3 | 4 | 5, next),

Check warning on line 27 in src/commands/init/index.ts

View workflow job for this annotation

GitHub Actions / ci / ci

The 'version as 3 | 4 | 5' has unsafe 'as' type assertion
Expand Down

0 comments on commit b0b93c1

Please sign in to comment.