Skip to content

Commit

Permalink
v0fix: fixed dep build issue
Browse files Browse the repository at this point in the history
utils should have been a regular dependency
  • Loading branch information
AlansCodeLog committed Jul 9, 2023
1 parent 5700f6c commit 51246fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
"_prepare": "npm run build",
"gen:exports": "indexit update --ignore {Units,utils,internal}.ts -o '${path}.js'"
},
"dependencies": {},
"dependencies": {
"@alanscodelog/utils": "4.0.0-beta.5"
},
"peerDependencies": {
"colorjs.io": "^0.4.3",
"tailwindcss": "^3.3.2"
Expand All @@ -56,7 +58,6 @@
}
},
"devDependencies": {
"@alanscodelog/utils": "4.0.0-beta.4",
"@alanscodelog/commitlint-config": "^2.0.0",
"@alanscodelog/eslint-config": "^4.0.3",
"@alanscodelog/semantic-release-config": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import packageJson from "./package.json"
const typesPlugin = (): PluginOption => ({
name: "typesPlugin",
// eslint-disable-next-line no-console
writeBundle: async () => run("npm run build:types").catch(e => console.log(e)).then(() => undefined),
writeBundle: async () => run("npm run build:types").promise.catch(e => console.log(e)).then(() => undefined),
})

// https://vitejs.dev/config/
Expand Down

0 comments on commit 51246fd

Please sign in to comment.