style-dictionary 4.0.0-prerelease.2 → 4.0.0-prerelease.3

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/fs-node.js ADDED
@@ -0,0 +1,6 @@
1
+ import _fs from 'node:fs';
2
+ import { setFs, fs } from './fs.js';
3
+
4
+ setFs(_fs);
5
+
6
+ export { fs, setFs };
@@ -67,7 +67,7 @@ export default class StyleDictionary {
67
67
  // Placeholder is transformed on prepublish -> see scripts/inject-version.js
68
68
  // Another option might be import pkg from './package.json' with { "type": "json" } which would work in both browser and node, but support is not there yet.
69
69
  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#browser_compatibility
70
- static VERSION = '4.0.0-prerelease.2';
70
+ static VERSION = '4.0.0-prerelease.3';
71
71
  static formatHelpers = formatHelpers;
72
72
 
73
73
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "style-dictionary",
3
- "version": "4.0.0-prerelease.2",
3
+ "version": "4.0.0-prerelease.3",
4
4
  "description": "Style once, use everywhere. A build system for creating cross-platform styles.",
5
5
  "keywords": [
6
6
  "style dictionary",
@@ -30,7 +30,7 @@
30
30
  }
31
31
  },
32
32
  "bin": {
33
- "style-dictionary": "./bin/style-dictionary"
33
+ "style-dictionary": "./bin/style-dictionary.js"
34
34
  },
35
35
  "engines": {
36
36
  "node": ">=18.0.0"
@@ -40,8 +40,7 @@
40
40
  "lib",
41
41
  "examples",
42
42
  "fs.js",
43
- "index.js",
44
- "index-node.js",
43
+ "fs-node.js",
45
44
  "LICENSE",
46
45
  "NOTICE",
47
46
  "types"