@pikku/schedule 0.12.5 → 0.12.6
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
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 0.12.6
|
|
2
|
+
|
|
3
|
+
### Patch Changes
|
|
4
|
+
|
|
5
|
+
- 6794681: Publish the ecosystem surface as per-area sub-barrels under `@pikku/core/ecosystem/*`, and point generated code, the CLI, the inspector and the runtime adapters at them.
|
|
6
|
+
|
|
7
|
+
348 names that only generated code, the toolchain or a runtime adapter ever imports now have a second home on `@pikku/core/ecosystem/<area>` — one sub-barrel per area, matching how core already publishes its entrypoints, so no single barrel grows without bound and a consumer only pulls in the area it uses.
|
|
8
|
+
|
|
9
|
+
This step is additive: every name is still exported from the entrypoint it was published from before, so nothing downstream breaks. Removing them from the app-facing barrels is a later change, and needs a release carrying `./ecosystem/*` first.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [7406bfe]
|
|
12
|
+
- Updated dependencies [6794681]
|
|
13
|
+
- @pikku/core@0.12.84
|
|
14
|
+
|
|
1
15
|
## 0.12.5
|
|
2
16
|
|
|
3
17
|
### Patch Changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { CoreUserSession
|
|
1
|
+
import type { CoreUserSession } from '@pikku/core';
|
|
2
|
+
import type { ScheduledTaskInfo, ScheduledTaskSummary } from '@pikku/core/ecosystem/services';
|
|
2
3
|
import { SchedulerService } from '@pikku/core';
|
|
3
4
|
/**
|
|
4
5
|
* In-memory SchedulerService implementation.
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { CronJob } from 'cron';
|
|
2
|
-
import { SchedulerService
|
|
2
|
+
import { SchedulerService } from '@pikku/core';
|
|
3
|
+
import { parseDurationString } from '@pikku/core/ecosystem/types';
|
|
3
4
|
import { pikkuState, getSingletonServices } from '@pikku/core/ecosystem';
|
|
4
|
-
import { runScheduledTask
|
|
5
|
+
import { runScheduledTask } from '@pikku/core/scheduler';
|
|
6
|
+
import { getScheduledTasks } from '@pikku/core/ecosystem/scheduler';
|
|
5
7
|
import { rpcService } from '@pikku/core/rpc';
|
|
6
8
|
const getLogger = () => {
|
|
7
9
|
return pikkuState(null, 'package', 'singletonServices').logger;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/schedule",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.6",
|
|
4
4
|
"description": "In-memory scheduler service for Pikku cron wirings",
|
|
5
5
|
"author": "yasser.fadl@gmail.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"prepublishOnly": "yarn build"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@pikku/core": "^0.12.
|
|
22
|
+
"@pikku/core": "^0.12.84"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^24.11.0",
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { CronJob } from 'cron'
|
|
2
|
+
import type { CoreUserSession } from '@pikku/core'
|
|
2
3
|
import type {
|
|
3
|
-
CoreUserSession,
|
|
4
4
|
ScheduledTaskInfo,
|
|
5
5
|
ScheduledTaskSummary,
|
|
6
|
-
} from '@pikku/core'
|
|
7
|
-
import { SchedulerService
|
|
6
|
+
} from '@pikku/core/ecosystem/services'
|
|
7
|
+
import { SchedulerService } from '@pikku/core'
|
|
8
|
+
import { parseDurationString } from '@pikku/core/ecosystem/types'
|
|
8
9
|
import { pikkuState, getSingletonServices } from '@pikku/core/ecosystem'
|
|
9
|
-
import { runScheduledTask
|
|
10
|
+
import { runScheduledTask } from '@pikku/core/scheduler'
|
|
11
|
+
import { getScheduledTasks } from '@pikku/core/ecosystem/scheduler'
|
|
10
12
|
import { rpcService } from '@pikku/core/rpc'
|
|
11
13
|
|
|
12
14
|
interface DelayedTask {
|