Skip to content

Commit 890fa25

Browse files
committed
split up into multiple packages
1 parent 0a087ff commit 890fa25

35 files changed

+698
-303
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "graph-framework-identity",
3+
"version": "0.0.1",
4+
"description": "",
5+
"type": "module",
6+
"scripts": {
7+
"test": "vitest run --typecheck",
8+
"ts:check": "tsc --noEmit",
9+
"lint": "echo 'No linting configured'"
10+
},
11+
"exports": {
12+
".": {
13+
"default": "./src/index.js"
14+
}
15+
},
16+
"peerDependencies": {
17+
"@effect/schema": "^0.74"
18+
},
19+
"devDependencies": {
20+
"@effect/schema": "^0.74.1",
21+
"vite": "^5.4.8",
22+
"vitest": "^2.1.1"
23+
},
24+
"dependencies": {
25+
"uuid": "^10.0.0",
26+
"graph-framework-utils": "workspace:*"
27+
}
28+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { expect, it } from "vitest";
2+
import { createIdentity } from "./create-identity.js";
3+
4+
it.skip("should generate an identity", () => {
5+
expect(createIdentity()).toEqual({});
6+
});
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from "./create-identity.js";
2+
export * from "./restore-identity.js";
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"compilerOptions": {
3+
"strict": true,
4+
"noUncheckedIndexedAccess": true,
5+
"esModuleInterop": true,
6+
"sourceMap": true,
7+
"declarationMap": true,
8+
"declaration": true,
9+
"strictNullChecks": true,
10+
"incremental": true,
11+
"composite": true,
12+
"allowJs": true,
13+
"skipLibCheck": true,
14+
"forceConsistentCasingInFileNames": true,
15+
"noFallthroughCasesInSwitch": true,
16+
"noErrorTruncation": true,
17+
"isolatedModules": true,
18+
"target": "ESNext",
19+
"module": "NodeNext",
20+
"moduleResolution": "NodeNext",
21+
"outDir": "./dist",
22+
"rootDir": "./src",
23+
"jsx": "react-jsx"
24+
},
25+
"include": ["./src"]
26+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { defineConfig } from "vite";
2+
3+
// https://vitejs.dev/config/
4+
export default defineConfig({});
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "graph-framework-schema",
3+
"version": "0.0.1",
4+
"description": "",
5+
"type": "module",
6+
"scripts": {
7+
"test": "vitest run --typecheck",
8+
"ts:check": "tsc --noEmit",
9+
"lint": "echo 'No linting configured'"
10+
},
11+
"exports": {
12+
".": {
13+
"default": "./src/index.js"
14+
}
15+
},
16+
"peerDependencies": {
17+
"@automerge/automerge": "^2",
18+
"@automerge/automerge-repo": "^1",
19+
"@automerge/automerge-repo-react-hooks": "^1",
20+
"@effect/schema": "^0.74",
21+
"react": "^18"
22+
},
23+
"devDependencies": {
24+
"@automerge/automerge": "^2.2.8",
25+
"@automerge/automerge-repo": "^1.2.1",
26+
"@automerge/automerge-repo-react-hooks": "^1.2.1",
27+
"@effect/schema": "^0.74.1",
28+
"@testing-library/jest-dom": "^6.5.0",
29+
"@testing-library/react": "^16.0.1",
30+
"@types/react": "^18.3.7",
31+
"@types/uuid": "^10.0.0",
32+
"@vitejs/plugin-react": "^4.3.2",
33+
"jsdom": "^25.0.1",
34+
"vite": "^5.4.8",
35+
"vitest": "^2.1.1"
36+
},
37+
"dependencies": {
38+
"fast-deep-equal": "^3.1.3",
39+
"graph-framework-utils": "workspace:*"
40+
}
41+
}

0 commit comments

Comments
 (0)