@gant-lowcode/plugin-code-generator 1.0.6 → 1.0.7

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.
@@ -75,7 +75,6 @@ const FileTree = (props)=>{
75
75
  const onSelect = (e, node)=>{
76
76
  //e.stopPropagation();
77
77
  if (node.folder) return;
78
- console.log("---node", e, node);
79
78
  props.onSelect?.(node.id);
80
79
  };
81
80
  const flattenedData = createFlattenTree(modules, openedNodeIds);
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import type { IPublicModelPluginContext } from "@gant-lowcode/lowcode-types";
2
- import * as CodeGenerator from "@gant-lowcode/code-generator/standalone-loader";
3
2
  export type CodeGenPluginOptions = {
4
3
  /** 是否要禁用出码的动作按钮(默认: 否) */
5
4
  disableCodeGenActionBtn?: boolean;
@@ -7,7 +6,7 @@ export type CodeGenPluginOptions = {
7
6
  declare const plugin: {
8
7
  (ctx: IPublicModelPluginContext, options?: CodeGenPluginOptions): {
9
8
  exports(): {
10
- generateCode: typeof CodeGenerator.generateCode;
9
+ generateCode: any;
11
10
  };
12
11
  init(): Promise<void>;
13
12
  destroy(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gant-lowcode/plugin-code-generator",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -14,9 +14,6 @@
14
14
  "dist"
15
15
  ],
16
16
  "devDependencies": {
17
- "@rsbuild/plugin-less": "^1.1.0",
18
- "@rsbuild/plugin-react": "^1.0.7",
19
- "@rslib/core": "^0.1.3",
20
17
  "@types/file-saver": "^2.0.7",
21
18
  "@types/react": "^18.3.12",
22
19
  "@types/react-window": "^1.8.8",
@@ -45,7 +42,9 @@
45
42
  "react-window": "^1.8.10",
46
43
  "semver": "^7.6.3",
47
44
  "string-natural-compare": "^3.0.1",
48
- "@gant-lowcode/code-generator": "0.0.4"
45
+ "@gant-lowcode/eslint-config": "0.0.0",
46
+ "@gant-lowcode/typescript-config": "0.0.0",
47
+ "@gant-lowcode/code-generator": "0.0.5"
49
48
  },
50
49
  "publishConfig": {
51
50
  "registry": "https://registry.npmjs.org/",