mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-06-28 06:46:24 +00:00
refactor: move contract file outside src folder
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { createForgeProxy, globalProxyRegistry } from '@lifeforge/shared'
|
||||
|
||||
import contract from './contract'
|
||||
import contract from '../contract'
|
||||
|
||||
globalProxyRegistry.set(contract, {
|
||||
moduleId: '',
|
||||
|
||||
@@ -2,10 +2,17 @@
|
||||
"compilerOptions": {
|
||||
"target": "ES2020",
|
||||
"useDefineForClassFields": true,
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable", "ES2024.Object"],
|
||||
"lib": [
|
||||
"ES2020",
|
||||
"DOM",
|
||||
"DOM.Iterable",
|
||||
"ES2024.Object"
|
||||
],
|
||||
"module": "ESNext",
|
||||
"skipLibCheck": true,
|
||||
"types": ["node"],
|
||||
"types": [
|
||||
"node"
|
||||
],
|
||||
/* Bundler mode */
|
||||
"outDir": "${configDir}/tsbuild",
|
||||
"moduleResolution": "bundler",
|
||||
@@ -22,9 +29,17 @@
|
||||
"rootDir": "../",
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"@core/*": ["../core/*"]
|
||||
"@/*": [
|
||||
"./src/*"
|
||||
],
|
||||
"@core/*": [
|
||||
"../core/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": ["./src/**/*", "./vite.config.ts"]
|
||||
}
|
||||
"include": [
|
||||
"./src/**/*",
|
||||
"./vite.config.ts",
|
||||
"./contract.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user