Skip to content

Commit

Permalink
Add prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Jun 25, 2024
1 parent f081496 commit ddba7f2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"main": "dist/js/index.js",
"types": "dist/index.d.ts",
"scripts": {
"tokens:build": "node ./build.js",
"prepack": "node ./build.js",
"tokens:build": "node ./build.js && prettier dist/ --write",
"prepack": "yarn run tokens:build",
"publish-package": "npm publish --access public --tolerate-republish"
},
"repository": {
Expand All @@ -31,6 +31,7 @@
"packageManager": "[email protected]",
"devDependencies": {
"@department-of-veterans-affairs/css-library": "0.7.0",
"prettier": "^3.3.2",
"style-dictionary": "^3.9.2"
}
}
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2221,6 +2221,7 @@ __metadata:
resolution: "@department-of-veterans-affairs/mobile-tokens@workspace:packages/tokens"
dependencies:
"@department-of-veterans-affairs/css-library": "npm:0.7.0"
prettier: "npm:^3.3.2"
style-dictionary: "npm:^3.9.2"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -16927,6 +16928,15 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:^3.3.2":
version: 3.3.2
resolution: "prettier@npm:3.3.2"
bin:
prettier: bin/prettier.cjs
checksum: 39ed27d17f0238da6dd6571d63026566bd790d3d0edac57c285fbab525982060c8f1e01955fe38134ab10f0951a6076da37f015db8173c02f14bc7f0803a384c
languageName: node
linkType: hard

"pretty-bytes@npm:5.6.0":
version: 5.6.0
resolution: "pretty-bytes@npm:5.6.0"
Expand Down

0 comments on commit ddba7f2

Please sign in to comment.