Skip to content

Commit

Permalink
chore(release): 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanksdesign committed Oct 23, 2023
1 parent 18629d8 commit f88fe97
Show file tree
Hide file tree
Showing 26 changed files with 44 additions and 26 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [3.9.0](https://github.com/amzn/style-dictionary/compare/v3.8.0...v3.9.0) (2023-10-23)


### Features

* allow overriding formatting, add commentStyle long-above, short-above ([b627ff1](https://github.com/amzn/style-dictionary/commit/b627ff1e2b9ec0b9d72ba7181f2e66f73c08b04b))


### Bug Fixes

* account for multi-line comments in tokens, improve comment style ([b5d4cc2](https://github.com/amzn/style-dictionary/commit/b5d4cc2384202e8a2f69e0439dbbeab136364911))
* allow outputReferences to work on non-string values ([8021ec0](https://github.com/amzn/style-dictionary/commit/8021ec0c914d904333cdcc063a4e34c49d2db418))
* outputReferences to use original.value when possible ([#1002](https://github.com/amzn/style-dictionary/issues/1002)) ([bd73b62](https://github.com/amzn/style-dictionary/commit/bd73b622b01839325faf2f0129b57e5e58716588))

## [3.8.0](https://github.com/amzn/style-dictionary/compare/v3.7.2...v3.8.0) (2023-04-25)


Expand Down
2 changes: 1 addition & 1 deletion examples/advanced/assets-base64-embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/auto-rebuild-watcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"license": "Apache-2.0",
"devDependencies": {
"chokidar-cli": "^1.2.0",
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/component-cti/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"styled-components": "^5.3.0"
},
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
},
"resolutions": {
"immer": "8.0.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced/create-react-native-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"babel-jest": "~25.2.6",
"jest": "~25.2.6",
"react-test-renderer": "~16.13.1",
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
},
"jest": {
"preset": "react-native"
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced/custom-file-header/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"author": "",
"license": "ISC",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/custom-filters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"handlebars": "^4.7.7",
"lodash": "^4.17.21",
"pug": "^3.0.2",
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/custom-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/custom-transforms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/font-face-rules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/format-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/matching-build-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"author": "Kelly Harrop <kn.harrop@gmail.com>",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/multi-brand-multi-platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"homepage": "https://github.com/dbanksdesign/style-dictionary-node#readme",
"devDependencies": {
"style-dictionary": "3.8.0",
"style-dictionary": "3.9.0",
"tinycolor2": "^1.4.1"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/npm-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/referencing_aliasing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"devDependencies": {
"aws-sdk": "^2.7.21",
"fs-extra": "^1.0.0",
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/tokens-deprecation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"license": "Apache-2.0",
"devDependencies": {
"lodash": "^4.17.11",
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/transitive-transforms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"license": "ISC",
"devDependencies": {
"chroma-js": "^2.1.0",
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/variables-in-outputs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"author": "",
"license": "MIT",
"devDependencies": {
"style-dictionary": "3.8.0"
"style-dictionary": "3.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/yaml-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.8.0",
"style-dictionary": "3.9.0",
"yaml": "^1.10.0"
}
}
6 changes: 5 additions & 1 deletion lib/common/formatHelpers/createPropertyFormatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ const defaultFormatting = {
* Split a string comment by newlines and
* convert to multi-line comment if necessary
* @param {string} to_ret_prop
* @param {{comment: string; style: 'short' | 'long'; position: 'above' | 'inline'; indentation: string}} options
* @param {Object} options
* @param {string} options.comment
* @param {string} options.indentation
* @param {string} options.style 'short' | 'long'
* @param {string} options.position 'above' | 'inline'
* @returns {string}
*/
function addComment(to_ret_prop, options) {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "style-dictionary",
"version": "3.8.0",
"version": "3.9.0",
"description": "Style once, use everywhere. A build system for creating cross-platform styles.",
"keywords": [
"style dictionary",
Expand Down

0 comments on commit f88fe97

Please sign in to comment.