
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Main external component library for yuugen apps.
npm install yuugen-ui@latest
yuugen-ui/
│── lib/
│ ├── components/
│ │ ├── Button/
│ │ │ ├── Button.stories.tsx
│ │ │ ├── Button.styles.ts
│ │ │ ├── Button.tsx
│ │ │ ├── index.tsx
│ ├── styles/
│ │ ├── theme.ts
│── .storybook/
│── vite.config.ts
│── tsconfig.app.json
│── package.json
npm run build # Generates build on /dist folder
npm run storybook # Starts Storybook's server to visualize component suite
npm run build-storybook # Generates static storybook's folder to serve
import { Button } from "yuugen-ui/components/Button";
function App() {
return (
<>
<Button variantStyle="primary" size="small">
Click Me
</Button>
</>
);
}
export default App;
vite.config.ts settings declarationimport { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import dts from "vite-plugin-dts";
import { resolve } from "path";
import { libInjectCss } from "vite-plugin-lib-inject-css";
export default defineConfig({
plugins: [
react(),
libInjectCss(),
dts({
include: ["lib"],
outDir: "dist/types",
entryRoot: "lib",
insertTypesEntry: false,
tsconfigPath: resolve(__dirname, "tsconfig.app.json"),
}),
],
build: {
copyPublicDir: false,
lib: {
entry: resolve(__dirname, "lib/components/index.tsx"),
name: "yuugen-ui",
formats: ["es"],
},
rollupOptions: {
external: ["react", "react-dom"],
output: {
dir: "dist",
preserveModules: true,
preserveModulesRoot: "lib",
chunkFileNames: "chunks/[name].[hash].js",
assetFileNames: "assets/[name][extname]",
entryFileNames: "[name].js",
globals: {
react: "React",
"react-dom": "ReactDOM",
},
},
},
},
resolve: {
alias: {
"yuugen-ui/components": resolve(__dirname, "lib/components"),
},
},
});
Run this command to start Storybook local server to visualize/interact with components
npm run storybook
Go to http://localhost:6006 to manually open Storybook's playground
FAQs
Main external component library for yuugen apps.
We found that yuugen-ui demonstrated a not healthy version release cadence and project activity because the last version was released 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.