Skip to content

Commit 3dc7e65

Browse files
authored
Merge pull request #162 from devsapp/refactor/cleanup-tests-docs
refactor: clean dead code, add high-value tests, streamline docs
2 parents e22227e + ea5ade6 commit 3dc7e65

46 files changed

Lines changed: 4419 additions & 1667 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CLAUDE.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,20 @@ FC3 is the Serverless Devs component for Alibaba Cloud Function Compute 3.0, pro
1010

1111
## Available Scripts
1212

13-
| Script | Description |
14-
| ------------------------- | -------------------------- |
15-
| `npm run build` | Production bundle with ncc |
16-
| `npm run watch` | TypeScript watch mode |
17-
| `npm test` | Jest tests with coverage |
18-
| `npm run format` | Prettier formatting |
19-
| `npm run lint` | f2elint scanning |
20-
| `npm run fix` | Auto-fix lint issues |
21-
| `npm run publish` | Build and registry publish |
22-
| `npm run generate-schema` | Generate JSON schema |
13+
| Script | Description |
14+
| ------------------------- | ------------------------------------------- |
15+
| `npm run build` | Production bundle with ncc |
16+
| `npm run watch` | TypeScript watch mode |
17+
| `npm test` | Unit tests with coverage (no credentials) |
18+
| `npm run test:it` | Integration tests (needs cloud credentials) |
19+
| `npm run typecheck` | Type-check without emitting |
20+
| `npm run deadcode` | Audit unused exports (ts-prune) |
21+
| `npm run depcheck` | Audit unused dependencies |
22+
| `npm run format` | Prettier formatting |
23+
| `npm run lint` | f2elint scanning |
24+
| `npm run fix` | Auto-fix lint issues |
25+
| `npm run publish` | Build and registry publish |
26+
| `npm run generate-schema` | Generate JSON schema |
2327

2428
## Key Directories
2529

CONTRIBUTING.md

Lines changed: 0 additions & 183 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center" class="flex justify-center">
22
<a href="https://nodejs.org/en/" class="ml-1" target="_blank">
3-
<img src="https://img.shields.io/badge/node-%3E%3D%2014.14.0-brightgreen" alt="node.js version">
3+
<img src="https://img.shields.io/badge/node-%3E%3D%2016-brightgreen" alt="node.js version">
44
</a>
55
<a href="https://github.com/devsapp/fc3/blob/master/LICENSE" class="ml-1" target="_blank">
66
<img src="https://img.shields.io/badge/License-MIT-green" alt="license">
@@ -57,7 +57,7 @@
5757

5858
# 项目贡献
5959

60-
我们非常希望您可以和我们一起贡献这个项目。贡献内容包括不限于代码的维护、应用/组件的贡献、文档的完善等,更多详情可以参考[🏆 贡献指南](./CONTRIBUTING.md)
60+
我们非常希望您可以和我们一起贡献这个项目。贡献内容包括不限于代码的维护、应用/组件的贡献、文档的完善等,更多详情可以参考[🏆 贡献指南](./docs/CONTRIB.md)
6161

6262
与此同时,我们也非常感谢所有[👬 参与贡献的小伙伴](https://github.com/devsapp/fc3/graphs/contributors) ,为 Serverless Devs fc3 组件项目贡献的努力和汗水。
6363

0 commit comments

Comments
 (0)