Skip to content

Commit a8e449d

Browse files
committed
publish stable sdk
1 parent 932a383 commit a8e449d

File tree

4 files changed

+147
-1
lines changed

4 files changed

+147
-1
lines changed

packages/sdk/LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Mailrest - Libertech
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.

packages/sdk/README.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<p align="center">
2+
<a href="http://mailrest.github.io/" target="blank"><img src="../../public/logo.svg" width="200" alt="Mailrest Logo" /></a>
3+
</p>
4+
<p align="center">Mailrest SDK Package</p>
5+
<p align="center">
6+
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/libertech-fr/mailrest/total">
7+
<img alt="GitHub" src="https://img.shields.io/badge/license-MIT-green">
8+
<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/libertech-fr/mailrest">
9+
<a href="https://github.com/Libertech-Fr/mailrest/actions/workflows/release.yml?event=workflow_dispatch"><img alt="GitHub contributors" src="https://github.com/Libertech-Fr/teaket/actions/workflows/release.yml/badge.svg"></a>
10+
</p>
11+
<br>
12+
13+
# Mailrest - SDK Package
14+
## Getting started
15+
[WIP]
16+
## Support
17+
Mailrest 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. For personalized support, please contact **Libertech SARL**.
18+
## License
19+
Teaket is [MIT licensed](LICENSE).
20+
If you require a license specific to your needs, please contact **Libertech SARL**.

