New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@carforyou/header-footer

Package Overview
Dependencies
Maintainers
2
Versions
377
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@carforyou/header-footer

CAR FOR YOU Header / Footer

1.0.0-initial-ba9e04e76f660147ab34dd256dadd1607c626aa6.1
Source
npm
Version published
Weekly downloads
25
525%
Maintainers
2
Weekly downloads
 
Created
Source

semantic-release

Usage

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

Then, use components as follows

import { UserHeader } from "@carforyou/header-footer"

<UserHeader language="de" dealerhubRootUrl="https://dealerhub.carforyou.ch" listingsRootUrl="https://www.carforyou.ch" />

Development

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:

cd carforyou-header-footer-pkg
npm run build

cd carforyou-listings-web
npm link ../carforyou-header-footer-pkg/pkg

Release a new version

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.

Circle CI

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

Package last updated on 12 Jul 2020

Did you know?

Socket

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.

Install

Related posts