@korabo/genversion-plus
Advanced tools
Comparing version 1.0.0 to 1.0.1
// generated by genversion-plus | ||
exports.version = '1.0.0' | ||
exports.buildTime = '2021-02-08T12:56:30.128Z' | ||
exports.version = '1.0.1' | ||
exports.buildTime = '2021-08-25T09:56:50.803Z' | ||
exports.comment = '' | ||
exports.author = 'TAKEUCHI Shinichi' |
{ | ||
"name": "@korabo/genversion-plus", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A command line utility to read version from package.json and attach it into your module as a property", | ||
@@ -49,3 +49,2 @@ "keywords": [ | ||
"scripts": { | ||
"preinstall": "npx only-allow pnpm", | ||
"test": "pnpm run lint && mocha", | ||
@@ -52,0 +51,0 @@ "lint": "standard 'bin/*.js' 'lib/**/*.js' 'test/**/*.js'", |
@@ -24,3 +24,3 @@ # genversion-plus | ||
Use flags to match your coding style. `$ genversion-plus --gen es6 --semi lib/version.js` creates: | ||
Use flags to match your coding style. `$ genversion-plus --gen es6 --semi lib/version.ts` creates: | ||
@@ -36,3 +36,3 @@ export const version = '0.9.1'; | ||
First install via [npm](https://www.npmjs.com/package/@korabo/genversion-plus). | ||
First install via [NPM repository](https://www.npmjs.com/package/@korabo/genversion-plus). | ||
@@ -44,4 +44,5 @@ $ npm install @korabo/genversion-plus --save-dev | ||
// generated by genversion-plus | ||
module.exports = '1.2.3' | ||
exports.version = '1.2.3' | ||
Now, your job is to 1) choose a path for the version file, 2) require() the new file into your module, and 3) add genversion-plus as a part of your build or release pipeline. For example, let us choose the path 'lib/version.js' and require it in yourmodule/index.js: | ||
@@ -48,0 +49,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
189
0
0
81687