Skip to content

Commit c900289

Browse files
committed
feat(extract test files): update build pattern. add LICENSE. add README
1 parent f19883c commit c900289

File tree

24 files changed

+340
-45
lines changed

24 files changed

+340
-45
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55
"workspaces": ["apps/*", "packages/*"],
66
"devDependencies": {
77
"@biomejs/biome": "1.9.4",
8+
"@effect/build-utils": "^0.7.8",
89
"escape-string-regexp": "^5.0.0",
10+
"glob": "^11.0.0",
911
"typescript": "^5.6.3",
1012
"vite": "^5.4.10",
1113
"vitest": "^2.1.4"
1214
},
1315
"scripts": {
14-
"build": "pnpm -r build",
16+
"clean": "node scripts/clean.mjs",
17+
"build": "tsc -b tsconfig.build.json && pnpm --recursive --parallel run build",
1518
"ts:check": "pnpm -r ts:check",
1619
"test": "vitest",
1720
"lint": "pnpm -r lint",
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023-present The Contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# @graph-framework/identity
2+
3+
Contains utils and tools for creating identities for graph-framework dapp users. As well as handling authentication for dapps built ontop of the graph-framework.
4+
5+
## TODO: add api/examples

packages/graph-framework-identity/package.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,32 @@
11
{
22
"name": "graph-framework-identity",
33
"version": "0.0.1",
4-
"description": "",
4+
"description": "Contains utils and tools for creating identities for graph-framework dapp users. As well as handling authentication for dapps built ontop of the graph-framework.",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/geobrowser/graph-framework.git",
8+
"directory": "packages/graph-framework-identity"
9+
},
10+
"license": "MIT",
511
"type": "module",
12+
"exports": {
13+
".": {
14+
"default": "./build/esm/index.js",
15+
"types": "./build/dts/index.d.ts"
16+
}
17+
},
618
"scripts": {
7-
"build": "tsc -b tsconfig.build.json",
19+
"build": "pnpm build-esm && build-utils pack-v2",
20+
"build-esm": "tsc -b tsconfig.build.json",
821
"test": "vitest run --typecheck",
9-
"ts:check": "tsc --noEmit",
22+
"ts:check": "tsc -b tsconfig.build.json",
1023
"lint": "pnpm biome lint src/*",
1124
"lint:fix": "pnpm biome lint --write src/*",
1225
"format": "pnpm biome format src/*",
1326
"format:fix": "pnpm biome format --write src/*",
1427
"check": "pnpm biome check src/*",
1528
"check:fix": "pnpm biome check --write src/*"
1629
},
17-
"exports": {
18-
".": {
19-
"default": "./dist/index.js"
20-
}
21-
},
2230
"peerDependencies": {
2331
"effect": "^3.10.19"
2432
},
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023-present The Contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Graph Framework Key
1+
# @graph-framework/key
22

33
Utilities for Space Keys and Key boxes.

packages/graph-framework-key/package.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@
22
"name": "graph-framework-key",
33
"version": "0.0.1",
44
"description": "Utilities for Space Keys and Key boxes",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/geobrowser/graph-framework.git",
8+
"directory": "packages/graph-framework-key"
9+
},
10+
"license": "MIT",
511
"type": "module",
612
"exports": {
713
".": {
8-
"default": "./dist/index.js"
14+
"default": "./build/esm/index.js",
15+
"types": "./build/dts/index.d.ts"
916
}
1017
},
1118
"scripts": {
12-
"build": "tsc -b tsconfig.build.json",
19+
"build": "pnpm build-esm && build-utils pack-v2",
20+
"build-esm": "tsc -b tsconfig.build.json",
1321
"test": "vitest run --typecheck",
14-
"ts:check": "tsc --noEmit",
22+
"ts:check": "tsc -b tsconfig.build.json",
1523
"lint": "pnpm biome lint src/*",
1624
"lint:fix": "pnpm biome lint --write src/*",
1725
"format": "pnpm biome format src/*",
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023-present The Contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Graph Framework Messages
1+
# @graph-framework/messages
22

33
Provides types related to messages for the Graph Framework

packages/graph-framework-messages/package.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@
22
"name": "graph-framework-messages",
33
"version": "0.0.1",
44
"description": "Provides types related to messages for the Graph Framework",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/geobrowser/graph-framework.git",
8+
"directory": "packages/graph-framework-messages"
9+
},
10+
"license": "MIT",
511
"type": "module",
612
"exports": {
713
".": {
8-
"default": "./dist/index.js"
14+
"default": "./build/esm/index.js",
15+
"types": "./build/dts/index.d.ts"
916
}
1017
},
1118
"scripts": {
12-
"build": "tsc -b tsconfig.build.json",
19+
"build": "pnpm build-esm && build-utils pack-v2",
20+
"build-esm": "tsc -b tsconfig.build.json",
1321
"test": "vitest run --typecheck",
14-
"ts:check": "tsc --noEmit",
22+
"ts:check": "tsc -b tsconfig.build.json",
1523
"lint": "pnpm biome lint src/*",
1624
"lint:fix": "pnpm biome lint --write src/*",
1725
"format": "pnpm biome format src/*",

0 commit comments

Comments
 (0)