create-reactive-vscode 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.cjs +1 -1
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -98,7 +98,7 @@ Filtered results for: ${this.inputValue?this.inputValue:Y.gray("Enter something
98
98
  `:`
99
99
  `)+t,r=s+1,s=i.indexOf(`
100
100
  `,r)}while(s!==-1);return n+=i.slice(r),n}var{stdout:pi,stderr:mi}=ci,Ye=Symbol("GENERATOR"),Z=Symbol("STYLER"),re=Symbol("IS_EMPTY"),gi=["ansi","ansi","ansi256","ansi16m"],X=Object.create(null),qo=(i,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let t=pi?pi.level:0;i.level=e.level===void 0?t:e.level};var $o=i=>{let e=(...t)=>t.join(" ");return qo(e,i),Object.setPrototypeOf(e,ne.prototype),e};function ne(i){return $o(i)}Object.setPrototypeOf(ne.prototype,Function.prototype);for(let[i,e]of Object.entries(O))X[i]={get(){let t=Se(this,Be(e.open,e.close,this[Z]),this[re]);return Object.defineProperty(this,i,{value:t}),t}};X.visible={get(){let i=Se(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:i}),i}};var Le=(i,e,t,...s)=>i==="rgb"?e==="ansi16m"?O[t].ansi16m(...s):e==="ansi256"?O[t].ansi256(O.rgbToAnsi256(...s)):O[t].ansi(O.rgbToAnsi(...s)):i==="hex"?Le("rgb",e,t,...O.hexToRgb(...s)):O[t][i](...s),Io=["rgb","hex","ansi256"];for(let i of Io){X[i]={get(){let{level:t}=this;return function(...s){let r=Be(Le(i,gi[t],"color",...s),O.color.close,this[Z]);return Se(this,r,this[re])}}};let e="bg"+i[0].toUpperCase()+i.slice(1);X[e]={get(){let{level:t}=this;return function(...s){let r=Be(Le(i,gi[t],"bgColor",...s),O.bgColor.close,this[Z]);return Se(this,r,this[re])}}}}var _o=Object.defineProperties(()=>{},{...X,level:{enumerable:!0,get(){return this[Ye].level},set(i){this[Ye].level=i}}}),Be=(i,e,t)=>{let s,r;return t===void 0?(s=i,r=e):(s=t.openAll+i,r=e+t.closeAll),{open:i,close:e,openAll:s,closeAll:r,parent:t}},Se=(i,e,t)=>{let s=(...r)=>Po(s,r.length===1?""+r[0]:r.join(" "));return Object.setPrototypeOf(s,_o),s[Ye]=i,s[Z]=e,s[re]=t,s},Po=(i,e)=>{if(i.level<=0||!e)return i[re]?"":e;let t=i[Z];if(t===void 0)return e;let{openAll:s,closeAll:r}=t;if(e.includes("\x1B"))for(;t!==void 0;)e=di(e,t.close,t.open),t=t.parent;let n=e.indexOf(`
101
- `);return n!==-1&&(e=fi(e,r,s,n)),s+e+r};Object.defineProperties(ne.prototype,X);var Eo=ne(),Ju=ne({level:mi?mi.level:0});var D=Eo;var co=B(Wn(),1);var Jn={name:"reactive-vscode",type:"module",version:"0.2.7",description:"Develop VSCode extension with Vue Reactivity API",author:"_Kerman <kermanx@qq.com>",license:"MIT",homepage:"https://github.com/KermanX/reactive-vscode#readme",repository:{type:"git",url:"git+https://github.com/KermanX/reactive-vscode.git"},bugs:"https://github.com/KermanX/reactive-vscode/issues",keywords:["vscode","extension","extension-development","vue","composition-api","reactive","reactivity"],sideEffects:!1,exports:{".":{types:"./src/index.ts",import:"./src/index.ts"}},main:"./src/index.ts",types:"./src/index.ts",files:["README.md","dist"],scripts:{typecheck:"tsc --noEmit",build:"vite build",prepublishOnly:"pnpm typecheck && pnpm build"},peerDependencies:{"@types/vscode":"^1.89.0"},dependencies:{"@reactive-vscode/reactivity":"workspace:*"},devDependencies:{"@types/node":"^20.17.0","@types/vscode":"^1.94.0",typescript:"^5.6.3",vite:"^5.4.10","vite-plugin-dts":"^4.3.0"},publishConfig:{exports:{".":{types:"./dist/index.d.ts",import:"./dist/index.js",require:"./dist/index.cjs"}},main:"./dist/index.cjs",types:"./dist/index.d.ts"}};var zn=`dist
101
+ `);return n!==-1&&(e=fi(e,r,s,n)),s+e+r};Object.defineProperties(ne.prototype,X);var Eo=ne(),Ju=ne({level:mi?mi.level:0});var D=Eo;var co=B(Wn(),1);var Jn={name:"reactive-vscode",type:"module",version:"0.2.8",description:"Develop VSCode extension with Vue Reactivity API",author:"_Kerman <kermanx@qq.com>",license:"MIT",homepage:"https://github.com/KermanX/reactive-vscode#readme",repository:{type:"git",url:"git+https://github.com/KermanX/reactive-vscode.git"},bugs:"https://github.com/KermanX/reactive-vscode/issues",keywords:["vscode","extension","extension-development","vue","composition-api","reactive","reactivity"],sideEffects:!1,exports:{".":{types:"./src/index.ts",import:"./src/index.ts"}},main:"./src/index.ts",types:"./src/index.ts",files:["README.md","dist"],scripts:{typecheck:"tsc --noEmit",build:"vite build",prepublishOnly:"pnpm typecheck && pnpm build"},peerDependencies:{"@types/vscode":"^1.89.0"},dependencies:{"@reactive-vscode/reactivity":"workspace:*"},devDependencies:{"@types/node":"^20.17.0","@types/vscode":"^1.94.0",typescript:"^5.6.3",vite:"^5.4.10","vite-plugin-dts":"^4.3.0"},publishConfig:{exports:{".":{types:"./dist/index.d.ts",import:"./dist/index.js",require:"./dist/index.cjs"}},main:"./dist/index.cjs",types:"./dist/index.d.ts"}};var zn=`dist
102
102
  node_modules
103
103
  `;var Kn=`{
104
104
  "version": "0.2.0",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-reactive-vscode",
3
3
  "type": "module",
4
- "version": "0.2.7",
4
+ "version": "0.2.8",
5
5
  "description": "Reactive-vscode project creator",
6
6
  "author": "_Kerman <kermanx@qq.com>",
7
7
  "license": "MIT",