Skip to content

Commit

Permalink
0.0.199
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansglazunov committed Jun 29, 2023
1 parent 5e382d5 commit 02d3434
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions migrations/1687790060025-finder.ts
Original file line number Diff line number Diff line change
@@ -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');
Expand All @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deep-foundation/deeplinks",
"version": "0.0.198",
"version": "0.0.199",
"license": "Unlicense",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 02d3434

Please sign in to comment.