![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@duetds/components
Advanced tools
This package includes Duet Design System Web Components and related utilities.
This package includes Duet Web Components and related tools.
For usage instructions, please see Duet Design System documentation.
This package is built with Stencil.js, a compiler and toolchain for building web components. The component source code is written in TypeScript + JSX (TSX), with stylesheets written in SCSS.
The following are the most commonly used commands during development:
npm start
- Compile components, start watching for changes, start local development servernpm test
- Compile components, start watching for changes, start local development server and run tests.The local development server started by npm start
or npm test
serves a files located at /src/prototypes/
. Any local changes or new components are available on this page, so this can be used as a testing ground when developing.
On that page you can also press ctrl + p
to choose any of the component fixtures to work on.
src/components/[component-name]
[component-name].tsx
[component-name].scss
[component-name].e2e.ts
readme.md
default
and turva
docs/
:
changelog.md
/docs/
directory and run npm install
and npm start
./packages/components/
directory and run npm install
and npm start
that starts up the component watch and build tasks.*.tsx
, *.scss
, or readme.md
files underneath /packages/components/src/components/
and hit save, that will trigger a rebuild task which also copies the necessary changes over to the local documentation running at http://localhost:8000.*.tsx
and *.scss
files will generate a new JavaScript bundle, while editing the readme.md
files only generates and copies over the documentation and component usage examples.readme.md
, while the component templates are located under /docs/src/templates/
directory.Copyright © 2023 LocalTapiola/Turva.
FAQs
This package includes Duet Design System Web Components and related utilities.
The npm package @duetds/components receives a total of 26 weekly downloads. As such, @duetds/components popularity was classified as not popular.
We found that @duetds/components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.