vovk 1.0.8 → 1.0.9-beta.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 CHANGED
@@ -1,27 +1,10 @@
1
1
  <!--
2
2
  TODO
3
3
 
4
- Main:
5
- - README
6
- - Check process close code
7
-
8
- Docs
9
- - Customization page
10
- - Review all
11
-
12
- vovk.dev
13
- - Review & fix doc links
14
- - A note from the author?
15
- - README
16
-
17
- Examples:
18
- - Review README, page OG description
19
-
20
- vovk-client
21
- - README
22
-
23
- Misc
24
- - Update personal README
4
+ Main: README
5
+ Docs: Review all, Repo readme, Algolia
6
+ vovk.dev: Review & fix doc links, README
7
+ Misc: update personal README, update pinned repos, add project to opensource.gubanov
25
8
  -->
26
9
 
27
10
  <p align="center">
@@ -36,7 +19,7 @@ Misc
36
19
  <p align="center">
37
20
  <strong>REST for Next</strong>
38
21
  <br />
39
- Built on top of Next.js App Router
22
+ Vovk.ts is an extension over documented Next.js App API routes that enables you to create a REST API as easy as you can imagine.
40
23
  </p>
41
24
 
42
25
  <p align="center">
@@ -34,7 +34,7 @@ function parallel(commands, env) {
34
34
  processes = processes.filter((p) => p.name !== name);
35
35
 
36
36
  if (code !== 0) {
37
- processes.forEach((p) => p.name !== name && p.process.kill('SIGINT'));
37
+ processes.forEach((p) => p.name !== name && p.process.kill('SIGTERM'));
38
38
  processes = [];
39
39
  process.stdout.write('\n');
40
40
  return reject(new Error(`Process ${name} exited with code ${code}`));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vovk",
3
- "version": "1.0.8",
4
- "description": "Structural add-on for Next.js",
3
+ "version": "1.0.9-beta.0",
4
+ "description": "REST for Next",
5
5
  "bin": "./cli/index.js",
6
6
  "scripts": {
7
7
  "postinstall": "node ./cli/postinstall.js",
@@ -11,7 +11,6 @@
11
11
  "unit:watch": "PORT=3210 concurrently \"sleep 30 && npm run test:unit:watch\" \"npm run serve:unit\" --kill-others --success first",
12
12
  "test:unit": "jest",
13
13
  "test:unit:watch": "jest --watch",
14
- "deploy-docs": "npm run --prefix docs deploy",
15
14
  "postpublish": "node ../post-publish-test/post-publish.js",
16
15
  "serve:unit": "npm --prefix test run generate && npm --prefix test run build && npm --prefix test run start",
17
16
  "build": "rm -rf dist && npm run toc && tsc && cp package.json dist && cp README.md dist && cp package-lock.json dist && cp -r cli dist",