Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
@pap-it/typography
Advanced tools
Atomic Type: atoms
Version: Version: Version: 1.0.22
npm install @pap-it/typography
<script type="module" defer>
import "@pap-it/typography/wc"
</script>
<pap-typography></pap-typography>
import { Typography } from "@pap-it/typography/react";
function Component() {
return (
<Typography />
)
}
Development takes place within the src
folder. To add a new subcomponent, use the command npm run component:add
. This command updates the .env
file, creates a view folder, and adds a subfolder in the components
folder (creating it if it doesn't exist) inside src
with all the necessary files.
Styling is managed in the style.scss
file, which automatically generates a style.ts
file for use in the component.
To view the component, run npm start
. This command is equivalent to npm run start demo
and launches the development server for the demo folder located within the views
folder. This allows you to preview your component during development.
All assets required by the component, such as icons and images for translations, should be placed in the assets
folder. This folder will already include an icons
and translations
folder with an en.json
file for English translations. Use this structure to organize translations and make them easily accessible for other projects.
For assets used solely for display or demo purposes, create a public
folder under the relevant directory inside the views
folder. These assets are not included in the component package.
--prod
flag (npm run build -- --prod
) for a production build, which includes minification.views
directory must contain an index.html
file. Usage example: npm run start --name=<folder>
.--force
flag is used. Optional flags include --verbose
and --force
.--verbose
& --force
.FAQs
Atomic Type: atoms
The npm package @pap-it/typography receives a total of 0 weekly downloads. As such, @pap-it/typography popularity was classified as not popular.
We found that @pap-it/typography demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.