File tree Expand file tree Collapse file tree 3 files changed +66
-3
lines changed Expand file tree Collapse file tree 3 files changed +66
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @powersync/sql-js " : patch
3
+ ---
4
+
5
+ Initial release of sql.js fork with PowerSync.
Original file line number Diff line number Diff line change
1
+ # Action to publish packages under the `next` tag for testing
2
+ # Packages are versioned as `0.0.0-{tag}-DATETIMESTAMP`
3
+ name : Create Dev Release
4
+
5
+ on : workflow_dispatch
6
+
7
+ jobs :
8
+ publish :
9
+ name : Publish Dev Packages
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ with :
14
+ persist-credentials : false
15
+ - name : Setup NodeJS
16
+ uses : actions/setup-node@v4
17
+ with :
18
+ node-version-file : " .nvmrc"
19
+ - uses : pnpm/action-setup@v2
20
+ name : Install pnpm
21
+ with :
22
+ version : 9
23
+ run_install : false
24
+ - name : Add NPM auth
25
+ run : echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
26
+ - name : Get pnpm store directory
27
+ shell : bash
28
+ run : |
29
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
30
+ - uses : actions/cache@v3
31
+ name : Setup pnpm cache
32
+ with :
33
+ path : ${{ env.STORE_PATH }}
34
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
35
+ restore-keys : |
36
+ ${{ runner.os }}-pnpm-store-
37
+ - name : Install dependencies
38
+ run : pnpm install
39
+
40
+ - name : Install sha3sum
41
+ run : |
42
+ sudo apt-get update
43
+ sudo apt-get install -y libdigest-sha3-perl
44
+
45
+ - name : Setup Emscripten
46
+ uses : mymindstorm/setup-emsdk@v14
47
+ with :
48
+ version : " latest"
49
+ actions-cache-folder : " emsdk-cache"
50
+
51
+ - name : Build
52
+ run : pnpm build
53
+
54
+ - name : Publish
55
+ run : |
56
+ pnpm changeset version --no-git-tag --snapshot dev
57
+ pnpm changeset publish --tag dev
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " @powersync/sqljs " ,
2
+ "name" : " @powersync/sql-js " ,
3
3
"private" : " true" ,
4
4
"version" : " 0.0.0" ,
5
5
"description" : " SQL.js fork for for JourneyApps PowerSync" ,
8
8
"module" : " dist/bundle.mjs" ,
9
9
"types" : " lib/index.d.ts" ,
10
10
"author" : " JOURNEYAPPS" ,
11
- "license" : " Apache-2.0 " ,
11
+ "license" : " MIT " ,
12
12
"files" : [
13
13
" lib" ,
14
14
" dist"
15
15
],
16
16
"repository" : {
17
17
"type" : " git" ,
18
- "url" : " git+https://github.com/powersync-ja/powersync-js.git"
18
+ "url" : " git+https://github.com/powersync-ja/powersync-sql- js.git"
19
19
},
20
20
"bugs" : {
21
21
"url" : " https://github.com/powersync-ja/powersync-js/issues"
22
22
},
23
23
"homepage" : " https://docs.powersync.com" ,
24
24
"scripts" : {
25
25
"build" : " sh build.sh" ,
26
+ "ci:publish" : " pnpm publish -r" ,
26
27
"clean" : " rm -rf dist sql.js"
27
28
},
28
29
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments