Skip to content

Commit

Permalink
chore(deps): update orama to v3 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
cesconix authored Jan 19, 2025
1 parent 35e9638 commit fc1d5c6
Show file tree
Hide file tree
Showing 13 changed files with 2,216 additions and 2,367 deletions.
6 changes: 6 additions & 0 deletions .changeset/clean-bobcats-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"pinorama-server": minor
"pinorama-studio": minor
---

update to orama v3
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm commitlint --edit "$1"
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm biome
pnpm test
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "^1.8.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"husky": "^9.0.11",
"rimraf": "^5.0.7",
"turbo": "^2.0.5"
"@biomejs/biome": "^1.9.4",
"@changesets/cli": "^2.27.11",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"husky": "^9.1.7",
"rimraf": "^5.0.10",
"turbo": "^2.3.3"
},
"packageManager": "pnpm@9.2.0",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pinorama-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"directory": "packages/pinorama-client"
},
"devDependencies": {
"@orama/orama": "2.0.19",
"@orama/orama": "^3.0.4",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/pinorama-docs/.vitepress/style/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* Component: Home
* -------------------------------------------------------------------------- */

:root {
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
Expand Down
2 changes: 1 addition & 1 deletion packages/pinorama-presets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"directory": "packages/pinorama-presets"
},
"devDependencies": {
"@orama/orama": "2.0.19",
"@orama/orama": "^3.0.4",
"@types/node": "^20.14.2",
"pinorama-types": "workspace:*",
"rimraf": "^5.0.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/pinorama-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"typescript": "^5.4.5"
},
"dependencies": {
"@orama/orama": "2.0.19",
"@orama/plugin-data-persistence": "2.0.19",
"@orama/orama": "^3.0.4",
"@orama/plugin-data-persistence": "3.0.4",
"change-case": "^5.4.4",
"fastify": "^4.26.2",
"fastify-plugin": "^4.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/pinorama-server/src/index.mts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const fastifyPinoramaServer: FastifyPluginAsync<PinoramaServerOptions> = async (

const db = fs.existsSync(opts.dbPath as string)
? await restoreFromFile(opts.dbFormat, opts.dbPath)
: await create({ schema: withPinoramaMetadataSchema(opts.dbSchema) })
: create({ schema: withPinoramaMetadataSchema(opts.dbSchema) })

fastify.decorate("pinoramaOpts", opts)
fastify.decorate("pinoramaDb", db)
Expand Down
2 changes: 1 addition & 1 deletion packages/pinorama-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@orama/orama": "2.0.19",
"@orama/orama": "^3.0.4",
"@tailwind-plugin/expose-colors": "^1.1.8",
"@types/node": "^20.14.10",
"@types/react": "^18.3.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,51 +1,56 @@
.json-view-container {
@apply whitespace-pre-wrap font-mono text-sm pl-1
@apply whitespace-pre-wrap font-mono text-sm pl-1;
}

.punctuation {
@apply text-muted-foreground
@apply text-muted-foreground;
}

.expander {
@apply mr-1
@apply mr-1;
}

.expand-icon, .collapse-icon {
@apply inline-flex w-[14px] ml-[-14px] text-lg leading-none text-muted-foreground/40
.expand-icon,
.collapse-icon {
@apply inline-flex w-[14px] ml-[-14px] text-lg leading-none text-muted-foreground/40;
}

.expand-icon::after {
content: '▸';
content: "▸";
}

.collapse-icon::after {
content: '▾';
content: "▾";
}

.collapsed-content {
@apply mx-1
@apply mx-1;
}

.collapsed-content::after {
content: '...';
content: "...";
}

.basic-element-style {
@apply my-1 mx-4 p-0
@apply my-1 mx-4 p-0;
}

.label, .clickable-label {
@apply mr-2 font-semibold
.label,
.clickable-label {
@apply mr-2 font-semibold;
}

.value-string {
@apply text-sky-400
@apply text-sky-400;
}

.value-number, .value-boolean, .value-null, .value-undefined, .value-other {
@apply text-rose-400
.value-number,
.value-boolean,
.value-null,
.value-undefined,
.value-other {
@apply text-rose-400;
}

.collapse-icon {}
.expand-icon {}

/* .collapse-icon {} */
/* .expand-icon {} */
2 changes: 1 addition & 1 deletion packages/pinorama-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"directory": "packages/pinorama-types"
},
"devDependencies": {
"@orama/orama": "2.0.19",
"@orama/orama": "^3.0.4",
"@types/node": "^20.14.2",
"rimraf": "^5.0.7",
"typescript": "^5.4.5"
Expand Down
Loading

0 comments on commit fc1d5c6

Please sign in to comment.