chore(release): v0.0.4

This commit is contained in:
René Preuß
2023-02-17 20:33:25 +01:00
parent 71d836e5c4
commit c0a53a7864
6 changed files with 7 additions and 11 deletions

View File

@@ -1,5 +1,7 @@
# Changelog
## v0.0.4
## v0.0.3

View File

@@ -1,6 +1,6 @@
{
"name": "@bitinflow/ui",
"version": "0.0.3",
"version": "0.0.4",
"description": "bitinflow UI Kit",
"license": "Apache-2.0",
"type": "module",
@@ -22,7 +22,7 @@
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
"release2": "npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
"release2": "npm run test && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest watch"

View File

@@ -81,6 +81,8 @@
</template>
<script>
import {useMenu} from "../src/runtime/composables";
export default {
setup() {
useMenu({

View File

@@ -23,9 +23,6 @@ export default defineNuxtModule<ModuleOptions>({
const logger = useLogger(PACKAGE_NAME)
const resolver = createResolver(import.meta.url)
// Do not add the extension since the `.ts` will be transpiled to `.mjs` after `npm run prepack`
addPlugin(resolver.resolve('./runtime/plugin'))
const composables = resolver.resolve('./runtime/composables')
addImportsDir(composables)

View File

@@ -44,7 +44,7 @@
<script>
import {mapState} from "pinia";
import {useMenuStore} from "../stores/menu.js";
import {useMenuStore} from "../stores/menu";
import BitinflowButton from "./BitinflowButton.vue";
export default {

View File

@@ -1,5 +0,0 @@
import { defineNuxtPlugin } from '#app'
export default defineNuxtPlugin((nuxtApp) => {
console.log('Plugin injected by my-module!')
})