vovk-client 0.0.4-draft.9 → 0.0.4-draft.90
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/.eslintrc.js +6 -0
- package/LICENSE +1 -1
- package/README.md +21 -4
- package/index.cjs +3 -0
- package/index.d.cts +1 -0
- package/index.d.mts +1 -0
- package/index.mjs +1 -0
- package/package.json +18 -5
- package/schema.cjs +1 -0
- package/schema.d.cts +1 -0
- package/index.d.ts +0 -1
- package/index.js +0 -3
package/.eslintrc.js
ADDED
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source width="300" media="(prefers-color-scheme: dark)" srcset="https://vovk.dev/vovk-logo-white.svg">
|
|
4
|
+
<source width="300" media="(prefers-color-scheme: light)" srcset="https://vovk.dev/vovk-logo.svg">
|
|
5
|
+
<img width="300" alt="vovk" src="https://vovk.dev/vovk-logo.svg">
|
|
6
|
+
</picture><br>
|
|
7
|
+
<strong>RESTful + RPC = ♥️</strong>
|
|
8
|
+
</p>
|
|
2
9
|
|
|
3
|
-
|
|
10
|
+
<p align="center">
|
|
11
|
+
Back-end meta-framework for <a href="https://nextjs.org/docs/app">Next.js</a>
|
|
12
|
+
</p>
|
|
4
13
|
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## vovk-client [](https://www.npmjs.com/package/vovk-client)
|
|
17
|
+
|
|
18
|
+
The module that re-exports generated client from **node_modules/.vovk-client** (can be configured in [config](https://vovk.dev/config)).
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
npm install vovk-client
|
|
5
22
|
```
|
|
6
|
-
|
|
7
|
-
|
|
23
|
+
|
|
24
|
+
For more information, please visit the [getting started guide](https://vovk.dev/getting-started) or check out the [Vovk.ts examples](https://vovk-examples.vercel.app/).
|
package/index.cjs
ADDED
package/index.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../.vovk-client/index.d.cts';
|
package/index.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../.vovk-client/index.d.mts';
|
package/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../.vovk-client/index.mjs';
|
package/package.json
CHANGED
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vovk-client",
|
|
3
|
-
"version": "0.0.4-draft.
|
|
4
|
-
"description": "Vovk.ts
|
|
5
|
-
"main": "index.js",
|
|
3
|
+
"version": "0.0.4-draft.90",
|
|
4
|
+
"description": "Vovk.ts client",
|
|
6
5
|
"scripts": {
|
|
7
6
|
"npm-publish": "npm publish"
|
|
8
7
|
},
|
|
8
|
+
"main": "./index.cjs",
|
|
9
|
+
"module": "./index.mjs",
|
|
10
|
+
"types": "./index.d.mts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./index.mjs",
|
|
14
|
+
"require": "./index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./schema": {
|
|
17
|
+
"import": "./schema.cjs",
|
|
18
|
+
"require": "./schema.cjs",
|
|
19
|
+
"types": "./schema.d.cts"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"type": "module",
|
|
9
23
|
"repository": {
|
|
10
24
|
"type": "git",
|
|
11
25
|
"url": "git+https://github.com/finom/vovk.git"
|
|
@@ -13,9 +27,8 @@
|
|
|
13
27
|
"keywords": [
|
|
14
28
|
"Vovk"
|
|
15
29
|
],
|
|
16
|
-
"author": "
|
|
30
|
+
"author": "Andrey Gubanov",
|
|
17
31
|
"license": "MIT",
|
|
18
|
-
"types": "./index.d.ts",
|
|
19
32
|
"bugs": {
|
|
20
33
|
"url": "https://github.com/finom/vovk/issues"
|
|
21
34
|
},
|
package/schema.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports.schema = require('../.vovk-client/schema.cjs').schema ?? {};
|
package/schema.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { schema } from '../.vovk-client/schema.d.cts';
|
package/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '.vovk-client/client';
|
package/index.js
DELETED