@crawlee/templates 3.18.2 → 3.18.3-beta.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/index.d.ts +1 -1
- package/index.js +3 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const MANIFEST_URL = "https://raw.githubusercontent.com/apify/crawlee/
|
|
1
|
+
export declare const MANIFEST_URL = "https://raw.githubusercontent.com/apify/crawlee/3.x/packages/templates/manifest.json";
|
|
2
2
|
interface SharedTemplateData {
|
|
3
3
|
name: string;
|
|
4
4
|
description: string;
|
package/index.js
CHANGED
|
@@ -4,9 +4,10 @@ exports.MANIFEST_URL = void 0;
|
|
|
4
4
|
exports.fetchManifest = fetchManifest;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
const node_https_1 = tslib_1.__importDefault(require("node:https"));
|
|
7
|
-
|
|
7
|
+
const TEMPLATES_BASE_URL = 'https://raw.githubusercontent.com/apify/crawlee/3.x/packages/templates';
|
|
8
|
+
exports.MANIFEST_URL = `${TEMPLATES_BASE_URL}/manifest.json`;
|
|
8
9
|
function templateFileUrl(templateName, path) {
|
|
9
|
-
return
|
|
10
|
+
return `${TEMPLATES_BASE_URL}/templates/${templateName}/${path}`;
|
|
10
11
|
}
|
|
11
12
|
async function fetchManifest() {
|
|
12
13
|
const rawManifest = await new Promise((resolve, reject) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlee/templates",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.3-beta.0",
|
|
4
4
|
"description": "Templates for the crawlee projects",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "674303e647ed6625c351ed3165ad3879ee519b04"
|
|
66
66
|
}
|