IQSS / dataverse-frontend

An upcoming and modernized UI for Dataverse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release design system npm package version 1.2.0

GPortas opened this issue · comments

Overview of the Feature Request

Release version 1.2.0 of the design system to the npm registry.

What kind of user is the feature intended for?

Design system package consumer

What inspired the request?

What existing behavior do you want changed?

None

Typescript error here https://github.com/IQSS/js-dataverse-front-end-examples/tree/main/react-design-system-example

Image

I think we need to change this from the design system package.json from this

"types": "./dist/index.d.ts",
"exports": {
  ".": {
    "import": "./dist/index.es.js",
    "require": "./dist/index.umd.js"
  }
},

to this

"types": "./dist/index.d.ts",
"exports": {
  ".": {
    "import": "./dist/index.es.js",
    "require": "./dist/index.umd.js"
     "types": "./dist/index.d.ts",
  }
},

microsoft/TypeScript#52363 (comment)