lddubeau / versync Goto Github PK
View Code? Open in Web Editor NEWUtility that keeps version numbers in sync between files.
License: Other
Utility that keeps version numbers in sync between files.
License: Other
Versync should support prereleases. Currently doing this:
versync -b 1.0.0-rc1
Results in "Invalid bump specification... [etc]".
AFAICT this was inherited from semver-sync
. Ultimately, it is a limitation in the way semver
compares version numbers.
Support for these was inherited from semver-sync.
Bower is deprecated. There's also a componentjs project that used component.json
but it was deprecated too. So there does not appear to be any reason to keep treating these files specially.
Though I've not tried it yet, after we drop special handling for them, it should be possible to just list them in versionedSources
to have them be handled like any other JSON file.
Therefore, as of now, special support for these files is deprecated. A future major release will remove special support for these files.
When someone uses the API and wants all messages generated to be output somewhere, the required glue can make things a bit verbose:
gulp.task("versync",
() => {
const runner = new versync.Runner({ verify: true });
runner.onMessage(console.log);
return runner.run();
});
(console.log
is not the best way to output gulp messages. It's just used in the example above for the sake of brevity.)
It would be good to have the capability to have the options take a message handler that would be automatically added at the creation of the runner. Something like this:
gulp.task("versync",
() => new versync.Runner({
verify: true,
onMessage: console.log,
}).run());
In a similar vein, it may be useful to add a top-level run
function that creates a Runner
behind the scenes and calls .run()
on it and returns the promise. The code above could then be written:
gulp.task("versync",
() => versync.run({
verify: true,
onMessage: console.log,
}));
typescript is meant to be an optional dependency, and is already listed in optionalDependencies
.
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@commitlint/cli
, @commitlint/config-angular
).github/workflows/node.js.yml
actions/checkout v2
actions/setup-node v3
package.json
argparse ^2.0.1
colors ^1.4.0
esprima ^4.0.1
fs-extra ^10.1.0
semver ^7.6.0
@commitlint/cli ^16.3.0
@commitlint/config-angular ^16.3.0
chai ^4.4.1
conventional-changelog-cli ^2.2.2
del ^6.1.1
eslint ^7.32.0
eslint-config-lddubeau-base ^6.0.0
eslint-plugin-import ^2.29.1
eslint-plugin-jsx-a11y ^6.8.0
eslint-plugin-prefer-arrow ^1.2.3
eslint-plugin-react ^7.34.1
eslint-plugin-simple-import-sort ^5.0.3
expect-rejection ^2.0.0
husky ^7.0.4
mocha ^9.2.2
mockery ^2.1.0
typescript >=1.8.10 <5
typescript >=1.8.10 <5
node >=v12.22.12
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.