-
Notifications
You must be signed in to change notification settings - Fork 14
chore: updated starter templates #785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| { | ||
| "source": "./dist", | ||
| "source": "./build", | ||
| "target": "./dist", | ||
| "segments": "./segments" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "extends": "../tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "../build", | ||
| "rootDir": "./" | ||
| }, | ||
| "include": ["./"] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,14 @@ | ||
| { | ||
| "compilerOptions": { | ||
| "target": "ESNext", | ||
| "useDefineForClassFields": true, | ||
| "allowJs": false, | ||
| "skipLibCheck": true, | ||
| "esModuleInterop": false, | ||
| "allowSyntheticDefaultImports": true, | ||
| "strict": true, | ||
| "forceConsistentCasingInFileNames": true, | ||
| "module": "ESNext", | ||
| "moduleResolution": "Node", | ||
| "resolveJsonModule": true, | ||
| "isolatedModules": true, | ||
| "noEmit": true, | ||
| "paths": { | ||
| "^/*": ["./src/*"], | ||
| } | ||
| }, | ||
| "include": ["src", "test"] | ||
| "target": "esnext", | ||
| "module": "esnext", | ||
| "moduleResolution": "bundler" | ||
| } | ||
| } |
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| { | ||
| "source": "./dist", | ||
| "source": "./build", | ||
| "target": "./dist", | ||
| "segments": "./segments" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "name": "jitar-react-starter", | ||
| "private": true, | ||
| "version": "0.0.0", | ||
| "type": "module", | ||
| "scripts": { | ||
| "dev": "vite", | ||
| "build": "npm run build-domain && npm run build-app", | ||
| "build-domain": "rimraf build dist && tsc -p src/tsconfig.json && jitar build", | ||
| "build-app": "vite build --config src/app/vite.config.ts", | ||
| "standalone": "jitar start --service=services/standalone.json" | ||
| }, | ||
| "dependencies": { | ||
| "jitar": "^0.11.0", | ||
| "react": "^19.2.6", | ||
| "react-dom": "^19.2.6" | ||
| }, | ||
| "devDependencies": { | ||
| "@jitar/plugin-vite": "^0.11.0", | ||
| "@types/node": "^24.12.4", | ||
| "@types/react": "^19.2.15", | ||
| "@types/react-dom": "^19.2.3", | ||
| "@vitejs/plugin-react": "^5.2.0", | ||
| "rimraf": "^6.1.3", | ||
| "typescript": "^5.9.3", | ||
| "vite": "^7.3.3" | ||
| } | ||
| } |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "extends": "../../tsconfig.json", | ||
| "compilerOptions": { | ||
| "types": ["vite/client"], | ||
| "jsx": "react-jsx", | ||
| "noEmit": true, | ||
| }, | ||
| "include": ["./"] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
|
|
||
| import { defineConfig } from 'vite'; | ||
| import react from '@vitejs/plugin-react'; | ||
| import jitar, { JitarConfig } from '@jitar/plugin-vite'; | ||
|
|
||
| const jitarConfig: JitarConfig = { | ||
| projectRoot: '../../', | ||
| sourceRoot: '../', | ||
| jitarUrl: 'http://localhost:3000', | ||
| segments: [], | ||
| middleware: [] | ||
| }; | ||
|
|
||
| export default defineConfig({ | ||
| root: './src/app', | ||
| publicDir: 'public', | ||
| build: { | ||
| outDir: '../../dist/app', | ||
| emptyOutDir: true | ||
| }, | ||
| plugins: [ | ||
| react(), | ||
| jitar(jitarConfig) | ||
| ] | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "extends": "../tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "../build", | ||
| "rootDir": "./" | ||
| }, | ||
| "include": ["./domain"] | ||
| } |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "compilerOptions": { | ||
| "types": ["node"], | ||
| "useDefineForClassFields": true, | ||
| "allowJs": false, | ||
| "skipLibCheck": true, | ||
| "allowSyntheticDefaultImports": true, | ||
| "strict": true, | ||
| "forceConsistentCasingInFileNames": true, | ||
| "isolatedModules": true, | ||
| "target": "esnext", | ||
| "module": "esnext", | ||
| "moduleResolution": "bundler" | ||
| } | ||
| } |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: MaskingTechnology/jitar
Length of output: 1997
🌐 Web query:
npm rimraf 6.1.3 version💡 Result:
npm package rimraf version 6.1.3 was published on Feb 16, 2026 [1][2]. What changed in 6.1.3 (vs 6.1.2): the repo notes the 6.1.3 release on 2026-02-16 and shows a small package.json/package-lock.json update (dependency and TypeScript/@types updates), plus formatting/docs safety text changes [3]. The exact published version number in package.json and package-lock.json is updated from 6.1.2 to 6.1.3 [2]. Install it: npm install rimraf@6.1.3 [1] CLI supports
--versionto display its version [4].Citations:
🌐 Web query:
npm typescript 5.9.3 version💡 Result:
npm typescript 5.9.3 corresponds to the TypeScript compiler release 5.9.3. The official TypeScript repo release tag v5.9.3 is dated 2025-10-01, and the npm package version list shows 5.9.2–5.9.3 published in the Sep 2025 window; the 5.9.3 release notes announcement is linked from the tag page.
Citations:
🌐 Web query:
npm jitar 0.11.0 version💡 Result:
The npm package “jitar” does not have version 0.11.0. The latest published version on npm for “jitar” is 0.10.6 (npm page shows latest 0.10.6), and npm’s registry version history lists versions up to 0.10.7 (no 0.11.0 entry). [1][2] If you meant a different package named similarly (e.g., “jiter” from pydantic, which has a v0.11.0 release—but that is not the npm package “jitar”). [3]
Citations:
Build script looks consistent, but
jitardependency range likely breaksnpm installrimraf@^6.1.3andtypescript@5.9.3are present on npm.dependencies.jitar: ^0.11.0is not resolvable because npm’sjitarpackage has no 0.11.0 version (latest is 0.10.6), so the template install may fail until the npm package publishes 0.11.0 or the range is adjusted.🤖 Prompt for AI Agents