
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@afiniti/design-system-2021
Advanced tools
To test our package locally in any project please follow these steps.
run npm compile
npm link
this will create a symlink to our node_modulesnpm link "@afiniti/design-system"
this
will connect with symlink node_moduleNow you are able to test the package into any npm project available locally
For Example:
import {BackCta} from '@afiniti/afiniti-design-system/dist/Buttons'
<BackCta path="/" theme={theme} text="Global Leaders" />
The documentation for the exported SCSS variables and global classes are available here:
Note: to publish private package you are required to login with paid account / or set the appropriate access token.
npm install @afiniti/design-system
Setup scss structure with partials and globals using the styles located in
@afiniti/design-system/dist/styles
@import '~@afiniti/design-system/dist/styles/partials/colors.scss';
// your project specific variables here
$textColorSecondary: $secondaryColor;
$backgroundColorSecondary: $secondaryColor;
@import '~@afiniti/design-system/dist/styles/base/base';
@import '../partials/colors';
@import '../partials/variables';
@import '../partials/_mixins';
@import '../partials/extends';
@import './base';
@import '~@afiniti/design-system/dist/styles/base/default.scss';
@import 'styles/base/base';
@import 'styles/base/reset';
@import 'styles/base/default';
@import 'styles/base/global';
Add AppContext for header and navigation
FAQs
## Test Package Locally
We found that @afiniti/design-system-2021 demonstrated a not healthy version release cadence and project activity because the last version was released 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.