Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
fix: upgrade typesense + expose more type
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSnow committed Apr 11, 2024
1 parent e182bdc commit e5cbcaa
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 19 deletions.
5 changes: 2 additions & 3 deletions packages/karbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@storipress/code-highlight": "^0.0.3",
"@storipress/custom-field": "^1.1.7",
"@storipress/jose-browser": "^1.1.5",
"@storipress/typesense-xior": "workspace:^",
"@storipress/typesense-xior": "workspace:*",
"@storipress/vue-advertising": "^1.1.0",
"@vueuse/core": "^10.1.2",
"@vueuse/head": "^1.1.26",
Expand Down Expand Up @@ -111,7 +111,6 @@
"tiny-invariant": "^1.3.3",
"ts-pattern": "^5.1.1",
"type-fest": "^4.15.0",
"typesense": "^1.8.1",
"typesense-instantsearch-adapter": "^2.8.0",
"unbuild": "^2.0.0",
"unenv": "^1.9.0",
Expand Down Expand Up @@ -165,4 +164,4 @@
"access": "public"
},
"gitHead": "8df1f4d5837a7e2ddbff6cc79f5fec256c34a394"
}
}
1 change: 1 addition & 0 deletions packages/typesense-xior/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ tasks:
command: vite build
inputs:
- src/**/*
- public/**/*
- vite.config.ts
outputs:
- dist/**/*
16 changes: 8 additions & 8 deletions packages/typesense-xior/package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"name": "@storipress/typesense-xior",
"type": "module",
"version": "1.8.1",
"version": "1.8.2",
"packageManager": "[email protected]",
"files": [
"./dist/*"
],
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"types": "./dist/typesense-xior.d.ts",
"import": "./dist/typesense-xior.js"
}
},
"files": [
"./dist/*"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "moon run build",
"prepack": "moon run build"
},
"dependencies": {
"typesense": "1.8.1",
"typesense": "1.8.2",
"xior": "0.3.9"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/typesense-xior/public/typesense-xior.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
export * from 'typesense'
export { default } from 'typesense'
export type { SearchParams, SearchParamsWithPreset, SearchResponse } from 'typesense/src/Typesense/Documents'
export type { MultiSearchResponse } from 'typesense/src/Typesense/MultiSearch'
15 changes: 7 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3172,7 +3172,7 @@ __metadata:
"@storipress/code-highlight": "npm:^0.0.3"
"@storipress/custom-field": "npm:^1.1.7"
"@storipress/jose-browser": "npm:^1.1.5"
"@storipress/typesense-xior": "workspace:^"
"@storipress/typesense-xior": "workspace:*"
"@storipress/vue-advertising": "npm:^1.1.0"
"@types/fs-extra": "npm:11.0.4"
"@types/js-yaml": "npm:4.0.9"
Expand Down Expand Up @@ -3245,7 +3245,6 @@ __metadata:
tsx: "npm:4.7.2"
type-fest: "npm:^4.15.0"
typescript: "npm:5.4.4"
typesense: "npm:^1.8.1"
typesense-instantsearch-adapter: "npm:^2.8.0"
unbuild: "npm:^2.0.0"
unenv: "npm:^1.9.0"
Expand All @@ -3269,13 +3268,13 @@ __metadata:
languageName: unknown
linkType: soft

"@storipress/typesense-xior@workspace:^, @storipress/typesense-xior@workspace:packages/typesense-xior":
"@storipress/typesense-xior@workspace:*, @storipress/typesense-xior@workspace:packages/typesense-xior":
version: 0.0.0-use.local
resolution: "@storipress/typesense-xior@workspace:packages/typesense-xior"
dependencies:
"@moonrepo/cli": "npm:1.23.4"
builtin-modules: "npm:3.3.0"
typesense: "npm:1.8.1"
typesense: "npm:1.8.2"
vite: "npm:5.2.8"
xior: "npm:0.3.9"
languageName: unknown
Expand Down Expand Up @@ -15077,15 +15076,15 @@ __metadata:
languageName: node
linkType: hard

"typesense@npm:1.8.1, typesense@npm:^1.7.2, typesense@npm:^1.8.1":
version: 1.8.1
resolution: "typesense@npm:1.8.1"
"typesense@npm:1.8.2, typesense@npm:^1.7.2":
version: 1.8.2
resolution: "typesense@npm:1.8.2"
dependencies:
axios: "npm:^1.6.0"
loglevel: "npm:^1.8.1"
peerDependencies:
"@babel/runtime": ^7.23.2
checksum: 10/628c2f97823e53c101e557f25cb15b00dedd4963402df446628535ceecb01b9f406425d59968c7969451b8f092721ddc7d3a1fe5327c76a804e9cc336dd628dc
checksum: 10/a9630454078a2071022914bb79a56c1bf568c8f478d55e28f8e3884237c0c51b828c2728e8ae30f12cb5fe4c3468e5cb0e0caf6627ba0e4732d315c6705766ca
languageName: node
linkType: hard

Expand Down

0 comments on commit e5cbcaa

Please sign in to comment.