@quincarter/create-lit-app 1.1.7 → 1.2.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/create-app-shell.sh +10 -27
- package/package.json +1 -1
package/create-app-shell.sh
CHANGED
|
@@ -555,15 +555,20 @@ cat <<EOF > package.json
|
|
|
555
555
|
"start": "vite",
|
|
556
556
|
"build": "tsc && vite build",
|
|
557
557
|
"preview": "yarn build && vite preview",
|
|
558
|
-
"test": "vitest run"
|
|
558
|
+
"test": "vitest run",
|
|
559
|
+
"fmt": "oxfmt",
|
|
560
|
+
"fmt:check": "oxfmt --check",
|
|
561
|
+
"lint": "oxlint",
|
|
562
|
+
"lint:fix": "oxlint --fix"
|
|
559
563
|
},
|
|
560
564
|
"dependencies": {
|
|
561
565
|
$DEPS
|
|
562
566
|
},
|
|
563
567
|
"devDependencies": {
|
|
564
|
-
"@biomejs/biome": "^2.5.10",
|
|
565
568
|
"@types/luxon": "^3.7.5",
|
|
566
569
|
"@types/mocha": "^10.0.10",
|
|
570
|
+
"oxfmt": "^0.65.0",
|
|
571
|
+
"oxlint": "^1.80.0",
|
|
567
572
|
"typescript": "^7.0.2",
|
|
568
573
|
"vite": "^8.2.2",
|
|
569
574
|
"vite-plugin-pwa": "^1.3.0",
|
|
@@ -575,7 +580,7 @@ EOF
|
|
|
575
580
|
# ------------------------------------------------------------------------------
|
|
576
581
|
# Generate Configuration Files
|
|
577
582
|
# ------------------------------------------------------------------------------
|
|
578
|
-
log_info "Generating configuration files (tsconfig.json, vite.config.ts
|
|
583
|
+
log_info "Generating configuration files (tsconfig.json, vite.config.ts)..."
|
|
579
584
|
|
|
580
585
|
cat <<'EOF' > tsconfig.json
|
|
581
586
|
{
|
|
@@ -610,29 +615,6 @@ export default defineConfig({
|
|
|
610
615
|
});
|
|
611
616
|
EOF
|
|
612
617
|
|
|
613
|
-
cat <<'EOF' > biome.json
|
|
614
|
-
{
|
|
615
|
-
"$schema": "https://biomejs.dev/schemas/2.5.10/schema.json",
|
|
616
|
-
"assist": {
|
|
617
|
-
"actions": {
|
|
618
|
-
"source": {
|
|
619
|
-
"organizeImports": "on"
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
},
|
|
623
|
-
"linter": {
|
|
624
|
-
"enabled": true,
|
|
625
|
-
"rules": {
|
|
626
|
-
"preset": "recommended"
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
"formatter": {
|
|
630
|
-
"enabled": true,
|
|
631
|
-
"indentStyle": "tab"
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
EOF
|
|
635
|
-
|
|
636
618
|
cat <<'EOF' > .gitignore
|
|
637
619
|
node_modules
|
|
638
620
|
dist
|
|
@@ -2236,7 +2218,8 @@ $TREE
|
|
|
2236
2218
|
|
|
2237
2219
|
## 🎨 Code Style & Tooling
|
|
2238
2220
|
|
|
2239
|
-
- **
|
|
2221
|
+
- **Formatting**: oxfmt (\`$RUN_CMD fmt\` / \`$RUN_CMD fmt:check\`)
|
|
2222
|
+
- **Linting**: oxlint (\`$RUN_CMD lint\` / \`$RUN_CMD lint:fix\`)
|
|
2240
2223
|
- **Type Checking**: TypeScript (\`npx tsc --noEmit\`)
|
|
2241
2224
|
EOF
|
|
2242
2225
|
|