Skip to content

Repository files navigation

IocoFramework

This library is used to add default IOCO functionality to a starter project and to generate basic components | services in the correct format

To update angular version for distribution

Local Testing

  • Review these YouTube videos Angular Schematics — Implementing NG-ADD support for Libraries and Custom Angular Schematics — Generating Custom Component.
  • Make sure you have Verdaccio installed and setup/start the server.
  • In the Angular Schematics project run npm install
  • Update the version of the project in the projects\angular-framework\package.json.
  • From the root directory run npm run build. This will build the project and copy the necessary files to the dist/angular-framework directory
  • Open a terminal in the dist/angular-framework directory and run npm publish --registry http://localhost:4873( Where the registry url is the Verdaccio server url)
  • Create a new angular project using ng new <your-test-project>
  • In your newly created project run ng add @ioco-dev/angular-framework --registry http://localhost:4873(Where the registry url is the Verdaccio server url)

To publish to npmjs.com

  • Update the version of the project test locally to ensure everything works.
  • Create a new branch and push to the github repository.
  • Create a pull request into the main branch.
  • Approve and merge the branch into main, this wil automatically publish the new version to https://www.npmjs.com/package/@ioco-dev/angular-framework

Framework

To add the framework to a new project create a empty angular project and the run ng add @ioco-dev/angular-framework.

Services

To add a new service to a project run ng generate @ioco-dev/angular-framework:is. This will add the four basic files required for IOCO services

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages