Skip to content

Commit

Permalink
clean up packages
Browse files Browse the repository at this point in the history
  • Loading branch information
4leite committed May 9, 2024
1 parent 26aba89 commit 6ca70ac
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 41 deletions.
13 changes: 13 additions & 0 deletions .changeset/twelve-pumpkins-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@oberoncms/adapter-vercel-postgres": minor
"@oberoncms/adapter-turso": minor
"@oberoncms/upload-thing": minor
"@oberoncms/core": minor
"@tohuhono/utils": minor
"@tohuhono/puck-rich-text": minor
"@tohuhono/dev": minor
"@tohuhono/ui": minor
"@tohuhono/puck-blocks": minor
---

Reverted to relative imports because typescript team refuses to transpile declaration files
3 changes: 1 addition & 2 deletions packages/dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
"uploadthing": "^6.10.1",
"vite": "^5.1.6",
"vite-plugin-dts": "^3.7.3",
"vite-plugin-externalize-deps": "^0.8.0",
"vite-tsconfig-paths": "^4.3.2"
"vite-plugin-externalize-deps": "^0.8.0"
},
"devDependencies": {
"@types/eslint-config-prettier": "^6.11.3",
Expand Down
2 changes: 0 additions & 2 deletions packages/dev/src/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { createLogger, defineConfig, type Plugin as VitePlugin } from "vite"
import preserveDirectives from "rollup-preserve-directives"
import fg from "fast-glob"
import { externalizeDeps } from "vite-plugin-externalize-deps"
import tsconfigPaths from "vite-tsconfig-paths"

function dts(): VitePlugin {
return {
Expand Down Expand Up @@ -87,7 +86,6 @@ export function initConfig(entryPoints: string[] = ["src/*.ts", "src/*.tsx"]) {
},
plugins: [
externalizeDeps(),
tsconfigPaths(),
// eslint-disable-next-line @typescript-eslint/ban-ts-comment, @typescript-eslint/prefer-ts-expect-error
// @ts-ignore sometimes fails so can't use expect error
preserveDirectives(),
Expand Down
37 changes: 0 additions & 37 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 6ca70ac

Please sign in to comment.