neo-cmp-cli 1.15.3 → 1.15.6

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("node:path"),t=require("../node_modules/postcss/lib/postcss.js"),r=require("postcss-scss"),s=require("postcss-less"),n=require("../config/index.js");var o,i;exports.__require=function(){if(i)return o;i=1;const c=e,a=t.__require(),u=r,l=s,f=n.__require().componentsDir||"./src/components",p=new Set(["import","charset","namespace","font-face","keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes","property"]),h=new Set(["media","supports","page","viewport","layer","container"]),d=new Set([":root","html","body"]);function m(e,t,r){e.each(e=>{if("rule"===e.type){if(e.selector&&e.selector.includes(":global("))return void(e.selector=e.selector.replace(/:global\((.+?)\)/g,"$1"));!function(e,t,r){const s=(e.selector||"").trim();if(!s)return;if(d.has(s))return;const n=s.split(",").map(e=>e.trim()).filter(Boolean).map(e=>function(e,t,r){const s=e.trim();if(!s)return e;const n=s.match(/^:global\((.+)\)$/);return n?n[1]:s.includes(t)?s:function(e,t){if(!e||!t||0===t.length)return!1;const r=e.trim().match(/^[.#]([a-zA-Z0-9_-]+)/);if(!r)return!1;const s=r[1].toLowerCase();return t.some(e=>e.toLowerCase()===s)}(s,r)||s.startsWith("[")?`${t}${s}`:(s.startsWith(".")||s.startsWith("#"),`${t} ${s}`)}(e,t,r));e.selector=n.join(", ")}(e,t,r)}else if("atrule"===e.type){const s=e.name.toLowerCase();if(p.has(s))return;h.has(s)&&m(e,t,r)}})}return o=function(e){"function"==typeof this?.cacheable&&this.cacheable();const t="function"==typeof this?.getOptions&&this.getOptions()||this?.query||{},r=t.scopeKey||"data-scope",s=t.componentsDir||f,n=this.resourcePath||"";if(!/(index|style)\.(scss|less)$/i.test(n))return e;const o=/\.scss$/i.test(n),i=/\.less$/i.test(n),p=o?u:i?l:null;if(!p)return e;const h=c.isAbsolute(s)?s:c.resolve(process.cwd(),s),d=c.normalize(n),y=c.normalize(h+c.sep);if(!d.startsWith(y))return e;const g=c.relative(h,n).split(c.sep),$=g[0];if(!$)return e;if(g.length>2)return e;const w=function(e){if(!e)return[];const t=new Set;t.add(e),t.add(e.charAt(0).toUpperCase()+e.slice(1)),t.add(e.toLowerCase()),t.add(e.toUpperCase());const r=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=(n=e,n.replace(/([a-z0-9])([A-Z])/g,"$1_$2").toLowerCase());var n;t.add(r),t.add(s),t.add(r.charAt(0).toUpperCase()+r.slice(1)),t.add(s.charAt(0).toUpperCase()+s.slice(1));const o=["-container","Container","_container"];return Array.from(t).forEach(e=>{o.forEach(r=>{t.add(e+r)})}),Array.from(t)}($),b=`[${r}="${$}"]`;try{return function(e,t,r,s){const n=function(e){let t="",r=0,s=!1,n=!1,o=!1;for(;r<e.length;){const i=e[r],c=e[r+1];if(o){if("*"===i&&"/"===c){o=!1,r+=2;continue}r+=1}else{if(!s&&!n){if("/"===i&&"*"===c){o=!0,r+=2;continue}if("/"===i&&"/"===c){if(":"===(r>0?e[r-1]:"")){t+="//",r+=2;continue}for(r+=2;r<e.length&&"\n"!==e[r]&&"\r"!==e[r];)r+=1;continue}}"\\"===i&&(s||n)&&r+1<e.length?(t+=i,t+=e[r+1],r+=2):n||"'"!==i?s||'"'!==i?(t+=i,r+=1):(n=!n,t+=i,r+=1):(s=!s,t+=i,r+=1)}}return t}(e),o=a.parse(n,{syntax:s});return m(o,t,r),o.toResult({syntax:s}).css}(e,b,w,p)}catch(t){return"function"==typeof this?.emitWarning&&this.emitWarning(new Error(`[component-scope-style-loader] Failed to parse ${n}: ${t.message}`)),e}}};
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("node:path"),t=require("../node_modules/postcss/lib/postcss.js"),r=require("postcss-scss"),s=require("postcss-less"),n=require("../config/index.js");var o,i;exports.__require=function(){if(i)return o;i=1;const c=e,a=t.__require(),u=r,l=s,f=n.__require().componentsDir||"./src/components",p=new Set(["import","charset","namespace","font-face","keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes","property"]),d=new Set(["media","supports","page","viewport","layer","container"]),h=new Set([":root","html","body"]);function m(e,t,r){e.each(e=>{if("rule"===e.type){if(e.selector&&e.selector.includes(":global("))return void(e.selector=e.selector.replace(/:global\((.+?)\)/g,"$1"));!function(e,t,r){const s=(e.selector||"").trim();if(!s)return;if(h.has(s))return;const n=s.split(",").map(e=>e.trim()).filter(Boolean).map(e=>function(e,t,r){const s=e.trim();if(!s)return e;const n=s.match(/^:global\((.+)\)$/);return n?n[1]:s.includes(t)?s:function(e,t){if(!e||!t||0===t.length)return!1;const r=e.trim().match(/^[.#]([a-zA-Z0-9_-]+)/);if(!r)return!1;const s=r[1].toLowerCase();return t.some(e=>e.toLowerCase()===s)}(s,r)?`${t}${s}`:(s.startsWith(".")||s.startsWith("#"),`${t} ${s}`)}(e,t,r));e.selector=n.join(", ")}(e,t,r)}else if("atrule"===e.type){const s=e.name.toLowerCase();if(p.has(s))return;d.has(s)&&m(e,t,r)}})}return o=function(e){"function"==typeof this?.cacheable&&this.cacheable();const t="function"==typeof this?.getOptions&&this.getOptions()||this?.query||{},r=t.scopeKey||"data-scope",s=t.componentsDir||f,n=this.resourcePath||"";if(!/(index|style)\.(scss|less)$/i.test(n))return e;const o=/\.scss$/i.test(n),i=/\.less$/i.test(n),p=o?u:i?l:null;if(!p)return e;const d=c.isAbsolute(s)?s:c.resolve(process.cwd(),s),h=c.normalize(n),y=c.normalize(d+c.sep);if(!h.startsWith(y))return e;const g=c.relative(d,n).split(c.sep),$=g[0];if(!$)return e;if(g.length>2)return e;const w=function(e){if(!e)return[];const t=new Set;t.add(e),t.add(e.charAt(0).toUpperCase()+e.slice(1)),t.add(e.toLowerCase()),t.add(e.toUpperCase());const r=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=(n=e,n.replace(/([a-z0-9])([A-Z])/g,"$1_$2").toLowerCase());var n;t.add(r),t.add(s),t.add(r.charAt(0).toUpperCase()+r.slice(1)),t.add(s.charAt(0).toUpperCase()+s.slice(1));const o=["-container","Container","_container"];return Array.from(t).forEach(e=>{o.forEach(r=>{t.add(e+r)})}),Array.from(t)}($),b=`[${r}="${$}"]`;try{return function(e,t,r,s){const n=function(e){let t="",r=0,s=!1,n=!1,o=!1;for(;r<e.length;){const i=e[r],c=e[r+1];if(o){if("*"===i&&"/"===c){o=!1,r+=2;continue}r+=1}else{if(!s&&!n){if("/"===i&&"*"===c){o=!0,r+=2;continue}if("/"===i&&"/"===c){if(":"===(r>0?e[r-1]:"")){t+="//",r+=2;continue}for(r+=2;r<e.length&&"\n"!==e[r]&&"\r"!==e[r];)r+=1;continue}}"\\"===i&&(s||n)&&r+1<e.length?(t+=i,t+=e[r+1],r+=2):n||"'"!==i?s||'"'!==i?(t+=i,r+=1):(n=!n,t+=i,r+=1):(s=!s,t+=i,r+=1)}}return t}(e),o=a.parse(n,{syntax:s});return m(o,t,r),o.toResult({syntax:s}).css}(e,b,w,p)}catch(t){return"function"==typeof this?.emitWarning&&this.emitWarning(new Error(`[component-scope-style-loader] Failed to parse ${n}: ${t.message}`)),e}}};
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e="1.15.3";const o={version:e};exports.default=o,exports.version=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e="1.15.6";const o={version:e};exports.default=o,exports.version=e;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("node:path"),o=require("node:fs"),r=require("open"),n=require("ora"),a=require("../neoParams.js"),i=require("../common.js");var t,s;exports.__require=function(){if(s)return t;s=1;const c=e,d=o,u=r,p=n,{consoleTag:m}=a.__require(),{errorLog:l}=i.__require(),f={codebuddy:{name:"CodeBuddy",darwin:[{app:{name:"codebuddy"}},{app:{name:"CodeBuddy"}}],win32:[{app:{name:"codebuddy"}}],linux:[{app:{name:"codebuddy"}}]},kiro:{name:"Kiro",darwin:[{app:{name:"kiro"}},{app:{name:"Kiro"}}],win32:[{app:{name:"kiro"}}],linux:[{app:{name:"kiro"}}]},cursor:{name:"Cursor",darwin:[{app:{name:"cursor"}},{app:{name:"Cursor"}}],win32:[{app:{name:"cursor"}}],linux:[{app:{name:"cursor"}}]},vscode:{name:"Visual Studio Code",darwin:[{app:{name:"code"}},{app:{name:"Visual Studio Code"}}],win32:[{app:{name:"code"}}],linux:[{app:{name:"code"}}]}},y=["codebuddy","kiro","cursor","vscode"],w=function(e,o){const r=function(e){if(!e)return"auto";const o=String(e).toLowerCase();return"code"===o?"vscode":o}(e);if("auto"===r){const e=[];return y.forEach(r=>{const n=f[r],a=n&&n[o];a&&a.length>0&&e.push(...a.map(e=>({...e,__editorName:n.name})))}),{configs:e,editorName:"编辑器"}}const n=f[r];if(!n)return{configs:[],editorName:"编辑器"};return{configs:(n[o]||[]).map(e=>({...e,__editorName:n.name})),editorName:n.name}};return t=async function(e,o){const r=o?c.resolve(o):process.cwd();d.existsSync(r)||(l(`目录不存在: ${r}`),process.exit(1));d.statSync(r).isDirectory()||(l(`路径不是目录: ${r}`),process.exit(1));const n=process.platform;["darwin","win32","linux"].includes(n)||(l(`不支持的操作系统: ${n}`),process.exit(1));const{configs:a,editorName:i}=w(e,n);0===a.length&&(l(`不支持的编辑器类型: ${e}`),process.exit(1));const t=p(`${m}正在尝试使用 ${i} 打开项目: ${r}`).start(),s=async e=>{e>=a.length&&(l("无法打开编辑器,已尝试所有可用方式。\n 请确保已安装 CodeBuddy、Kiro、Cursor 或 Visual Studio Code 其中之一,并将其添加到系统 PATH 中。",t),process.exit(1));const o=a[e];try{await u(r,o),t.stop()}catch(o){await s(e+1)}};await s(0)}};
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("node:path"),o=require("node:fs"),r=require("node:child_process"),s=require("ora"),t=require("../neoParams.js"),n=require("../common.js"),i=require("open");var a,c;exports.__require=function(){if(c)return a;c=1;const p=e,d=o,{spawn:u}=r,l=s,{consoleTag:m}=t.__require(),{errorLog:$,successLog:g,warningLog:f}=n.__require(),y={codebuddy:{name:"CodeBuddy",apps:["CodeBuddy CN","CodeBuddy","codebuddy"],win32:[{app:{name:"codebuddy"}}],linux:[{app:{name:"codebuddy"}}]},kiro:{name:"Kiro",cli:["kiro"],apps:["Kiro","kiro"],win32:[{app:{name:"kiro"}}],linux:[{app:{name:"kiro"}}]},cursor:{name:"Cursor",cli:["cursor"],apps:["Cursor","cursor"],win32:[{app:{name:"cursor"}}],linux:[{app:{name:"cursor"}}]},vscode:{name:"Visual Studio Code",cli:["code"],apps:["Visual Studio Code","Code"],win32:[{app:{name:"code"}}],linux:[{app:{name:"code"}}]}},h=["codebuddy","kiro","cursor","vscode"],w=function(){const e=process.env.HOME||process.env.USERPROFILE||"",o=["/usr/local/bin","/opt/homebrew/bin",e?p.join(e,".local","bin"):null,e?p.join(e,".local","share"):null].filter(Boolean),r=(process.env.PATH||"").split(p.delimiter).filter(Boolean);return o.forEach(e=>{!r.includes(e)&&d.existsSync(e)&&r.unshift(e)}),r.join(p.delimiter)},_=function(e,o){const r=function(e){if(!e)return"auto";const o=String(e).toLowerCase();return"code"===o?"vscode":o}(e),s="darwin"===o,t=(e,r)=>{const t=[];if(e.cli&&e.cli.length>0&&e.cli.forEach(o=>{t.push({type:"cli",cmd:o,__editorName:e.name,__editorKey:r})}),s)e.apps&&e.apps.length>0&&e.apps.forEach(o=>{t.push({type:"open-app",appName:o,__editorName:e.name,__editorKey:r})}),e.apps&&e.apps.length>0&&t.push({type:"osascript",appName:e.apps[0],__editorName:e.name,__editorKey:r});else{const s=e[o];s&&s.length>0&&s.forEach(o=>{t.push({type:"app",...o,__editorName:e.name,__editorKey:r})})}return t};if("auto"===r){const e=[];return h.forEach(o=>{const r=y[o];r&&e.push(...t(r,o))}),{configs:e,editorName:"编辑器"}}const n=y[r];return n?{configs:t(n,r),editorName:n.name}:{configs:[],editorName:"编辑器"}};return a=async function(e,o){const r=o?p.resolve(o):process.cwd();d.existsSync(r)||($(`目录不存在: ${r}`),process.exit(1));d.statSync(r).isDirectory()||($(`路径不是目录: ${r}`),process.exit(1));const s=process.platform;["darwin","win32","linux"].includes(s)||($(`不支持的操作系统: ${s}`),process.exit(1));const{configs:t,editorName:n}=_(e,s);0===t.length&&($(`不支持的编辑器类型: ${e}`),process.exit(1));const a=l(`${m}正在尝试使用 ${n} 打开项目: ${r}`).start(),c=[],y=async e=>{e>=t.length&&(a.fail(),$("无法打开编辑器,已尝试所有可用方式。"),console.log(""),console.log(` 目标目录: ${r}`),console.log(` 尝试次数: ${c.length}`),c.forEach((e,o)=>{console.log(` [${o+1}] ${e}`)}),console.log(""),console.log(" 请确保已安装 CodeBuddy、Kiro、Cursor 或 Visual Studio Code 其中之一。"),process.exit(1));const o=t[e],s=o.__editorName||"未知编辑器",n={cli:`CLI (${o.cmd})`,"open-app":`open -a "${o.appName}"`,osascript:"AppleScript",app:"应用名称"};let p;switch(a.text=`${m}正在使用 ${s} (${n[o.type]||o.type}) 打开: ${r}`,o.type){case"cli":p=await function(e,o){return new Promise(r=>{const s={...process.env,PATH:w()};let t="";const n=u(e,[o],{env:s,stdio:["ignore","ignore","pipe"],detached:!0});n.stderr.on("data",e=>{t+=e.toString()}),n.on("error",o=>{r({success:!1,error:o,detail:`CLI 命令 "${e}" 启动失败: ${o.message}`})}),n.on("close",o=>{n.unref(),0===o?t.trim()?r({success:!0,warning:t.trim()}):r({success:!0}):r({success:!1,error:new Error(`exit code ${o}`),detail:`CLI 命令 "${e}" 退出码: ${o}${t?", stderr: "+t.trim():""}`})})})}(o.cmd,r);break;case"open-app":p=await function(e,o){return new Promise(r=>{const s=u("open",["-a",e,o],{stdio:["ignore","ignore","pipe"],detached:!0});let t="";s.stderr.on("data",e=>{t+=e.toString()}),s.on("error",o=>{r({success:!1,error:o,detail:`open -a "${e}" 启动失败: ${o.message}`})}),s.on("close",o=>{s.unref(),r(0!==o?{success:!1,error:new Error(`exit code ${o}`),detail:`open -a "${e}" 退出码: ${o}${t?", stderr: "+t.trim():""}`}:{success:!0})})})}(o.appName,r);break;case"osascript":p=await function(e,o){return new Promise(r=>{const s=u("osascript",["-e",`tell application "${e}" to open POSIX file "${o}"`],{stdio:["ignore","pipe","pipe"],detached:!0});let t="",n="";s.stdout.on("data",e=>{t+=e.toString()}),s.stderr.on("data",e=>{n+=e.toString()}),s.on("error",e=>{r({success:!1,error:e,detail:`osascript 启动失败: ${e.message}`})}),s.on("close",o=>{s.unref(),r(0!==o?{success:!1,error:new Error(`osascript exit code ${o}`),detail:`osascript "${e}" 失败: ${n.trim()||t.trim()||"exit "+o}`}:{success:!0})})})}(o.appName,r);break;case"app":p=await function(e,o){const r=i;return new Promise(s=>{r(e,o).then(()=>s({success:!0})).catch(e=>s({success:!1,error:e,detail:`open 包启动失败: ${e.message}`}))})}(r,{app:o.app});break;default:p={success:!1,detail:`未知策略类型: ${o.type}`}}if(p.success){a.stop();const e=n[o.type]||o.type;g(`${m}已成功使用 ${s}(${e})打开项目: ${r}`),p.warning&&f(` ⚠ ${p.warning}`),process.exit(0)}else c.push(`[${s}] ${n[o.type]}: ${p.detail||p.error?.message||"失败"}`),await y(e+1)};await y(0)}};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo-cmp-cli",
3
- "version": "1.15.3",
3
+ "version": "1.15.6",
4
4
  "description": "Neo 自定义组件开发工具,支持react 和 vue2.0技术栈。",
5
5
  "keywords": [
6
6
  "neo-cli",
@@ -48,7 +48,7 @@
48
48
  "@commitlint/config-conventional": "^18.0.0",
49
49
  "@types/react": "^16.9.11",
50
50
  "@types/react-dom": "^16.9.15",
51
- "neo-cmp-cli": "^1.15.3",
51
+ "neo-cmp-cli": "^1.15.6",
52
52
  "husky": "^4.2.5",
53
53
  "lint-staged": "^10.2.9",
54
54
  "prettier": "^2.0.5"
@@ -41,7 +41,7 @@
41
41
  "axios": "^1.7.0",
42
42
  "antd": "4.9.4",
43
43
  "lodash": "^4.17.21",
44
- "neo-open-api": "^1.2.9",
44
+ "neo-open-api": "^1.2.12",
45
45
  "tslib": "2.3.0",
46
46
  "echarts": "^5.5.1",
47
47
  "moment": "^2.30.1"
@@ -52,7 +52,7 @@
52
52
  "@types/react": "^16.9.11",
53
53
  "@types/react-dom": "^16.9.15",
54
54
  "@types/axios": "^0.14.0",
55
- "neo-cmp-cli": "^1.15.3",
55
+ "neo-cmp-cli": "^1.15.6",
56
56
  "husky": "^4.2.5",
57
57
  "lint-staged": "^10.2.9",
58
58
  "prettier": "^2.0.5",
@@ -48,7 +48,7 @@
48
48
  "@commitlint/config-conventional": "^18.0.0",
49
49
  "@types/react": "^16.9.11",
50
50
  "@types/react-dom": "^16.9.15",
51
- "neo-cmp-cli": "^1.15.3",
51
+ "neo-cmp-cli": "^1.15.6",
52
52
  "husky": "^4.2.5",
53
53
  "lint-staged": "^10.2.9",
54
54
  "prettier": "^2.0.5",
@@ -34,14 +34,14 @@
34
34
  "react": "^16.9.0",
35
35
  "react-dom": "^16.9.0",
36
36
  "antd": "4.9.4",
37
- "neo-open-api": "^1.2.9"
37
+ "neo-open-api": "^1.2.12"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@commitlint/cli": "^18.0.0",
41
41
  "@commitlint/config-conventional": "^18.0.0",
42
42
  "@types/react": "^16.9.11",
43
43
  "@types/react-dom": "^16.9.15",
44
- "neo-cmp-cli": "^1.15.3",
44
+ "neo-cmp-cli": "^1.15.5",
45
45
  "husky": "^4.2.5",
46
46
  "lint-staged": "^10.2.9",
47
47
  "prettier": "^2.0.5"
@@ -47,7 +47,7 @@
47
47
  "@commitlint/config-conventional": "^18.0.0",
48
48
  "@types/react": "^16.9.11",
49
49
  "@types/react-dom": "^16.9.15",
50
- "neo-cmp-cli": "^1.15.3",
50
+ "neo-cmp-cli": "^1.15.6",
51
51
  "husky": "^4.2.5",
52
52
  "lint-staged": "^10.2.9",
53
53
  "prettier": "^2.0.5"
@@ -53,7 +53,7 @@
53
53
  "@types/react-dom": "^16.9.15",
54
54
  "husky": "^4.2.5",
55
55
  "lint-staged": "^10.2.9",
56
- "neo-cmp-cli": "^1.15.3",
56
+ "neo-cmp-cli": "^1.15.6",
57
57
  "prettier": "^2.0.5"
58
58
  },
59
59
  "overrides": {
@@ -16,7 +16,7 @@
16
16
  "pushCmp": "neo push cmp",
17
17
  "pullCmp": "neo pull cmp",
18
18
  "deleteCmp": "neo delete cmp",
19
- "preview": "neo preview -n entityTable__c -m online",
19
+ "preview": "neo preview -n entityForm__c -m online",
20
20
  "addSkills": "neo add cli-skills",
21
21
  "removeSkills": "neo remove cli-skills",
22
22
  "format": "prettier --write \"src/**/**/*.{js,jsx,ts,tsx,vue,scss,json}\""
@@ -49,7 +49,7 @@
49
49
  "axios": "^1.7.0",
50
50
  "antd": "^4.9.4",
51
51
  "lodash": "^4.17.23",
52
- "neo-open-api": "^1.2.9"
52
+ "neo-open-api": "^1.2.12"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@commitlint/cli": "^18.0.0",
@@ -57,7 +57,7 @@
57
57
  "@types/react": "^16.9.11",
58
58
  "@types/react-dom": "^16.9.15",
59
59
  "@types/axios": "^0.14.0",
60
- "neo-cmp-cli": "^1.15.3",
60
+ "neo-cmp-cli": "^1.15.6",
61
61
  "husky": "^4.2.5",
62
62
  "lint-staged": "^10.2.9",
63
63
  "prettier": "^2.0.5"
@@ -58,7 +58,7 @@ export class EntityTableModel {
58
58
  'post',
59
59
  'phone',
60
60
  'email',
61
- 'wxPosition',
61
+ // 'wxPosition',
62
62
  'comment',
63
63
  ],
64
64
  },
@@ -31,6 +31,7 @@ export default class CustomCmp extends React.PureComponent<
31
31
  // 从上下文中 获取系统语言
32
32
  if (ctx && ctx.system && ctx.system.language) {
33
33
  languageCode = ctx.system.language;
34
+ console.log('languageCode:', languageCode);
34
35
  }
35
36
  console.log('当前自定义组件:', this.props);
36
37
 
@@ -49,7 +49,7 @@
49
49
  "@types/react": "^16.9.11",
50
50
  "@types/react-dom": "^16.9.15",
51
51
  "@types/axios": "^0.14.0",
52
- "neo-cmp-cli": "^1.15.3",
52
+ "neo-cmp-cli": "^1.15.5",
53
53
  "husky": "^4.2.5",
54
54
  "lint-staged": "^10.2.9",
55
55
  "prettier": "^2.0.5"
@@ -39,7 +39,7 @@
39
39
  "axios": "^1.7.0",
40
40
  "antd": "^4.9.4",
41
41
  "lodash": "^4.17.23",
42
- "neo-open-api": "^1.2.9"
42
+ "neo-open-api": "^1.2.12"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@commitlint/cli": "^18.0.0",
@@ -47,7 +47,7 @@
47
47
  "@types/react": "^16.9.11",
48
48
  "@types/react-dom": "^16.9.15",
49
49
  "@types/axios": "^0.14.0",
50
- "neo-cmp-cli": "^1.13.22",
50
+ "neo-cmp-cli": "^1.15.5",
51
51
  "husky": "^4.2.5",
52
52
  "lint-staged": "^10.2.9",
53
53
  "prettier": "^2.0.5"
@@ -53,7 +53,7 @@
53
53
  "@types/react-dom": "^16.9.15",
54
54
  "husky": "^4.2.5",
55
55
  "lint-staged": "^10.2.9",
56
- "neo-cmp-cli": "^1.15.3",
56
+ "neo-cmp-cli": "^1.15.6",
57
57
  "prettier": "^2.0.5"
58
58
  },
59
59
  "overrides": {
@@ -53,7 +53,7 @@
53
53
  "@types/react-dom": "^16.9.15",
54
54
  "husky": "^4.2.5",
55
55
  "lint-staged": "^10.2.9",
56
- "neo-cmp-cli": "^1.15.3",
56
+ "neo-cmp-cli": "^1.15.6",
57
57
  "prettier": "^2.0.5"
58
58
  },
59
59
  "overrides": {
@@ -37,7 +37,7 @@
37
37
  "antd": "^4.9.4",
38
38
  "axios": "^1.7.0",
39
39
  "lodash": "^4.17.23",
40
- "neo-open-api": "^1.2.9",
40
+ "neo-open-api": "^1.2.12",
41
41
  "neo-register": "^1.2.0",
42
42
  "react": "^16.9.0",
43
43
  "react-dom": "^16.9.0",
@@ -52,7 +52,7 @@
52
52
  "@types/react-dom": "^16.9.15",
53
53
  "husky": "^4.2.5",
54
54
  "lint-staged": "^10.2.9",
55
- "neo-cmp-cli": "^1.15.3",
55
+ "neo-cmp-cli": "^1.15.6",
56
56
  "prettier": "^2.0.5"
57
57
  },
58
58
  "overrides": {
@@ -37,7 +37,7 @@
37
37
  "antd": "^4.9.4",
38
38
  "axios": "^1.7.0",
39
39
  "lodash": "^4.17.23",
40
- "neo-open-api": "^1.2.9",
40
+ "neo-open-api": "^1.2.12",
41
41
  "neo-register": "^1.2.0",
42
42
  "react": "^16.9.0",
43
43
  "react-dom": "^16.9.0",
@@ -53,7 +53,7 @@
53
53
  "@types/react-dom": "^16.9.15",
54
54
  "husky": "^4.2.5",
55
55
  "lint-staged": "^10.2.9",
56
- "neo-cmp-cli": "^1.15.3",
56
+ "neo-cmp-cli": "^1.15.6",
57
57
  "prettier": "^2.0.5"
58
58
  },
59
59
  "overrides": {
@@ -46,7 +46,7 @@
46
46
  "devDependencies": {
47
47
  "@commitlint/cli": "^18.0.0",
48
48
  "@commitlint/config-conventional": "^18.0.0",
49
- "neo-cmp-cli": "^1.15.3",
49
+ "neo-cmp-cli": "^1.15.6",
50
50
  "husky": "^4.2.5",
51
51
  "lint-staged": "^10.2.9",
52
52
  "prettier": "^2.0.5"
@@ -47,7 +47,7 @@
47
47
  "@commitlint/config-conventional": "^18.0.0",
48
48
  "@types/react": "^16.9.11",
49
49
  "@types/react-dom": "^16.9.15",
50
- "neo-cmp-cli": "^1.15.3",
50
+ "neo-cmp-cli": "^1.15.5",
51
51
  "husky": "^4.2.5",
52
52
  "lint-staged": "^10.2.9",
53
53
  "prettier": "^2.0.5"
@@ -45,7 +45,7 @@
45
45
  "devDependencies": {
46
46
  "@commitlint/cli": "^18.0.0",
47
47
  "@commitlint/config-conventional": "^18.0.0",
48
- "neo-cmp-cli": "^1.15.3",
48
+ "neo-cmp-cli": "^1.15.5",
49
49
  "husky": "^4.2.5",
50
50
  "lint-staged": "^10.2.9",
51
51
  "prettier": "^2.0.5",