feat: template updates

This commit is contained in:
Dan Finch 2026-05-12 02:07:52 +02:00
parent 2be7ec6836
commit 8093e8dc4b
11 changed files with 140 additions and 8 deletions

View file

@ -0,0 +1,5 @@
{
"inherits": [
"profile/library"
]
}

View file

@ -0,0 +1,19 @@
{
"workspaces": {
"packages": [
"/sig/hypeup/packages/*"
]
},
"dependencies": {
"@hypeup/client": "workspace:*",
"@hypeup/lexicon": "workspace:*",
"@hypeup/runtime": "workspace:*"
},
"devDependencies": {
"hypeup": "workspace:*"
},
"scripts": {
"start": "hypeup generate --dir src --watch",
"build": "hypeup generate --dir src"
}
}

View file

@ -1,4 +1,5 @@
{
"type": "module",
"workspaces": {
"catalog": {
"@types/bun": "1.3.12"

View file

@ -6,8 +6,8 @@
}
],
"settings": {
"oxc.path.oxfmt": "./node_modules/.bin/oxfmt",
"oxc.path.oxlint": "./node_modules/.bin/oxlint",
"oxc.path.oxfmt": "node_modules/.bin/oxfmt",
"oxc.path.oxlint": "node_modules/.bin/oxlint",
"files.exclude": {
"**/.git": true,
"**/node_modules": true,
@ -18,10 +18,9 @@
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"tsconfig.json": "tsconfig.*.json",
"package.json": "bun.lock, biome.json*, *.bun.plugin.ts, ox*.config.ts, .gitignore, .mirrorignore, regime.config.json, commitlint.config.*, release.config.*js",
"package.json": "bun.lock, bunfig.toml, *.bun.plugin.ts, ox*.config.ts, .gitignore, .mirrorignore, regime.config.json, commitlint.config.*, release.config.*js",
"vite.config.ts": "*.vite.plugin.ts",
"README.md": "LICENSE, LICENSE.md"
},
"git.ignoreLimitWarning": true,
}
}

View file

@ -0,0 +1,2 @@
[test]
pathIgnorePatterns = ["dist/**"]

View file

@ -6,6 +6,6 @@
},
"repository": {
"type": "git",
"url": "https://github.com/sigitex/<<repo>>.git"
"url": "git+https://github.com/sigitex/<<repo>>.git"
}
}

View file

@ -13,4 +13,17 @@ export default defineConfig({
bracketSameLine: false,
bracketSpacing: true,
ignorePatterns: ["**/*.gen.ts"],
});
overrides: [
{
files: [
"*.page.ts",
"*.css.ts",
"*.html.ts",
],
options: {
printWidth: 60,
},
},
],
})

View file

@ -30,6 +30,7 @@ export default defineConfig({
"no-dynamic-delete": "off",
"no-empty-file": "off",
"no-empty-function": "off",
"no-eq-null": "warn",
"no-implicit-coercion": "off",
"no-magic-numbers": "off",
"no-multi-assign": "off",
@ -64,6 +65,9 @@ export default defineConfig({
"typescript/no-namespace": "off",
"typescript/no-non-null-assertion": "off",
"typescript/prefer-function-type": "off",
"unicorn/no-process-exit": "off",
"unicorn/prefer-string-raw": "off",
"unicorn/text-encoding-identifier-case": "off",
},
overrides: [
{
@ -74,6 +78,7 @@ export default defineConfig({
"typescript/no-var-requires": "off",
"unicorn/prefer-module": "off",
"unicorn/consistent-function-scoping": "off",
"func-names": "off",
},
},
{