Skip to content
Open
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
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Caches
# Caches

.cache

Expand Down Expand Up @@ -173,4 +173,7 @@ dist

# Finder (MacOS) folder config
.DS_Store
test
**/test/

# Local Claude settings
.claude/settings.local.json
91 changes: 77 additions & 14 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,81 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"includes": [
"**",
"!node_modules",
"!.vercel",
"!dist"
]
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off"
},
"complexity": {
"noBannedTypes": "off",
"noStaticOnlyClass": "off"
},
"correctness": {
"noUnusedVariables": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"overrides": [
{
"includes": [
"**/*.svelte",
"**/*.astro",
"**/*.vue"
],
"linter": {
"rules": {
"style": {
"useTemplate": "off"
},
"performance": {
"noDelete": "off"
},
"recommended": true
"style": {
"useConst": "off",
"useImportType": "off"
},
"correctness": {
"noUnusedVariables": "off",
"noUnusedImports": "off"
}
}
}
},
{
"includes": [
"**"
],
"json": {
"parser": {
"allowComments": true
}
}
}
}
]
}
20 changes: 10 additions & 10 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

99 changes: 51 additions & 48 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,53 @@
{
"name": "create-elysiajs",
"type": "commonjs",
"version": "1.6.0",
"description": "Scaffolding your Elysia project with the environment with easy!",
"author": "kravetsone",
"repository": {
"type": "git",
"url": "git+https://github.com/kravetsone/create-elysiajs.git"
},
"readme": "https://github.com/kravetsone/create-elysiajs",
"keywords": [
"elysia",
"elysiajs",
"scaffolding",
"create",
"template",
"lint",
"eslint",
"biome",
"orm",
"prisma",
"drizzle",
"husky"
],
"files": ["dist"],
"bin": {
"create-elysiajs": "dist/index.js"
},
"scripts": {
"watch": "bunx pkgroll -w",
"lint": "bunx @biomejs/biome check src",
"lint:fix": "bun lint --apply",
"prepublishOnly": "bunx pkgroll"
},
"devDependencies": {
"@biomejs/biome": "^2.0.0",
"@types/bun": "^1.2.5",
"@types/minimist": "^1.2.5",
"husky": "^9.1.7",
"pkgroll": "^2.11.2",
"ts-dedent": "^2.2.0",
"typescript": "^5.8.2"
},
"dependencies": {
"enquirer": "^2.4.1",
"minimist": "^1.2.8",
"tasuku": "^2.0.1"
}
"name": "create-elysiajs",
"type": "commonjs",
"version": "1.6.0",
"description": "Scaffolding your Elysia project with the environment with easy!",
"author": "kravetsone",
"repository": {
"type": "git",
"url": "git+https://github.com/kravetsone/create-elysiajs.git"
},
"readme": "https://github.com/kravetsone/create-elysiajs",
"keywords": [
"elysia",
"elysiajs",
"scaffolding",
"create",
"template",
"lint",
"eslint",
"biome",
"orm",
"prisma",
"drizzle",
"husky"
],
"files": [
"dist"
],
"bin": {
"create-elysiajs": "dist/index.js"
},
"scripts": {
"watch": "bunx pkgroll -w",
"lint": "bunx @biomejs/biome check src",
"lint:fix": "bunx @biomejs/biome check --write",
"prepublishOnly": "bunx pkgroll",
"test": "bun run ./dist/index.js --pm bun test"
},
"devDependencies": {
"@biomejs/biome": "^2.2.5",
"@types/bun": "^1.2.5",
"@types/minimist": "^1.2.5",
"husky": "^9.1.7",
"pkgroll": "^2.11.2",
"ts-dedent": "^2.2.0",
"typescript": "^5.8.2"
},
"dependencies": {
"enquirer": "^2.4.1",
"minimist": "^1.2.8",
"tasuku": "^2.0.1"
}
}
38 changes: 19 additions & 19 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automergeSchedule": [
"before 4am"
],
"automerge": true,
"extends": ["config:recommended", ":dependencyDashboard"],
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"bumpVersion": "patch",
"labels": ["bump"],
"customManagers": [{
"fileMatch": ["deps.ts$"],
"datasourceTemplate": "npm",
"matchStrings": ["\t\"?(?<depName>.*?)\"?: \"\\^?(?<currentValue>.*?)\""],
"autoReplaceStringTemplate": "\t\"{{{depName}}}\": \"^{{{newValue}}}\""
}]
}
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automergeSchedule": ["before 4am"],
"automerge": true,
"extends": ["config:recommended", ":dependencyDashboard"],
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"bumpVersion": "patch",
"labels": ["bump"],
"customManagers": [
{
"fileMatch": ["deps.ts$"],
"datasourceTemplate": "npm",
"matchStrings": ["\t\"?(?<depName>.*?)\"?: \"\\^?(?<currentValue>.*?)\""],
"autoReplaceStringTemplate": "\t\"{{{depName}}}\": \"^{{{newValue}}}\""
}
]
}
8 changes: 8 additions & 0 deletions src/deps.share.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export const ShareDeps = {
elysia: "catalog:",
typescript: "catalog:",
"@types/bun": "catalog:",
"@biomejs/biome": "catalog:",
eslint: "catalog:",
rimraf: "catalog:",
};
Loading