mirror of
https://github.com/sortedcord/omnia.git
synced 2026-07-21 19:42:48 +05:30
feat: Scaffold Initial monorepo structure (closes #1)
This commit is contained in:
0
.editorconfig
Normal file
0
.editorconfig
Normal file
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules/
|
||||
dist/
|
||||
2
.prettierignore
Normal file
2
.prettierignore
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
dist
|
||||
5
.prettierrc
Normal file
5
.prettierrc
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"semi": true,
|
||||
"singleQuote": false,
|
||||
"trailingComma": "all"
|
||||
}
|
||||
9
cli/package.json
Normal file
9
cli/package.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "@omnia/cli",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./dist/index.js"
|
||||
}
|
||||
}
|
||||
1
cli/src/index.ts
Normal file
1
cli/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
9
cli/tsconfig.json
Normal file
9
cli/tsconfig.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": []
|
||||
}
|
||||
1
cli/tsconfig.tsbuildinfo
Normal file
1
cli/tsconfig.tsbuildinfo
Normal file
File diff suppressed because one or more lines are too long
23
eslint.config.mjs
Normal file
23
eslint.config.mjs
Normal file
@@ -0,0 +1,23 @@
|
||||
import eslintConfigPrettier from "eslint-config-prettier";
|
||||
import js from "eslint/js";
|
||||
import globals from "globals";
|
||||
import tseslint from "typescript-eslint";
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: ["**/dist/**", "**/node_modules/**"],
|
||||
},
|
||||
|
||||
js.configs.recommend,
|
||||
|
||||
...tseslint.configs.recommended,
|
||||
|
||||
{
|
||||
files: ["**/*.ts"],
|
||||
languageOptions: {
|
||||
globals: globals.node,
|
||||
},
|
||||
},
|
||||
|
||||
eslintConfigPrettier,
|
||||
];
|
||||
34
package.json
Normal file
34
package.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "omnia",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"build": "tsc -b",
|
||||
"clean": "git clean -xfd",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"format": "prettier . --write",
|
||||
"format:check": "prettier . --check"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devEngines": {
|
||||
"packageManager": {
|
||||
"name": "pnpm",
|
||||
"version": "^11.9.0",
|
||||
"onFail": "download"
|
||||
}
|
||||
},
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"eslint": "^10.6.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"globals": "^17.7.0",
|
||||
"prettier": "^3.9.4",
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.62.1"
|
||||
}
|
||||
}
|
||||
9
packages/architect/package.json
Normal file
9
packages/architect/package.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "@omnia/architect",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./dist/index.js"
|
||||
}
|
||||
}
|
||||
1
packages/architect/src/index.ts
Normal file
1
packages/architect/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
9
packages/architect/tsconfig.json
Normal file
9
packages/architect/tsconfig.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": []
|
||||
}
|
||||
1
packages/architect/tsconfig.tsbuildinfo
Normal file
1
packages/architect/tsconfig.tsbuildinfo
Normal file
File diff suppressed because one or more lines are too long
9
packages/core/package.json
Normal file
9
packages/core/package.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "@omnia/core",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./dist/index.js"
|
||||
}
|
||||
}
|
||||
1
packages/core/src/index.ts
Normal file
1
packages/core/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
9
packages/core/tsconfig.json
Normal file
9
packages/core/tsconfig.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": []
|
||||
}
|
||||
1
packages/core/tsconfig.tsbuildinfo
Normal file
1
packages/core/tsconfig.tsbuildinfo
Normal file
File diff suppressed because one or more lines are too long
9
packages/intent/package.json
Normal file
9
packages/intent/package.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "@omnia/intent",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./dist/index.js"
|
||||
}
|
||||
}
|
||||
1
packages/intent/src/index.ts
Normal file
1
packages/intent/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
9
packages/intent/tsconfig.json
Normal file
9
packages/intent/tsconfig.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": []
|
||||
}
|
||||
1
packages/intent/tsconfig.tsbuildinfo
Normal file
1
packages/intent/tsconfig.tsbuildinfo
Normal file
File diff suppressed because one or more lines are too long
9
packages/llm/package.json
Normal file
9
packages/llm/package.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "@omnia/llm",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./dist/index.js"
|
||||
}
|
||||
}
|
||||
1
packages/llm/src/index.ts
Normal file
1
packages/llm/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
9
packages/llm/tsconfig.json
Normal file
9
packages/llm/tsconfig.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": []
|
||||
}
|
||||
1
packages/llm/tsconfig.tsbuildinfo
Normal file
1
packages/llm/tsconfig.tsbuildinfo
Normal file
File diff suppressed because one or more lines are too long
9
packages/memory/package.json
Normal file
9
packages/memory/package.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "@omnia/memory",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./dist/index.js"
|
||||
}
|
||||
}
|
||||
1
packages/memory/src/index.ts
Normal file
1
packages/memory/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
9
packages/memory/tsconfig.json
Normal file
9
packages/memory/tsconfig.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": []
|
||||
}
|
||||
1
packages/memory/tsconfig.tsbuildinfo
Normal file
1
packages/memory/tsconfig.tsbuildinfo
Normal file
File diff suppressed because one or more lines are too long
9
packages/spatial/package.json
Normal file
9
packages/spatial/package.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "@omnia/spatial",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./dist/index.js"
|
||||
}
|
||||
}
|
||||
1
packages/spatial/src/index.ts
Normal file
1
packages/spatial/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
9
packages/spatial/tsconfig.json
Normal file
9
packages/spatial/tsconfig.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": []
|
||||
}
|
||||
1
packages/spatial/tsconfig.tsbuildinfo
Normal file
1
packages/spatial/tsconfig.tsbuildinfo
Normal file
File diff suppressed because one or more lines are too long
1046
pnpm-lock.yaml
generated
Normal file
1046
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
3
pnpm-workspace.yaml
Normal file
3
pnpm-workspace.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
packages:
|
||||
- "packages/*"
|
||||
- "cli"
|
||||
13
tsconfig.base.json
Normal file
13
tsconfig.base.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"strict": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"composite": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
||||
12
tsconfig.json
Normal file
12
tsconfig.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"files": [],
|
||||
"references": [
|
||||
{ "path": "./packages/core" },
|
||||
{ "path": "./packages/intent" },
|
||||
{ "path": "./packages/architect" },
|
||||
{ "path": "./packages/memory" },
|
||||
{ "path": "./packages/spatial" },
|
||||
{ "path": "./packages/llm" },
|
||||
{ "path": "./cli" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user