@db-ui/components
Advanced tools
Comparing version 0.7.1 to 0.7.2-icon-export-2970210
@@ -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", | ||
"version": "0.7.2-icon-export-2970210", | ||
"type": "module", | ||
"description": "", | ||
@@ -11,5 +12,2 @@ "repository": { | ||
"license": "Apache-2.0", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
@@ -26,7 +24,7 @@ "build" | ||
"build-style:02_postcss": "postcss build/**/*.css --replace", | ||
"build:mitosis": "mitosis build -c configs/mitosis.config.js", | ||
"compile:angular": "mitosis build -c configs/angular/mitosis.config.js && tsx scripts/exec/angular.ts && cpr ../../output/tmp/angular/src ../../output/angular/src -o", | ||
"compile:react": "mitosis build -c configs/react/mitosis.config.js && tsx scripts/exec/react.ts && cpr ../../output/tmp/react/src ../../output/react/src -o", | ||
"compile:stencil": "mitosis build -c configs/stencil/mitosis.config.js && tsx scripts/exec/stencil.ts && cpr ../../output/tmp/stencil/src ../../output/stencil/src -o", | ||
"compile:vue": "mitosis build -c configs/vue/mitosis.config.js && tsx scripts/exec/vue.ts && cpr ../../output/tmp/vue/src ../../output/vue/src -o", | ||
"build:mitosis": "mitosis build -c configs/mitosis.config.cjs", | ||
"compile:angular": "mitosis build -c configs/angular/mitosis.config.cjs && tsx scripts/exec/angular.ts && cpr ../../output/tmp/angular/src ../../output/angular/src -o", | ||
"compile:react": "mitosis build -c configs/react/mitosis.config.cjs && tsx scripts/exec/react.ts && cpr ../../output/tmp/react/src ../../output/react/src -o", | ||
"compile:stencil": "mitosis build -c configs/stencil/mitosis.config.cjs && tsx scripts/exec/stencil.ts && cpr ../../output/tmp/stencil/src ../../output/stencil/src -o", | ||
"compile:vue": "mitosis build -c configs/vue/mitosis.config.cjs && tsx scripts/exec/vue.ts && cpr ../../output/tmp/vue/src ../../output/vue/src -o", | ||
"copy-assets": "cpr ../foundations/assets build/assets -o", | ||
@@ -49,8 +47,8 @@ "copy-output": "npm-run-all copy:*", | ||
"dependencies": { | ||
"@db-ui/foundations": "0.7.1" | ||
"@db-ui/foundations": "0.7.2-icon-export-2970210" | ||
}, | ||
"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.31", | ||
"@builder.io/mitosis-cli": "0.5.31", | ||
"cpr": "3.0.1", | ||
@@ -57,0 +55,0 @@ "cssnano": "^7.0.6", |
@@ -16,2 +16,3 @@ # @db-ui/components | ||
- [Vue components](https://www.npmjs.com/package/@db-ui/v-components) | ||
- [Web components](https://www.npmjs.com/package/@db-ui/web-components) | ||
@@ -18,0 +19,0 @@ Please take a look at your desired framework to retrieve more information. |
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
4714674
28534
108
Yes
+ Added@db-ui/foundations@0.7.2-icon-export-2970210(transitive)
- Removed@db-ui/foundations@0.7.1(transitive)