Skip to content

QLACK is an ecosystem of software development libraries and utilities, targeting Java and Angular developers.

Notifications You must be signed in to change notification settings

qlack/QLACK-TypeScript

Repository files navigation

QLACK TypeScript libraries

This repository is a collection of utility TypeScript libraries.

Build & publish process

  • Go to the root of the project you want to publish.
  • Edit package.json to update the version.
  • Go to the root of the QLACK-TS project and execute: ng build --project {projectname}, e.g. ng build --project @qlack/forms
  • Go to the root of the QLACK-TS project under dist folder, e.g. dist/qlack/forms and execute: npm publish

Testing local library process

Once you've made changes to the libraries, you may need to test them inside your application before publishing.

  • Assuming you have already built the libraries you need (see steps above), navigate to each dist folder, e.g. dist\qlack\forms, and execute npm link
  • Inside your project's root folder, change the versions of the corresponding libraries in package.json and execute npm link {projectname}, e.g. (if you want to link to more than one libraries you should place them in the same command) npm link @qlack/forms @qlack/form-validation
  • Once you are done testing, execute the following command from your project's root folder to unlink local libraries npm unlink {projectname}, e.g. npm unlink @qlack/forms @qlack/form-validation
  • Publish the local libraries as described in the previous section and execute npm install in your project's root folder to download the published version.
  • You may also need to remove your local directories from being able to get linked from other libraries. Navigate to the root library and execute the following command npm uninstall -g {projectname}

Contributors

About

QLACK is an ecosystem of software development libraries and utilities, targeting Java and Angular developers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •