
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@carforyou/header-footer
Advanced tools
CAR FOR YOU Header / Footer
npm install @carforyou/header-footer
In your postcss config, add the components paths to the purgecss paths, so this packages classnames don't get stripped:
const { getComponentPaths } = require("@carforyou/header-footer").default
Make sure to import global styles:
@import '@carforyou/components/assets/index.css';
Then, use components as follows
import { UserHeader } from "@carforyou/header-footer"
<UserHeader language="de" dealerhubRootUrl="https://dealerhub.carforyou.ch" listingsRootUrl="https://www.carforyou.ch" />
npm run build
Whenever you change the json translation files, run
npm run build:translations
You can link your local npm package to integrate it with any local project:
npm run link -- <relative_path_to_project>
New versions are released on the ci using semantic-release as soon as you merge into master. Please make sure your merge commit message adheres to the corresponding conventions.
You will need to enable the repository in circle CI ui to be able to build it.
For slack notifications to work you will need to provide the token in circle settings.
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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.