GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: 解决出码的一些问题 (#87) · ideepthink/lowcode-engine@4a01c97

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • modules/code-generator
    • .gitignore
    • CHANGELOG.md
    • README.md
    • example-schema.json5
    • example-schema.json
    • package.json
    • src
      • cli/solutions
        • example-solution.ts
      • plugins/project/framework
        • icejs/plugins
          • packageJSON.ts
        • rax/types
          • RaxFrameworkOptions.ts
      • utils
        • jsExpression.ts
    • test-cases
      • rax-app
        • demo02
          • expected/demo-project/src/pages/Home
            • index.jsx
          • schema.json5
        • demo11-utils-name-alias
          • schema.json5
      • react-app
        • demo1
          • expected/demo-project
            • package.json
            • src
              • constants.js
              • pages/Test
                • index.jsx
          • schema.json5
        • demo2-utils-name-alias
          • expected/demo-project
            • package.json
          • schema.json5
        • demo2
          • expected/demo-project
            • package.json
            • src
              • constants.js
          • schema.json5
        • demo3
          • expected/demo-project
            • package.json
            • src
              • constants.js
          • schema.json5
        • demo4
          • expected/demo-project
            • package.json
            • src/pages/Test
              • index.jsx
          • schema.json5
        • demo5
          • expected/demo-project
            • package.json
            • src/pages/Test
              • index.jsx
          • schema.json5
        • demo6-literal-condition
          • expected/demo-project
            • package.json
            • src
              • constants.js
              • pages/Test
                • index.jsx
          • schema.json5
        • demo7-literal-condition2
          • expected/demo-project
            • package.json
            • src/pages/Test
              • index.jsx
          • schema.json5
        • demo8-datasource-prop/expected/demo-project
          • package.json
        • demo9-datasource-engine/expected/demo-project
          • package.json
        • demo_10-jsslot
          • expected/demo-project
            • package.json
            • src/pages/Test
              • index.jsx
          • schema.json5
        • demo_11-jsslot-2
          • expected/demo-project
            • package.json
            • src/pages/Test
              • index.jsx
          • schema.json5
      • react-module/demo1
        • expected/demo-project
          • package.json
          • src
            • constants.js
        • schema.json5
    • tests
      • bugfix
        • icejs-js-function1.schema.json
        • icejs-missing-imports-1.schema.json
      • public/SchemaParser/data
        • schema-with-slot.json
      • utils/schema/data
        • schema-with-slot.json

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎modules/code-generator/.gitignore‎

Copy file name to clipboardExpand all lines: modules/code-generator/.gitignore
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,7 @@ codealike.json
111111

112112
# types
113113
/types
114+
115+
# backup files
116+
*.bak
117+
Collapse file

‎modules/code-generator/CHANGELOG.md‎

Copy file name to clipboardExpand all lines: modules/code-generator/CHANGELOG.md
+26Lines changed: 26 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [1.0.1](https://github.com/alibaba/lowcode-engine/compare/@alilc/[email protected]...@alilc/[email protected]) (2022-03-08)
6+
7+
8+
### Features
9+
10+
* 在 skeleton 增加几个方法和事件 ([a7d436a](https://github.com/alibaba/lowcode-engine/commit/a7d436a0525a0ce0c7229710077111f283b452f4))
11+
* modify npm private control & version ([ee55d02](https://github.com/alibaba/lowcode-engine/commit/ee55d024a7f964ccf35a0efabec817364cea8041))
12+
* modify yuque link in README ([d522034](https://github.com/alibaba/lowcode-engine/commit/d522034879d20a7b5ed12f8fe02a30662a2ea7c6))
13+
* remove CHANGELOG.md ([b996414](https://github.com/alibaba/lowcode-engine/commit/b996414c436b5d2439c8368eb4e001cdbcd02892))
14+
* remove module field in material-parser package.json ([6141c27](https://github.com/alibaba/lowcode-engine/commit/6141c273c9c32eea22b5374679fe625e6ea15394))
15+
* rename build:umd ([23c7959](https://github.com/alibaba/lowcode-engine/commit/23c795931e1d5cf43e9c21cd902441c69c1ecc63))
16+
* replace tnpm with npm ([36caf0f](https://github.com/alibaba/lowcode-engine/commit/36caf0f18980c16f7ebb82ac845ad6b33e033567))
17+
* support UMD packageing for react-renderer ([982d0d6](https://github.com/alibaba/lowcode-engine/commit/982d0d676b3dfbfc10a2190c0040126d6925ed37))
18+
19+
20+
### Bug Fixes
21+
22+
* 🐛 修正一些示例地址 ([8d21283](https://github.com/alibaba/lowcode-engine/commit/8d212832e77a1ec763db668683917705774acd0d))
23+
* 兼容 setters 为空的情况 ([56b459a](https://github.com/alibaba/lowcode-engine/commit/56b459a017a8350a911ef20f0166d1e62b6390e4))
24+
* 修复 setup 的逻辑 ([1cfb15a](https://github.com/alibaba/lowcode-engine/commit/1cfb15aebea9796af23b2135f2aa4409d81283d7))
25+
* 修正一些对内的地址 ([07cc1f2](https://github.com/alibaba/lowcode-engine/commit/07cc1f2954530c64a1a3d260e8d532c9e19892e8))
26+
* 增加必要的方法 ([1b38a81](https://github.com/alibaba/lowcode-engine/commit/1b38a812653656aa02100a3b1b2a581188d1b3ef))
27+
* fix tsconfig of material-parser ([46725cb](https://github.com/alibaba/lowcode-engine/commit/46725cb9f3166912c8f5b42f1e0b1177158c1ee3))
28+
* lint&fix auto generated types.ts ([7dde970](https://github.com/alibaba/lowcode-engine/commit/7dde9701c7960b29523abddf32421cdbac47016d))
29+
* The outline tree does not display the loop flag when the loop is an empty array ([191e284](https://github.com/alibaba/lowcode-engine/commit/191e284f2fa190c2b3aecb4df31849b2bdc99d38))
30+
531
## 1.0.0 (2022-02-17)
632

733

Collapse file

‎modules/code-generator/README.md‎

Copy file name to clipboardExpand all lines: modules/code-generator/README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ console.log(result); // 出码结果(默认是递归结构描述的,可以传
110110

111111
## 参与共建
112112

113-
欢迎参与共建,如何共建请参阅:[./CONTRIBUTING.md](https://code.aone.alibaba-inc.com/ali-lowcode/code-generator/blob/develop/CONTRIBUTING.md)
113+
欢迎参与共建,如何共建请参阅:[./CONTRIBUTING.md](https://github.com/alibaba/lowcode-engine/blob/main/modules/code-generator/CONTRIBUTING.md)
Collapse file

‎modules/code-generator/example-schema.json‎

Copy file name to clipboardExpand all lines: modules/code-generator/example-schema.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"type": "fetch",
8888
"options": {
8989
"method": "GET",
90-
"uri": "https://shs.alibaba-inc.com/mock/1458/demo/user",
90+
"uri": "https://shs.xxx.com/mock/1458/demo/user",
9191
"isSync": true
9292
},
9393
"dataHandler": {
@@ -101,7 +101,7 @@
101101
"type": "fetch",
102102
"options": {
103103
"method": "GET",
104-
"uri": "https://shs.alibaba-inc.com/mock/1458/demo/orders",
104+
"uri": "https://shs.xxx.com/mock/1458/demo/orders",
105105
"isSync": true
106106
},
107107
"dataHandler": {
@@ -245,7 +245,7 @@
245245
],
246246
"constants": {
247247
"ENV": "prod",
248-
"DOMAIN": "xxx.alibaba-inc.com"
248+
"DOMAIN": "xxx.xxx.com"
249249
},
250250
"css": "body {font-size: 12px;} .table { width: 100px;}",
251251
"config": {
Collapse file

‎modules/code-generator/example-schema.json5‎

Copy file name to clipboardExpand all lines: modules/code-generator/example-schema.json5
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
type: 'fetch',
8888
options: {
8989
method: 'GET',
90-
uri: 'https://shs.alibaba-inc.com/mock/1458/demo/user',
90+
uri: 'https://shs.xxx.com/mock/1458/demo/user',
9191
isSync: true,
9292
},
9393
dataHandler: {
@@ -101,7 +101,7 @@
101101
type: 'fetch',
102102
options: {
103103
method: 'GET',
104-
uri: 'https://shs.alibaba-inc.com/mock/1458/demo/orders',
104+
uri: 'https://shs.xxx.com/mock/1458/demo/orders',
105105
isSync: true,
106106
},
107107
dataHandler: {
@@ -245,7 +245,7 @@
245245
],
246246
constants: {
247247
ENV: 'prod',
248-
DOMAIN: 'xxx.alibaba-inc.com',
248+
DOMAIN: 'xxx.xxx.com',
249249
},
250250
css: 'body {font-size: 12px;} .table { width: 100px;}',
251251
config: {
Collapse file

‎modules/code-generator/package.json‎

Copy file name to clipboardExpand all lines: modules/code-generator/package.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alilc/lowcode-code-generator",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "出码引擎 for LowCode Engine",
55
"license": "MIT",
66
"main": "lib/index.js",
@@ -42,7 +42,8 @@
4242
"test:update-snapshots": "cross-env UPDATE_EXPECTED=true jest -u",
4343
"analyze:standalone": "ANALYZE=true node scripts/build-standalone",
4444
"release:beta": "standard-version -t @alilc/lowcode-code-generator\\@ --prerelease beta && git push --follow-tags && npm publish --tag beta",
45-
"release": "standard-version -t @alilc/lowcode-code-generator\\@ && git push --follow-tags && npm publish",
45+
"release:patch": "standard-version -t @alilc/lowcode-code-generator\\@ -r patch && git push --follow-tags && npm publish",
46+
"release:minor": "standard-version -t @alilc/lowcode-code-generator\\@ -r minor && git push --follow-tags && npm publish",
4647
"prepublishOnly": "npm run build",
4748
"demo": "node bin/lowcode-code-generator.js -i example-schema.json -o demo -s icejs"
4849
},
Collapse file

‎modules/code-generator/src/cli/solutions/example-solution.ts‎

Copy file name to clipboardExpand all lines: modules/code-generator/src/cli/solutions/example-solution.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ codealike.json
309309
"type": "fetch",
310310
"options": {
311311
"method": "GET",
312-
"uri": "https://shs.alibaba-inc.com/mock/1458/demo/user",
312+
"uri": "https://shs.xxx.com/mock/1458/demo/user",
313313
"isSync": true
314314
},
315315
"dataHandler": {
@@ -323,7 +323,7 @@ codealike.json
323323
"type": "fetch",
324324
"options": {
325325
"method": "GET",
326-
"uri": "https://shs.alibaba-inc.com/mock/1458/demo/orders",
326+
"uri": "https://shs.xxx.com/mock/1458/demo/orders",
327327
"isSync": true
328328
},
329329
"dataHandler": {
@@ -467,7 +467,7 @@ codealike.json
467467
],
468468
"constants": {
469469
"ENV": "prod",
470-
"DOMAIN": "xxx.alibaba-inc.com"
470+
"DOMAIN": "xxx.xxx.com"
471471
},
472472
"css": "body {font-size: 12px;} .table { width: 100px;}",
473473
"config": {
@@ -556,7 +556,7 @@ codealike.json
556556
"author": "",
557557
"license": "ISC",
558558
"publishConfig": {
559-
"registry": "https://registry.npm.alibaba-inc.com"
559+
"registry": "https://registry.npm.xxx.com"
560560
},
561561
"dependencies": {
562562
"@alilc/lowcode-code-generator": "^1.0.0-beta.16",
Collapse file

‎modules/code-generator/src/plugins/project/framework/icejs/plugins/packageJSON.ts‎

Copy file name to clipboardExpand all lines: modules/code-generator/src/plugins/project/framework/icejs/plugins/packageJSON.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const pluginFactory: BuilderComponentPluginFactory<unknown> = () => {
7575
},
7676
repository: {
7777
type: 'git',
78-
url: 'http://gitlab.alibaba-inc.com/msd/leak-scan/tree/master',
78+
url: 'http://gitlab.xxx.com/msd/leak-scan/tree/master',
7979
},
8080
private: true,
8181
originTemplate: '@alifd/scaffold-lite-js',
Collapse file

‎modules/code-generator/src/plugins/project/framework/rax/types/RaxFrameworkOptions.ts‎

Copy file name to clipboardExpand all lines: modules/code-generator/src/plugins/project/framework/rax/types/RaxFrameworkOptions.ts
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export type RaxFrameworkOptions = {
1616

1717
/**
1818
* 构建配置
19-
* @see https://rax.alibaba-inc.com/docs/guide/build-config
2019
*/
2120
buildConfig?: {
2221
inlineStyle?: boolean | { forceEnableCSS: boolean };
Collapse file

‎modules/code-generator/src/utils/jsExpression.ts‎

Copy file name to clipboardExpand all lines: modules/code-generator/src/utils/jsExpression.ts
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import { JSExpression, JSFunction, isJSExpression, isJSFunction } from '@alilc/l
66
import { CodeGeneratorError, IScope } from '../types';
77
import { transformExpressionLocalRef, ParseError } from './expressionParser';
88

9-
// demo: https://riddle.alibaba-inc.com/riddles/3d4c977f
10-
119
function parseFunction(content: string): t.FunctionExpression | null {
1210
try {
1311
const ast = parser.parse(`(${content});`);

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.