@softpak/frontend-components
v3.4.11
Published
Stencil Component Starter
Downloads
94
Keywords
Readme
Softpak frontend components built with StencilJS
- Stencil repo: https://www.npmjs.com/package/@softpak/frontend-components
- Angular version: https://www.npmjs.com/package/@softpak/frontend-components-ng
Getting Started
- Starting the server:
npm install && npm run start
Publishing a new version
There is a specific workflow to deploy new versions of both the Stencil and Angular version. Start by upping the version number, in the package.json
file of the "frontend-components-2022" folder, and commit your changes. Make sure the number is higher than the published version. Then compile and build the package.
- Building the components:
npm install && npm run build
Next we publish the new version to NPM.
- Publish to NPM:
npm publish
Angular version
Next we can update the Angular version of the frontend components that we import in our applications. Navigate to the frontend-components-2022-ng folder and open the package.json
file. Update the "@softpak/frontend-components" package to the number you just published to NPM. Next update the "version" at the top of the file to the same version number. Now you can build the new version for Angular and publish that.
- Building the components:
npm install && npm run build
- Publish to NPM:
npm publish
Now you should be able to use the new version of the package in your application.