@moneko/core 3.23.7 → 3.23.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/lib/config.mjs +1 -1
  2. package/package.json +15 -15
package/lib/config.mjs CHANGED
@@ -1 +1 @@
1
- import{merge as e}from"webpack-merge";import o from"./options/jsx-dom-expressions.mjs";import t from"./options/split-chunk.mjs";import s from"./paths.mjs";import{APPTYPE as n,FRAMEWORK as i,NODE_ENV as r,PACKAGENAME as l,isDev as a,isLibrary as m,isMobile as p,jsxImportSource as u,mainDirectory as c}from"./process-env.mjs";import{isFunction as d,resolveProgram as f}from"./utils/index.mjs";import h from"./utils/setup-env.mjs";import{fileExists as g}from"@moneko/utils";import x from"./utils/require.mjs";let v=["@moneko","neko-ui","antd","antd-mobile","antd-mobile-icons","ant-design-vue","ng-zorro-antd","@ant-design","antd-mini","umi","ahooks","rc-queue-anim","@antv","katex","font-pingfang-sc","font-pingfang-tc","react-photo-view","react-markdown-editor-lite","schema-design","@app","@mui","@fontsource","@fortawesome","element-ui","element-plus","@element-plus",".cache/http/data"],P={devtool:a?"eval-cheap-module-source-map":"cheap-module-source-map",seo:!1,mode:"csr",bundleAnalyzer:!1,polyfill:!1,entry:{},minifier:{},sourceMap:{filename:"[file].map",publicPath:""},env:h(r,n,i),basename:"/",publicPath:"/",rem:{designSize:p?375:1920},fallbackCompPath:null,modifyVars:{},prefixCls:"n",alias:{"@":f(c)},moduleRules:[],prefixJsLoader:[],cssModules:[],cssModuleDefinition:!0,importOnDemand:{},proxy:{},devServer:{host:"localhost",port:3e3},htmlPluginOption:{},copy:{},routerMode:"browser",fixBrowserRouter:!1,plugins:[],resolvePlugins:[],overrideResolve:!1,splitChunk:t,runtimeChunk:"single",moduleFederation:[],rulesInclude:{css:v,js:v,media:v,font:v,wasm:[]},mdx:{jsx:!1,development:a,jsxImportSource:u,providerImportSource:`@moneko/${i}/mdx`},jsxDomExpressions:o,bar:{name:"Client",color:"#6f42c1"},normalizeCss:!0,externalsPresets:{},buildHttp:void 0,virtualModule:{},cssExtract:{},externals:["@swc/core"],lazyCompilation:!1,performance:{maxAssetSize:256e3,maxEntrypointSize:256e3,assetFilter:e=>!e.endsWith(".map")&&!e.endsWith("ce28377f3a428346.js")},refresh:!0};function j(e){if(g(e)){let o=x(e).default;return d(o)?o(process):o}return{}}m&&(P.alias=Object.assign(P.alias,{"@pkg":s.componentsPath,[l]:s.componentsPath}));let b=P;(!1===(b=e(b,j(s.configPath),j(s.customConfigPath))).devtool||!1===b.sourceMap)&&(b.sourceMap=!1,b.devtool=!1),b.fixBrowserRouter&&b.htmlPluginOption&&(b.htmlPluginOption.tags||(b.htmlPluginOption.tags=[]),b.htmlPluginOption.tags.push({textContent:"(function(l) {if (l.search[1] === '/' ) {var decoded = l.search.slice(1).split('&').map(function(s) {return s.replace(/~and~/g, '&')}).join('?');window.history.replaceState(null, null,l.pathname.slice(0, -1) + decoded + l.hash);}}(window.location))"}));export const CONFIG=b;export const PUBLICPATH=CONFIG.publicPath;
1
+ import{merge as e}from"webpack-merge";import o from"./options/jsx-dom-expressions.mjs";import t from"./options/split-chunk.mjs";import s from"./paths.mjs";import{APPTYPE as n,FRAMEWORK as i,NODE_ENV as r,PACKAGENAME as l,isDev as a,isLibrary as m,isMobile as p,jsxImportSource as u,mainDirectory as c}from"./process-env.mjs";import{isFunction as d,resolveProgram as f}from"./utils/index.mjs";import h from"./utils/setup-env.mjs";import{fileExists as g}from"@moneko/utils";import x from"./utils/require.mjs";let v=["@app","@moneko","neko-ui",".cache/http/data","@ant-design","@element-plus","ant-design-vue","antd","antd-mini","antd-mobile","antd-mobile-icons","element-plus","element-ui","ng-zorro-antd","@antv","@mui","ahooks","rc-queue-anim","umi","@fontsource","@fortawesome","font-pingfang-sc","font-pingfang-tc","katex","react-markdown-editor-lite","react-photo-view","schema-design"],P={devtool:a?"eval-cheap-module-source-map":"cheap-module-source-map",seo:!1,mode:"csr",bundleAnalyzer:!1,polyfill:!1,entry:{},minifier:{},sourceMap:{filename:"[file].map",publicPath:""},env:h(r,n,i),basename:"/",publicPath:"/",rem:{designSize:p?375:1920},fallbackCompPath:null,modifyVars:{},prefixCls:"n",alias:{"@":f(c)},moduleRules:[],prefixJsLoader:[],cssModules:[],cssModuleDefinition:!0,importOnDemand:{},proxy:{},devServer:{host:"localhost",port:3e3},htmlPluginOption:{},copy:{},routerMode:"browser",fixBrowserRouter:!1,plugins:[],resolvePlugins:[],overrideResolve:!1,splitChunk:t,runtimeChunk:"single",moduleFederation:[],rulesInclude:{css:v,js:v,media:v,font:v,wasm:[]},mdx:{jsx:!1,development:a,jsxImportSource:u,providerImportSource:`@moneko/${i}/mdx`},jsxDomExpressions:o,bar:{name:"Client",color:"#6f42c1"},normalizeCss:!0,externalsPresets:{},buildHttp:void 0,virtualModule:{},cssExtract:{},externals:["@swc/core"],lazyCompilation:!1,performance:{maxAssetSize:256e3,maxEntrypointSize:256e3,assetFilter:e=>!e.endsWith(".map")&&!e.endsWith("ce28377f3a428346.js")},refresh:!0};function j(e){if(g(e)){let o=x(e).default;return d(o)?o(process):o}return{}}m&&(P.alias=Object.assign(P.alias,{"@pkg":s.componentsPath,[l]:s.componentsPath}));let b=P;(!1===(b=e(b,j(s.configPath),j(s.customConfigPath))).devtool||!1===b.sourceMap)&&(b.sourceMap=!1,b.devtool=!1),b.fixBrowserRouter&&b.htmlPluginOption&&(b.htmlPluginOption.tags||(b.htmlPluginOption.tags=[]),b.htmlPluginOption.tags.push({textContent:"(function(l) {if (l.search[1] === '/' ) {var decoded = l.search.slice(1).split('&').map(function(s) {return s.replace(/~and~/g, '&')}).join('?');window.history.replaceState(null, null,l.pathname.slice(0, -1) + decoded + l.hash);}}(window.location))"}));export const CONFIG=b;export const PUBLICPATH=CONFIG.publicPath;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneko/core",
3
- "version": "3.23.7",
3
+ "version": "3.23.8",
4
4
  "description": "core",
