1.0.0 • Published 6 years ago

@yrd1/version v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Version Number builder for Angular build facade

Usage

  1. In the root of your Angular application:
    npm i -D @yrd1/version
  2. In your angular.json add the following to architect section of the relevant project:

    "version": {
      "builder": "@yrd1/version:file",
      "options": {}
    },
  3. Run: ng run [relevant-project]:version Where relevant-project is the project to which you've added the target

Options

  • path - path to the file with version, defaults to ./version.txt