Coder Social home page Coder Social logo

inexio / angular-build-info Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 8.0 126 KB

๐Ÿ›  A CLI to generate an easily importable `build.ts` file containing various details about the application build

Home Page: https://npmjs.com/angular-build-info

License: MIT License

JavaScript 15.25% TypeScript 84.75%
angular angular2 build build-tool cli

angular-build-info's People

Contributors

hiagodotme avatar juriadams avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

angular-build-info's Issues

thanks

No issue. Just wanted to say thank you for this module. Useful and easy to setup.

Suggestion: in the doc, install it not globally but as a user devDependancies.

Again, thanks ๐Ÿ‘

Changing the Version Number

Right now the application shows a version number of 1.0.0 is there a way to change the version number to say - 2.0.0?

Possiblility to have Sequential Build Numbers

Instead of commit hash's as the build number, would it be possible to set a sequential number say i wanted to start counting builds from Build-100, Build-101, Build-102 and so on? That possible?

Need to get Previous Version

Hi,

I really found this npm package useful. I feel it will be more helpful if we can access the previous version in a JSON object.

Current JSON : const build = {
version: "1.3.12",
timestamp: "Wed Feb 02 2022 13:16:10 GMT+0530 (India Standard Time)",
message: null,
git: {
user: "Ramaraju-Sanjeevi",
branch: "main",
hash: "*****",
fullHash: "ddcf03752285a8082e4d12f65c00"
}
};

Desired JSON: const build = {
version: "1.3.12",
timestamp: "Wed Feb 02 2022 13:16:10 GMT+0530 (India Standard Time)",
message: null,
previousVersion: 1.3.11
git: {
user: "Ramaraju-Sanjeevi",
branch: "main",
hash: "*****",
fullHash: "ddcf03752285a8082e4d12f65c00"
}
};

Error "An error occurred writing to [...], does the path exist?"

Issue from old Repository 4dams/angular-build-info by @PeziBuuu:

Hey, I just installed your plugin and run 'angular-build-info --init' and then i get following error:
An error occured writing to D:\Programme\Development\PMI\pmi-client/src/build.ts, does the path exist?

The file exist. I also tried to remove it and run the command, but still the same. Even if i create the file and run the command 'angular-build-info', I get the same error. Seems the system can'
t or won't find the file.

71821357-36256400-3092-11ea-8199-5bc36704e8ae

71821293-09714c80-3092-11ea-8667-56fdc6ec3eff

71821462-813f7700-3092-11ea-8f88-196b73837702

Hope you can help me.

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.