Skip to content

After 6.0.0 ? #370

@A-312

Description

@A-312

@madarche What do you plan after 6.0.0 ? If I can, I will PR all my fork changes on convict because I don't plan to keep my fork active, if my fork has the only reason because I could not wait the change from mocha to jest and the merge of all my PRs.

In my fork, I did some change (without break-changes) that I can apply here:

  • Allow schema on the root (next goal: let convict parses array values like convict properties, to improve array properties validation & parsing). By "Allow schema on the root ", I mean something like that:
    {
       "default": {},
       "format": "custom-object-format"
    }
    
  • code from custom eslint to eslint-config-standard;
  • I split convict in multifiles + jsdoc:
    • In my fork we can load convict without default getters/formats with require('convict/lib/core.js') ;
  • I did some optimization on validation function in my fork to get node-convict faster:
    convict@5.2.0 x 40,531 ops/sec ±1.59% (86 runs sampled)
    my-fork@latest x 134,203 ops/sec ±1.52% (90 runs sampled)
    my-fork@6.0.2 x 37,208 ops/sec ±1.18% (92 runs sampled)
    Fastest is my-fork@latest
    
  • coverage 99%.

Do you see change/feature that can't PR on convict because don't corresponding to convict ? (each points will be a different PR)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions