diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 674aed7..df7a0b3 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -26,7 +26,7 @@ jobs: version: [18,17,16] uses: ./.github/workflows/regression.yml with: - name: react + name: react-vite version: ${{ matrix.version }} node: 18 diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 53e05ae..8b527d1 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -29,6 +29,7 @@ on: description: Stack options: - react + - react-vite - vue - angular - svelte diff --git a/package-lock.json b/package-lock.json index 3ed46c1..010e14f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,11 +25,11 @@ "globals": "^15.9.0", "nodemon": "^2.0.20", "rete-cli": "~2.0.1", - "rete-kit": "^1.10.0", + "rete-kit": "^1.10.2", "typescript": "^4.9.5" }, "peerDependencies": { - "rete-kit": "^1.9.2" + "rete-kit": "^1.10.0" } }, "node_modules/@ampproject/remapping": { @@ -7906,9 +7906,9 @@ } }, "node_modules/rete-kit": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/rete-kit/-/rete-kit-1.10.0.tgz", - "integrity": "sha512-8dAyUFcuOOMTLyaKD2z0czN8ZbJ+2Ree4Ausq1KVgiQxMDFmFeRf/uAr9YMWbgPKJ0fzf8zH8KxuE4ra9t/mEQ==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/rete-kit/-/rete-kit-1.10.2.tgz", + "integrity": "sha512-+UmGyx8lUvY7K8j+7rfMOc87W1+rn6ICOwHqqwocC5F4i+miq9UtjwgrapxqjaolF0Volxq9Pbt1OFP74GjFyQ==", "dev": true, "dependencies": { "case": "^1.6.3", diff --git a/package.json b/package.json index b23f2c0..c82d2ab 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "globals": "^15.9.0", "nodemon": "^2.0.20", "rete-cli": "~2.0.1", - "rete-kit": "^1.10.0", + "rete-kit": "^1.10.2", "typescript": "^4.9.5" }, "peerDependencies": { diff --git a/src/commands/init/index.ts b/src/commands/init/index.ts index 781e3bf..47e9742 100644 --- a/src/commands/init/index.ts +++ b/src/commands/init/index.ts @@ -2,6 +2,7 @@ import { App } from 'rete-kit' 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: 'svelte', versions: [3, 4] }, @@ -21,7 +22,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 === 'react' && new App.Features.React(version, stack, 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, next), stack === 'lit-vite' && new App.Features.Lit(version as 3, next), diff --git a/src/index.ts b/src/index.ts index 372c97a..31cbd23 100755 --- a/src/index.ts +++ b/src/index.ts @@ -24,8 +24,6 @@ program .option('-s --stack ', `Stacks to test, comma-separated (${stackNames.join(',')})`) .option('-sv --stack-versions ', `Versions to test, comma-separated`) .action(async (options: { depsAlias: string, stack?: string, stackVersions?: string, next?: boolean }) => { - if (!process.version.startsWith('v16')) console.info(chalk.yellow('---\nWe recommend using Node.js 16 to avoid any potential issues\n---')) - const next = options.next || false const cwd = process.cwd() const depsAlias = options.depsAlias @@ -130,6 +128,7 @@ program log('success', 'START')('Testing in', chalk.yellow(folder), '...') const APP = folder const SERVE = App.builders[stack].getStaticPath(folder, version) + console.log({ SERVE }) const playwrightFolder = dirname(require.resolve('@playwright/test')) const { error } = await validateTestRun(APP, SERVE) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy