diff --git a/README.md b/README.md index 7252de2..be2ba55 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ You can find the new repository here: [https://github.com/webdevnerdstuff/vue-code-block](https://github.com/webdevnerdstuff/vue-code-block) You can find the new NPM package here: -[https://github.com/webdevnerdstuff/vue-code-block](https://www.npmjs.com/package/@wdns/vue-code-block) +[https://www.npmjs.com/package/@wdns/vue-code-block](https://www.npmjs.com/package/@wdns/vue-code-block) ## License diff --git a/dist/vue3-code-block.cjs.js b/dist/vue3-code-block.cjs.js index 9306929..5138dac 100644 --- a/dist/vue3-code-block.cjs.js +++ b/dist/vue3-code-block.cjs.js @@ -1,5 +1,5 @@ "use strict";var sn=Object.create;var I=Object.defineProperty;var rn=Object.getOwnPropertyDescriptor;var tn=Object.getOwnPropertyNames;var un=Object.getPrototypeOf,gn=Object.prototype.hasOwnProperty;var hn=(l,r,a,j)=>{if(r&&typeof r=="object"||typeof r=="function")for(let c of tn(r))!gn.call(l,c)&&c!==a&&I(l,c,{get:()=>r[c],enumerable:!(j=rn(r,c))||j.enumerable});return l};var G=(l,r,a)=>(a=l!=null?sn(un(l)):{},hn(r||!l||!l.__esModule?I(a,"default",{value:l,enumerable:!0}):a,l));/** - * @name @wdns/vue3-code-block + * @name vue3-code-block * @version 2.2.13 * @description Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js. * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) diff --git a/dist/vue3-code-block.es.js b/dist/vue3-code-block.es.js index fdcb2f3..2231445 100644 --- a/dist/vue3-code-block.es.js +++ b/dist/vue3-code-block.es.js @@ -1,7 +1,7 @@ import { unref as a, defineComponent as tn, openBlock as u, createElementBlock as i, mergeProps as H, createCommentVNode as w, createElementVNode as v, mergeDefaults as kn, useSlots as fn, ref as c, toRefs as _n, computed as y, watch as en, onBeforeMount as wn, onMounted as xn, normalizeClass as d, normalizeStyle as S, renderSlot as F, Fragment as I, createTextVNode as M, toDisplayString as N, createBlock as an } from "vue"; import Tn from "ua-parser-js"; /** - * @name @wdns/vue3-code-block + * @name vue3-code-block * @version 2.2.13 * @description Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js. * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) diff --git a/vite.build.config.ts b/vite.build.config.ts index 862f39d..a9ca9a2 100644 --- a/vite.build.config.ts +++ b/vite.build.config.ts @@ -11,11 +11,10 @@ import typescript from 'rollup-plugin-typescript2'; import vue from '@vitejs/plugin-vue'; import { viteStaticCopy } from 'vite-plugin-static-copy'; -const scopedPackageName = pkg.name; -const packageName = scopedPackageName.split('/')[1]; +const packageName = pkg.name; const banner = `/** - * @name ${scopedPackageName} + * @name ${packageName} * @version ${pkg.version} * @description ${pkg.description} * @author ${pkg.author}