Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

chore: try to fix canary builds of templates package

Martin Adámekc2d65a38bcac
diff --git a/packages/browser-pool/package.json b/packages/browser-pool/package.json
index 942bbcf8f..57c255592 100644
--- a/packages/browser-pool/package.json
+++ b/packages/browser-pool/package.json
@@ -30,7 +30,7 @@
"url": "https://github.com/apify/crawlee/issues"
},
"scripts": {
- "build": "npm run clean && npm run compile && npm run copy && node copy-definitions.mjs",
+ "build": "npm run clean && npm run compile && node copy-definitions.mjs && npm run copy",
"clean": "rimraf ./dist",
"compile": "tsc -p tsconfig.build.json && gen-esm-wrapper ./dist/index.js ./dist/index.mjs",
"copy": "ts-node -T ../../scripts/copy.ts"
diff --git a/packages/templates/package.json b/packages/templates/package.json
index 4f30812d4..060d9b296 100644
--- a/packages/templates/package.json
+++ b/packages/templates/package.json
@@ -39,7 +39,7 @@
},
"homepage": "https://crawlee.dev",
"scripts": {
- "build": "npm run clean && npm run compile && npm run copy && npm run copy-templates",
+ "build": "npm run clean && npm run compile && npm run copy-templates && npm run copy",
"clean": "rimraf ./dist",
"compile": "tsc -p tsconfig.build.json && gen-esm-wrapper ./dist/index.js ./dist/index.mjs",
"copy-templates": "node ./scripts/copy-templates.mjs",