mirror of
https://github.com/bitinflow/ui.git
synced 2026-03-13 13:45:59 +00:00
chore(release): v0.0.4
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
|
||||||
|
## v0.0.4
|
||||||
|
|
||||||
## v0.0.3
|
## v0.0.3
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bitinflow/ui",
|
"name": "@bitinflow/ui",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"description": "bitinflow UI Kit",
|
"description": "bitinflow UI Kit",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
"dev:build": "nuxi build playground",
|
"dev:build": "nuxi build playground",
|
||||||
"dev:prepare": "nuxt-module-build --stub && nuxi prepare 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",
|
"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 .",
|
"lint": "eslint .",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"test:watch": "vitest watch"
|
"test:watch": "vitest watch"
|
||||||
|
|||||||
@@ -81,6 +81,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {useMenu} from "../src/runtime/composables";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
useMenu({
|
useMenu({
|
||||||
|
|||||||
@@ -23,9 +23,6 @@ export default defineNuxtModule<ModuleOptions>({
|
|||||||
const logger = useLogger(PACKAGE_NAME)
|
const logger = useLogger(PACKAGE_NAME)
|
||||||
const resolver = createResolver(import.meta.url)
|
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')
|
const composables = resolver.resolve('./runtime/composables')
|
||||||
addImportsDir(composables)
|
addImportsDir(composables)
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {mapState} from "pinia";
|
import {mapState} from "pinia";
|
||||||
import {useMenuStore} from "../stores/menu.js";
|
import {useMenuStore} from "../stores/menu";
|
||||||
import BitinflowButton from "./BitinflowButton.vue";
|
import BitinflowButton from "./BitinflowButton.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
import { defineNuxtPlugin } from '#app'
|
|
||||||
|
|
||||||
export default defineNuxtPlugin((nuxtApp) => {
|
|
||||||
console.log('Plugin injected by my-module!')
|
|
||||||
})
|
|
||||||
Reference in New Issue
Block a user