
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@tigerconnect/web-component-library
Advanced tools
npm ci
to install dependenciesnpm run storybook
for developmentnpm run deploy
to build and publish the library to NPM and Storybook application to GitHub
Pages. See Publishing for more details.npm run gen
to create a new component.npm run storybook
to have it running, the test-runner will run against thisnpm test
. Failed tests will create a diff image that you can find
in each component's respective snapshot diff folder.npx test-storybook COMPONENT -u
. E.g. npx test-storybook Modal -u
See test-runner and jest-image-snapshot for documentation.
There are other methods for developing the project completely locally, however they suffered from
caching issues. Instead the recommended approach is to publish a beta version of the project and
then npm install
that into the other repo you are working in (e.g. in web-react-ui-toolkit
).
This means that each time you make changes and want them to be available in the downstream repo, you
will need to publish another beta version.
We follow the following convention for publishing a beta version:
web-component-library
repositorypackage.json
and append -<initials>.beta.<beta version number>
.
E.g. if the current package version is 2.1.0
then the result would be 2.1.1-ms.beta.1
for
Mahesh Sundaram's first beta version.npm run build
npm publish --tag beta
web-react-ui-toolkit
npm install @tigerconnect/web-component-library@<beta version> --save-exact
E.g.
@tigerconnect/web-component-library@2.1.1-ms.beta.1 --save-exact
web-react-ui-toolkit
Once you are satisfied with your changes in web-component-library
you should checkout the changes
you made to package.json
and first merge your PR as unrelease package changes (see
CHANGELOG.md
). Once your PR is merged, you then can create a subsequent PR that increments the
package version and moves the unreleased changes to released in the changelog. Finally in the
downstream repo you can update the installed web-component-library
package version to the latest
published version.
This project uses PostCSS, which will require some setting changes so that your CSS files will be understood and formatted auto-correctly:
Include in your VSCode editor settings (JSON):
"files.associations": {
"*.css": "scss"
}
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": true
}
As a quick workaround you can use :set ft=scss
.
Unreleased
section.feature/major.minor.patch
. Move what is in Unreleased
heading into Released
under a new version and publish date header.npm run deploy
. The command will run npm run build
and then npm publish
.
We currently deploy three different versions of Storybook to help facilitate sharing changes during different development phases.
npm run deploy
.FAQs
a shared component library for tc projects
The npm package @tigerconnect/web-component-library receives a total of 35 weekly downloads. As such, @tigerconnect/web-component-library popularity was classified as not popular.
We found that @tigerconnect/web-component-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.