Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions assets/app/common/customization/custom-background.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type BaseSchemes } from "rete";
import { AreaPlugin } from "rete-area-plugin";
import type { BaseSchemes } from "rete";
import type { AreaPlugin } from "rete-area-plugin";

export function addCustomBackground<S extends BaseSchemes, K>(
area: AreaPlugin<S, K>
Expand Down
2 changes: 2 additions & 0 deletions src/app/stack/react/cra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export class ReactBuilder implements AppBuilder {
'i',
`react@${version}`,
`react-dom@${version}`,
`@types/react@${version}`,
`@types/react-dom@${version}`,
version < 18
? `@testing-library/react@12`
: `@testing-library/react@13`
Expand Down
2 changes: 1 addition & 1 deletion src/app/stack/react/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class ReactViteBuilder implements AppBuilder {
public foundation = 'react' as const

public async create(name: string, version: number) {
await execa('npm', ['create', 'vite@latest', name, '--', '--template', 'react-ts'], { stdio: 'inherit' })
await execa('npm', ['create', 'vite@7', name, '--', '--template', 'react-ts'], { stdio: 'inherit' })
await execa('npm', [
'i',
`react@${version}`,
Expand Down
Loading