@box/blueprint-web-assets 4.51.1 → 4.52.2

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.
Files changed (1) hide show
  1. package/package.json +8 -5
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@box/blueprint-web-assets",
3
- "version": "4.51.1",
3
+ "version": "4.52.2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "scripts": {
6
- "build-local-all": "yarn nx clone-repo && yarn build-local && yarn lint-local && yarn lint-local-css",
6
+ "build-local-all": "yarn nx clone-repo && yarn build-local && nx run blueprint-web-assets:format-lint",
7
7
  "build-local": "yarn tokens-build-styles-all && yarn icons-build",
8
8
  "build-storybook": "nx run blueprint-web-assets:build-storybook",
9
9
  "build": "rimraf dist && tsc --project tsconfig.lib.json && yarn copy-static",
@@ -22,9 +22,12 @@
22
22
  "svgr-medium-filled": "svgr --config-file svgrConfig/replace-color.svgrrc.js -d src/icons/MediumFilled ./tmp/repo/Icon/MediumFilled",
23
23
  "svgr-medium": "svgr --config-file svgrConfig/replace-color.svgrrc.js -d src/icons/Medium ./tmp/repo/Icon/Medium",
24
24
  "svgr": "rimraf src/icons/Content src/icons/ContentItemNoBackground src/icons/Fill src/icons/Line src/icons/Logo src/icons/MediumFilled src/icons/Medium && concurrently 'yarn svgr-content' 'yarn svgr-content-item-no-background' 'yarn svgr-fill' 'yarn svgr-illustration' 'yarn svgr-line' 'yarn svgr-logo' 'yarn svgr-medium-filled' 'yarn svgr-medium' && yarn remove-clippaths",
25
- "tokens-build-styles-all": "yarn tokens-build-styles && yarn tokens-build-styles-create-typography-mixins",
25
+ "tokens-build-styles-all": "yarn tokens-build-styles && yarn tokens-build-styles-create-typography-mixins && yarn build-bp2-tokens",
26
26
  "tokens-build-styles-create-typography-mixins": "node scripts/create_typography_mixins.js --input tmp/repo/Style/values.json --output src/tokens/mixins.scss",
27
- "tokens-build-styles": "token-transformer --expandTypography --expandComposition --resolveReferences=false tmp/repo/Style tmp/tokens_output_styles.json light-mode,values && node scripts/build-tokens.mjs"
27
+ "tokens-build-styles": "token-transformer --expandTypography --expandComposition --resolveReferences=false tmp/repo/Style tmp/tokens_output_styles.json light-mode,values && node scripts/build-tokens.mjs",
28
+ "tokens-build-styles-figma-variables": "node scripts/bp2/create-figma-variables-tokens.mjs",
29
+ "append-figma-variables-to-files": "node scripts/bp2/append-figma-vars-to-js.js && node scripts/bp2/append-figma-vars-to-json.js && node scripts/bp2/append-figma-vars-to-css.js",
30
+ "build-bp2-tokens": "yarn tokens-build-styles-figma-variables && yarn append-figma-variables-to-files"
28
31
  },
29
32
  "sideEffects": [
30
33
  "**/*.css",
@@ -126,7 +129,7 @@
126
129
  }
127
130
  },
128
131
  "devDependencies": {
129
- "@box/storybook-utils": "^0.13.4",
132
+ "@box/storybook-utils": "^0.13.5",
130
133
  "@types/react": "^18.0.0",
131
134
  "@types/react-dom": "^18.0.0",
132
135
  "chalk": "4.1.2",