packages/sdk/package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@libertech-fr/mailrest-sdk",
3-
"version": "0.0.3",
3+
"version": "0.0.10",
44
"description": "SDK package for MailRest API",
55
"contributors": [
66
{
@@ -24,10 +24,12 @@
2424
"scripts": {
2525
"prebuild": "rimraf dist && npm run generate",
2626
"build": "tsc --build tsconfig.json",
27+
"postbuild": "cpr README.md dist/README.md && cpr LICENSE dist/LICENSE && cpr package.json dist/package.json",
2728
"generate": "openapi-typescript ./assets/swagger.json -o ./src/mailrest-api.ts"
2829
},
2930
"devDependencies": {
3031
"@types/node": "^18.0.0",
32+
"cpr": "^3.0.1",
3133
"openapi-typescript": "^6.7.0",
3234
"rimraf": "^5.0.5",
3335
"typescript": "^5.2.2"

packages/sdk/yarn.lock

+103
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ balanced-match@^1.0.0:
8787
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
8888
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
8989

90+
brace-expansion@^1.1.7:
91+
version "1.1.11"
92+
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
93+
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
94+
dependencies:
95+
balanced-match "^1.0.0"
96+
concat-map "0.0.1"
97+
9098
brace-expansion@^2.0.1:
9199
version "2.0.1"
92100
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae"
@@ -113,6 +121,21 @@ color-name@~1.1.4:
113121
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
114122
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
115123

124+
125+
version "0.0.1"
126+
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
127+
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
128+
129+
cpr@^3.0.1:
130+
version "3.0.1"
131+
resolved "https://registry.yarnpkg.com/cpr/-/cpr-3.0.1.tgz#b9a55038b7cd81a35c17b9761895bd8496aef1e5"
132+
integrity sha512-Xch4PXQ/KC8lJ+KfJ9JI6eG/nmppLrPPWg5Q+vh65Qr9EjuJEubxh/H/Le1TmCZ7+Xv7iJuNRqapyOFZB+wsxA==
133+
dependencies:
134+
graceful-fs "^4.1.5"
135+
minimist "^1.2.0"
136+
mkdirp "~0.5.1"
137+
rimraf "^2.5.4"
138+
116139
cross-spawn@^7.0.0:
117140
version "7.0.3"
118141
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
@@ -170,6 +193,11 @@ foreground-child@^3.1.0:
170193
cross-spawn "^7.0.0"
171194
signal-exit "^4.0.1"
172195

196+
fs.realpath@^1.0.0:
197+
version "1.0.0"
198+
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
199+
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
200+
173201
glob-parent@^5.1.2:
174202
version "5.1.2"
175203
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
@@ -188,6 +216,36 @@ glob@^10.3.7:
188216
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
189217
path-scurry "^1.10.1"
190218

219+
glob@^7.1.3:
220+
version "7.2.3"
221+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
222+
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
223+
dependencies:
224+
fs.realpath "^1.0.0"
225+
inflight "^1.0.4"
226+
inherits "2"
227+
minimatch "^3.1.1"
228+
once "^1.3.0"
229+
path-is-absolute "^1.0.0"
230+
231+
graceful-fs@^4.1.5:
232+
version "4.2.11"
233+
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
234+
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
235+
236+
inflight@^1.0.4:
237+
version "1.0.6"
238+
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
239+
integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==
240+
dependencies:
241+
once "^1.3.0"
242+
wrappy "1"
243+
244+
inherits@2:
245+
version "2.0.4"
246+
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
247+
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
248+
191249
is-extglob@^2.1.1:
192250
version "2.1.1"
193251
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
@@ -249,18 +307,44 @@ micromatch@^4.0.4:
249307
braces "^3.0.2"
250308
picomatch "^2.3.1"
251309

310+
minimatch@^3.1.1:
311+
version "3.1.2"
312+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
313+
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
314+
dependencies:
315+
brace-expansion "^1.1.7"
316+
252317
minimatch@^9.0.1:
253318
version "9.0.3"
254319
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825"
255320
integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==
256321
dependencies:
257322
brace-expansion "^2.0.1"
258323

324+
minimist@^1.2.0, minimist@^1.2.6:
325+
version "1.2.8"
326+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
327+
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
328+
259329
"minipass@^5.0.0 || ^6.0.2 || ^7.0.0":
260330
version "7.0.4"
261331
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c"
262332
integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==
263333

334+
mkdirp@~0.5.1:
335+
version "0.5.6"
336+
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6"
337+
integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==
338+
dependencies:
339+
minimist "^1.2.6"
340+
341+
once@^1.3.0:
342+
version "1.4.0"
343+
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
344+
integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
345+
dependencies:
346+
wrappy "1"
347+
264348
openapi-typescript@^6.7.0:
265349
version "6.7.0"
266350
resolved "https://registry.yarnpkg.com/openapi-typescript/-/openapi-typescript-6.7.0.tgz#6d1a4dfc0db60b61573a3ea3c52984a79c638c67"
@@ -273,6 +357,11 @@ openapi-typescript@^6.7.0:
273357
undici "^5.23.0"
274358
yargs-parser "^21.1.1"
275359

360+
path-is-absolute@^1.0.0:
361+
version "1.0.1"
362+
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
363+
integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==
364+
276365
path-key@^3.1.0:
277366
version "3.1.1"
278367
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
@@ -301,6 +390,13 @@ reusify@^1.0.4:
301390
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
302391
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
303392

393+
rimraf@^2.5.4:
394+
version "2.7.1"
395+
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
396+
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
397+
dependencies:
398+
glob "^7.1.3"
399+
304400
rimraf@^5.0.5:
305401
version "5.0.5"
306402
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.5.tgz#9be65d2d6e683447d2e9013da2bf451139a61ccf"
@@ -333,6 +429,7 @@ signal-exit@^4.0.1:
333429
integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==
334430

335431
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0:
432+
name string-width-cjs
336433
version "4.2.3"
337434
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
338435
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -351,6 +448,7 @@ string-width@^5.0.1, string-width@^5.1.2:
351448
strip-ansi "^7.0.1"
352449

353450
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
451+
name strip-ansi-cjs
354452
version "6.0.1"
355453
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
356454
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -413,6 +511,11 @@ wrap-ansi@^8.1.0:
413511
string-width "^5.0.1"
414512
strip-ansi "^7.0.1"
415513

514+
wrappy@1:
515+
version "1.0.2"
516+
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
517+
integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==
518+
416519
yargs-parser@^21.1.1:
417520
version "21.1.1"
418521
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35"

0 commit comments

Comments
 (0)