Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@adomni/vue-components
Advanced tools
This repository holds all of Adomni's VueJS Components that are used throughout any VueJS projects. Currently, this is only used in the [Unicorn project](https://github.com/adomni/unicorn).
This repository holds all of Adomni's VueJS Components that are used throughout any VueJS projects. Currently, this is only used in the Unicorn project.
The project is structured to hold all the components inside the src/components/*
folder. Each new component should have the following files inside the component's folder to stay consistent:
NewComponent (main directory found inside src/components/NewComponent
)
scoped
.yarn test
before pushing up your code.Deploying a new version of the Adomni-VueJS-Component library to NPM is an automatic process completed after merging a feature branch into master
.
The steps to follow from beginning of feature until merging into master
to trigger the automated process described above would be:
master
and add/alter code as neededmaster
before merging)Note: The version in the
package.json
of the repo on master should always reflect the latest version in NPM. You can also check the package on npmjs.org.
While you're working on a style change or new component inside of the Adomni Vue Component Library, you'll like want to see it in action prior to publishing the change.
In order to test a change made locally to the Adomni-VueJS-Components library, we can use yarn link
to connect this project to others that traditionally consume the published NPM package.
# Navigate to `Adomni-VueJS-Components` project
$ yarn build-bundle
$ yarn link
yarn link v1.22.10
success Registered "@adomni/vue-components".
info You can now run `yarn link "@adomni/vue-components"` in the projects where you want to use this package and it will be used instead.
Please note, if the command is run again you will see an error warning you that the project has already been registered. Additionally, a shortcut was made to run both commands shown above with
yarn build-link
# Navigate to project consuming the component library (i.e. Unicorn)
$ yarn link "@adomni/vue-components"
yarn link v1.22.10
success Registered "@adomni/vue-components".
info You can now run `yarn link "@adomni/vue-components"` in the projects where you want to use this package and it will be used instead.
And you should be all set! It's worth making a small and obvious change inside of the VueJS component library to ensure the link is working as expected before diving too deep into any complex work.
Because the consuming project is referencing the compiled build, you will need to re-build to VueJS component library to see any changes. This can be completed by running:
# Navigate to `Adomni-VueJS-Components` project
$ yarn build-bundle
Simply run yarn unlink "@adomni/vue-components"
in the consuming project's repo.
FAQs
This repository holds all of Adomni's VueJS Components that are used throughout any VueJS projects. Currently, this is only used in the [Unicorn project](https://github.com/adomni/unicorn).
The npm package @adomni/vue-components receives a total of 100 weekly downloads. As such, @adomni/vue-components popularity was classified as not popular.
We found that @adomni/vue-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.