Code Monkey home page Code Monkey logo

Comments (2)

pyrech avatar pyrech commented on June 16, 2024

sort-packages: a nice side effect of this option would be that diffs are likely to be cleaner as the probability to add a package at the end of the list is lower. Thus requiring package foo/B when foo/A and foo/C are already installed would produce the following diff:

    "require": {
        "foo/A": "1.0",
+       "foo/B": "1.0",
        "foo/C": "1.0"
    },

instead of:

    "require": {
        "foo/A": "1.0",
-       "foo/C": "1.0"
+       "foo/C": "1.0",
+       "foo/B": "1.0",
    },

so 👍 for this one;

notify-on-install: the notify feature allows maintainers to have an idea of the popularity of their packages (number of install, etc). So even if numbers are quite wrong (because of ci systems, prod deployments, etc), IMO we should be fair and continue to inform packagist about packages we use. 👎 for me;

bin-dir: IMO, the bin dir should only contain scripts from the application, not the ones from our dependencies so 👎 ;

prefer-stable: 👍 for this one

from codingstyle.

joelwurtz avatar joelwurtz commented on June 16, 2024

sort-packages: 👍
notify-on-install: 👎
bin-dir: 👎
prefer-stable: :+0: as it only make sens if you use the minimum-stability option

Other useful thing to add to the default composer:

  • A default author (jolicode)
  • A script section :
    "scripts": {
        "test": "",
        "test-ci": ""
    },
  • Remove the TODO description or add fields with TODO
  • A default php version we should be supporting at jolicode (require php 5.6 | 7.0)

from codingstyle.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.