@celljs/cli 3.7.8 → 3.9.0

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 (148) hide show
  1. package/lib/build/build-manager.d.ts.map +1 -1
  2. package/lib/build/build-manager.js.map +1 -1
  3. package/lib/build/build.d.ts +1 -1
  4. package/lib/build/build.d.ts.map +1 -1
  5. package/lib/build/build.js.map +1 -1
  6. package/lib/cell.js +8 -5
  7. package/lib/cell.js.map +1 -1
  8. package/lib/config/config.d.ts +1 -1
  9. package/lib/config/config.d.ts.map +1 -1
  10. package/lib/config/config.js.map +1 -1
  11. package/lib/deploy/deploy.d.ts +1 -1
  12. package/lib/deploy/deploy.d.ts.map +1 -1
  13. package/lib/deploy/deploy.js +4 -1
  14. package/lib/deploy/deploy.js.map +1 -1
  15. package/lib/index.d.ts +1 -0
  16. package/lib/index.js +2 -0
  17. package/lib/info/info.d.ts +1 -1
  18. package/lib/info/info.d.ts.map +1 -1
  19. package/lib/info/info.js.map +1 -1
  20. package/lib/init/init-manager.d.ts.map +1 -1
  21. package/lib/init/init-manager.js +5 -2
  22. package/lib/init/init-manager.js.map +1 -1
  23. package/lib/init/init.d.ts +1 -1
  24. package/lib/init/init.d.ts.map +1 -1
  25. package/lib/init/init.js.map +1 -1
  26. package/lib/init/templates.d.ts.map +1 -1
  27. package/lib/init/templates.js +0 -2
  28. package/lib/init/templates.js.map +1 -1
  29. package/lib/package.spec.d.ts +1 -0
  30. package/lib/package.spec.js +5 -2
  31. package/lib/package.spec.js.map +1 -1
  32. package/lib/props/props.d.ts +1 -1
  33. package/lib/props/props.d.ts.map +1 -1
  34. package/lib/props/props.js +6 -3
  35. package/lib/props/props.js.map +1 -1
  36. package/lib/serve/serve-manager.d.ts.map +1 -1
  37. package/lib/serve/serve-manager.js.map +1 -1
  38. package/lib/serve/serve.d.ts +1 -1
  39. package/lib/serve/serve.d.ts.map +1 -1
  40. package/lib/serve/serve.js.map +1 -1
  41. package/lib/update/update.d.ts +1 -1
  42. package/lib/update/update.d.ts.map +1 -1
  43. package/lib/update/update.js.map +1 -1
  44. package/lib/utils/banner-util.js.map +1 -1
  45. package/package.json +9 -12
  46. package/src/cell.ts +1 -1
  47. package/src/init/init-manager.ts +1 -1
  48. package/src/init/templates.ts +0 -2
  49. package/src/package.spec.ts +1 -0
  50. package/src/props/props.ts +1 -1
  51. package/templates/accounts/README.md +0 -16
  52. package/templates/accounts/cell.yml +1 -1
  53. package/templates/accounts/tsconfig.json +7 -4
  54. package/templates/admin-app/README.md +0 -16
  55. package/templates/admin-app/tsconfig.json +7 -4
  56. package/templates/backend-app/README.md +0 -16
  57. package/templates/backend-app/package.json +3 -3
  58. package/templates/backend-app/test/home-controller.spec.ts +12 -9
  59. package/templates/backend-app/tsconfig.json +8 -5
  60. package/templates/cell-component/README.md +5 -14
  61. package/templates/cell-component/package.json +6 -6
  62. package/templates/cell-component/src/package.spec.ts +1 -0
  63. package/templates/cell-component/tsconfig.json +27 -1
  64. package/templates/database-app/README.md +0 -16
  65. package/templates/database-app/tsconfig.json +7 -4
  66. package/templates/docker-app/README.md +0 -16
  67. package/templates/docker-app/src/browser/hello.view.tsx +1 -1
  68. package/templates/docker-app/tsconfig.json +7 -4
  69. package/templates/file-service/README.md +0 -16
  70. package/templates/file-service/tsconfig.json +7 -4
  71. package/templates/jwt-app/README.md +0 -16
  72. package/templates/jwt-app/package.json +3 -3
  73. package/templates/jwt-app/test/home-controller.spec.ts +12 -9
  74. package/templates/jwt-app/tsconfig.json +8 -5
  75. package/templates/microservice/README.md +0 -16
  76. package/templates/microservice/examples/backend-app/README.md +0 -16
  77. package/templates/microservice/examples/backend-app/tsconfig.json +7 -4
  78. package/templates/microservice/package.json +8 -11
  79. package/templates/microservice/packages/api/README.md +0 -16
  80. package/templates/microservice/packages/api/tsconfig.json +7 -4
  81. package/templates/microservice/packages/serviceA/README.md +0 -16
  82. package/templates/microservice/packages/serviceA/tsconfig.json +7 -4
  83. package/templates/microservice/packages/serviceB/README.md +0 -16
  84. package/templates/microservice/packages/serviceB/tsconfig.json +7 -4
  85. package/templates/microservice/tsconfig.json +7 -4
  86. package/templates/mycli/package.json +1 -1
  87. package/templates/mycli/tsconfig.json +7 -4
  88. package/templates/nest-app/test/app.e2e-spec.ts +1 -1
  89. package/templates/nest-app/tsconfig.build.json +9 -1
  90. package/templates/nest-app/tsconfig.json +7 -3
  91. package/templates/sample-app/README.md +0 -16
  92. package/templates/sample-app/src/browser/hello.view.tsx +1 -1
  93. package/templates/sample-app/tsconfig.json +7 -4
  94. package/templates/schedule/README.md +0 -16
  95. package/templates/schedule/tsconfig.json +7 -4
  96. package/templates/standalone-app/tsconfig.json +7 -4
  97. package/templates/vue-app/README.md +0 -16
  98. package/templates/vue-app/src/browser/components/HelloWorld.vue +2 -2
  99. package/templates/vue-app/tsconfig.json +6 -4
  100. package/LICENSE +0 -21
  101. package/templates/cell-component/.eslintrc.js +0 -10
  102. package/templates/microservice/lerna.json +0 -19
  103. package/templates/monorepo/.editorconfig +0 -12
  104. package/templates/monorepo/.eslintrc.js +0 -18
  105. package/templates/monorepo/.yarnrc +0 -1
  106. package/templates/monorepo/CHANGELOG.md +0 -5
  107. package/templates/monorepo/README.md +0 -0
  108. package/templates/monorepo/apps/sample-app/cell.yml +0 -0
  109. package/templates/monorepo/apps/sample-app/package.json +0 -33
  110. package/templates/monorepo/apps/sample-app/src/browser/assets/logo.png +0 -0
  111. package/templates/monorepo/apps/sample-app/src/browser/css-shims.d.ts +0 -30
  112. package/templates/monorepo/apps/sample-app/src/browser/hello.view.tsx +0 -31
  113. package/templates/monorepo/apps/sample-app/src/browser/module.ts +0 -3
  114. package/templates/monorepo/apps/sample-app/src/browser/style/hello.module.scss +0 -4
  115. package/templates/monorepo/apps/sample-app/src/common/welcome-protocol.ts +0 -5
  116. package/templates/monorepo/apps/sample-app/src/node/module.ts +0 -3
  117. package/templates/monorepo/apps/sample-app/src/node/welcome-server.ts +0 -9
  118. package/templates/monorepo/apps/sample-app/tsconfig.json +0 -30
  119. package/templates/monorepo/configs/root-compilation.tsconfig.json +0 -14
  120. package/templates/monorepo/configs/typedoc-tsconfig.json +0 -6
  121. package/templates/monorepo/configs/typedoc.json +0 -23
  122. package/templates/monorepo/lerna.json +0 -17
  123. package/templates/monorepo/package.json +0 -46
  124. package/templates/monorepo/packages/core/.eslintrc.js +0 -10
  125. package/templates/monorepo/packages/core/README.md +0 -1
  126. package/templates/monorepo/packages/core/cell.yml +0 -0
  127. package/templates/monorepo/packages/core/package.json +0 -40
  128. package/templates/monorepo/packages/core/src/browser/index.ts +0 -0
  129. package/templates/monorepo/packages/core/src/browser/module.ts +0 -4
  130. package/templates/monorepo/packages/core/src/common/index.ts +0 -0
  131. package/templates/monorepo/packages/core/src/common/module.ts +0 -4
  132. package/templates/monorepo/packages/core/src/node/index.ts +0 -0
  133. package/templates/monorepo/packages/core/src/node/module.ts +0 -4
  134. package/templates/monorepo/packages/core/src/package.spec.ts +0 -4
  135. package/templates/monorepo/packages/core/tsconfig.json +0 -13
  136. package/templates/monorepo/scripts/check-publish.js +0 -40
  137. package/templates/monorepo/scripts/compile-references.js +0 -286
  138. package/templates/monorepo/tsconfig.json +0 -20
  139. package/templates/monorepo/tsfmt.json +0 -3
  140. package/templates/puppeteer/.github/workflows/deploy.yml +0 -25
  141. package/templates/puppeteer/.vscode/launch.json +0 -23
  142. package/templates/puppeteer/README.md +0 -92
  143. package/templates/puppeteer/cell.yml +0 -11
  144. package/templates/puppeteer/package.json +0 -31
  145. package/templates/puppeteer/src/home-controller.ts +0 -11
  146. package/templates/puppeteer/src/module.ts +0 -5
  147. package/templates/puppeteer/src/puppeteer-controller.ts +0 -26
  148. package/templates/puppeteer/tsconfig.json +0 -29
