
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@nycopportunity/pattern-elements
Advanced tools
Shared elements for the NYC Opportunity UI Patterns Framework.
Shared elements for the NYC Opportunity UI Patterns Framework. Currently a work–in-progress. Refer to architecture diagram for roadmap and planning. This repository works with the Patterns Typography module, however, typography can be swapped out depending on the project needs.
This assumes you have scaffolded a Patterns CLI project ("Quick start a new project").
npm install @nycopportunity/pattern-elements @nycopportunity/pattern-typography
Add the module include paths to the array configuration in the config/sass.js file.
/**
* Config
*
* @type {Object}
*/
const sass = {
sourceMapEmbed: true,
includePaths: [
`${process.env.PWD}/src/`,
`${process.env.PWD}/node_modules/`,
`${process.env.PWD}/node_modules/@nycopportunity/pattern-elements/src/`, // +
`${process.env.PWD}/node_modules/@nycopportunity/pattern-typography/src/` // +
]
};
Add the module Sass import directives in in the src/scss/_imports.scss file.
/** Elements */
@forward '@nycopportunity/pattern-typography/src/scss/imports'; // This module includes @font-face and needs to be imported before all other declarations.
@forward '@nycopportunity/pattern-elements/src/scss/imports';
/** Elements - end */
FAQs
Shared elements for the NYC Opportunity UI Patterns Framework.
The npm package @nycopportunity/pattern-elements receives a total of 1 weekly downloads. As such, @nycopportunity/pattern-elements popularity was classified as not popular.
We found that @nycopportunity/pattern-elements demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.