@hh.ru/magritte-design-tokens-utils 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cli/tokenize.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { PreparedThemesTokens } from '../types';
1
+ import { PreparedThemesTokens } from '@hh.ru/magritte-design-tokens-utils/types';
2
2
  export declare const tokenize: ({ themeTokens: tokens, themeName }: PreparedThemesTokens) => void;
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from './purify';
2
- export * from './tokenize';
3
- export * from './prepare';
4
- export * from './constants';
1
+ export * from '@hh.ru/magritte-design-tokens-utils/purify';
2
+ export * from '@hh.ru/magritte-design-tokens-utils/tokenize';
3
+ export * from '@hh.ru/magritte-design-tokens-utils/prepare';
4
+ export * from '@hh.ru/magritte-design-tokens-utils/constants';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-design-tokens-utils",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "type": "module",
@@ -15,7 +15,8 @@
15
15
  "eslint-test": "yarn root:eslint-test $(pwd)",
16
16
  "ts-config": "yarn root:ts-config $(pwd)",
17
17
  "ts-check": "yarn root:ts-check $(pwd)",
18
- "test": "yarn root:test $(pwd)"
18
+ "test": "yarn root:test $(pwd)",
19
+ "watch": "yarn root:watch $(pwd)"
19
20
  },
20
21
  "dependencies": {
21
22
  "change-case": "4.1.2",
@@ -25,5 +26,5 @@
25
26
  "publishConfig": {
26
27
  "access": "public"
27
28
  },
28
- "gitHead": "b660dd64fca3eaad5ec44ea9a73f92bb0d9694aa"
29
- }
29
+ "gitHead": "bdbcf07ae5f66002ea09633961d0c9c008c70cd6"
30
+ }
package/prepare.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Options } from 'token-transformer';
2
- import { Tokens, PreparedThemesTokens } from './types';
2
+ import { Tokens, PreparedThemesTokens } from '@hh.ru/magritte-design-tokens-utils/types';
3
3
  export declare const prepareBaseTokens: (tokens: Tokens, config?: Options) => Tokens;
4
4
  export declare const filterThemeSets: (tokens: Tokens) => string[];
5
5
  export declare const prepareThemesTokens: (tokens: Tokens, config?: Options, includeThemes?: string[]) => PreparedThemesTokens[];
package/purify.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Tokens } from './types';
1
+ import { Tokens } from '@hh.ru/magritte-design-tokens-utils/types';
2
2
  export declare const purify: (tokensData: Tokens) => Tokens;