neo-cmp-cli 1.0.1 → 1.0.3

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 (59) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
  3. package/src/module/index.js +2 -2
  4. package/src/module/neoInit.js +7 -7
  5. package/src/module/neoInitByCopy.js +7 -7
  6. package/src/template/{react-custom-widget-template → react-custom-cmp-template}/README.md +5 -3
  7. package/src/template/{react-custom-widget-template → react-custom-cmp-template}/package.json +4 -4
  8. package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/README.md +3 -2
  9. package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/package.json +4 -4
  10. package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/README.md +3 -1
  11. package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/package.json +4 -4
  12. package/src/template/react-ts-custom-widget-template/.eslintcache +0 -1
  13. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/.editorconfig +0 -0
  14. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/.prettierrc.js +0 -0
  15. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/commitlint.config.js +0 -0
  16. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/neo.config.js +0 -0
  17. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/public/css/base.css +0 -0
  18. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/public/scripts/app/bluebird.js +0 -0
  19. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/public/template.html +0 -0
  20. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/src/assets/css/common.scss +0 -0
  21. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/src/assets/css/mixin.scss +0 -0
  22. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/src/components/info-card/index.jsx +0 -0
  23. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/src/components/info-card/model.js +0 -0
  24. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/src/components/info-card/register.js +0 -0
  25. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/src/components/info-card/style.scss +0 -0
  26. /package/src/template/{react-custom-widget-template → react-custom-cmp-template}/src/preview.js +0 -0
  27. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/.editorconfig +0 -0
  28. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/.prettierrc.js +0 -0
  29. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/commitlint.config.js +0 -0
  30. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/neo.config.js +0 -0
  31. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/public/css/base.css +0 -0
  32. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/public/scripts/app/bluebird.js +0 -0
  33. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/public/template.html +0 -0
  34. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/assets/css/common.scss +0 -0
  35. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/assets/css/mixin.scss +0 -0
  36. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/components/info-card/index.tsx +0 -0
  37. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/components/info-card/model.ts +0 -0
  38. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/components/info-card/register.ts +0 -0
  39. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/components/info-card/style.scss +0 -0
  40. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/components/list-widget/README.md +0 -0
  41. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/components/list-widget/index.tsx +0 -0
  42. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/components/list-widget/model.ts +0 -0
  43. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/components/list-widget/register.ts +0 -0
  44. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/components/list-widget/style.scss +0 -0
  45. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/src/preview.tsx +0 -0
  46. /package/src/template/{react-ts-custom-widget-template → react-ts-custom-cmp-template}/tsconfig.json +0 -0
  47. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/.editorconfig +0 -0
  48. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/.prettierrc.js +0 -0
  49. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/commitlint.config.js +0 -0
  50. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/neo.config.js +0 -0
  51. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/public/css/base.css +0 -0
  52. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/public/scripts/app/bluebird.js +0 -0
  53. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/public/template.html +0 -0
  54. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/src/assets/css/common.scss +0 -0
  55. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/src/assets/css/mixin.scss +0 -0
  56. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/src/preview.js +0 -0
  57. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/src/widgets/info-card/index.vue +0 -0
  58. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/src/widgets/info-card/model.js +0 -0
  59. /package/src/template/{vue2-neo-custom-widget → vue2-custom-cmp-template}/src/widgets/info-card/register.js +0 -0
