Skip to content

Commit eb3caf2

Browse files
committed
Workflow test 5
1 parent ea74358 commit eb3caf2

17 files changed

Lines changed: 13726 additions & 3 deletions

File tree

.github/workflows/deploy-sync-streams.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Install PowerSync CLI
2828
# todo: replace with npm install powersync
29-
run: npm install https://${{ secrets.GH_PKG_TOKEN }}@github.com/powersync-ja/temp-cli.git
29+
run: npm install ./build-bundle
3030

3131
- name: Deploy sync config
3232
env:

build-bundle/README.md

Lines changed: 1501 additions & 0 deletions
Large diffs are not rendered by default.

build-bundle/bin/dev.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
3+
node --loader ts-node/esm --no-warnings=ExperimentalWarning "%~dp0\dev" %*

build-bundle/bin/dev.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env -S node --import tsx
2+
3+
import { execute } from '@oclif/core';
4+
import path from 'node:path';
5+
import { fileURLToPath } from 'node:url';
6+
7+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
8+
9+
await execute({
10+
development: true,
11+
dir: import.meta.url,
12+
loadOptions: {
13+
root: path.resolve(__dirname, '..')
14+
}
15+
});

build-bundle/bin/run.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
3+
node "%~dp0\run" %*

build-bundle/bin/run.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env node
2+
3+
import { execute } from '@oclif/core';
4+
5+
await execute({ dir: import.meta.url });

0 commit comments

Comments
 (0)