ceph-link 1.0.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.
- package/README.md +98 -0
- package/package.json +114 -0
package/README.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
|
|
6
|
+
[circleci-url]: https://circleci.com/gh/nestjs/nest
|
|
7
|
+
|
|
8
|
+
<p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
|
|
9
|
+
<p align="center">
|
|
10
|
+
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
|
|
11
|
+
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
|
|
12
|
+
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
|
|
13
|
+
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
|
|
14
|
+
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
|
|
15
|
+
<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
|
|
16
|
+
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
|
|
17
|
+
<a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg" alt="Donate us"/></a>
|
|
18
|
+
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a>
|
|
19
|
+
<a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow" alt="Follow us on Twitter"></a>
|
|
20
|
+
</p>
|
|
21
|
+
<!--[](https://opencollective.com/nest#backer)
|
|
22
|
+
[](https://opencollective.com/nest#sponsor)-->
|
|
23
|
+
|
|
24
|
+
## Description
|
|
25
|
+
|
|
26
|
+
[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
|
|
27
|
+
|
|
28
|
+
## Project setup
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
$ npm install
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Compile and run the project
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# development
|
|
38
|
+
$ npm run start
|
|
39
|
+
|
|
40
|
+
# watch mode
|
|
41
|
+
$ npm run start:dev
|
|
42
|
+
|
|
43
|
+
# production mode
|
|
44
|
+
$ npm run start:prod
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Run tests
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# unit tests
|
|
51
|
+
$ npm run test
|
|
52
|
+
|
|
53
|
+
# e2e tests
|
|
54
|
+
$ npm run test:e2e
|
|
55
|
+
|
|
56
|
+
# test coverage
|
|
57
|
+
$ npm run test:cov
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Deployment
|
|
61
|
+
|
|
62
|
+
When you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the [deployment documentation](https://docs.nestjs.com/deployment) for more information.
|
|
63
|
+
|
|
64
|
+
If you are looking for a cloud-based platform to deploy your NestJS application, check out [Mau](https://mau.nestjs.com), our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
$ npm install -g @nestjs/mau
|
|
68
|
+
$ mau deploy
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.
|
|
72
|
+
|
|
73
|
+
## Resources
|
|
74
|
+
|
|
75
|
+
Check out a few resources that may come in handy when working with NestJS:
|
|
76
|
+
|
|
77
|
+
- Visit the [NestJS Documentation](https://docs.nestjs.com) to learn more about the framework.
|
|
78
|
+
- For questions and support, please visit our [Discord channel](https://discord.gg/G7Qnnhy).
|
|
79
|
+
- To dive deeper and get more hands-on experience, check out our official video [courses](https://courses.nestjs.com/).
|
|
80
|
+
- Deploy your application to AWS with the help of [NestJS Mau](https://mau.nestjs.com) in just a few clicks.
|
|
81
|
+
- Visualize your application graph and interact with the NestJS application in real-time using [NestJS Devtools](https://devtools.nestjs.com).
|
|
82
|
+
- Need help with your project (part-time to full-time)? Check out our official [enterprise support](https://enterprise.nestjs.com).
|
|
83
|
+
- To stay in the loop and get updates, follow us on [X](https://x.com/nestframework) and [LinkedIn](https://linkedin.com/company/nestjs).
|
|
84
|
+
- Looking for a job, or have a job to offer? Check out our official [Jobs board](https://jobs.nestjs.com).
|
|
85
|
+
|
|
86
|
+
## Support
|
|
87
|
+
|
|
88
|
+
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
|
|
89
|
+
|
|
90
|
+
## Stay in touch
|
|
91
|
+
|
|
92
|
+
- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
|
|
93
|
+
- Website - [https://nestjs.com](https://nestjs.com/)
|
|
94
|
+
- Twitter - [@nestframework](https://twitter.com/nestframework)
|
|
95
|
+
|
|
96
|
+
## License
|
|
97
|
+
|
|
98
|
+
Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).
|
package/package.json
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ceph-link",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "Enterprise-grade NestJS SDK for Ceph S3",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Mrabti Adil",
|
|
8
|
+
"email": "adil@winu.fr"
|
|
9
|
+
},
|
|
10
|
+
"main": "dist/index.js",
|
|
11
|
+
"types": "dist/index.d.ts",
|
|
12
|
+
"module": "dist/index.js",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./dist/*": "./dist/*"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist/**/*",
|
|
23
|
+
"README.md",
|
|
24
|
+
"LICENSE",
|
|
25
|
+
"CHANGELOG.md"
|
|
26
|
+
],
|
|
27
|
+
"license": "UNLICENSED",
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "nest build",
|
|
30
|
+
"build:prod": "nest build --webpack",
|
|
31
|
+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
32
|
+
"clean": "nest clean",
|
|
33
|
+
"start": "nest start",
|
|
34
|
+
"start:dev": "nest start --watch",
|
|
35
|
+
"start:debug": "nest start --debug --watch",
|
|
36
|
+
"start:prod": "node dist/main",
|
|
37
|
+
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
38
|
+
"test": "jest",
|
|
39
|
+
"test:watch": "jest --watch",
|
|
40
|
+
"test:cov": "jest --coverage",
|
|
41
|
+
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
42
|
+
"test:e2e": "jest --config ./test/jest-e2e.json",
|
|
43
|
+
"test:coverage": "jest --coverage",
|
|
44
|
+
"test:integration": "jest --testPathPattern=integration",
|
|
45
|
+
"test:performance": "jest --testPathPattern=performance --timeout=300000",
|
|
46
|
+
"test:manual": "ts-node test/manual/manual-test.ts",
|
|
47
|
+
"validate:connection": "ts-node test/validate-connection.ts",
|
|
48
|
+
"test:all": "npm run validate:connection && npm run test && npm run test:integration",
|
|
49
|
+
"prepublishOnly": "npm run build",
|
|
50
|
+
"prepare": "npm run build",
|
|
51
|
+
"release": "npm run build && npm publish",
|
|
52
|
+
"docs:generate": "typedoc --out docs src",
|
|
53
|
+
"example:standalone": "ts-node examples/standalone-example.ts",
|
|
54
|
+
"example:nestjs": "ts-node examples/nestjs-example.ts"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@nestjs/common": "^11.1.5",
|
|
58
|
+
"@nestjs/config": "^4.0.2",
|
|
59
|
+
"@nestjs/core": "^11.1.5",
|
|
60
|
+
"@nestjs/platform-express": "^11.0.1",
|
|
61
|
+
"aws-sdk": "^2.1692.0",
|
|
62
|
+
"class-validator": "^0.14.2",
|
|
63
|
+
"reflect-metadata": "^0.2.2",
|
|
64
|
+
"rxjs": "^7.8.2"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
68
|
+
"@eslint/js": "^9.18.0",
|
|
69
|
+
"@nestjs/cli": "^11.0.0",
|
|
70
|
+
"@nestjs/schematics": "^11.0.0",
|
|
71
|
+
"@nestjs/testing": "^11.1.5",
|
|
72
|
+
"@swc/cli": "^0.6.0",
|
|
73
|
+
"@swc/core": "^1.10.7",
|
|
74
|
+
"@types/express": "^5.0.0",
|
|
75
|
+
"@types/jest": "^29.5.14",
|
|
76
|
+
"@types/node": "^22.16.5",
|
|
77
|
+
"@types/supertest": "^6.0.2",
|
|
78
|
+
"eslint": "^9.18.0",
|
|
79
|
+
"eslint-config-prettier": "^10.0.1",
|
|
80
|
+
"eslint-plugin-prettier": "^5.2.2",
|
|
81
|
+
"globals": "^16.0.0",
|
|
82
|
+
"jest": "^29.7.0",
|
|
83
|
+
"prettier": "^3.4.2",
|
|
84
|
+
"source-map-support": "^0.5.21",
|
|
85
|
+
"supertest": "^7.0.0",
|
|
86
|
+
"ts-jest": "^29.2.5",
|
|
87
|
+
"ts-loader": "^9.5.2",
|
|
88
|
+
"ts-node": "^10.9.2",
|
|
89
|
+
"tsconfig-paths": "^4.2.0",
|
|
90
|
+
"typescript": "^5.8.3",
|
|
91
|
+
"typescript-eslint": "^8.20.0"
|
|
92
|
+
},
|
|
93
|
+
"jest": {
|
|
94
|
+
"moduleFileExtensions": [
|
|
95
|
+
"js",
|
|
96
|
+
"json",
|
|
97
|
+
"ts"
|
|
98
|
+
],
|
|
99
|
+
"rootDir": "src",
|
|
100
|
+
"testRegex": ".*\\.spec\\.ts$",
|
|
101
|
+
"transform": {
|
|
102
|
+
"^.+\\.(t|j)s$": "ts-jest"
|
|
103
|
+
},
|
|
104
|
+
"collectCoverageFrom": [
|
|
105
|
+
"**/*.(t|j)s"
|
|
106
|
+
],
|
|
107
|
+
"coverageDirectory": "../coverage",
|
|
108
|
+
"testEnvironment": "node"
|
|
109
|
+
},
|
|
110
|
+
"engines": {
|
|
111
|
+
"node": ">=22.0.0",
|
|
112
|
+
"npm": ">=10.0.0"
|
|
113
|
+
}
|
|
114
|
+
}
|