Skip to content

Commit 9f9a7b9

Browse files
committed
fix: update package name references for sqlite-wasm to @sqliteai/cloudsync-wasm
1 parent b8c082a commit 9f9a7b9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ jobs:
155155
rm -rf sqlite-wasm/sqlite-wasm/*
156156
unzip dist/sqlite-wasm.zip -d sqlite-wasm/tmp
157157
mv sqlite-wasm/tmp/sqlite-wasm-*/jswasm sqlite-wasm/sqlite-wasm
158-
rm -rf sqlite-wasm/tmp sqlite-wasm/bin sqlite-wasm/demo
159158
160159
cd sqlite-wasm && npm i && npm run fix && npm run publint && npm run check-types && cd ..
161160
@@ -165,7 +164,7 @@ jobs:
165164
DESC="SQLite Wasm compiled with the automatically initialized cloudsync extension. Conveniently packaged as an ES Module for effortless integration."
166165
167166
jq \
168-
--arg name "@cloudsync/sqlite-wasm" \
167+
--arg name "@sqliteai/cloudsync-wasm" \
169168
--arg version "$(make sqlite_version)+cloudsync-$(make version)" \
170169
--arg desc "$DESC" \
171170
--argjson keywords '["offsync","cloudsync","sqliteai"]' \
@@ -195,9 +194,9 @@ jobs:
195194
| del(.devDependencies.shx)
196195
' "$PKG" > "$TMP" && mv "$TMP" "$PKG"
197196
198-
sed 's/@sqlite\.org\/sqlite-wasm/@cloudsync\/sqlite-wasm/g' sqlite-wasm/README.md > sqlite-wasm/README.tmp
197+
sed 's/@sqlite\.org\/sqlite-wasm/@sqliteai\/cloudsync-wasm/g' sqlite-wasm/README.md > sqlite-wasm/README.tmp
199198
echo -e "# sqlite-sync WASM $(make version)\nThis README and the TypeScript types are from the [official SQLite wasm repository](https://github.com/sqlite/sqlite-wasm)\n\n$(cat sqlite-wasm/README.tmp)" > sqlite-wasm/README.md
200-
rm sqlite-wasm/README.tmp sqlite-wasm/package-lock.json
199+
rm -rf sqlite-wasm/tmp sqlite-wasm/bin sqlite-wasm/demo sqlite-wasm/README.tmp sqlite-wasm/package-lock.json
201200
cd sqlite-wasm && npm pack
202201
203202
- uses: actions/[email protected]

0 commit comments

Comments
 (0)