create-rari-app 0.2.14 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -103,13 +103,10 @@ async function copyTemplate(templatePath, projectPath, options) {
103
103
  "package.json",
104
104
  "vite.config.ts",
105
105
  "tsconfig.json",
106
- "tsconfig.app.json",
107
- "tsconfig.node.json",
108
106
  "index.html",
109
107
  "README.md",
110
108
  "railway.toml",
111
109
  "render.yaml",
112
- "src/vite-env.d.ts",
113
110
  "src/app/globals.css",
114
111
  "src/app/layout.tsx",
115
112
  "src/app/page.tsx",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-rari-app",
3
3
  "type": "module",
4
- "version": "0.2.14",
4
+ "version": "0.3.0",
5
5
  "description": "Create Runtime Accelerated Rendering Infrastructure (Rari) applications with no build configuration",
6
6
  "author": "Ryan Skinner",
7
7
  "license": "MIT",
@@ -51,9 +51,9 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/node": "^25.0.3",
54
- "@typescript/native-preview": "^7.0.0-dev.20260102.1",
54
+ "@typescript/native-preview": "^7.0.0-dev.20260107.1",
55
55
  "eslint": "^9.39.2",
56
- "oxlint": "^1.36.0",
56
+ "oxlint": "^1.38.0",
57
57
  "tsdown": "^0.18.4"
58
58
  }
59
59
  }
@@ -15,8 +15,6 @@
15
15
  "deploy:railway": "rari deploy railway",
16
16
  "deploy:render": "rari deploy render",
17
17
  "clean": "rm -rf dist",
18
- "lint": "oxlint && eslint",
19
- "lint:fix": "oxlint --fix && eslint --fix",
20
18
  "typecheck": "tsgo"
21
19
  },
22
20
  "dependencies": {
@@ -29,10 +27,7 @@
29
27
  "@types/node": "^25.0.3",
30
28
  "@types/react": "^19.2.7",
31
29
  "@types/react-dom": "^19.2.3",
32
- "@typescript/native-preview": "^7.0.0-dev.20260102.1",
33
- "@vitejs/plugin-react": "^5.1.2",
34
- "eslint": "^9.39.2",
35
- "oxlint": "^1.36.0",
30
+ "@typescript/native-preview": "^7.0.0-dev.20260107.1",
36
31
  "rolldown-vite": "^7.3.0",
37
32
  "tailwindcss": "^4.1.18"
38
33
  }
@@ -1,10 +1,5 @@
1
1
  [build]
2
- builder = "NIXPACKS"
3
- buildCommand = "pnpm run build"
4
- nixpacksPlan = { phases = { setup = { nixPkgs = [
5
- "nodejs_20",
6
- "pnpm"
7
- ] } } }
2
+ builder = "RAILPACK"
8
3
 
9
4
  [deploy]
10
5
  startCommand = "pnpm start"
@@ -1,6 +1,6 @@
1
1
  import type { PageProps } from 'rari/client'
2
- import ServerTime from '../components/ServerTime'
3
- import Welcome from '../components/Welcome'
2
+ import ServerTime from '@/components/ServerTime'
3
+ import Welcome from '@/components/Welcome'
4
4
 
5
5
  export default function HomePage(_params: PageProps) {
6
6
  return (
@@ -1,11 +1,23 @@
1
1
  {
2
- "references": [
3
- {
4
- "path": "./tsconfig.app.json"
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "jsx": "react-jsx",
5
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
6
+ "useDefineForClassFields": true,
7
+ "module": "ESNext",
8
+ "moduleResolution": "bundler",
9
+ "paths": {
10
+ "*": ["./*"],
11
+ "@/*": ["./src/*"]
5
12
  },
6
- {
7
- "path": "./tsconfig.node.json"
8
- }
9
- ],
10
- "files": []
13
+ "resolveJsonModule": true,
14
+ "allowImportingTsExtensions": true,
15
+ "strict": true,
16
+ "noFallthroughCasesInSwitch": true,
17
+ "noUnusedLocals": true,
18
+ "noUnusedParameters": true,
19
+ "noEmit": true,
20
+ "isolatedModules": true,
21
+ "skipLibCheck": true
22
+ }
11
23
  }
@@ -1,11 +1,10 @@
1
1
  import path from 'node:path'
2
2
  import tailwindcss from '@tailwindcss/vite'
3
- import react from '@vitejs/plugin-react'
4
- import { rari, rariRouter } from 'rari/vite'
3
+ import { rari } from 'rari/vite'
5
4
  import { defineConfig } from 'rolldown-vite'
6
5
 
7
6
  export default defineConfig({
8
- plugins: [rari(), rariRouter(), react(), tailwindcss()],
7
+ plugins: [rari(), tailwindcss()],
9
8
  resolve: {
10
9
  alias: {
11
10
  '@': path.resolve(__dirname, 'src'),
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />
@@ -1,34 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
4
- "target": "ES2020",
5
- "jsx": "react-jsx",
6
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
7
- "moduleDetection": "force",
8
- "useDefineForClassFields": true,
9
- "module": "ESNext",
10
-
11
- /* Bundler mode */
12
- "moduleResolution": "bundler",
13
-
14
- /* Path aliases */
15
- "paths": {
16
- "*": ["./*"],
17
- "@/*": ["./src/*"]
18
- },
19
-
20
- "allowImportingTsExtensions": true,
21
- /* Linting */
22
- "strict": true,
23
- "noFallthroughCasesInSwitch": true,
24
- "noUncheckedIndexedAccess": true,
25
- "noUnusedLocals": true,
26
- "noUnusedParameters": true,
27
- "noEmit": true,
28
- "isolatedModules": true,
29
- "skipLibCheck": true
30
- },
31
- "include": [
32
- "src"
33
- ]
34
- }
@@ -1,26 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
4
- "target": "ES2022",
5
- "lib": ["ES2023"],
6
- "moduleDetection": "force",
7
- "module": "ESNext",
8
-
9
- /* Bundler mode */
10
- "moduleResolution": "bundler",
11
- "allowImportingTsExtensions": true,
12
-
13
- /* Linting */
14
- "strict": true,
15
- "noFallthroughCasesInSwitch": true,
16
- "noUncheckedIndexedAccess": true,
17
- "noUnusedLocals": true,
18
- "noUnusedParameters": true,
19
- "noEmit": true,
20
- "isolatedModules": true,
21
- "skipLibCheck": true
22
- },
23
- "include": [
24
- "vite.config.ts"
25
- ]
26
- }