Skip to content

Commit

Permalink
commit package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Jan 16, 2024
1 parent 7ab156b commit dd482df
Show file tree
Hide file tree
Showing 4 changed files with 699 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
cache: 'npm'
- name: Install duckdb-utils depdenencies
run: |
cd duckdb-utils
npm install
cd duckdb-utils/dist
npm ci
- name: Install dependencies
run: npm install
run: npm ci
- name: Build
run: npm run build
- name: Set up `npm link`
run: |
cd duckdb-utils
cd duckdb-utils/dist
npm link
- name: Run `npm link`
run: npm link duckdb-utils
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@ RUN npm run build # ❌ `worker terminated with 1 pending requests` inside Asyn

[duckdb-utils/src/duckdb.ts](duckdb-utils/src/duckdb.ts) instantiates an `AsyncDuckDB`:
```typescript

const { worker, bundle } = await nodeWorkerBundle()
const logger = { log: () => {}, }
const db = new AsyncDuckDB(logger, worker)
```

This works when the [duckdb-utils](duckdb-utils) module is installed directly, but breaks when `npm link`ed.
2 changes: 1 addition & 1 deletion duckdb-utils
Loading

0 comments on commit dd482df

Please sign in to comment.