Angular 13 - Option to remove prepublishOnly script
See original GitHub issueType of Issue
[ ] Bug Report
[x] Feature Request
Description
Now that Angular 13 has been released, and ViewEngine is deprecated, can we please revisit the request to remove the prepublishOnly script? I’m publishing a private repo to npm that will only be consumed by Ivy applications. I know that there are workarounds to remove or ignore the script, but it would be nice to not have to do this anymore
Expected Behaviour
Add a flag or something to opt out of the prepublishOnly script
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Add option to publish a library built with ivy #1467 - GitHub
In case you want to publish Ivy libraries privately you can remove the prepublishOnly property from the library's package.json before publishing ...
Read more >npm publish - removing scripts from package.json?
Short answer. "Would this be possible to kind of remove scripts before publishing the package ?" npm does not include a built-in feature...
Read more >scripts - npm Docs
Runs AFTER prepublish , but BEFORE prepublishOnly. NOTE: If a package being installed through git contains a prepare script, its dependencies and ...
Read more >Publishing Node modules with TypeScript and ES modules
If you're ever looking for a comprehensive list of all possible tsconfig options, the TypeScript site has you covered with this handy reference....
Read more >5 package.json magic scripts that you don't use!
There are many magic scripts available for use by the Node Package Manager ... This script runs after prepublish and before prepublishOnly ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The constraint around cyclic dependencies is new to Ivy, please see https://github.com/angular/angular/issues/43227#issuecomment-904173738 for background information.
There are some hints to avoid the cycles in the NG3003 error documentation page.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
This action has been performed automatically by a bot.