@@ -3,18 +3,15 @@
3
3
  "name": "@microservice/monorepo",
4
4
  "version": "0.0.0",
5
5
  "license": "MIT",
6
- "devDependencies": {
7
- "lerna": "^2.2.0"
8
- },
9
6
  "scripts": {
10
- "prepare": "yarn run build",
11
- "clean": "lerna run clean",
12
- "build": "lerna run build",
13
- "start": "lerna run start --scope backend-app",
14
- "deploy": "lerna run deploy -m test",
15
- "deploy:test": "lerna run deploy -m test",
16
- "deploy:pre": "lerna run deplop -m pre",
17
- "deploy:prod": "lerna run deploy -m prod"
7
+ "prepare": "npm run build",
8
+ "clean": "npm run clean --workspaces --if-present",
9
+ "build": "npm run build --workspaces --if-present",
10
+ "start": "npm run start -w backend-app",
11
+ "deploy": "npm run deploy --workspaces --if-present",
12
+ "deploy:test": "npm run deploy:test --workspaces --if-present",
13
+ "deploy:pre": "npm run deploy:pre --workspaces --if-present",
14
+ "deploy:prod": "npm run deploy:prod --workspaces --if-present"
18
15
  },
19
16
  "workspaces": [
20
17
  "packages/*",
@@ -74,19 +74,3 @@ cell deploy
74
74
  ```
75
75
 
76
76
  [![Quick Start](https://asciinema.org/a/474104.svg)](https://asciinema.org/a/474104?speed=2.5&autoplay=1)
77
-
78
- ### 文档
79
-
80
- - [介绍](https://cell.cellbang.com/guide/%E4%BB%8B%E7%BB%8D)
81
- - [创建第一个应用](https://cell.cellbang.com/guide/%E5%88%9B%E5%BB%BA%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8)
82
- - [命令行工具](https://cell.cellbang.com/guide/%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7)
83
- - [控制器](https://cell.cellbang.com/guide/%E6%8E%A7%E5%88%B6%E5%99%A8)
84
- - [数据库操作](https://cell.cellbang.com/guide/%E6%95%B0%E6%8D%AE%E5%BA%93typeorm)
85
- - [微服务](https://cell.cellbang.com/dev/%E5%BE%AE%E6%9C%8D%E5%8A%A1)
86
- - [认证与授权](https://cell.cellbang.com/guide/%E8%AE%A4%E8%AF%81%E4%B8%8E%E6%8E%88%E6%9D%83)
87
- - [云平台适配](https://cell.cellbang.com/cloud/%E4%BA%91%E5%B9%B3%E5%8F%B0%E9%80%82%E9%85%8D)
88
- - [依赖注入](https://cell.cellbang.com/guide/%E4%BE%9D%E8%B5%96%E6%B3%A8%E5%85%A5)
89
- - [组件设计](https://cell.cellbang.com/guide/%E7%BB%84%E4%BB%B6%E8%AE%BE%E8%AE%A1)
90
- - [前端架构](https://cell.cellbang.com/guide/%E5%89%8D%E7%AB%AF%E6%9E%B6%E6%9E%84)
91
- - [React 开发](https://cell.cellbang.com/dev/react)
92
- - [前后端一体化开发](https://cell.cellbang.com/dev/%E5%89%8D%E5%90%8E%E7%AB%AF%E4%B8%80%E4%BD%93%E5%8C%96%E5%BC%80%E5%8F%91)
@@ -10,16 +10,19 @@
10
10
  "strictNullChecks": true,
11
11
  "experimentalDecorators": true,
12
12
  "emitDecoratorMetadata": true,
13
- "downlevelIteration": true,
14
- "module": "commonjs",
15
- "moduleResolution": "node",
13
+ "module": "node16",
14
+ "moduleResolution": "node16",
16
15
  "target": "ES2017",
17
16
  "lib": [
18
17
  "ES2017"
19
18
  ],
20
19
  "sourceMap": true,
21
20
  "rootDir": "src",
22
- "outDir": "lib"
21
+ "outDir": "lib",
22
+ "strict": false,
23
+ "types": [
24
+ "node"
25
+ ]
23
26
  },
24
27
  "include": [
25
28
  "src"
@@ -74,19 +74,3 @@ cell deploy
74
74
  ```
75
75
 
76
76
  [![Quick Start](https://asciinema.org/a/474104.svg)](https://asciinema.org/a/474104?speed=2.5&autoplay=1)
77
-
78
- ### 文档
79
-
80
- - [介绍](https://cell.cellbang.com/guide/%E4%BB%8B%E7%BB%8D)
81
- - [创建第一个应用](https://cell.cellbang.com/guide/%E5%88%9B%E5%BB%BA%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8)
82
- - [命令行工具](https://cell.cellbang.com/guide/%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7)
83
- - [控制器](https://cell.cellbang.com/guide/%E6%8E%A7%E5%88%B6%E5%99%A8)
84
- - [数据库操作](https://cell.cellbang.com/guide/%E6%95%B0%E6%8D%AE%E5%BA%93typeorm)
85
- - [微服务](https://cell.cellbang.com/dev/%E5%BE%AE%E6%9C%8D%E5%8A%A1)
86
- - [认证与授权](https://cell.cellbang.com/guide/%E8%AE%A4%E8%AF%81%E4%B8%8E%E6%8E%88%E6%9D%83)
87
- - [云平台适配](https://cell.cellbang.com/cloud/%E4%BA%91%E5%B9%B3%E5%8F%B0%E9%80%82%E9%85%8D)
88
- - [依赖注入](https://cell.cellbang.com/guide/%E4%BE%9D%E8%B5%96%E6%B3%A8%E5%85%A5)
89
- - [组件设计](https://cell.cellbang.com/guide/%E7%BB%84%E4%BB%B6%E8%AE%BE%E8%AE%A1)
90
- - [前端架构](https://cell.cellbang.com/guide/%E5%89%8D%E7%AB%AF%E6%9E%B6%E6%9E%84)
91
- - [React 开发](https://cell.cellbang.com/dev/react)
92
- - [前后端一体化开发](https://cell.cellbang.com/dev/%E5%89%8D%E5%90%8E%E7%AB%AF%E4%B8%80%E4%BD%93%E5%8C%96%E5%BC%80%E5%8F%91)
@@ -10,16 +10,19 @@
10
10
  "strictNullChecks": true,
11
11
  "experimentalDecorators": true,
12
12
  "emitDecoratorMetadata": true,
13
- "downlevelIteration": true,
14
- "module": "commonjs",
15
- "moduleResolution": "node",
13
+ "module": "node16",
14
+ "moduleResolution": "node16",
16
15
  "target": "ES2017",
17
16
  "lib": [
18
17
  "ES2017"
19
18
  ],
20
19
  "sourceMap": true,
21
20
  "rootDir": "src",
22
- "outDir": "lib"
21
+ "outDir": "lib",
22
+ "strict": false,
23
+ "types": [
24
+ "node"
25
+ ]
23
26
  },
24
27
  "include": [
25
28
  "src"
@@ -74,19 +74,3 @@ cell deploy
74
74
  ```
75
75
 
76
76
  [![Quick Start](https://asciinema.org/a/474104.svg)](https://asciinema.org/a/474104?speed=2.5&autoplay=1)
77
-
78
- ### 文档
79
-
80
- - [介绍](https://cell.cellbang.com/guide/%E4%BB%8B%E7%BB%8D)
81
- - [创建第一个应用](https://cell.cellbang.com/guide/%E5%88%9B%E5%BB%BA%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8)
82
- - [命令行工具](https://cell.cellbang.com/guide/%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7)
83
- - [控制器](https://cell.cellbang.com/guide/%E6%8E%A7%E5%88%B6%E5%99%A8)
84
- - [数据库操作](https://cell.cellbang.com/guide/%E6%95%B0%E6%8D%AE%E5%BA%93typeorm)
85
- - [微服务](https://cell.cellbang.com/dev/%E5%BE%AE%E6%9C%8D%E5%8A%A1)
86
- - [认证与授权](https://cell.cellbang.com/guide/%E8%AE%A4%E8%AF%81%E4%B8%8E%E6%8E%88%E6%9D%83)
87
- - [云平台适配](https://cell.cellbang.com/cloud/%E4%BA%91%E5%B9%B3%E5%8F%B0%E9%80%82%E9%85%8D)
88
- - [依赖注入](https://cell.cellbang.com/guide/%E4%BE%9D%E8%B5%96%E6%B3%A8%E5%85%A5)
89
- - [组件设计](https://cell.cellbang.com/guide/%E7%BB%84%E4%BB%B6%E8%AE%BE%E8%AE%A1)
90
- - [前端架构](https://cell.cellbang.com/guide/%E5%89%8D%E7%AB%AF%E6%9E%B6%E6%9E%84)
91
- - [React 开发](https://cell.cellbang.com/dev/react)
92
- - [前后端一体化开发](https://cell.cellbang.com/dev/%E5%89%8D%E5%90%8E%E7%AB%AF%E4%B8%80%E4%BD%93%E5%8C%96%E5%BC%80%E5%8F%91)
@@ -10,16 +10,19 @@
10
10
  "strictNullChecks": true,
11
11
  "experimentalDecorators": true,
12
12
  "emitDecoratorMetadata": true,
13
- "downlevelIteration": true,
14
- "module": "commonjs",
15
- "moduleResolution": "node",
13
+ "module": "node16",
14
+ "moduleResolution": "node16",
16
15
  "target": "ES2017",
17
16
  "lib": [
18
17
  "ES2017"
19
18
  ],
20
19
  "sourceMap": true,
21
20
  "rootDir": "src",
22
- "outDir": "lib"
21
+ "outDir": "lib",
22
+ "strict": false,
23
+ "types": [
24
+ "node"
25
+ ]
23
26
  },
24
27
  "include": [
25
28
  "src"
@@ -10,9 +10,8 @@
10
10
  "strictNullChecks": true,
11
11
  "experimentalDecorators": true,
12
12
  "emitDecoratorMetadata": true,
13
- "downlevelIteration": true,
14
- "module": "commonjs",
15
- "moduleResolution": "node",
13
+ "module": "node16",
14
+ "moduleResolution": "node16",
16
15
  "jsx": "react",
17
16
  "target": "ES2017",
18
17
  "lib": [
@@ -21,7 +20,11 @@
21
20
  ],
22
21
  "sourceMap": true,
23
22
  "rootDir": "src",
24
- "outDir": "lib"
23
+ "outDir": "lib",
24
+ "strict": false,
25
+ "types": [
26
+ "node"
27
+ ]
25
28
  },
26
29
  "include": [
27
30
  "src"
@@ -25,7 +25,7 @@
25
25
  "typescript": "~5.4.5"
26
26
  },
27
27
  "scripts": {
28
- "prepare": "yarn run clean & yarn run build",
28
+ "prepare": "npm run clean && npm run build",
29
29
  "clean": "rimraf lib",
30
30
  "build": "tsc",
31
31
  "watch": "tsc -w"
@@ -10,9 +10,8 @@
10
10
  "strictNullChecks": true,
11
11
  "experimentalDecorators": true,
12
12
  "emitDecoratorMetadata": true,
13
- "downlevelIteration": true,
14
- "module": "commonjs",
15
- "moduleResolution": "node",
13
+ "module": "node16",
14
+ "moduleResolution": "node16",
16
15
  "jsx": "react",
17
16
  "target": "ES2017",
18
17
  "lib": [
@@ -21,7 +20,11 @@
21
20
  ],
22
21
  "sourceMap": true,
23
22
  "rootDir": "src",
24
- "outDir": "lib"
23
+ "outDir": "lib",
24
+ "strict": false,
25
+ "types": [
26
+ "node"
27
+ ]
25
28
  },
26
29
  "include": [
27
30
  "src"
@@ -1,6 +1,6 @@
1
1
  import { Test, TestingModule } from '@nestjs/testing';
2
2
  import { INestApplication } from '@nestjs/common';
3
- import * as request from 'supertest';
3
+ import request from 'supertest';
4
4
  import { AppModule } from '../src/app.module';
5
5
 
6
6
  describe('AppController (e2e)', () => {
@@ -1,4 +1,12 @@
1
1
  {
2
2
  "extends": "./tsconfig.json",
3
- "exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
3
+ "exclude": [
4
+ "node_modules",
5
+ "test",
6
+ "dist",
7
+ "**/*spec.ts"
8
+ ],
9
+ "compilerOptions": {
10
+ "strict": false
11
+ }
4
12
  }
@@ -9,13 +9,17 @@
9
9
  "target": "ES2021",
10
10
  "sourceMap": true,
11
11
  "outDir": "./dist",
12
- "baseUrl": "./",
13
12
  "incremental": true,
14
13
  "skipLibCheck": true,
15
14
  "strictNullChecks": false,
16
15
  "noImplicitAny": false,
17
16
  "strictBindCallApply": false,
18
17
  "forceConsistentCasingInFileNames": false,
19
- "noFallthroughCasesInSwitch": false
18
+ "noFallthroughCasesInSwitch": false,
19
+ "strict": false,
20
+ "types": [
21
+ "node",
22
+ "jest"
23
+ ]
20
24
  }
21
- }
25
+ }
@@ -74,19 +74,3 @@ cell deploy
74
74
  ```
75
75
 
76
76
  [![Quick Start](https://asciinema.org/a/474104.svg)](https://asciinema.org/a/474104?speed=2.5&autoplay=1)
77
-
78
- ### 文档
79
-
80
- - [介绍](https://cell.cellbang.com/guide/%E4%BB%8B%E7%BB%8D)
81
- - [创建第一个应用](https://cell.cellbang.com/guide/%E5%88%9B%E5%BB%BA%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8)
82
- - [命令行工具](https://cell.cellbang.com/guide/%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7)
83
- - [控制器](https://cell.cellbang.com/guide/%E6%8E%A7%E5%88%B6%E5%99%A8)
84
- - [数据库操作](https://cell.cellbang.com/guide/%E6%95%B0%E6%8D%AE%E5%BA%93typeorm)
85
- - [微服务](https://cell.cellbang.com/dev/%E5%BE%AE%E6%9C%8D%E5%8A%A1)
86
- - [认证与授权](https://cell.cellbang.com/guide/%E8%AE%A4%E8%AF%81%E4%B8%8E%E6%8E%88%E6%9D%83)
87
- - [云平台适配](https://cell.cellbang.com/cloud/%E4%BA%91%E5%B9%B3%E5%8F%B0%E9%80%82%E9%85%8D)
88
- - [依赖注入](https://cell.cellbang.com/guide/%E4%BE%9D%E8%B5%96%E6%B3%A8%E5%85%A5)
89
- - [组件设计](https://cell.cellbang.com/guide/%E7%BB%84%E4%BB%B6%E8%AE%BE%E8%AE%A1)
90
- - [前端架构](https://cell.cellbang.com/guide/%E5%89%8D%E7%AB%AF%E6%9E%B6%E6%9E%84)
91
- - [React 开发](https://cell.cellbang.com/dev/react)
92
- - [前后端一体化开发](https://cell.cellbang.com/dev/%E5%89%8D%E5%90%8E%E7%AB%AF%E4%B8%80%E4%BD%93%E5%8C%96%E5%BC%80%E5%8F%91)
@@ -20,7 +20,7 @@ const Hello = () => {
20
20
  <h1>{response}</h1>
21
21
  <p>
22
22
  For a guide and recipes on how to configure / customize this project,<br />
23
- check out the <a href="https://cell.cellbang.com/" target="_blank" rel="noopener">cell documentation</a>.
23
+ check out the <a href="https://github.com/cellbang/cell" target="_blank" rel="noopener">Cell repository</a>.
24
24
  </p>
25
25
  </div>
26
26
  </div>
@@ -10,9 +10,8 @@
10
10
  "strictNullChecks": true,
11
11
  "experimentalDecorators": true,
12
12
  "emitDecoratorMetadata": true,
13
- "downlevelIteration": true,
14
- "module": "commonjs",
15
- "moduleResolution": "node",
13
+ "module": "node16",
14
+ "moduleResolution": "node16",
16
15
  "jsx": "react",
17
16
  "target": "ES2017",
18
17
  "lib": [
@@ -21,7 +20,11 @@
21
20
  ],
22
21
  "sourceMap": true,
23
22
  "rootDir": "src",
24
- "outDir": "lib"
23
+ "outDir": "lib",
24
+ "strict": false,
25
+ "types": [
26
+ "node"
27
+ ]
25
28
  },
26
29
  "include": [
27
30
  "src"
@@ -74,19 +74,3 @@ cell deploy
74
74
  ```
75
75
 
76
76
  [![Quick Start](https://asciinema.org/a/474104.svg)](https://asciinema.org/a/474104?speed=2.5&autoplay=1)
77
-
78
- ### 文档
79
-
80
- - [介绍](https://cell.cellbang.com/guide/%E4%BB%8B%E7%BB%8D)
81
- - [创建第一个应用](https://cell.cellbang.com/guide/%E5%88%9B%E5%BB%BA%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8)
82
- - [命令行工具](https://cell.cellbang.com/guide/%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7)
83
- - [控制器](https://cell.cellbang.com/guide/%E6%8E%A7%E5%88%B6%E5%99%A8)
84
- - [数据库操作](https://cell.cellbang.com/guide/%E6%95%B0%E6%8D%AE%E5%BA%93typeorm)
85
- - [微服务](https://cell.cellbang.com/dev/%E5%BE%AE%E6%9C%8D%E5%8A%A1)
86
- - [认证与授权](https://cell.cellbang.com/guide/%E8%AE%A4%E8%AF%81%E4%B8%8E%E6%8E%88%E6%9D%83)
87
- - [云平台适配](https://cell.cellbang.com/cloud/%E4%BA%91%E5%B9%B3%E5%8F%B0%E9%80%82%E9%85%8D)
88
- - [依赖注入](https://cell.cellbang.com/guide/%E4%BE%9D%E8%B5%96%E6%B3%A8%E5%85%A5)
89
- - [组件设计](https://cell.cellbang.com/guide/%E7%BB%84%E4%BB%B6%E8%AE%BE%E8%AE%A1)
90
- - [前端架构](https://cell.cellbang.com/guide/%E5%89%8D%E7%AB%AF%E6%9E%B6%E6%9E%84)
91
- - [React 开发](https://cell.cellbang.com/dev/react)
92
- - [前后端一体化开发](https://cell.cellbang.com/dev/%E5%89%8D%E5%90%8E%E7%AB%AF%E4%B8%80%E4%BD%93%E5%8C%96%E5%BC%80%E5%8F%91)
@@ -10,9 +10,8 @@
10
10
  "strictNullChecks": true,
11
11
  "experimentalDecorators": true,
12
12
  "emitDecoratorMetadata": true,
13
- "downlevelIteration": true,
14
- "module": "commonjs",
15
- "moduleResolution": "node",
13
+ "module": "node16",
14
+ "moduleResolution": "node16",
16
15
  "jsx": "react",
17
16
  "target": "ES2017",
18
17
  "lib": [
@@ -21,7 +20,11 @@
21
20
  ],
22
21
  "sourceMap": true,
23
22
  "rootDir": "src",
24
- "outDir": "lib"
23
+ "outDir": "lib",
24
+ "strict": false,
25
+ "types": [
26
+ "node"
27
+ ]
25
28
  },
26
29
  "include": [
27
30
  "src"
@@ -10,16 +10,19 @@
10
10
  "strictNullChecks": true,
11
11
  "experimentalDecorators": true,
12
12
  "emitDecoratorMetadata": true,
13
- "downlevelIteration": true,
14
- "module": "commonjs",
15
- "moduleResolution": "node",
13
+ "module": "node16",
14
+ "moduleResolution": "node16",
16
15
  "target": "ES2017",
17
16
  "lib": [
18
17
  "ES2017"
19
18
  ],
20
19
  "sourceMap": true,
21
20
  "rootDir": "src",
22
- "outDir": "dist"
21
+ "outDir": "dist",
22
+ "strict": false,
23
+ "types": [
24
+ "node"
25
+ ]
23
26
  },
24
27
  "include": [
25
28
  "src"
@@ -74,19 +74,3 @@ cell deploy
74
74
  ```
75
75
 
76
76
  [![Quick Start](https://asciinema.org/a/474104.svg)](https://asciinema.org/a/474104?speed=2.5&autoplay=1)
77
-
78
- ### 文档
79
-
80
- - [介绍](https://cell.cellbang.com/guide/%E4%BB%8B%E7%BB%8D)
81
- - [创建第一个应用](https://cell.cellbang.com/guide/%E5%88%9B%E5%BB%BA%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8)
82
- - [命令行工具](https://cell.cellbang.com/guide/%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7)
83
- - [控制器](https://cell.cellbang.com/guide/%E6%8E%A7%E5%88%B6%E5%99%A8)
84
- - [数据库操作](https://cell.cellbang.com/guide/%E6%95%B0%E6%8D%AE%E5%BA%93typeorm)
85
- - [微服务](https://cell.cellbang.com/dev/%E5%BE%AE%E6%9C%8D%E5%8A%A1)
86
- - [认证与授权](https://cell.cellbang.com/guide/%E8%AE%A4%E8%AF%81%E4%B8%8E%E6%8E%88%E6%9D%83)
87
- - [云平台适配](https://cell.cellbang.com/cloud/%E4%BA%91%E5%B9%B3%E5%8F%B0%E9%80%82%E9%85%8D)
88
- - [依赖注入](https://cell.cellbang.com/guide/%E4%BE%9D%E8%B5%96%E6%B3%A8%E5%85%A5)
89
- - [组件设计](https://cell.cellbang.com/guide/%E7%BB%84%E4%BB%B6%E8%AE%BE%E8%AE%A1)
90
- - [前端架构](https://cell.cellbang.com/guide/%E5%89%8D%E7%AB%AF%E6%9E%B6%E6%9E%84)
91
- - [React 开发](https://cell.cellbang.com/dev/react)
92
- - [前后端一体化开发](https://cell.cellbang.com/dev/%E5%89%8D%E5%90%8E%E7%AB%AF%E4%B8%80%E4%BD%93%E5%8C%96%E5%BC%80%E5%8F%91)
@@ -5,10 +5,10 @@
5
5
  For a guide and recipes on how to configure / customize this project,<br />
6
6
  check out the
7
7
  <a
8
- href="https://cell.cellbang.com/"
8
+ href="https://github.com/cellbang/cell"
9
9
  target="_blank"
10
10
  rel="noopener"
11
- >cell documentation</a
11
+ >Cell repository</a
12
12
  >.
13
13
  </p>
14
14
  </div>
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "esnext",
4
- "module": "commonjs",
4
+ "module": "node16",
5
5
  "strict": true,
6
6
  "jsx": "preserve",
7
- "moduleResolution": "node",
7
+ "moduleResolution": "node16",
8
8
  "skipLibCheck": true,
9
9
  "declaration": true,
10
10
  "declarationMap": true,
@@ -15,14 +15,16 @@
15
15
  "strictNullChecks": true,
16
16
  "experimentalDecorators": true,
17
17
  "emitDecoratorMetadata": true,
18
- "downlevelIteration": true,
19
18
  "lib": [
20
19
  "ES2017",
21
20
  "dom"
22
21
  ],
23
22
  "sourceMap": true,
24
23
  "rootDir": "src",
25
- "outDir": "lib"
24
+ "outDir": "lib",
25
+ "types": [
26
+ "node"
27
+ ]
26
28
  },
27
29
  "include": [
28
30
  "src"
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Cellbang
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,10 +0,0 @@
1
- /** @type {import('eslint').Linter.Config} */
2
- module.exports = {
3
- extends: [
4
- require.resolve('@celljs/style-guide/eslint/build')
5
- ],
6
- parserOptions: {
7
- tsconfigRootDir: __dirname,
8
- project: 'tsconfig.json'
9
- }
10
- };
@@ -1,19 +0,0 @@
1
- {
2
- "lerna": "2.2.0",
3
- "npmClient": "yarn",
4
- "useWorkspaces": true,
5
- "version": "0.0.1",
6
- "packages": [
7
- "packages/*"
8
- ],
9
- "command": {
10
- "run": {
11
- "stream": true
12
- },
13
- "publish": {
14
- "forcePublish": true,
15
- "skipGit": true,
16
- "registry": "https://registry.npmjs.org/"
17
- }
18
- }
19
- }
@@ -1,12 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- insert_final_newline = true
5
- end_of_line = lf
6
- indent_style = space
7
-
8
- [*.{js,ts,md}]
9
- indent_size = 4
10
-
11
- [*.{json,yml}]
12
- indent_size = 2
@@ -1,18 +0,0 @@
1
- /** @type {import('eslint').Linter.Config} */
2
- module.exports = {
3
- root: true,
4
- extends: [
5
- require.resolve('@celljs/component/configs/base.eslintrc.json'),
6
- require.resolve('@celljs/component/configs/warnings.eslintrc.json'),
7
- require.resolve('@celljs/component/configs/errors.eslintrc.json'),
8
- require.resolve('@celljs/component/configs/xss.eslintrc.json')
9
- ],
10
- ignorePatterns: [
11
- '**/{node_modules,lib}',
12
- 'plugins'
13
- ],
14
- parserOptions: {
15
- tsconfigRootDir: __dirname,
16
- project: 'tsconfig.json'
17
- }
18
- };
@@ -1 +0,0 @@
1
- unsafe-disable-integrity-migration true
@@ -1,5 +0,0 @@
1
- # Change
2
-
3
- ## 0.0.1
4
-
5
- - feat(xxx) xxxxx
File without changes
File without changes
@@ -1,33 +0,0 @@
1
- {
2
- "private": true,
3
- "name": "@app/sample-app",
4
- "keywords": [
5
- "cell-component"
6
- ],
7
- "version": "0.0.0",
8
- "license": "MIT",
9
- "files": [
10
- "lib",
11
- "src"
12
- ],
13
- "dependencies": {
14
- "@celljs/core": "2.42.0",
15
- "@celljs/react": "2.42.0",
16
- "@celljs/rpc": "2.42.0",
17
- "@celljs/serve-static": "2.42.0",
18
- "react": "^18.2.0",
19
- "@app/core": "0.0.0"
20
- },
21
- "devDependencies": {
22
- "@celljs/cli": "2.42.0"
23
- },
24
- "scripts": {
25
- "clean": "rimraf lib dist .cell",
26
- "build": "cell build",
27
- "start": "cell serve",
28
- "deploy": "cell deploy -m scf -m test",
29
- "deploy:test": "cell deploy -m scf -m test",
30
- "deploy:pre": "cell deploy -m scf -m pre",
31
- "deploy:prod": "cell deploy -m scf -m prod"
32
- }
33
- }
@@ -1,30 +0,0 @@
1
- declare module '*.css' {
2
- const styles: {
3
- [key: string]: string
4
- }
5
- export default styles
6
- }
7
- declare module '*.scss' {
8
- const styles: {
9
- [key: string]: string
10
- }
11
- export default styles
12
- }
13
- declare module '*.sass' {
14
- const styles: {
15
- [key: string]: string
16
- }
17
- export default styles
18
- }
19
- declare module '*.less' {
20
- const styles: {
21
- [key: string]: string
22
- }
23
- export default styles
24
- }
25
- declare module '*.styl' {
26
- const styles: {
27
- [key: string]: string
28
- }
29
- export default styles
30
- }