package/README.md CHANGED
@@ -11,9 +11,9 @@ neo-cmp-cli 是 Neo 自定义组件开发工具,基于 [AKFun](https://github.
11
11
  - **一键发布**: 内置发布到 OSS 的能力,支持自定义对象存储配置。
12
12
 
13
13
  ### 模板类型(neo init 可选)
14
- - **React 模板**: [react-custom-widget-template](https://github.com/wibetter/react-custom-widget-template)
15
- - **React + TS 模板**: [react-ts-custom-widget-template](https://github.com/wibetter/react-ts-custom-widget-template)
16
- - **Vue2 模板**: [vue2-neo-custom-widget](https://github.com/wibetter/vue2-neo-custom-widget)
14
+ - **React 模板**: [react-custom-cmp-template](https://github.com/wibetter/react-custom-cmp-template)
15
+ - **React + TS 模板**: [react-ts-custom-cmp-template](https://github.com/wibetter/react-ts-custom-cmp-template)
16
+ - **Vue2 模板**: [vue2-custom-cmp-template](https://github.com/wibetter/vue2-custom-cmp-template)
17
17
 
18
18
  ## 快速开始
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo-cmp-cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "前端脚手架:自定义组件开发工具,支持react 和 vue2.0技术栈。",
5
5
  "keywords": [
6
6
  "neo-cli",
@@ -99,8 +99,8 @@ yargs
99
99
  questions.push({
100
100
  name: 'name',
101
101
  type: 'input',
102
- message: '请设置自定义组件项目名称(默认 neoCustomWidget):',
103
- default: 'neoCustomWidget'
102
+ message: '请设置自定义组件项目名称(默认 neoCustomCmp):',
103
+ default: 'neoCustomCmp'
104
104
  });
105
105
  }
106
106
  inquirer.prompt(questions).then((ans) => {
@@ -4,16 +4,16 @@ const { replaceInPackage } = require('../utils/replaceInPackage');
4
4
 
5
5
  const templateList = {
6
6
  react: {
7
- projectName: 'react-custom-widget-template',
8
- url: 'git@github.com:wibetter/react-custom-widget-template.git'
7
+ projectName: 'react-custom-cmp-template',
8
+ url: 'git@github.com:wibetter/react-custom-cmp-template.git'
9
9
  },
10
10
  'react-ts': {
11
- projectName: 'react-ts-custom-widget-template',
12
- url: 'git@github.com:wibetter/react-ts-custom-widget-template.git'
11
+ projectName: 'react-ts-custom-cmp-template',
12
+ url: 'git@github.com:wibetter/react-ts-custom-cmp-template.git'
13
13
  },
14
14
  vue2: {
15
- projectName: 'vue2-neo-custom-widget',
16
- url: 'git@github.com:wibetter/vue2-neo-custom-widget.git'
15
+ projectName: 'vue2-custom-cmp-template',
16
+ url: 'git@github.com:wibetter/vue2-custom-cmp-template.git'
17
17
  }
18
18
  /*
19
19
  'vue3': {
@@ -26,7 +26,7 @@ const templateList = {
26
26
  const neoInit = function (type, projectName) {
27
27
  const currentTemplate = templateList[type || 'react'];
28
28
  const currentTemplateUrl = currentTemplate.url;
29
- const finalProjectName = projectName || 'neoCustomWidget';
29
+ const finalProjectName = projectName || 'neoCustomCmp';
30
30
 
31
31
  gitClone(
32
32
  currentTemplateUrl,
@@ -5,23 +5,23 @@ const { replaceInPackage } = require('../utils/replaceInPackage');
5
5
 
6
6
  const templateList = {
7
7
  react: {
8
- projectName: 'react-custom-widget-template',
9
- dir: path.resolve(__dirname, '../template/react-custom-widget-template')
8
+ projectName: 'react-custom-cmp-template',
9
+ dir: path.resolve(__dirname, '../template/react-custom-cmp-template')
10
10
  },
11
11
  'react-ts': {
12
- projectName: 'react-ts-custom-widget-template',
13
- dir: path.resolve(__dirname, '../template/react-ts-custom-widget-template')
12
+ projectName: 'react-ts-custom-cmp-template',
13
+ dir: path.resolve(__dirname, '../template/react-ts-custom-cmp-template')
14
14
  },
15
15
  vue2: {
16
- projectName: 'vue2-neo-custom-widget',
17
- dir: path.resolve(__dirname, '../template/vue2-neo-custom-widget')
16
+ projectName: 'vue2-custom-cmp-template',
17
+ dir: path.resolve(__dirname, '../template/vue2-custom-cmp-template')
18
18
  }
19
19
  };
20
20
 
21
21
  const neoInitByCopy = function (type, projectName) {
22
22
  const currentTemplate = templateList[type || 'react'];
23
23
  const currentTemplateDir = currentTemplate.dir;
24
- const finalProjectName = projectName || 'neoCustomWidget';
24
+ const finalProjectName = projectName || 'neoCustomCmp';
25
25
  const finalProjectPath = path.resolve(process.cwd(), finalProjectName);
26
26
 
27
27
  fs.copy(currentTemplateDir, finalProjectPath)
@@ -1,10 +1,10 @@
1
1
  ### 目录说明
2
2
  - src: 自定义组件源码;
3
3
  - src/assets: 存放组件静态资源,比如 css、img等;
4
- - src/components: 存放自定义组件代码,每个自定义组件以自身名称作为目录进行存放;
4
+ - src/components: 存放自定义组件代码,每个自定义组件以自身名称(cmpType 数值)作为目录进行存放;
5
5
  - src/components/info-card/index.jsx: 信息卡片自定义组件代码;
6
6
  - src/components/info-card/register.js: 用于注册一个 neo 自定义组件,注册成功后编辑器画布区中才会正常展示自定义组件内容;
7
- - src/components/info-card/model.js: 用于注册一个 neo-editor 自定义插件,注册成功后编辑器左侧组件面板中会展示;
7
+ - src/components/info-card/model.js: 用于注册一个 neo-editor 自定义组件模型,注册成功后编辑器左侧组件面板中会展示;
8
8
  - src/preview.js: 用于本地预览自定义组件内容;
9
9
  - neo.config.js: neo-cmp-cli 配置文件。
10
10
 
@@ -12,7 +12,9 @@
12
12
  - 存放在 src/components 目录下的自定义组件,默认 index 为自定义组件源码入口文件,register.[tj]s 为注册 Neo 组件的脚本文件,model.[tj]s 为自定义组件的描述文件(和页面设计器对接需要);
13
13
  - 当 neo.config.js 中的 entry 为空或者不存在时,cli 将根据 src/components 目录下的自定义组件结构生成对应的 entry 配置(可在命令控制台查看生成的 entry 配置);
14
14
  - 自定义组件中可用的配置项类型 请见 [当前可用表单项](https://github.com/wibetter/neo-register/blob/master/docs/FormItemType.md);
15
- - 自定义组件最外层请设置一个唯一的 ClassName(比如 xx-cmpType-container),所有内容样式请放在该 ClassName 中;
15
+ - 自定义组件最外层请设置一个唯一的 ClassName(比如 xx-cmpType-container),所有内容样式请放在该 ClassName 中,避免自定义组件样式相互干扰;
16
+ - 默认开启代码规范检测(含样式内容),如需关闭,请调整 neo.config.js 相关配置;
17
+ - 请使用 react 16版本。
16
18
 
17
19
  ### 自定义组件注册器使用说明
18
20
  - [neo-register 使用说明](https://www.npmjs.com/package/neo-register?activeTab=readme)
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "react-custom-widget-template",
2
+ "name": "react-custom-cmp-template",
3
3
  "version": "1.0.0",
4
4
  "description": "neo自定义组件模板(react技术栈)",
5
5
  "keywords": [
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
34
- "url": "https://git@github.com:wibetter/react-custom-widget-template.git"
34
+ "url": "https://git@github.com:wibetter/react-custom-cmp-template.git"
35
35
  },
36
36
  "bugs": {
37
- "url": "https://github.com/wibetter/react-custom-widget-template/issues"
37
+ "url": "https://github.com/wibetter/react-custom-cmp-template/issues"
38
38
  },
39
39
  "dependencies": {
40
40
  "neo-register": "^1.0.0",
@@ -44,7 +44,7 @@
44
44
  "devDependencies": {
45
45
  "@commitlint/cli": "^8.3.5",
46
46
  "@commitlint/config-conventional": "^9.1.1",
47
- "neo-cmp-cli": "^1.0.1",
47
+ "neo-cmp-cli": "^1.0.3",
48
48
  "husky": "^4.2.5",
49
49
  "lint-staged": "^10.2.9",
50
50
  "prettier": "^2.0.5"
@@ -12,8 +12,9 @@
12
12
  - 存放在 src/components 目录下的自定义组件,默认 index 为自定义组件源码入口文件,register.[tj]s 为注册 Neo 组件的脚本文件,model.[tj]s 为自定义组件的描述文件(和页面设计器对接需要);
13
13
  - 当 neo.config.js 中的 entry 为空或者不存在时,cli 将根据 src/components 目录下的自定义组件结构生成对应的 entry 配置(可在命令控制台查看生成的 entry 配置);
14
14
  - 自定义组件中可用的配置项类型 请见 [当前可用表单项](https://github.com/wibetter/neo-register/blob/master/docs/FormItemType.md);
15
- - 自定义组件最外层请设置一个唯一的 ClassName(比如 xx-cmpType-container),所有内容样式请放在该 ClassName 中;
16
- - 默认开启代码规范检测(含样式内容),如需关闭,请调整 neo.config.js 相关配置。
15
+ - 自定义组件最外层请设置一个唯一的 ClassName(比如 xx-cmpType-container),所有内容样式请放在该 ClassName 中,避免自定义组件样式相互干扰;
16
+ - 默认开启代码规范检测(含样式内容),如需关闭,请调整 neo.config.js 相关配置;
17
+ - 请使用 react 16版本。
17
18
 
18
19
  ### 自定义组件注册器使用说明
19
20
  - [neo-register 使用说明](https://www.npmjs.com/package/neo-register?activeTab=readme)
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "react-ts-custom-widget-template",
2
+ "name": "react-ts-custom-cmp-template",
3
3
  "version": "1.0.15",
4
4
  "description": "neo自定义组件模板(react&ts技术栈)",
5
5
  "keywords": [
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
34
- "url": "https://git@github.com:wibetter/react-ts-custom-widget-template.git"
34
+ "url": "https://git@github.com:wibetter/react-ts-custom-cmp-template.git"
35
35
  },
36
36
  "bugs": {
37
- "url": "https://github.com/wibetter/react-ts-custom-widget-template/issues"
37
+ "url": "https://github.com/wibetter/react-ts-custom-cmp-template/issues"
38
38
  },
39
39
  "dependencies": {
40
40
  "neo-register": "^1.0.0",
@@ -47,7 +47,7 @@
47
47
  "@commitlint/config-conventional": "^9.1.1",
48
48
  "@types/react": "^16.9.11",
49
49
  "@types/react-dom": "^16.9.15",
50
- "neo-cmp-cli": "^1.0.1",
50
+ "neo-cmp-cli": "^1.0.3",
51
51
  "husky": "^4.2.5",
52
52
  "lint-staged": "^10.2.9",
53
53
  "prettier": "^2.0.5"
@@ -12,7 +12,9 @@
12
12
  - 存放在 src/components 目录下的自定义组件,默认 index 为自定义组件源码入口文件,register.[tj]s 为注册 Neo 组件的脚本文件,model.[tj]s 为自定义组件的描述文件(和页面设计器对接需要);
13
13
  - 当 neo.config.js 中的 entry 为空或者不存在时,cli 将根据 src/components 目录下的自定义组件结构生成对应的 entry 配置(可在命令控制台查看生成的 entry 配置);
14
14
  - 自定义组件中可用的配置项类型 请见 [当前可用表单项](https://github.com/wibetter/neo-register/blob/master/docs/FormItemType.md);
15
- - 自定义组件最外层请设置一个唯一的 ClassName(比如 xx-cmpType-container),所有内容样式请放在该 ClassName 中。
15
+ - 自定义组件最外层请设置一个唯一的 ClassName(比如 xx-cmpType-container),所有内容样式请放在该 ClassName 中,避免自定义组件样式相互干扰;
16
+ - 默认开启代码规范检测(含样式内容),如需关闭,请调整 neo.config.js 相关配置;
17
+ - 请使用 react 16版本。
16
18
 
17
19
  ### 自定义组件注册器使用说明
18
20
  - [neo-register 使用说明](https://www.npmjs.com/package/neo-register?activeTab=readme)
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "vue2-neo-custom-widget",
2
+ "name": "vue2-custom-cmp-template",
3
3
  "version": "1.1.2",
4
4
  "description": "neo自定义组件模板(vue2.0技术栈)",
5
5
  "keywords": [
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
34
- "url": "https://git@github.com:wibetter/vue2-neo-custom-widget.git"
34
+ "url": "https://git@github.com:wibetter/vue2-custom-cmp-template.git"
35
35
  },
36
36
  "bugs": {
37
- "url": "https://github.com/wibetter/vue2-neo-custom-widget/issues"
37
+ "url": "https://github.com/wibetter/vue2-custom-cmp-template/issues"
38
38
  },
39
39
  "dependencies": {
40
40
  "neo-register": "^1.0.0",
@@ -44,7 +44,7 @@
44
44
  "devDependencies": {
45
45
  "@commitlint/cli": "^8.3.5",
46
46
  "@commitlint/config-conventional": "^9.1.1",
47
- "neo-cmp-cli": "^1.0.1",
47
+ "neo-cmp-cli": "^1.0.3",
48
48
  "husky": "^4.2.5",
49
49
  "lint-staged": "^10.2.9",
50
50
  "prettier": "^2.0.5",
@@ -1 +0,0 @@
1
- [{"/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/list-widget/register.ts":"1","/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/info-card/register.ts":"2","/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/info-card/model.ts":"3","/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/list-widget/model.ts":"4","/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/list-widget/index.tsx":"5","/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/info-card/index.tsx":"6"},{"size":139,"mtime":1757486870169,"results":"7","hashOfConfig":"8"},{"size":133,"mtime":1757486870169,"results":"9","hashOfConfig":"8"},{"size":2264,"mtime":1757486870169,"results":"10","hashOfConfig":"8"},{"size":2375,"mtime":1757485547274,"results":"11","hashOfConfig":"8"},{"size":6626,"mtime":1757485547266,"results":"12","hashOfConfig":"8"},{"size":2250,"mtime":1757485385236,"results":"13","hashOfConfig":"8"},{"filePath":"14","messages":"15","suppressedMessages":"16","errorCount":1,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"eyzqlf",{"filePath":"17","messages":"18","suppressedMessages":"19","errorCount":1,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"20","messages":"21","suppressedMessages":"22","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"23","messages":"24","suppressedMessages":"25","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"26","messages":"27","suppressedMessages":"28","errorCount":4,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"29","messages":"30","suppressedMessages":"31","errorCount":1,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/list-widget/register.ts",["32"],[],"/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/info-card/register.ts",["33"],[],"/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/info-card/model.ts",[],[],"/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/list-widget/model.ts",[],[],"/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/list-widget/index.tsx",["34","35","36","37"],[],"/Users/liudan/neo-custom-widget/neo-widget-cli/src/template/react-ts-custom-widget-template/src/components/info-card/index.tsx",["38","39"],[],{"ruleId":"40","severity":2,"message":"41","line":3,"column":24,"nodeType":"42","endLine":3,"endColumn":33},{"ruleId":"40","severity":2,"message":"41","line":3,"column":22,"nodeType":"42","endLine":3,"endColumn":31},{"ruleId":"43","severity":2,"message":"44","line":41,"column":3,"nodeType":"45","messageId":"46","endLine":41,"endColumn":19},{"ruleId":"43","severity":2,"message":"47","line":115,"column":3,"nodeType":"45","messageId":"46","endLine":115,"endColumn":15},{"ruleId":"43","severity":2,"message":"48","line":122,"column":3,"nodeType":"45","messageId":"46","endLine":122,"endColumn":17},{"ruleId":"43","severity":2,"message":"49","line":132,"column":3,"nodeType":"45","messageId":"46","endLine":132,"endColumn":16},{"ruleId":"43","severity":2,"message":"50","line":19,"column":3,"nodeType":"45","messageId":"46","endLine":19,"endColumn":18},{"ruleId":"51","severity":1,"message":"52","line":31,"column":5,"nodeType":"53","messageId":"54","endLine":31,"endColumn":16,"suggestions":"55"},"import/extensions","Missing file extension \"tsx\" for \"./index\"","Literal","class-methods-use-this","Expected 'this' to be used by class method 'generateMockData'.","FunctionExpression","missingThis","Expected 'this' to be used by class method 'formatNumber'.","Expected 'this' to be used by class method 'getStatusColor'.","Expected 'this' to be used by class method 'getStatusText'.","Expected 'this' to be used by class method 'agreeDataFormat'.","no-console","Unexpected console statement.","MemberExpression","unexpected",["56"],{"messageId":"57","data":"58","fix":"59","desc":"60"},"removeConsole",{"propertyName":"61"},{"range":"62","text":"63"},"Remove the console.log().","log",[751,793],""]