Skip to content

Commit

Permalink
add type
Browse files Browse the repository at this point in the history
  • Loading branch information
odanado committed Aug 25, 2024
1 parent 31bd9d7 commit 6d29dff
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pkg-pr-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
node-version: '18'
cache: 'pnpm'
- run: pnpm install
- name: Build nivo packages
run: make pkgs-build
# - name: Build nivo packages
# run: make pkgs-build
- run: pnpx pkg-pr-new publish --pnpm ./packages/core ./packages/tooltip
2 changes: 2 additions & 0 deletions packages/core/dist2/nivo-core.cjs.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/core/dist2/nivo-core.cjs.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions packages/core/dist2/nivo-core.es.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/core/dist2/nivo-core.es.js.map

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@nivo/core",
"version": "0.87.1",
"license": "MIT",
"type": "module",
"author": {
"name": "Raphaël Benitte",
"url": "https://github.com/plouc"
Expand All @@ -14,12 +15,12 @@
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/nivo-core.es.js",
"require": "./dist/nivo-core.es.js"
"import": "./dist2/nivo-core.es.js",
"require": "./dist2/nivo-core.es.js"
}
},
"main": "./dist/nivo-core.es.js",
"module": "./dist/nivo-core.es.js",
"main": "./dist2/nivo-core.es.js",
"module": "./dist2/nivo-core.es.js",
"types": "./index.d.ts",
"files": [
"README.md",
Expand Down

0 comments on commit 6d29dff

Please sign in to comment.