@rankmyseo/scheduler 0.1.0 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +28 -0
  2. package/package.json +20 -2
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # @rankmyseo/scheduler
2
+
3
+ Scheduler adapters for [RankMySEO](https://github.com/madebyaris/rankmyseo) rank-ingestion jobs — `NodeCronScheduler` for production and `ManualScheduler` for tests/dev. Implements the `Scheduler` port from `@rankmyseo/core`. Server-only.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm i @rankmyseo/scheduler @rankmyseo/core
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import { NodeCronScheduler } from "@rankmyseo/scheduler";
15
+
16
+ const scheduler = new NodeCronScheduler();
17
+ scheduler.register("0 6 * * *", async () => {
18
+ // run rank ingestion
19
+ });
20
+ ```
21
+
22
+ ## Documentation
23
+
24
+ See the [Wiki](https://github.com/madebyaris/rankmyseo/wiki).
25
+
26
+ ## License
27
+
28
+ Apache-2.0
package/package.json CHANGED
@@ -1,9 +1,27 @@
1
1
  {
2
2
  "name": "@rankmyseo/scheduler",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "RankMySEO scheduler adapters (node-cron, manual)",
6
6
  "license": "Apache-2.0",
7
+ "homepage": "https://github.com/madebyaris/rankmyseo#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/madebyaris/rankmyseo.git",
11
+ "directory": "packages/scheduler"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/madebyaris/rankmyseo/issues"
15
+ },
16
+ "keywords": [
17
+ "seo",
18
+ "scheduler",
19
+ "cron",
20
+ "rankmyseo"
21
+ ],
22
+ "engines": {
23
+ "node": ">=20"
24
+ },
7
25
  "exports": {
8
26
  ".": {
9
27
  "import": {
@@ -22,7 +40,7 @@
22
40
  "dependencies": {
23
41
  "node-cron": "^4.2.1",
24
42
  "server-only": "^0.0.1",
25
- "@rankmyseo/core": "0.1.0"
43
+ "@rankmyseo/core": "0.2.0"
26
44
  },
27
45
  "devDependencies": {
28
46
  "@types/node-cron": "^3.0.11",