Skip to content

[Question]Specify sub directory created by postinstall script #32

@jamiemac87

Description

@jamiemac87

Is it possible to specify a sub directory that is created after the postinstall script runs? For example my repo has a script build-lib and when run it outputs to the subdirectory dist-lib. I always seem to get a 500 error when I attempt. Here is the url I am adding to package.json

https://gitpkg.now.sh/<repo>/dist-lib?<tag>&scripts.postinstall=npm%20install%20--ignore-scripts%20%26%26%20npm%20run%20build-lib

If I remove the sub directory dist-lib from the above url I do not get the errors. Even when there is an empty sub directory named dist-lib I get 500 errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions