@devup-ui/next-plugin 1.0.73 → 1.0.74
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.
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/plugin.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
var{defineProperty:D,getOwnPropertyNames:a,getOwnPropertyDescriptor:n}=Object,l=Object.prototype.hasOwnProperty;var m=new WeakMap,t=(z)=>{var G=m.get(z),Q;if(G)return G;if(G=D({},"__esModule",{value:!0}),z&&typeof z==="object"||typeof z==="function")a(z).map((K)=>!l.call(G,K)&&D(G,K,{get:()=>z[K],enumerable:!(Q=n(z,K))||Q.enumerable}));return m.set(z,G),G};var o=(z,G)=>{for(var Q in G)D(z,Q,{get:G[Q],enumerable:!0,configurable:!0,set:(K)=>G[Q]=()=>K})};var Gz={};o(Gz,{DevupUI:()=>p});module.exports=t(Gz);var V=require("node:fs"),X=require("node:path"),x=require("@devup-ui/plugin-utils"),J=require("@devup-ui/wasm"),d=require("@devup-ui/webpack-plugin");var N=require("node:fs"),F=require("node:http"),I=require("node:path"),O=require("@devup-ui/wasm");function i(z){if(z.endsWith("devup-ui.css"))return null;return parseInt(z.split("devup-ui-")[1].split(".")[0])}function s(z){return new Promise((G,Q)=>{let K=[];z.on("data",(L)=>K.push(L)),z.on("end",()=>G(Buffer.concat(K).toString("utf-8"))),z.on("error",Q)})}var q=null,C=0,g=0,f=0,r=500,e=30000;function zz(){let z=Date.now();return new Promise((G)=>{let Q=()=>{let K=Date.now();if(K-z>e){G();return}if(g>0&&C===0&&K-f>=r){G();return}setTimeout(Q,50)};Q()})}function u(z){let{package:G,cssDir:Q,singleCss:K,sheetFile:L,classMapFile:Y,fileMapFile:T,importAliases:S,coordinatorPortFile:k}=z;return q=F.createServer(async(H,B)=>{let A=new URL(H.url??"/",`http://${H.headers.host}`);if(H.method==="GET"&&A.pathname==="/health"){B.writeHead(200,{"Content-Type":"text/plain"}),B.end("ok");return}if(H.method==="GET"&&A.pathname==="/css"){let W=A.searchParams.get("fileNum"),b=A.searchParams.get("importMainCss")==="true",E=A.searchParams.get("waitForIdle")==="true",_=W!=null?parseInt(W):void 0;if(E)await zz();B.writeHead(200,{"Content-Type":"text/css"}),B.end(O.getCss(_??null,b));return}if(H.method==="POST"&&A.pathname==="/extract"){C++;try{let W=JSON.parse(await s(H)),{filename:b,code:E,resourcePath:_}=W,w=I.relative(I.dirname(_),Q).replaceAll("\\","/");if(!w.startsWith("./"))w=`./${w}`;let R=O.codeExtract(b,E,G,w,K,!1,!0,S),P=R.code;if(!K&&P)P=P.replace(/devup-ui-(\d+)\.css/g,"devup-ui.css?fileNum=$1");let y=[];if(R.updatedBaseStyle)y.push(new Promise((j,Z)=>N.writeFile(I.join(Q,"devup-ui.css"),`${O.getCss(null,!1)}
|
|
2
2
|
/* ${Date.now()} */`,"utf-8",($)=>$?Z($):j())));if(R.cssFile){let j=i(R.cssFile);if(y.push(new Promise((Z,$)=>N.writeFile(I.join(Q,I.basename(R.cssFile)),O.getCss(j,!0),"utf-8",(U)=>U?$(U):Z())),new Promise((Z,$)=>N.writeFile(L,O.exportSheet(),"utf-8",(U)=>U?$(U):Z())),new Promise((Z,$)=>N.writeFile(Y,O.exportClassMap(),"utf-8",(U)=>U?$(U):Z())),new Promise((Z,$)=>N.writeFile(T,O.exportFileMap(),"utf-8",(U)=>U?$(U):Z()))),!K&&!R.updatedBaseStyle&&R.css!=null)y.push(new Promise((Z,$)=>N.writeFile(I.join(Q,"devup-ui.css"),`${O.getCss(null,!1)}
|
|
3
|
-
/* ${Date.now()} */`,"utf-8",(U)=>U?$(U):Z())))}await Promise.all(y),B.writeHead(200,{"Content-Type":"application/json"}),B.end(JSON.stringify({code:P,map:R.map,cssFile:R.cssFile,updatedBaseStyle:R.updatedBaseStyle}))}catch(W){B.writeHead(500,{"Content-Type":"application/json"}),B.end(JSON.stringify({error:W instanceof Error?W.message:String(W)}))}finally{C--,g++,f=Date.now()}return}B.writeHead(404,{"Content-Type":"text/plain"}),B.end("Not Found")}),q.listen(0,"127.0.0.1",()=>{let H=q.address();if(H&&typeof H!=="string")N.writeFileSync(k,String(H.port),"utf-8")}),{close:()=>{if(q){q.close(),q=null;try{N.unlinkSync(k)}catch{}}}}}function p(z,G={}){if(process.env.TURBOPACK==="1"||process.env.TURBOPACK==="auto"){z??={},z.turbopack??={},z.turbopack.rules??={};let{package:L="@devup-ui/react",distDir:Y="df",cssDir:T=X.resolve(Y,"devup-ui"),singleCss:S=!1,devupFile:k="devup.json",include:H=[],prefix:B,importAliases:A}=G;if(B)J.setPrefix(B);let W=x.mergeImportAliases(A),b=X.join(Y,"sheet.json"),E=X.join(Y,"classMap.json"),_=X.join(Y,"fileMap.json"),w=X.join(Y,".gitignore");if(!V.existsSync(Y))V.mkdirSync(Y,{recursive:!0});if(!V.existsSync(T))V.mkdirSync(T,{recursive:!0});if(!V.existsSync(w))V.writeFileSync(w,"*");try{J.importSheet(JSON.parse(V.readFileSync(b,"utf-8"))),J.importClassMap(JSON.parse(V.readFileSync(E,"utf-8"))),J.importFileMap(JSON.parse(V.readFileSync(_,"utf-8")))}catch{}let P=x.loadDevupConfigSync(k).theme??{};J.registerTheme(P);let y=J.getThemeInterface(L,"CustomColors","DevupThemeTypography","DevupTheme");if(y)V.writeFileSync(X.join(Y,"theme.d.ts"),y);let j=x.createNodeModulesExcludeRegex(H,".mdx.[tj]sx?$"),Z=X.join(Y,"coordinator.port");V.writeFileSync(X.join(T,"devup-ui.css"),J.getCss(null,!1));try{V.unlinkSync(Z)}catch{}let $=u({package:L,cssDir:T,singleCss:S,sheetFile:b,classMapFile:E,fileMapFile:_,importAliases:W,coordinatorPortFile:Z});process.on("exit",()=>{$.close()});let U=JSON.parse(J.exportSheet()),h=JSON.parse(J.exportClassMap()),v=JSON.parse(J.exportFileMap()),M=J.getDefaultTheme();if(M)process.env.DEVUP_UI_DEFAULT_THEME=M,z.env??={},Object.assign(z.env,{DEVUP_UI_DEFAULT_THEME:M});let c={[`./${X.relative(process.cwd(),T).replaceAll("\\","/")}/*.css`]:[{loader:"@devup-ui/next-plugin/css-loader",options:{watch:process.env.NODE_ENV==="development",coordinatorPortFile:Z,sheetFile:b,classMapFile:E,fileMapFile:_,themeFile:k,defaultSheet:U,defaultClassMap:h,defaultFileMap:v,theme:P}}],"*.{tsx,ts,js,mjs}":{loaders:[{loader:"@devup-ui/next-plugin/loader",options:{package:L,cssDir:T,coordinatorPortFile:Z,sheetFile:b,classMapFile:E,fileMapFile:_,themeFile:k,defaultSheet:U,defaultClassMap:h,defaultFileMap:v,watch:process.env.NODE_ENV==="development",singleCss:S,theme:P,importAliases:W}}],condition:{not:{path:j}}}};return Object.assign(z.turbopack.rules,c),z}let{webpack:K}=z;return z.webpack=(L,Y)=>{if(G.cssDir??=X.resolve(Y.dev?G.distDir??"df":".next/cache",`devup-ui_${Y.buildId}`),L.plugins.push(new d.DevupUIWebpackPlugin({...G,watch:Y.dev})),typeof K==="function")return K(L,Y);return L},z}
|
|
3
|
+
/* ${Date.now()} */`,"utf-8",(U)=>U?$(U):Z())))}await Promise.all(y),B.writeHead(200,{"Content-Type":"application/json"}),B.end(JSON.stringify({code:P,map:R.map,cssFile:R.cssFile,updatedBaseStyle:R.updatedBaseStyle}))}catch(W){B.writeHead(500,{"Content-Type":"application/json"}),B.end(JSON.stringify({error:W instanceof Error?W.message:String(W)}))}finally{C--,g++,f=Date.now()}return}B.writeHead(404,{"Content-Type":"text/plain"}),B.end("Not Found")}),q.listen(0,"127.0.0.1",()=>{let H=q.address();if(H&&typeof H!=="string")N.writeFileSync(k,String(H.port),"utf-8")}),{close:()=>{if(q){q.close(),q=null;try{N.unlinkSync(k)}catch{}}}}}function p(z,G={}){if(process.env.TURBOPACK==="1"||process.env.TURBOPACK==="auto"){z??={},z.turbopack??={},z.turbopack.rules??={};let{package:L="@devup-ui/react",distDir:Y="df",cssDir:T=X.resolve(Y,"devup-ui"),singleCss:S=!1,devupFile:k="devup.json",include:H=[],prefix:B,importAliases:A}=G;if(B)J.setPrefix(B);let W=x.mergeImportAliases(A),b=X.join(Y,"sheet.json"),E=X.join(Y,"classMap.json"),_=X.join(Y,"fileMap.json"),w=X.join(Y,".gitignore");if(!V.existsSync(Y))V.mkdirSync(Y,{recursive:!0});if(!V.existsSync(T))V.mkdirSync(T,{recursive:!0});if(!V.existsSync(w))V.writeFileSync(w,"*");try{J.importSheet(JSON.parse(V.readFileSync(b,"utf-8"))),J.importClassMap(JSON.parse(V.readFileSync(E,"utf-8"))),J.importFileMap(JSON.parse(V.readFileSync(_,"utf-8")))}catch{}let P=x.loadDevupConfigSync(k).theme??{};J.registerTheme(P);let y=J.getThemeInterface(L,"CustomColors","DevupThemeTypography","CustomLength","CustomShadows","DevupTheme");if(y)V.writeFileSync(X.join(Y,"theme.d.ts"),y);let j=x.createNodeModulesExcludeRegex(H,".mdx.[tj]sx?$"),Z=X.join(Y,"coordinator.port");V.writeFileSync(X.join(T,"devup-ui.css"),J.getCss(null,!1));try{V.unlinkSync(Z)}catch{}let $=u({package:L,cssDir:T,singleCss:S,sheetFile:b,classMapFile:E,fileMapFile:_,importAliases:W,coordinatorPortFile:Z});process.on("exit",()=>{$.close()});let U=JSON.parse(J.exportSheet()),h=JSON.parse(J.exportClassMap()),v=JSON.parse(J.exportFileMap()),M=J.getDefaultTheme();if(M)process.env.DEVUP_UI_DEFAULT_THEME=M,z.env??={},Object.assign(z.env,{DEVUP_UI_DEFAULT_THEME:M});let c={[`./${X.relative(process.cwd(),T).replaceAll("\\","/")}/*.css`]:[{loader:"@devup-ui/next-plugin/css-loader",options:{watch:process.env.NODE_ENV==="development",coordinatorPortFile:Z,sheetFile:b,classMapFile:E,fileMapFile:_,themeFile:k,defaultSheet:U,defaultClassMap:h,defaultFileMap:v,theme:P}}],"*.{tsx,ts,js,mjs}":{loaders:[{loader:"@devup-ui/next-plugin/loader",options:{package:L,cssDir:T,coordinatorPortFile:Z,sheetFile:b,classMapFile:E,fileMapFile:_,themeFile:k,defaultSheet:U,defaultClassMap:h,defaultFileMap:v,watch:process.env.NODE_ENV==="development",singleCss:S,theme:P,importAliases:W}}],condition:{not:{path:j}}}};return Object.assign(z.turbopack.rules,c),z}let{webpack:K}=z;return z.webpack=(L,Y)=>{if(G.cssDir??=X.resolve(Y.dev?G.distDir??"df":".next/cache",`devup-ui_${Y.buildId}`),L.plugins.push(new d.DevupUIWebpackPlugin({...G,watch:Y.dev})),typeof K==="function")return K(L,Y);return L},z}
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import{existsSync as S,mkdirSync as g,readFileSync as M,unlinkSync as Kz,writeFileSync as D}from"node:fs";import{join as b,relative as Qz,resolve as f}from"node:path";import{createNodeModulesExcludeRegex as Uz,loadDevupConfigSync as Vz,mergeImportAliases as Yz}from"@devup-ui/plugin-utils";import{exportClassMap as Zz,exportFileMap as $z,exportSheet as Bz,getCss as Oz,getDefaultTheme as Xz,getThemeInterface as Hz,importClassMap as Lz,importFileMap as Wz,importSheet as Rz,registerTheme as Nz,setPrefix as Iz}from"@devup-ui/wasm";import{DevupUIWebpackPlugin as Tz}from"@devup-ui/webpack-plugin";import{unlinkSync as d,writeFile as _,writeFileSync as p}from"node:fs";import{createServer as c}from"node:http";import{basename as a,dirname as n,join as x,relative as l}from"node:path";import{codeExtract as t,exportClassMap as o,exportFileMap as i,exportSheet as s,getCss as k}from"@devup-ui/wasm";function r(z){if(z.endsWith("devup-ui.css"))return null;return parseInt(z.split("devup-ui-")[1].split(".")[0])}function e(z){return new Promise((Z,X)=>{let V=[];z.on("data",($)=>V.push($)),z.on("end",()=>Z(Buffer.concat(V).toString("utf-8"))),z.on("error",X)})}var P=null,j=0,v=0,m=0,zz=500,Gz=30000;function Jz(){let z=Date.now();return new Promise((Z)=>{let X=()=>{let V=Date.now();if(V-z>Gz){Z();return}if(v>0&&j===0&&V-m>=zz){Z();return}setTimeout(X,50)};X()})}function F(z){let{package:Z,cssDir:X,singleCss:V,sheetFile:$,classMapFile:J,fileMapFile:H,importAliases:y,coordinatorPortFile:E}=z;return P=c(async(Y,U)=>{let L=new URL(Y.url??"/",`http://${Y.headers.host}`);if(Y.method==="GET"&&L.pathname==="/health"){U.writeHead(200,{"Content-Type":"text/plain"}),U.end("ok");return}if(Y.method==="GET"&&L.pathname==="/css"){let B=L.searchParams.get("fileNum"),W=L.searchParams.get("importMainCss")==="true",R=L.searchParams.get("waitForIdle")==="true",N=B!=null?parseInt(B):void 0;if(R)await Jz();U.writeHead(200,{"Content-Type":"text/css"}),U.end(k(N??null,W));return}if(Y.method==="POST"&&L.pathname==="/extract"){j++;try{let B=JSON.parse(await e(Y)),{filename:W,code:R,resourcePath:N}=B,T=l(n(N),X).replaceAll("\\","/");if(!T.startsWith("./"))T=`./${T}`;let O=t(W,R,Z,T,V,!1,!0,y),I=O.code;if(!V&&I)I=I.replace(/devup-ui-(\d+)\.css/g,"devup-ui.css?fileNum=$1");let A=[];if(O.updatedBaseStyle)A.push(new Promise((w,K)=>_(x(X,"devup-ui.css"),`${k(null,!1)}
|
|
2
2
|
/* ${Date.now()} */`,"utf-8",(Q)=>Q?K(Q):w())));if(O.cssFile){let w=r(O.cssFile);if(A.push(new Promise((K,Q)=>_(x(X,a(O.cssFile)),k(w,!0),"utf-8",(G)=>G?Q(G):K())),new Promise((K,Q)=>_($,s(),"utf-8",(G)=>G?Q(G):K())),new Promise((K,Q)=>_(J,o(),"utf-8",(G)=>G?Q(G):K())),new Promise((K,Q)=>_(H,i(),"utf-8",(G)=>G?Q(G):K()))),!V&&!O.updatedBaseStyle&&O.css!=null)A.push(new Promise((K,Q)=>_(x(X,"devup-ui.css"),`${k(null,!1)}
|
|
3
|
-
/* ${Date.now()} */`,"utf-8",(G)=>G?Q(G):K())))}await Promise.all(A),U.writeHead(200,{"Content-Type":"application/json"}),U.end(JSON.stringify({code:I,map:O.map,cssFile:O.cssFile,updatedBaseStyle:O.updatedBaseStyle}))}catch(B){U.writeHead(500,{"Content-Type":"application/json"}),U.end(JSON.stringify({error:B instanceof Error?B.message:String(B)}))}finally{j--,v++,m=Date.now()}return}U.writeHead(404,{"Content-Type":"text/plain"}),U.end("Not Found")}),P.listen(0,"127.0.0.1",()=>{let Y=P.address();if(Y&&typeof Y!=="string")p(E,String(Y.port),"utf-8")}),{close:()=>{if(P){P.close(),P=null;try{d(E)}catch{}}}}}function Az(z,Z={}){if(process.env.TURBOPACK==="1"||process.env.TURBOPACK==="auto"){z??={},z.turbopack??={},z.turbopack.rules??={};let{package:$="@devup-ui/react",distDir:J="df",cssDir:H=f(J,"devup-ui"),singleCss:y=!1,devupFile:E="devup.json",include:Y=[],prefix:U,importAliases:L}=Z;if(U)Iz(U);let B=Yz(L),W=b(J,"sheet.json"),R=b(J,"classMap.json"),N=b(J,"fileMap.json"),T=b(J,".gitignore");if(!S(J))g(J,{recursive:!0});if(!S(H))g(H,{recursive:!0});if(!S(T))D(T,"*");try{Rz(JSON.parse(M(W,"utf-8"))),Lz(JSON.parse(M(R,"utf-8"))),Wz(JSON.parse(M(N,"utf-8")))}catch{}let I=Vz(E).theme??{};Nz(I);let A=Hz($,"CustomColors","DevupThemeTypography","DevupTheme");if(A)D(b(J,"theme.d.ts"),A);let w=Uz(Y,".mdx.[tj]sx?$"),K=b(J,"coordinator.port");D(b(H,"devup-ui.css"),Oz(null,!1));try{Kz(K)}catch{}let Q=F({package:$,cssDir:H,singleCss:y,sheetFile:W,classMapFile:R,fileMapFile:N,importAliases:B,coordinatorPortFile:K});process.on("exit",()=>{Q.close()});let G=JSON.parse(Bz()),C=JSON.parse(Zz()),h=JSON.parse($z()),q=Xz();if(q)process.env.DEVUP_UI_DEFAULT_THEME=q,z.env??={},Object.assign(z.env,{DEVUP_UI_DEFAULT_THEME:q});let u={[`./${Qz(process.cwd(),H).replaceAll("\\","/")}/*.css`]:[{loader:"@devup-ui/next-plugin/css-loader",options:{watch:process.env.NODE_ENV==="development",coordinatorPortFile:K,sheetFile:W,classMapFile:R,fileMapFile:N,themeFile:E,defaultSheet:G,defaultClassMap:C,defaultFileMap:h,theme:I}}],"*.{tsx,ts,js,mjs}":{loaders:[{loader:"@devup-ui/next-plugin/loader",options:{package:$,cssDir:H,coordinatorPortFile:K,sheetFile:W,classMapFile:R,fileMapFile:N,themeFile:E,defaultSheet:G,defaultClassMap:C,defaultFileMap:h,watch:process.env.NODE_ENV==="development",singleCss:y,theme:I,importAliases:B}}],condition:{not:{path:w}}}};return Object.assign(z.turbopack.rules,u),z}let{webpack:V}=z;return z.webpack=($,J)=>{if(Z.cssDir??=f(J.dev?Z.distDir??"df":".next/cache",`devup-ui_${J.buildId}`),$.plugins.push(new Tz({...Z,watch:J.dev})),typeof V==="function")return V($,J);return $},z}export{Az as DevupUI};
|
|
3
|
+
/* ${Date.now()} */`,"utf-8",(G)=>G?Q(G):K())))}await Promise.all(A),U.writeHead(200,{"Content-Type":"application/json"}),U.end(JSON.stringify({code:I,map:O.map,cssFile:O.cssFile,updatedBaseStyle:O.updatedBaseStyle}))}catch(B){U.writeHead(500,{"Content-Type":"application/json"}),U.end(JSON.stringify({error:B instanceof Error?B.message:String(B)}))}finally{j--,v++,m=Date.now()}return}U.writeHead(404,{"Content-Type":"text/plain"}),U.end("Not Found")}),P.listen(0,"127.0.0.1",()=>{let Y=P.address();if(Y&&typeof Y!=="string")p(E,String(Y.port),"utf-8")}),{close:()=>{if(P){P.close(),P=null;try{d(E)}catch{}}}}}function Az(z,Z={}){if(process.env.TURBOPACK==="1"||process.env.TURBOPACK==="auto"){z??={},z.turbopack??={},z.turbopack.rules??={};let{package:$="@devup-ui/react",distDir:J="df",cssDir:H=f(J,"devup-ui"),singleCss:y=!1,devupFile:E="devup.json",include:Y=[],prefix:U,importAliases:L}=Z;if(U)Iz(U);let B=Yz(L),W=b(J,"sheet.json"),R=b(J,"classMap.json"),N=b(J,"fileMap.json"),T=b(J,".gitignore");if(!S(J))g(J,{recursive:!0});if(!S(H))g(H,{recursive:!0});if(!S(T))D(T,"*");try{Rz(JSON.parse(M(W,"utf-8"))),Lz(JSON.parse(M(R,"utf-8"))),Wz(JSON.parse(M(N,"utf-8")))}catch{}let I=Vz(E).theme??{};Nz(I);let A=Hz($,"CustomColors","DevupThemeTypography","CustomLength","CustomShadows","DevupTheme");if(A)D(b(J,"theme.d.ts"),A);let w=Uz(Y,".mdx.[tj]sx?$"),K=b(J,"coordinator.port");D(b(H,"devup-ui.css"),Oz(null,!1));try{Kz(K)}catch{}let Q=F({package:$,cssDir:H,singleCss:y,sheetFile:W,classMapFile:R,fileMapFile:N,importAliases:B,coordinatorPortFile:K});process.on("exit",()=>{Q.close()});let G=JSON.parse(Bz()),C=JSON.parse(Zz()),h=JSON.parse($z()),q=Xz();if(q)process.env.DEVUP_UI_DEFAULT_THEME=q,z.env??={},Object.assign(z.env,{DEVUP_UI_DEFAULT_THEME:q});let u={[`./${Qz(process.cwd(),H).replaceAll("\\","/")}/*.css`]:[{loader:"@devup-ui/next-plugin/css-loader",options:{watch:process.env.NODE_ENV==="development",coordinatorPortFile:K,sheetFile:W,classMapFile:R,fileMapFile:N,themeFile:E,defaultSheet:G,defaultClassMap:C,defaultFileMap:h,theme:I}}],"*.{tsx,ts,js,mjs}":{loaders:[{loader:"@devup-ui/next-plugin/loader",options:{package:$,cssDir:H,coordinatorPortFile:K,sheetFile:W,classMapFile:R,fileMapFile:N,themeFile:E,defaultSheet:G,defaultClassMap:C,defaultFileMap:h,watch:process.env.NODE_ENV==="development",singleCss:y,theme:I,importAliases:B}}],condition:{not:{path:w}}}};return Object.assign(z.turbopack.rules,u),z}let{webpack:V}=z;return z.webpack=($,J)=>{if(Z.cssDir??=f(J.dev?Z.distDir??"df":".next/cache",`devup-ui_${J.buildId}`),$.plugins.push(new Tz({...Z,watch:J.dev})),typeof V==="function")return V($,J);return $},z}export{Az as DevupUI};
|
package/dist/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AA2BA,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,MAAM,CAAA;AAItC,KAAK,wBAAwB,GAAG,IAAI,CAClC,OAAO,CAAC,2BAA2B,CAAC,EACpC,OAAO,CACR,CAAA;AAQD,wBAAgB,OAAO,CACrB,MAAM,EAAE,UAAU,EAClB,OAAO,GAAE,wBAA6B,GACrC,UAAU,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AA2BA,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,MAAM,CAAA;AAItC,KAAK,wBAAwB,GAAG,IAAI,CAClC,OAAO,CAAC,2BAA2B,CAAC,EACpC,OAAO,CACR,CAAA;AAQD,wBAAgB,OAAO,CACrB,MAAM,EAAE,UAAU,EAClB,OAAO,GAAE,wBAA6B,GACrC,UAAU,CAoLZ"}
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"webpack"
|
|
20
20
|
],
|
|
21
21
|
"type": "module",
|
|
22
|
-
"version": "1.0.
|
|
22
|
+
"version": "1.0.74",
|
|
23
23
|
"scripts": {
|
|
24
24
|
"lint": "eslint",
|
|
25
25
|
"build": "tsc && bun build --target node src/index.ts --production --env=disable --outfile dist/index.cjs --format cjs --packages external && bun build --target node src/index.ts --production --env=disable --outfile dist/index.mjs --format esm --packages external && bun build --target node src/loader.ts --production --env=disable --outfile dist/loader.cjs --format cjs --packages external && bun build --target node src/loader.ts --production --env=disable --outfile dist/loader.mjs --format esm --packages external && bun build --target node src/css-loader.ts --production --env=disable --outfile dist/css-loader.cjs --format cjs --packages external && bun build --target node src/css-loader.ts --production --env=disable --outfile dist/css-loader.mjs --format esm --packages external"
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
],
|
|
53
53
|
"types": "./dist/index.d.ts",
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@devup-ui/plugin-utils": "^1.0.
|
|
56
|
-
"@devup-ui/webpack-plugin": "^1.0.
|
|
57
|
-
"@devup-ui/wasm": "^1.0.
|
|
55
|
+
"@devup-ui/plugin-utils": "^1.0.4",
|
|
56
|
+
"@devup-ui/webpack-plugin": "^1.0.58",
|
|
57
|
+
"@devup-ui/wasm": "^1.0.68"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"typescript": "^
|
|
60
|
+
"typescript": "^6.0",
|
|
61
61
|
"@types/webpack": "^5.28"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|