![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.
taxfix-components-beta
Advanced tools
Repository for Italy/Spain UI components
├── components
│ ├── dataEntry // Inputs checkboxes, radio buttons, text fields, etc.
│ ├── feedback // Alerts and Loadings
│ ├── general // General UI componets
│ │ ├── Button
│ │ ├── Icon
│ │ ├── IconButton
│ │ ├── Image
│ │ └── text
│ ├── layout // Layout especific components
│ │ ├── Container
│ │ ├── Grid
│ │ └── Pages
│ ├── navigation
│ └── other // Misc
├── index.ts //
└── theme
├── ThemeProvider.tsx
├── colors.ts
├── font.ts
├── index.tsx
└── raw-colors.ts
yarn install
ios/
folder and run pod install
Go to the project folder and run yarn sb:ios
Go to the project folder and run yarn sb:android
Go to the project folder and run yarn sb:web
https://user-images.githubusercontent.com/7741167/142962498-ff7b42bc-ff84-479b-8cb9-0be5293f120f.mov
Using the comand line run yarn generate
this will prompt you to enter the component name and the component type.
this command will create a new component folder and a new component file, and will also create a storybook for the component.
to create a new version of the library, run yarn build
this will create a new version of the library in the dist
folder.
after this you can upload the new version to the dist
folder to the github repository or npm registry.
to test the library locally, fist link the library to the project folder with
yarn link
than in the consumer project, run
yarn link italy-ui-library
once the project is linked you can import the library normali like any other import like
import { Button } from 'italy-ui-library';
const App = () => {
<Button variant="primary">Hello World</Button>;
};
according to the documentation styled-compoents need to run as a singleton in order to work so we need to make sure that we add the webpack alias to the webpack.config file in the consumer project
'styled-components': path.resolve('node_modules/styled-components'),
this will make sure that the styled-components package is available in the consumer project as a singleton
FAQs
Repository for Italy/Spain UI components
The npm package taxfix-components-beta receives a total of 0 weekly downloads. As such, taxfix-components-beta popularity was classified as not popular.
We found that taxfix-components-beta demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.