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

@design-sync/manager

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@design-sync/manager - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

37

dist/index.d.ts

@@ -1,2 +0,2 @@

import { TokensWalker, TokensWalkerExtension, TokensWalkerFilter } from '@design-sync/w3c-dtfm';
import { TokensWalker, TokensWalkerOptions } from '@design-sync/w3c-dtfm';
import * as consola_dist_core from 'consola/dist/core';

@@ -14,5 +14,7 @@

declare class TokensManager {
private logger;
private plugins;
private walker;
private config;
constructor(logger?: consola_dist_core.ConsolaInstance);
getWalker(): TokensWalker;

@@ -22,3 +24,3 @@ getLogger(): consola_dist_core.ConsolaInstance;

private fetch;
private registerPluginsAndExtensions;
private setWalkerOptions;
run(configOverride?: Partial<DesignSyncConfig>, tokens?: Record<string, unknown>): Promise<void>;

@@ -28,14 +30,33 @@ use(plugin: TokensManagerPlugin | TokensManagerPlugin[]): void;

interface DesignSyncConfig {
/**
* Design Sync TokensManager configuration
*/
interface DesignSyncConfig extends TokensWalkerOptions {
/**
* remote repository uri to fetch the tokens from
*/
uri: string;
/**
* output directory for the generated files
*/
out: string;
/**
* authentication token to be used for fetching the tokens from the remote repository (if needed)
* @default undefined
*/
auth?: string;
/**
* current working directory to be used for resolving the config file and the output directory
* @default process.cwd()
*/
cwd?: string;
/**
* plugins to be used during the build process
*/
plugins: TokensManagerPlugin[];
schemaExtensions?: TokensWalkerExtension[];
disableDefaultSchemaExtensions?: boolean;
/**
* format the generated files using prettier
* @default false
*/
prettify?: boolean;
requiredModes?: string[];
defaultMode?: string;
filter?: TokensWalkerFilter;
}

@@ -42,0 +63,0 @@

{
"name": "@design-sync/manager",
"version": "0.4.1",
"version": "0.5.0",
"description": "Plugable design tokens manager",

@@ -20,3 +20,3 @@ "repository": "salamaashoush/design-sync",

"@design-sync/utils": "0.4.0",
"@design-sync/w3c-dtfm": "0.7.0"
"@design-sync/w3c-dtfm": "0.8.0"
},

@@ -23,0 +23,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc