Skip to content

Commit 9fa854a

Browse files
committed
fix(typesync | publish): update root space id const. remove migration sql output, making it hidden
1 parent 94c5430 commit 9fa854a

File tree

4 files changed

+3
-63
lines changed

4 files changed

+3
-63
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export const API_ROOT_URL = 'http://localhost:3000/api/v1';
2-
export const ROOT_SPACE_ID = '8ef40bdd-cf69-4ad7-a9a1-f71c15653994';
2+
export const ROOT_SPACE_ID = '64ed9ffa-e7b3-40f6-ae99-fbf6112d10f8';

apps/typesync/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/hypergraph-cli",
3-
"version": "0.0.0-alpha.13",
3+
"version": "0.0.0-alpha.18",
44
"type": "module",
55
"license": "MIT",
66
"description": "CLI toolchain to view existing types, select, pick, extend to create schemas and generate a @graphprotocol/hypergraph schema.",
@@ -33,9 +33,8 @@
3333
"test": "vitest run",
3434
"coverage": "vitest run --coverage",
3535
"copy-package-json": "tsx scripts/copy-package-json.ts",
36-
"copy-db-migrations": "cp ./src/migrations/_schema.sql ./dist/migrations/_schema.sql",
3736
"copy-client-dist": "tsx scripts/copy-client-dist.ts",
38-
"copy-all": "pnpm run copy-package-json && pnpm run copy-db-migrations && pnpm run copy-client-dist",
37+
"copy-all": "pnpm run copy-package-json && pnpm run copy-client-dist",
3938
"hypergraph": "pnpx tsx ./src/bin.ts typesync"
4039
},
4140
"devDependencies": {

apps/typesync/src/Database.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ const SqlLive = SqliteClient.layer({
1212
});
1313
const MigratorLive = Migrator.layer({
1414
loader: Migrator.fromFileSystem(fileURLToPath(new URL('migrations', import.meta.url))),
15-
// Where to put the `_schema.sql` file
16-
schemaDirectory: 'src/migrations',
1715
}).pipe(Layer.provide(SqlLive));
1816

1917
const DatabaseLive = Layer.mergeAll(SqlLive, MigratorLive).pipe(Layer.provide(NodeContext.layer));

apps/typesync/src/migrations/_schema.sql

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)