feat(regime)
This commit is contained in:
commit
2be7ec6836
62 changed files with 1817 additions and 0 deletions
5
templates/shared/library/.regime-template.json
Normal file
5
templates/shared/library/.regime-template.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"inherits": [
|
||||
"shared/package"
|
||||
]
|
||||
}
|
||||
13
templates/shared/library/package.json
Normal file
13
templates/shared/library/package.json
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"devDependencies": {
|
||||
"@typescript/native-preview": "beta",
|
||||
"@types/bun": "^1.3.13"
|
||||
},
|
||||
"scripts": {
|
||||
"check": "tsgo --build",
|
||||
"test": "bun test --pass-with-no-tests --tsconfig-override tsconfig.test.json"
|
||||
},
|
||||
"files": [
|
||||
"src"
|
||||
]
|
||||
}
|
||||
14
templates/shared/library/tsconfig.base.json
Normal file
14
templates/shared/library/tsconfig.base.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "esnext",
|
||||
"target": "esnext",
|
||||
"lib": ["esnext"],
|
||||
"types": [],
|
||||
"moduleResolution": "bundler",
|
||||
"esModuleInterop": true,
|
||||
"skipDefaultLibCheck": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"outDir": "dist"
|
||||
}
|
||||
}
|
||||
12
templates/shared/library/tsconfig.config.json
Normal file
12
templates/shared/library/tsconfig.config.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"types": ["bun"]
|
||||
},
|
||||
"include": [
|
||||
"*.config.ts",
|
||||
"*.config.cjs"
|
||||
],
|
||||
"files": []
|
||||
}
|
||||
8
templates/shared/library/tsconfig.json
Normal file
8
templates/shared/library/tsconfig.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"files": [],
|
||||
"references": [
|
||||
{ "path": "./tsconfig.src.json" },
|
||||
{ "path": "./tsconfig.test.json" },
|
||||
{ "path": "./tsconfig.config.json" }
|
||||
]
|
||||
}
|
||||
9
templates/shared/library/tsconfig.src.json
Normal file
9
templates/shared/library/tsconfig.src.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"composite": true
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
]
|
||||
}
|
||||
14
templates/shared/library/tsconfig.test.json
Normal file
14
templates/shared/library/tsconfig.test.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"references": [
|
||||
{ "path": "./tsconfig.src.json" }
|
||||
],
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"types": ["bun"]
|
||||
},
|
||||
"include": [
|
||||
"tests"
|
||||
],
|
||||
"files": []
|
||||
}
|
||||
7
templates/shared/package/.regime-template.json
Normal file
7
templates/shared/package/.regime-template.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"patterns": {
|
||||
"package.json": "merge json",
|
||||
"tsconfig.json": "merge json",
|
||||
"tsconfig.*.json": "merge json"
|
||||
}
|
||||
}
|
||||
11
templates/shared/package/package.json
Normal file
11
templates/shared/package/package.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
"name": "Sigitex",
|
||||
"url": "http://github.com/sigitex"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sigitex/<<repo>>.git"
|
||||
}
|
||||
}
|
||||
3
templates/shared/repo/.regime-template.json
Normal file
3
templates/shared/repo/.regime-template.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"inherits": ["include/license"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue