Closed juliuste closed 6 years ago
validate-fptf
which would probably result in a disparity between fptf
and validate-fptf
versions. (Which would be bad if validate-fptf
is used to infer the fptf
version…)@derhuerst Opinions?
To encourage people to test their modules using validate-fptf
and because people would probably forget to set/update an fptf
key in their own module's package.json
, setting the fptf
key in validate-fptf
's package.json instead seems to be the most elegant way to do this.
You would then get the FPTF version of a module by looking directly at the version of validate-fptf
required in the module's dependencies
or devDependencies
.
Should we mention this somewhere in the docs (or, since it's language-specific, at some special JS-FPTF-module-writing-guide-like-place)?
Should we mention this somewhere in the docs (or, since it's language-specific, at some special JS-FPTF-module-writing-guide-like-place)?
Maybe we can use the wiki for that.
pros:
cons:
another proposal: docs/js.md
@derhuerst and I were just briefly discussing on how to indicate the "supported" version of FPTF in JavaScript public transport libraries.
We thought of three different options, but feel free to share any other ideas:
fptf
module (at a specific version) in thedevDependencies
.validate-fptf
module (at a specific version) in thedevDependencies
.fptf
key to the package.json file, which indicates the version (similar to thebrowserify
key)