sendscript 0.0.2 → 0.0.4

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/CHANGELOG.md CHANGED
@@ -4,8 +4,21 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v0.0.4](https://github.com/bas080/sendscript/compare/v0.0.3...v0.0.4)
8
+
9
+ - Add keywords to package.json [`e24d77b`](https://github.com/bas080/sendscript/commit/e24d77b14e67399cedc085294fbef3024a060087)
10
+ - Add .tap to gitignore [`d0abbca`](https://github.com/bas080/sendscript/commit/d0abbcaafab8b915449118b3d2926ca7ff8dc133)
11
+
12
+ #### [v0.0.3](https://github.com/bas080/sendscript/compare/v0.0.2...v0.0.3)
13
+
14
+ > 6 October 2023
15
+
16
+ - Update tap from version 16 to 18 [`465c933`](https://github.com/bas080/sendscript/commit/465c93391097018ee010b51a64ca51d6872b49f1)
17
+
7
18
  #### [v0.0.2](https://github.com/bas080/sendscript/compare/v0.0.1...v0.0.2)
8
19
 
20
+ > 6 October 2023
21
+
9
22
  - Add table of content to readme [`a14f2d8`](https://github.com/bas080/sendscript/commit/a14f2d86f602a01721812d1c5be94b299e515397)
10
23
 
11
24
  #### [v0.0.1](https://github.com/bas080/sendscript/compare/v0.0.0...v0.0.1)
package/README.md CHANGED
@@ -7,10 +7,6 @@ Write JS code that you can run on servers, browsers or other clients.
7
7
  [![Standard Code Style](https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square)](https://standardjs.com)
8
8
  [![License](https://img.shields.io/npm/l/sendscript?color=brightgreen&style=flat-square)](./LICENSE.txt)
9
9
 
10
- > SendScript leaves it up to you to choose HTTP, web-sockets or any other
11
- > method of communication between servers and clients that best fits your
12
- > needs.
13
-
14
10
  <!-- toc -->
15
11
 
16
12
  - [Socket example](#socket-example)
@@ -23,10 +19,15 @@ Write JS code that you can run on servers, browsers or other clients.
23
19
  - [Tests](#tests)
24
20
  - [Formatting](#formatting)
25
21
  - [Changelog](#changelog)
22
+ - [Dependencies](#dependencies)
26
23
  - [License](#license)
27
24
 
28
25
  <!-- tocstop -->
29
26
 
27
+ SendScript leaves it up to you to choose HTTP, web-sockets or any other
28
+ method of communication between servers and clients that best fits your
29
+ needs.
30
+
30
31
  ## Socket example
31
32
 
32
33
  For this example we'll use [socket.io][socket.io].
@@ -188,32 +189,25 @@ is an implementation detail and might change over time.
188
189
  Tests with 100% code coverage.
189
190
 
190
191
  ```bash
191
- npx c8 --100 npm t -- -R classic
192
+ npm t -- -R silent
193
+ npm t -- report text-summary
192
194
  ```
193
195
  ```
194
196
 
195
- > sendscript@0.0.2 test
196
- > tap *.test.mjs --no-cov -R classic
197
+ > sendscript@0.0.4 test
198
+ > tap -R silent
199
+
197
200
 
198
- api.test.mjs .......................................... 5/5
199
- curry.test.mjs ........................................ 4/4
200
- exec.test.mjs ....................................... 16/16
201
- total ............................................... 25/25
201
+ > sendscript@0.0.4 test
202
+ > tap report text-summary
202
203
 
203
- 25 passing (426.12ms)
204
204
 
205
- ok
206
- ------------------|---------|----------|---------|---------|-------------------
207
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
208
- ------------------|---------|----------|---------|---------|-------------------
209
- All files | 100 | 100 | 100 | 100 |
210
- api.mjs | 100 | 100 | 100 | 100 |
211
- curry.mjs | 100 | 100 | 100 | 100 |
212
- debug.mjs | 100 | 100 | 100 | 100 |
213
- error.mjs | 100 | 100 | 100 | 100 |
214
- exec.mjs | 100 | 100 | 100 | 100 |
215
- promise-only.mjs | 100 | 100 | 100 | 100 |
216
- ------------------|---------|----------|---------|---------|-------------------
205
+ =============================== Coverage summary ===============================
206
+ Statements : 100% ( 139/139 )
207
+ Branches : 100% ( 47/47 )
208
+ Functions : 100% ( 12/12 )
209
+ Lines : 100% ( 139/139 )
210
+ ================================================================================
217
211
  ```
218
212
 
219
213
  ## Formatting
@@ -233,6 +227,17 @@ The [changelog][changelog] is generated using the useful
233
227
  npx auto-changelog -p
234
228
  ```
235
229
 
230
+ ## Dependencies
231
+
232
+ Check if packages are up to date on release.
233
+
234
+ ```bash
235
+ npm outdated && echo 'No outdated packages found'
236
+ ```
237
+ ```
238
+ No outdated packages found
239
+ ```
240
+
236
241
  ## License
237
242
 
238
243
  See the [LICENSE.txt][license] file for details.
package/README.mz CHANGED
@@ -7,12 +7,12 @@ Write JS code that you can run on servers, browsers or other clients.
7
7
  [![Standard Code Style](https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square)](https://standardjs.com)
8
8
  [![License](https://img.shields.io/npm/l/sendscript?color=brightgreen&style=flat-square)](./LICENSE.txt)
9
9
 
10
- > SendScript leaves it up to you to choose HTTP, web-sockets or any other
11
- > method of communication between servers and clients that best fits your
12
- > needs.
13
-
14
10
  <!-- toc -->
15
11
 
12
+ SendScript leaves it up to you to choose HTTP, web-sockets or any other
13
+ method of communication between servers and clients that best fits your
14
+ needs.
15
+
16
16
  ## Socket example
17
17
 
18
18
  For this example we'll use [socket.io][socket.io].
@@ -171,7 +171,8 @@ is an implementation detail and might change over time.
171
171
  Tests with 100% code coverage.
172
172
 
173
173
  ```bash bash
174
- npx c8 --100 npm t -- -R classic
174
+ npm t -- -R silent
175
+ npm t -- report text-summary
175
176
  ```
176
177
 
177
178
  ## Formatting
@@ -191,6 +192,14 @@ The [changelog][changelog] is generated using the useful
191
192
  npx auto-changelog -p
192
193
  ```
193
194
 
195
+ ## Dependencies
196
+
197
+ Check if packages are up to date on release.
198
+
199
+ ```bash bash
200
+ npm outdated && echo 'No outdated packages found'
201
+ ```
202
+
194
203
  ## License
195
204
 
196
205
  See the [LICENSE.txt][license] file for details.
package/package.json CHANGED
@@ -1,22 +1,29 @@
1
1
  {
2
2
  "name": "sendscript",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Blur the line between server and client code.",
5
5
  "module": true,
6
6
  "main": "index.mjs",
7
+ "keywords": [
8
+ "rpc",
9
+ "json",
10
+ "dsl",
11
+ "lisp",
12
+ "program"
13
+ ],
7
14
  "repository": {
8
15
  "type": "git",
9
16
  "url": "git@github.com:bas080/sendscript.git"
10
17
  },
11
18
  "scripts": {
12
- "test": "tap *.test.mjs --no-cov",
19
+ "test": "tap",
13
20
  "version": "npm run docs && git add *.md",
14
21
  "docs": "markatzea README.mz | tee README.md && npx markdown-toc -i README.md"
15
22
  },
16
23
  "author": "Bas Huis",
17
24
  "license": "MIT",
18
25
  "devDependencies": {
19
- "tap": "^16.3.4"
26
+ "tap": "^18.4.3"
20
27
  },
21
28
  "dependencies": {
22
29
  "debug": "^4.3.4"