@sproutsocial/seeds-utils
Advanced tools
Comparing version 1.5.0 to 1.6.0
# Change Log | ||
## 1.6.0 | ||
### Minor Changes | ||
- 2de6579: Add TS support for seeds-motion-unitless | ||
## 1.5.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@sproutsocial/seeds-utils", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "Seeds utility functions for generating tokens", | ||
@@ -5,0 +5,0 @@ "seeds_ignore": true, |
@@ -23,3 +23,5 @@ const Handlebars = require('handlebars'); | ||
function getTemplateForFile(file) { | ||
return Handlebars.compile(fs.readFileSync(path.resolve(__dirname, file)).toString()); | ||
return Handlebars.compile( | ||
fs.readFileSync(path.resolve(__dirname, file)).toString() | ||
); | ||
} | ||
@@ -49,3 +51,5 @@ | ||
Object.keys(templates).map((template) => { | ||
const handlebarsTemplate = getTemplateForFile(`templates/${templates[template]}`); | ||
const handlebarsTemplate = getTemplateForFile( | ||
`templates/${templates[template]}` | ||
); | ||
@@ -52,0 +56,0 @@ styleDictionary.registerFormat({ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22854
383