Comments (5)
Answering myself: whitelisting will do the trick =) I'll implement the feature.
from production-dependencies-guard.
Implemented!
from production-dependencies-guard.
While the idea is exactly this, the plugin should rather target customer projects and products.
In the case of an extension or CaptainHook itself, IMO it'll be no value in using the plugin.
from production-dependencies-guard.
It depends, some checks like check-license
or check-abandoned
might be even good for library projects. And making sure that dev dependencies do not pollute the require section of the composer.json file could also be interesting for libraries.
from production-dependencies-guard.
Sounds reasonable.
What about the following scenario: the captain hook plugin brings the guard into a Magento project and it breaks composer update/install (not so well maintained project)?
from production-dependencies-guard.
Related Issues (18)
- Is there any way to declare own protected dependecies list? HOT 5
- Feedback: analyze lock files in post-events, analyze manifest in pre-events HOT 1
- Feedback: new dependencies HOT 5
- Feedback: configurable "no abandoned/deprecated packages" behaviour HOT 1
- Feedback: configurable "no packages without license" behaviour HOT 1
- Feedback: check keywords and description HOT 1
- FR: `accept-license:xxx` if `check-license` presented HOT 5
- FR: Dedicated run HOT 1
- Allow missing license HOT 2
- Do not show unallowed license as "missing-license" HOT 2
- Show "composer why" among dev-package HOT 2
- Don't run on self removal HOT 1
- accept-licence: any-open-source wildcard HOT 2
- Composer 2 support HOT 5
- PHP 8 support HOT 2
- Whitelist ability to specify specific guards HOT 2
- check-license requires all instead of only one when license is an array
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from production-dependencies-guard.