@webiny/api-background-tasks-os 6.0.0-beta.0 β†’ 6.0.0-rc.1

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,6 +1,11 @@
1
1
  # @webiny/api-background-tasks-os
2
2
 
3
- [![](https://img.shields.io/npm/dw/@webiny/api-background-tasks-os.svg)](https://www.npmjs.com/package/@webiny/api-background-tasks-os)
4
- [![](https://img.shields.io/npm/v/@webiny/api-background-tasks-os.svg)](https://www.npmjs.com/package/@webiny/api-background-tasks-os)
5
- [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
6
- [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
3
+ > [!NOTE]
4
+ > This package is part of the [Webiny](https://www.webiny.com) monorepo.
5
+ > It’s **included in every Webiny project by default** and is not meant to be used as a standalone package.
6
+
7
+ πŸ“˜ **Documentation:** [https://www.webiny.com/docs](https://www.webiny.com/docs)
8
+
9
+ ---
10
+
11
+ _This README file is automatically generated during the publish process._
package/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Plugin } from "@webiny/plugins/types";
2
- export declare const createBackgroundTasks: () => Plugin[];
1
+ import type { PluginCollection } from "@webiny/plugins/types.js";
2
+ export declare const createBackgroundTasks: () => PluginCollection;
package/index.js CHANGED
@@ -1,15 +1,8 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.createBackgroundTasks = void 0;
7
- var _tasks = require("@webiny/tasks");
8
- var _apiElasticsearchTasks = require("@webiny/api-elasticsearch-tasks");
9
- var _apiHeadlessCmsEsTasks = require("@webiny/api-headless-cms-es-tasks");
10
- const createBackgroundTasks = () => {
11
- return [...(0, _tasks.createBackgroundTaskContext)(), ...(0, _tasks.createBackgroundTaskGraphQL)(), ...(0, _apiElasticsearchTasks.createElasticsearchBackgroundTasks)(), ...(0, _apiHeadlessCmsEsTasks.createHeadlessCmsEsTasks)()];
1
+ import { createBackgroundTaskGraphQL, createBackgroundTaskContext } from "@webiny/tasks";
2
+ import { createElasticsearchBackgroundTasks } from "@webiny/api-elasticsearch-tasks";
3
+ import { createHeadlessCmsEsTasks } from "@webiny/api-headless-cms-es-tasks";
4
+ export const createBackgroundTasks = () => {
5
+ return [...createBackgroundTaskContext(), ...createBackgroundTaskGraphQL(), ...createElasticsearchBackgroundTasks(), createHeadlessCmsEsTasks()];
12
6
  };
13
- exports.createBackgroundTasks = createBackgroundTasks;
14
7
 
15
8
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["_tasks","require","_apiElasticsearchTasks","_apiHeadlessCmsEsTasks","createBackgroundTasks","createBackgroundTaskContext","createBackgroundTaskGraphQL","createElasticsearchBackgroundTasks","createHeadlessCmsEsTasks","exports"],"sources":["index.ts"],"sourcesContent":["import { Plugin } from \"@webiny/plugins/types\";\nimport { createBackgroundTaskGraphQL, createBackgroundTaskContext } from \"@webiny/tasks\";\nimport { createElasticsearchBackgroundTasks } from \"@webiny/api-elasticsearch-tasks\";\nimport { createHeadlessCmsEsTasks } from \"@webiny/api-headless-cms-es-tasks\";\n\nexport const createBackgroundTasks = (): Plugin[] => {\n return [\n ...createBackgroundTaskContext(),\n ...createBackgroundTaskGraphQL(),\n ...createElasticsearchBackgroundTasks(),\n ...createHeadlessCmsEsTasks()\n ];\n};\n"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AAEO,MAAMG,qBAAqB,GAAGA,CAAA,KAAgB;EACjD,OAAO,CACH,GAAG,IAAAC,kCAA2B,EAAC,CAAC,EAChC,GAAG,IAAAC,kCAA2B,EAAC,CAAC,EAChC,GAAG,IAAAC,yDAAkC,EAAC,CAAC,EACvC,GAAG,IAAAC,+CAAwB,EAAC,CAAC,CAChC;AACL,CAAC;AAACC,OAAA,CAAAL,qBAAA,GAAAA,qBAAA","ignoreList":[]}
1
+ {"version":3,"names":["createBackgroundTaskGraphQL","createBackgroundTaskContext","createElasticsearchBackgroundTasks","createHeadlessCmsEsTasks","createBackgroundTasks"],"sources":["index.ts"],"sourcesContent":["import type { PluginCollection } from \"@webiny/plugins/types.js\";\nimport { createBackgroundTaskGraphQL, createBackgroundTaskContext } from \"@webiny/tasks\";\nimport { createElasticsearchBackgroundTasks } from \"@webiny/api-elasticsearch-tasks\";\nimport { createHeadlessCmsEsTasks } from \"@webiny/api-headless-cms-es-tasks\";\n\nexport const createBackgroundTasks = (): PluginCollection => {\n return [\n ...createBackgroundTaskContext(),\n ...createBackgroundTaskGraphQL(),\n ...createElasticsearchBackgroundTasks(),\n createHeadlessCmsEsTasks()\n ];\n};\n"],"mappings":"AACA,SAASA,2BAA2B,EAAEC,2BAA2B,QAAQ,eAAe;AACxF,SAASC,kCAAkC,QAAQ,iCAAiC;AACpF,SAASC,wBAAwB,QAAQ,mCAAmC;AAE5E,OAAO,MAAMC,qBAAqB,GAAGA,CAAA,KAAwB;EACzD,OAAO,CACH,GAAGH,2BAA2B,CAAC,CAAC,EAChC,GAAGD,2BAA2B,CAAC,CAAC,EAChC,GAAGE,kCAAkC,CAAC,CAAC,EACvCC,wBAAwB,CAAC,CAAC,CAC7B;AACL,CAAC","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@webiny/api-background-tasks-os",
3
- "version": "6.0.0-beta.0",
3
+ "version": "6.0.0-rc.1",
4
+ "type": "module",
4
5
  "main": "index.js",
5
6
  "repository": {
6
7
  "type": "git",
@@ -10,27 +11,19 @@
10
11
  "author": "Webiny LTD",
11
12
  "license": "MIT",
12
13
  "dependencies": {
13
- "@webiny/api-elasticsearch-tasks": "6.0.0-beta.0",
14
- "@webiny/api-headless-cms-es-tasks": "6.0.0-beta.0",
15
- "@webiny/plugins": "6.0.0-beta.0",
16
- "@webiny/tasks": "6.0.0-beta.0"
14
+ "@webiny/api-elasticsearch-tasks": "6.0.0-rc.1",
15
+ "@webiny/api-headless-cms-es-tasks": "6.0.0-rc.1",
16
+ "@webiny/plugins": "6.0.0-rc.1",
17
+ "@webiny/tasks": "6.0.0-rc.1"
17
18
  },
18
19
  "devDependencies": {
19
- "@babel/cli": "7.24.1",
20
- "@babel/core": "7.24.3",
21
- "@webiny/cli": "6.0.0-beta.0",
22
- "@webiny/project-utils": "6.0.0-beta.0",
23
- "rimraf": "5.0.5",
24
- "ttypescript": "1.5.15",
25
- "typescript": "4.7.4"
20
+ "@webiny/build-tools": "6.0.0-rc.1",
21
+ "rimraf": "6.1.3",
22
+ "typescript": "5.9.3"
26
23
  },
27
24
  "publishConfig": {
28
25
  "access": "public",
29
26
  "directory": "dist"
30
27
  },
31
- "scripts": {
32
- "build": "yarn webiny run build",
33
- "watch": "yarn webiny run watch"
34
- },
35
- "gitHead": "aa8dbfbbd5ad13ec271adba6f2431e02991a300f"
28
+ "gitHead": "36d702721ff9ed39fb21d6f5fe7922a2a8716e63"
36
29
  }