Skip to content

Commit

Permalink
ci(release): fixes various issues from releasing 0.0.1 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbhesswebber authored Jan 13, 2024
1 parent 93de6f9 commit 2701ec4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "oas-composer",
"private": true,
"version": "0.0.0",
"version": "0.0.1",
"repository": {
"type": "github",
"url": "https://github.com/Tbhesswebber/oas-composer"
"url": "git+https://github.com/Tbhesswebber/oas-composer.git"
},
"type": "module",
"main": "./dist/main.cjs",
"module": "./dist/main.js",
"types": "./dist/main.d.ts",
"files": ["dist"],
"scripts": {
"dev": "vitest --watch",
"build": "pnpm run compile && vite build",
Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import dts from "vite-plugin-dts";
import { defineConfig } from "vitest/config";

const config = defineConfig({
plugins: [dts({ include: ["src/api"] })],
plugins: [dts({ include: ["src/api"], exclude: "**/*.test.ts" })],
build: {
copyPublicDir: false,
lib: {
entry: resolve(
path.dirname(fileURLToPath(import.meta.url)),
"src/api/main.ts",
),
fileName: "main",
formats: ["es", "cjs"],
},
},
Expand Down

0 comments on commit 2701ec4

Please sign in to comment.