From e4b6c3645551c822de820e202b79b7c42d1fcb41 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 9 Nov 2023 16:57:37 -0800 Subject: [PATCH 1/4] Update --- dist/vue3-code-block.cjs.js | 4 ++-- dist/vue3-code-block.es.js | 4 ++-- package.json | 2 +- vite.build.config.ts | 5 ++--- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/dist/vue3-code-block.cjs.js b/dist/vue3-code-block.cjs.js index 9306929..3df9a39 100644 --- a/dist/vue3-code-block.cjs.js +++ b/dist/vue3-code-block.cjs.js @@ -1,6 +1,6 @@ "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 - * @version 2.2.13 + * @name vue3-code-block + * @version 2.2.12 * @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) * @copyright Copyright 2023, WebDevNerdStuff diff --git a/dist/vue3-code-block.es.js b/dist/vue3-code-block.es.js index fdcb2f3..7189009 100644 --- a/dist/vue3-code-block.es.js +++ b/dist/vue3-code-block.es.js @@ -1,8 +1,8 @@ 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 - * @version 2.2.13 + * @name vue3-code-block + * @version 2.2.12 * @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) * @copyright Copyright 2023, WebDevNerdStuff diff --git a/package.json b/package.json index 6467b9e..9dbc71a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue3-code-block", - "version": "2.2.14", + "version": "2.2.12", "description": "Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js.", "private": false, "main": "dist/vue3-code-block.cjs.js", 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} From 6f49a92a8c3a5e1a63996afd1033002550d4c39b Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 9 Nov 2023 17:02:57 -0800 Subject: [PATCH 2/4] Update --- dist/vue3-code-block.cjs.js | 2 +- dist/vue3-code-block.es.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/vue3-code-block.cjs.js b/dist/vue3-code-block.cjs.js index 3df9a39..5138dac 100644 --- a/dist/vue3-code-block.cjs.js +++ b/dist/vue3-code-block.cjs.js @@ -1,6 +1,6 @@ "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 vue3-code-block - * @version 2.2.12 + * @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) * @copyright Copyright 2023, WebDevNerdStuff diff --git a/dist/vue3-code-block.es.js b/dist/vue3-code-block.es.js index 7189009..2231445 100644 --- a/dist/vue3-code-block.es.js +++ b/dist/vue3-code-block.es.js @@ -2,7 +2,7 @@ import { unref as a, defineComponent as tn, openBlock as u, createElementBlock a import Tn from "ua-parser-js"; /** * @name vue3-code-block - * @version 2.2.12 + * @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) * @copyright Copyright 2023, WebDevNerdStuff diff --git a/package.json b/package.json index 9dbc71a..61de9d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue3-code-block", - "version": "2.2.12", + "version": "2.2.13", "description": "Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js.", "private": false, "main": "dist/vue3-code-block.cjs.js", From 80f9b671154e1c6680aa684a5a2f71b64f2696ef Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 9 Nov 2023 17:20:02 -0800 Subject: [PATCH 3/4] Fix link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From addab315c9b7e8ed31e10d1bc6bb52c9297ce6c7 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 9 Nov 2023 17:20:18 -0800 Subject: [PATCH 4/4] 2.2.14 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 61de9d8..6467b9e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue3-code-block", - "version": "2.2.13", + "version": "2.2.14", "description": "Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js.", "private": false, "main": "dist/vue3-code-block.cjs.js",