@nwire/cron 0.7.0 → 0.8.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 +1 -16
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -35,17 +35,7 @@ createCronWire({
|
|
|
35
35
|
|
|
36
36
|
## When to use
|
|
37
37
|
|
|
38
|
-
Whenever you need time-based triggers — nightly aggregations, weekly reports, periodic syncs.
|
|
39
|
-
|
|
40
|
-
## Standalone use
|
|
41
|
-
|
|
42
|
-
For developers using `@nwire/cron` **without the rest of Nwire** — pair it with any TypeScript project, any container, any HTTP framework.
|
|
43
|
-
|
|
44
|
-
```ts
|
|
45
|
-
// See the package's main entry (src/) for the standalone surface.
|
|
46
|
-
// The exports below work without @nwire/app or @nwire/forge.
|
|
47
|
-
import {} from /* ...standalone exports... */ "@nwire/cron";
|
|
48
|
-
```
|
|
38
|
+
Whenever you need time-based triggers — nightly aggregations, weekly reports, periodic syncs.
|
|
49
39
|
|
|
50
40
|
## Within nwire-app
|
|
51
41
|
|
|
@@ -59,8 +49,3 @@ const app = createApp({
|
|
|
59
49
|
});
|
|
60
50
|
// Adapter/plugin wiring happens here when applicable.
|
|
61
51
|
```
|
|
62
|
-
|
|
63
|
-
## See also
|
|
64
|
-
|
|
65
|
-
- [Architecture sketch §05 — Adapters tier](../../architecture-sketch.html#packages)
|
|
66
|
-
- Sibling packages: [@nwire/queue](../nwire-queue), [@nwire/forge](../nwire-forge)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nwire/cron",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Nwire — cron interface factory. Dispatch actions on a schedule (croner-backed).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cron",
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
"scheduler",
|
|
10
10
|
"wire"
|
|
11
11
|
],
|
|
12
|
+
"license": "MIT",
|
|
12
13
|
"files": [
|
|
13
14
|
"dist",
|
|
14
|
-
"README.md"
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE"
|
|
15
17
|
],
|
|
16
18
|
"type": "module",
|
|
17
19
|
"main": "./dist/cron.js",
|
|
@@ -27,8 +29,8 @@
|
|
|
27
29
|
},
|
|
28
30
|
"dependencies": {
|
|
29
31
|
"croner": "^9.1.0",
|
|
30
|
-
"@nwire/forge": "0.
|
|
31
|
-
"@nwire/envelope": "0.
|
|
32
|
+
"@nwire/forge": "0.8.0",
|
|
33
|
+
"@nwire/envelope": "0.8.0"
|
|
32
34
|
},
|
|
33
35
|
"devDependencies": {
|
|
34
36
|
"@types/node": "^22.19.9",
|