Skip to content

Remove Open Collective postinstall script to fix deno installation warning #1030

@Balearica

Description

@Balearica

We currently have a postinstall script that prints a message telling people they can donate to support development. Using postinstall scripts for this purpose was common at the time this was added, however this has since fallen out of favor for a number of reasons, and is no longer recommended by Open Collective (see this issue).

More concerningly, deno prints a warning that makes it unclear whether the package has installed correctly or not. To avoid confusion, we should switch to whatever the current best practice is for this.

Warning The following packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed:
┠─ npm:@scribe.js/[email protected]
┃
┠─ This may cause the packages to not work correctly.
┖─ To run lifecycle scripts, use the `--allow-scripts` flag with `deno install`:
   deno install --allow-scripts=npm:@scribe.js/[email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions