Skip to content

Commit

Permalink
Format and export the release dir from the package (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
samwillis authored Aug 1, 2024
1 parent a3e1e16 commit 93db4fc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/pglite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"./vector": "./dist/vector/index.js",
"./nodefs": "./dist/fs/nodefs.js",
"./opfs-ahp": "./dist/fs/opfs-ahp/index.js",
"./contrib/*": "./dist/contrib/*.js"
"./contrib/*": "./dist/contrib/*.js",
"./release/*": "./release/*"
},
"typesVersions": {
"*": {
Expand Down
5 changes: 4 additions & 1 deletion packages/pglite/src/contrib/tsm_system_rows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import type {

const setup = async (pg: PGliteInterface, emscriptenOpts: any) => {
return {
bundlePath: new URL("../../release/tsm_system_rows.tar.gz", import.meta.url),
bundlePath: new URL(
"../../release/tsm_system_rows.tar.gz",
import.meta.url,
),
} satisfies ExtensionSetupResult;
};

Expand Down
5 changes: 4 additions & 1 deletion packages/pglite/src/contrib/tsm_system_time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import type {

const setup = async (pg: PGliteInterface, emscriptenOpts: any) => {
return {
bundlePath: new URL("../../release/tsm_system_time.tar.gz", import.meta.url),
bundlePath: new URL(
"../../release/tsm_system_time.tar.gz",
import.meta.url,
),
} satisfies ExtensionSetupResult;
};

Expand Down

1 comment on commit 93db4fc

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.