Skip to content

Commit

Permalink
Use explicit dependenceis
Browse files Browse the repository at this point in the history
  • Loading branch information
msfstef committed Aug 12, 2024
1 parent 4bcb431 commit d674b64
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 29 deletions.
10 changes: 5 additions & 5 deletions docs/components/Repl.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script setup>
import { ref, watch, onMounted, onBeforeUnmount } from 'vue'
import '../../packages/repl/dist-webcomponent/Repl.js'
import { defaultDarkThemeInit } from '../../packages/repl/dist-webcomponent/Repl.js'
import { PGlite } from '../../packages/pglite/dist/index.js'
import { vector } from '../../packages/pglite/dist/vector/index.js'
import { ref, watch, onBeforeUnmount } from 'vue'
import '@electric-sql/pglite-repl/webcomponent'
import { defaultDarkThemeInit } from '@electric-sql/pglite-repl/webcomponent'
import { PGlite } from '@electric-sql/pglite'
import { vector } from '@electric-sql/pglite/vector'
const pg = new PGlite({
extensions: {
Expand Down
2 changes: 2 additions & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"vitepress": "^1.3.1"
},
"dependencies": {
"@electric-sql/pglite": "workspace:*",
"@electric-sql/pglite-repl": "workspace:*",
"@uiw/codemirror-theme-github": "^4.23.0",
"dedent": "^1.5.3"
}
Expand Down
4 changes: 2 additions & 2 deletions docs/repl/ReplPlayground.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup>
import { ref, watch, onMounted, computed, toRaw, shallowRef } from 'vue'
import { defaultDarkThemeInit } from '../../packages/repl/dist-webcomponent/Repl.js'
import { PGlite } from '../../packages/pglite/dist/index.js'
import { defaultDarkThemeInit } from '@electric-sql/pglite-repl/webcomponent'
import { PGlite } from '@electric-sql/pglite'
import { data as extensionsData } from '../extensions/extensions.data.ts'
import * as allExtension from './allExtensions.ts'
Expand Down
44 changes: 22 additions & 22 deletions docs/repl/allExtensions.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
export { vector } from '../../packages/pglite/dist/vector'
export { adminpack } from '../../packages/pglite/dist/contrib/adminpack'
export { amcheck } from '../../packages/pglite/dist/contrib/amcheck'
export { auto_explain } from '../../packages/pglite/dist/contrib/auto_explain'
export { bloom } from '../../packages/pglite/dist/contrib/bloom'
export { btree_gin } from '../../packages/pglite/dist/contrib/btree_gin'
export { btree_gist } from '../../packages/pglite/dist/contrib/btree_gist'
export { citext } from '../../packages/pglite/dist/contrib/citext'
export { cube } from '../../packages/pglite/dist/contrib/cube'
export { earthdistance } from '../../packages/pglite/dist/contrib/earthdistance'
export { fuzzystrmatch } from '../../packages/pglite/dist/contrib/fuzzystrmatch'
export { hstore } from '../../packages/pglite/dist/contrib/hstore'
export { isn } from '../../packages/pglite/dist/contrib/isn'
export { lo } from '../../packages/pglite/dist/contrib/lo'
export { ltree } from '../../packages/pglite/dist/contrib/ltree'
export { pg_trgm } from '../../packages/pglite/dist/contrib/pg_trgm'
export { seg } from '../../packages/pglite/dist/contrib/seg'
export { tablefunc } from '../../packages/pglite/dist/contrib/tablefunc'
export { tcn } from '../../packages/pglite/dist/contrib/tcn'
export { tsm_system_rows } from '../../packages/pglite/dist/contrib/tsm_system_rows'
export { tsm_system_time } from '../../packages/pglite/dist/contrib/tsm_system_time'
export { uuid_ossp } from '../../packages/pglite/dist/contrib/uuid_ossp'
export { vector } from '@electric-sql/pglite/vector'
export { adminpack } from '@electric-sql/pglite/contrib/adminpack'
export { amcheck } from '@electric-sql/pglite/contrib/amcheck'
export { auto_explain } from '@electric-sql/pglite/contrib/auto_explain'
export { bloom } from '@electric-sql/pglite/contrib/bloom'
export { btree_gin } from '@electric-sql/pglite/contrib/btree_gin'
export { btree_gist } from '@electric-sql/pglite/contrib/btree_gist'
export { citext } from '@electric-sql/pglite/contrib/citext'
export { cube } from '@electric-sql/pglite/contrib/cube'
export { earthdistance } from '@electric-sql/pglite/contrib/earthdistance'
export { fuzzystrmatch } from '@electric-sql/pglite/contrib/fuzzystrmatch'
export { hstore } from '@electric-sql/pglite/contrib/hstore'
export { isn } from '@electric-sql/pglite/contrib/isn'
export { lo } from '@electric-sql/pglite/contrib/lo'
export { ltree } from '@electric-sql/pglite/contrib/ltree'
export { pg_trgm } from '@electric-sql/pglite/contrib/pg_trgm'
export { seg } from '@electric-sql/pglite/contrib/seg'
export { tablefunc } from '@electric-sql/pglite/contrib/tablefunc'
export { tcn } from '@electric-sql/pglite/contrib/tcn'
export { tsm_system_rows } from '@electric-sql/pglite/contrib/tsm_system_rows'
export { tsm_system_time } from '@electric-sql/pglite/contrib/tsm_system_time'
export { uuid_ossp } from '@electric-sql/pglite/contrib/uuid_ossp'
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d674b64

Please sign in to comment.