5
5
  "main": "lib/index.mjs",
6
6
  "type": "module",
@@ -13,35 +13,35 @@
13
13
  "author": "moneko",
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
- "@babel/core": "7.25.8",
17
- "@moneko/mdx": "0.1.39",
16
+ "@babel/core": "7.26.0",
17
+ "@moneko/mdx": "0.1.40",
18
18
  "@moneko/transform-imports": "0.6.1",
19
19
  "@moneko/utils": "0.1.17",
20
20
  "@swc/core": "1.6.13",
21
21
  "@typescript/vfs": "1.6.0",
22
- "browserslist": "4.24.0",
22
+ "browserslist": "4.24.2",
23
23
  "chalk": "5.3.0",
24
24
  "chokidar": "4.0.1",
25
- "core-js": "3.38.1",
26
- "core-js-compat": "3.38.1",
25
+ "core-js": "3.39.0",
26
+ "core-js-compat": "3.39.0",
27
27
  "css-loader": "7.1.2",
28
28
  "dotenv": "16.4.5",
29
29
  "express": "4.21.1",
30
- "html-webpack-plugin": "5.6.0",
30
+ "html-webpack-plugin": "5.6.3",
31
31
  "http-proxy-middleware": "3.0.3",
32
32
  "less": "4.2.0",
33
33
  "less-loader": "12.2.0",
34
- "lightningcss": "1.27.0",
34
+ "lightningcss": "1.28.1",
35
35
  "marked-completed": "1.2.14",
36
- "mini-css-extract-plugin": "2.9.1",
36
+ "mini-css-extract-plugin": "2.9.2",
37
37
  "mock-json-schema": "1.1.1",
38
38
  "multer": "1.4.5-lts.1",
39
39
  "style-loader": "4.0.0",
40
40
  "swc-loader": "0.2.6",
41
41
  "terser-webpack-plugin": "5.3.10",
42
42
  "ts-morph": "24.0.0",
43
- "typescript": "5.5.4",
44
- "webpack": "5.95.0",
43
+ "typescript": "5.6.3",
44
+ "webpack": "5.96.1",
45
45
  "webpack-bundle-analyzer": "4.10.2",
46
46
  "webpack-dev-middleware": "7.4.2",
47
47
  "webpack-hot-middleware": "2.26.1",
@@ -57,10 +57,10 @@
57
57
  "@types/multer": "1.4.12",
58
58
  "@types/webpack-bundle-analyzer": "4.7.0",
59
59
  "@types/webpack-hot-middleware": "2.25.9",
60
- "babel-plugin-react-compiler": "0.0.0-experimental-e68eda9-20240829",
61
- "oxlint": "0.9.10",
62
- "sass": "1.79.5",
63
- "sass-loader": "16.0.2",
60
+ "babel-plugin-react-compiler": "19.0.0-beta-63b359f-20241101",
61
+ "oxlint": "0.11.0",
62
+ "sass": "1.80.6",
63
+ "sass-loader": "16.0.3",
64
64
  "solid-refresh": "0.7.5"
65
65
  },
66
66
  "files": [