@db-ui/components
Advanced tools
Comparing version 0.7.1-0-f113dce to 0.7.1-stylelint-b63ee4c
@@ -5,2 +5,8 @@ import { exec } from 'node:child_process'; | ||
import { dirname } from 'path'; | ||
import { fileURLToPath } from 'url'; | ||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = dirname(__filename).replaceAll('\\', '/'); | ||
const execAsync = promisify(exec); | ||
@@ -19,3 +25,3 @@ | ||
try { | ||
const files = await glob('**/*.ttf'); | ||
const files = await glob(`${__dirname}/*.ttf`); | ||
const commands = files.map((file) => | ||
@@ -27,3 +33,3 @@ [ | ||
'--flavor=woff2', | ||
'--unicodes-file=unicode-eu.txt', | ||
`--unicodes-file=${__dirname}/unicode-eu.txt`, | ||
`--output-file=${file.replace('.ttf', '-EU.woff2')}` | ||
@@ -30,0 +36,0 @@ ].join(' ') |
@@ -20,5 +20,5 @@ # Generate fonts | ||
```shell | ||
node packages/foundations/assets/fonts/generate-eu-fonts.ts | ||
tsx packages/foundations/assets/fonts/generate-eu-fonts.ts | ||
``` | ||
To check if everything works fine you can check all glyphs with an [opentype.js.org glyph inspector tool](https://opentype.js.org/glyph-inspector.html). |
{ | ||
"name": "@db-ui/components", | ||
"version": "0.7.1-0-f113dce", | ||
"version": "0.7.1-stylelint-b63ee4c", | ||
"description": "", | ||
@@ -47,8 +47,8 @@ "repository": { | ||
"dependencies": { | ||
"@db-ui/foundations": "0.7.1-0-f113dce" | ||
"@db-ui/foundations": "0.7.1-stylelint-b63ee4c" | ||
}, | ||
"devDependencies": { | ||
"@builder.io/eslint-plugin-mitosis": "0.0.16", | ||
"@builder.io/mitosis": "0.5.28", | ||
"@builder.io/mitosis-cli": "0.5.28", | ||
"@builder.io/mitosis": "0.5.30", | ||
"@builder.io/mitosis-cli": "0.5.30", | ||
"cpr": "3.0.1", | ||
@@ -55,0 +55,0 @@ "cssnano": "^7.0.6", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4711450
28550
+ Added@db-ui/foundations@0.7.1-stylelint-b63ee4c(transitive)
- Removed@db-ui/foundations@0.7.1-0-f113dce(transitive)