Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [WIP] initial add of apify-extra package with dataset functions #81

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = {
],
moduleNameMapper: {
'^apify$': '<rootDir>/packages/apify/src',
'^apify-extra$': '<rootDir>/packages/apify-extra/src',
'^@apify/scraper-tools$': '<rootDir>/packages/scraper-tools/src',
},
modulePathIgnorePatterns: [
Expand Down
458 changes: 110 additions & 348 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions packages/apify-extra/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
src
test
coverage
apify_storage
tsconfig.*
2 changes: 2 additions & 0 deletions packages/apify-extra/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Apify Extra

63 changes: 63 additions & 0 deletions packages/apify-extra/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"name": "apify-extra",
"version": "0.0.1",
"description": "Advanced and experimental functionality for Apify Actors and Crawlee. Smaller test coverage. Use with caution!",
"engines": {
"node": ">=16.0.0"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"keywords": [
"apify",
"headless",
"chrome",
"puppeteer",
"crawler",
"scraper"
],
"author": {
"name": "Apify",
"email": "[email protected]",
"url": "https://apify.com"
},
"contributors": [
"Jan Curn <[email protected]>",
"Marek Trunkat <[email protected]>",
"Ondra Urban <[email protected]>"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/apify/apify-sdk-js"
},
"bugs": {
"url": "https://github.com/apify/apify-sdk-js/issues"
},
"homepage": "https://sdk.apify.com",
"scripts": {
"build": "npm run clean && npm run compile && npm run copy && npm run fixApifyExport",
"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 --readme=local",
"fixApifyExport": "ts-node -T ../../scripts/temp_fix_apify_exports.ts"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"apify": ">= 3.0.0",
"crawlee": ">= 3.0.0"
},
"devDependencies": {
"apify": "^3.0.0"
barjin marked this conversation as resolved.
Show resolved Hide resolved
}
}
2 changes: 2 additions & 0 deletions packages/apify-extra/src/const.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const APIFY_EXTRA_KV_RECORD_PREFIX = 'APIFY-EXTRA-';
export const APIFY_EXTRA_LOG_PREFIX = '[apify-extra]: ';
Loading