From 02d34344b18d194e9b3ceebab2def454bbf6724d Mon Sep 17 00:00:00 2001 From: Ivan S Glazunov Date: Thu, 29 Jun 2023 22:03:34 +0000 Subject: [PATCH] 0.0.199 --- migrations/1687790060025-finder.ts | 7 +++++-- package.json | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/migrations/1687790060025-finder.ts b/migrations/1687790060025-finder.ts index c15fbf7d..3cfbe8e0 100644 --- a/migrations/1687790060025-finder.ts +++ b/migrations/1687790060025-finder.ts @@ -1,7 +1,7 @@ import { generateApolloClient } from '@deep-foundation/hasura/client.js'; import Debug from 'debug'; import { DeepClient } from '../imports/client.js'; -import npmPackagerPckg from '@deep-foundation/finder/deep.json' assert { type: 'json'}; +import pckg from '@deep-foundation/finder/deep.json' assert { type: 'json'}; import { importPackage, sharePermissions } from './1664940577200-tsx.js'; const debug = Debug('deeplinks:migrations:finder'); @@ -20,9 +20,12 @@ const root = new DeepClient({ export const up = async () => { log('up'); - const importResult = await importPackage(npmPackagerPckg); + console.log('pckg', JSON.stringify(pckg, null, 2)); + const importResult = await importPackage(pckg); + console.log('importResult', JSON.stringify(importResult, null, 2)); log(importResult); const packageId = importResult?.packageId; + console.log('packageId', packageId); if (packageId) { await sharePermissions(await root.id('deep', 'admin'), packageId); } diff --git a/package.json b/package.json index d45b8834..b1fe316b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@deep-foundation/deeplinks", - "version": "0.0.198", + "version": "0.0.199", "license": "Unlicense", "type": "module", "scripts": { @@ -33,7 +33,7 @@ }, "dependencies": { "@apollo/client": "^3.7.14", - "@deep-foundation/deepcase": "0.0.21", + "@deep-foundation/deepcase": "0.0.23", "@deep-foundation/finder": "^0.0.3", "@deep-foundation/hasura": "^0.0.45", "@deep-foundation/materialized-path": "0.0.24",