Rename deno.jsonc to deno.json and improve imports definitions to better define dependencies
This commit is contained in:
parent
2cd252511a
commit
de8c249faf
@ -1,8 +1,6 @@
|
||||
{
|
||||
"tasks": {
|
||||
"test": "deno test --allow-all --unstable-ffi",
|
||||
"test:dev": "deno test --allow-all --unstable-ffi --watch",
|
||||
"check": "deno fmt && deno lint --fix && deno check **/*.ts && deno task test",
|
||||
"check": "deno fmt && deno lint --fix && deno check **/*.ts && deno test -A",
|
||||
"hook": "deno run --allow-read --allow-run --allow-write https://deno.land/x/deno_hooks@0.1.1/mod.ts"
|
||||
},
|
||||
"workspace": [
|
||||
@ -10,16 +8,11 @@
|
||||
"packages/fabric/domain",
|
||||
"packages/fabric/sqlite-store",
|
||||
"packages/fabric/testing",
|
||||
"packages/fabric/validations",
|
||||
"packages/templates/domain",
|
||||
"packages/templates/lib"
|
||||
"packages/templates/lib",
|
||||
"apps/syntropy/domain"
|
||||
],
|
||||
"imports": {
|
||||
"@db/sqlite": "jsr:@db/sqlite@^0.12.0",
|
||||
"@quentinadam/decimal": "jsr:@quentinadam/decimal@^0.1.6",
|
||||
"@std/expect": "jsr:@std/expect@^1.0.5",
|
||||
"@std/testing": "jsr:@std/testing@^1.0.3",
|
||||
"expect-type": "npm:expect-type@^1.1.0"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"strict": true,
|
||||
"exactOptionalPropertyTypes": true,
|
||||
@ -27,8 +20,8 @@
|
||||
"noImplicitOverride": true,
|
||||
"noUncheckedIndexedAccess": true
|
||||
},
|
||||
"unstable": ["ffi"],
|
||||
"lint": {
|
||||
"include": ["src/"],
|
||||
"rules": {
|
||||
"tags": ["recommended"],
|
||||
"exclude": ["no-namespace"]
|
||||
35
deno.lock
35
deno.lock
@ -5,7 +5,6 @@
|
||||
"jsr:@db/sqlite@0.12": "0.12.0",
|
||||
"jsr:@denosaurs/plug@1": "1.0.6",
|
||||
"jsr:@quentinadam/assert@~0.1.7": "0.1.7",
|
||||
"jsr:@quentinadam/decimal@*": "0.1.6",
|
||||
"jsr:@quentinadam/decimal@~0.1.6": "0.1.6",
|
||||
"jsr:@std/assert@0.217": "0.217.0",
|
||||
"jsr:@std/assert@0.221": "0.221.0",
|
||||
@ -127,12 +126,32 @@
|
||||
}
|
||||
},
|
||||
"workspace": {
|
||||
"dependencies": [
|
||||
"jsr:@db/sqlite@0.12",
|
||||
"jsr:@quentinadam/decimal@~0.1.6",
|
||||
"jsr:@std/expect@^1.0.5",
|
||||
"jsr:@std/testing@^1.0.3",
|
||||
"npm:expect-type@^1.1.0"
|
||||
]
|
||||
"members": {
|
||||
"packages/fabric/domain": {
|
||||
"dependencies": [
|
||||
"jsr:@fabric/core@*",
|
||||
"jsr:@fabric/validations@*",
|
||||
"jsr:@quentinadam/decimal@~0.1.6"
|
||||
]
|
||||
},
|
||||
"packages/fabric/sqlite-store": {
|
||||
"dependencies": [
|
||||
"jsr:@db/sqlite@0.12",
|
||||
"jsr:@fabric/domain@*"
|
||||
]
|
||||
},
|
||||
"packages/fabric/testing": {
|
||||
"dependencies": [
|
||||
"jsr:@std/expect@^1.0.5",
|
||||
"jsr:@std/testing@^1.0.3",
|
||||
"npm:expect-type@^1.1.0"
|
||||
]
|
||||
},
|
||||
"packages/fabric/validations": {
|
||||
"dependencies": [
|
||||
"jsr:@fabric/core@*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
12
packages/fabric/domain/deno.json
Normal file
12
packages/fabric/domain/deno.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "@fabric/domain",
|
||||
"exports": {
|
||||
".": "./index.ts",
|
||||
"./mocks": "./mocks.ts"
|
||||
},
|
||||
"imports": {
|
||||
"@fabric/core": "jsr:@fabric/core",
|
||||
"@fabric/validations": "jsr:@fabric/validations",
|
||||
"decimal": "jsr:@quentinadam/decimal@^0.1.6"
|
||||
}
|
||||
}
|
||||
@ -1,7 +0,0 @@
|
||||
{
|
||||
"name": "@fabric/domain",
|
||||
"exports": {
|
||||
".": "./index.ts",
|
||||
"./mocks": "./mocks.ts"
|
||||
}
|
||||
}
|
||||
10
packages/fabric/sqlite-store/deno.json
Normal file
10
packages/fabric/sqlite-store/deno.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "@fabric/sqlite-store",
|
||||
"exports": {
|
||||
".": "./index.ts"
|
||||
},
|
||||
"imports": {
|
||||
"@db/sqlite": "jsr:@db/sqlite@^0.12.0",
|
||||
"@fabric/domain": "jsr:@fabric/domain"
|
||||
}
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "@fabric/sqlite-store",
|
||||
"exports": {
|
||||
".": "./index.ts"
|
||||
}
|
||||
}
|
||||
11
packages/fabric/testing/deno.json
Normal file
11
packages/fabric/testing/deno.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "@fabric/testing",
|
||||
"exports": {
|
||||
".": "./index.ts"
|
||||
},
|
||||
"imports": {
|
||||
"expect-type": "npm:expect-type@^1.1.0",
|
||||
"@std/expect": "jsr:@std/expect@^1.0.5",
|
||||
"@std/testing": "jsr:@std/testing@^1.0.3"
|
||||
}
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "@fabric/testing",
|
||||
"exports": {
|
||||
".": "./index.ts"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user