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

Allow modifying the actor root path #277

Open
jeanbmar opened this issue Aug 6, 2022 · 0 comments
Open

Allow modifying the actor root path #277

jeanbmar opened this issue Aug 6, 2022 · 0 comments

Comments

@jeanbmar
Copy link

jeanbmar commented Aug 6, 2022

Hey there,

I use a monorepo with NPM workspaces:

project
+-- node_modules
+-- packages
    +-- shared-lib
    +-- actor
        +-- apify.json

The apify push command is run from the actor directory.
Apify client uses the actor folder as root path as seen here:

const filePathsToPush = await getActorLocalFilePaths();

This is preventing a proper installation of the shared-lib when container runs npm install because the lib is not bundled.

Could we have a new option in apify.json to allow a custom root path?

@gippy gippy added the t-platform Issues with this label are in the ownership of the platform team. label Oct 31, 2022
@fnesveda fnesveda removed the t-platform Issues with this label are in the ownership of the platform team. label Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants