This commit is contained in:
Chris Trevino 2022-02-09 12:35:48 -08:00
Родитель 644795905d
Коммит 2b3983533e
5 изменённых файлов: 15 добавлений и 14 удалений

Просмотреть файл

@ -2,8 +2,7 @@
"extends": "@essex/tsconfig-base",
"compilerOptions": {
"outDir": "lib",
"lib": ["ESNext", "DOM"],
"allowSyntheticDefaultImports": true
"lib": ["ESNext", "DOM"]
},
"include": ["src/**/*"]
}

Просмотреть файл

@ -2,11 +2,12 @@
"name": "@thematic/vega",
"version": "1.3.3",
"license": "MIT",
"main": "src/index.ts",
"publishConfig": {
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts"
"main": "dist/cjs/index.js",
"types": "dist/types/index.d.ts",
"exports": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"repository": {
"type": "git",
@ -23,6 +24,7 @@
},
"devDependencies": {
"@essex/scripts": "^20.0.0",
"@essex/tsconfig-base": "^1.0.0",
"@types/node": "^14.18.5",
"vega": "5.15.0"
},

Просмотреть файл

@ -2,8 +2,8 @@
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project.
*/
import { Theme, SVGMark } from '@thematic/core'
import { Spec } from 'vega'
import type { Theme, SVGMark } from '@thematic/core'
import type { Spec } from 'vega'
function mark(mark: SVGMark) {
const { fill, fillOpacity, stroke, strokeOpacity, strokeWidth } = mark

Просмотреть файл

@ -1,10 +1,7 @@
{
"extends": "../../tsconfig.json",
"extends": "@essex/tsconfig-base",
"compilerOptions": {
"outDir": "lib",
"strict": false,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true
"outDir": "lib"
},
"include": ["src/**/*"]
}

Просмотреть файл

@ -2852,6 +2852,7 @@ __metadata:
dependencies:
"@essex-js-toolkit/hooks": ^1.1.5
"@essex/scripts": ^20.0.0
"@essex/tsconfig-base": ^1.0.0
"@fluentui/font-icons-mdl2": ^8.1.20
"@fluentui/react": ^8.49.0
"@thematic/color": "workspace:packages/color"
@ -2890,6 +2891,7 @@ __metadata:
resolution: "@thematic/react@workspace:packages/react"
dependencies:
"@essex/scripts": ^20.0.0
"@essex/tsconfig-base": ^1.0.0
"@thematic/color": "workspace:packages/color"
"@thematic/core": "workspace:packages/core"
"@types/node": ^14.18.5
@ -2948,6 +2950,7 @@ __metadata:
resolution: "@thematic/vega@workspace:packages/vega"
dependencies:
"@essex/scripts": ^20.0.0
"@essex/tsconfig-base": ^1.0.0
"@thematic/core": "workspace:packages/core"
"@types/node": ^14.18.5
core-js: ^3.20.2