
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
@ardoq/shared-ui
Advanced tools
Reusable components for Ardoq's front-end applications
Re-usable components for ardoq's front-end applications.
For now the storybook is published from the ardoq-front repository, but we aim to move the stories here soon.
While the library is still considered unstable, the git history serves as the canonical list of changes between versions. So please write self-contained commits, with subjects and descriptions which allow users of the library to easily see and understand what has changed and why.
Since we do not yet have meaningful semantic versioning of this library, if a
change modifies an external interface, it is advisable to prepare in advance
any PRs necessary to update dependent projects (eg. ardoq-front
,
ardoq-surveys
) for the modifications being made. Link these when creating
your PR for shared-ui
.
yarn watch
. This will continuously build the package when you make changes in /src
./dist
folder of this project, run yarn link
. This allows yarn to install the package via symlinks.rm -rf node_modules
. Then install the dependencies with yarn install
.yarn link @ardoq/shared-ui
. This tells yarn to install the package from the dist folder.Now any changes that you make in /src
should be automatically reflected in the repository where you linked the package.
Later, you might want to use the published version of the package again. Run yarn unlink @ardoq/shared-ui
from within the linked repo (i.e. ardoq-front).
Circle will pick up the new commit and publish a new version automatic if its on master branch and a release commit
yarn lint && yarn check-types && yarn test
yarn deploy # *patch*|minor|major
yarn watch
. This will continuously build the package when you make changes in /src
.yarn test:watch
(continuous) or yarn test
(on-demand) to run tests. Tests are run against the compiled files in dist
, but sourcemaps allow us to see the correct line numbers in the source .*ts
files.yarn run dl-icons
. Icons will be downloaded to ./material-icons
base64 material-icons/material-round.woff > material-icons/material-round-woff-base64.txt
./src/fonts/material
:material-round.otf
material-round.woff
material-round.woff2
version.json
./src/fonts/material/style.css
src: url(data:font/woff;charset=utf-8;base64,<<GENERATED BASE64 STRING FROM material-icons/material-round-woff-base64.txt FILE>>
)./material-icons/
(its under gitignore anyway)FAQs
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
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.