Skip to content

Commit

Permalink
Fix broken type declarations downstream imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuzina committed Sep 26, 2024
1 parent 4872eaf commit 03c3f23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "0.47.3",
"main": "dist/index.js",
"module": "dist-esm/index.js",
"types": "dist-types/index.d.ts",
"author": {
"email": "webteam@canonical.com",
"name": "Canonical Webteam"
Expand Down Expand Up @@ -133,7 +132,7 @@
"build-base": "rm -rf $OUT_DIR && NODE_ENV=production BABEL_ENV=$BABEL_ENV babel src --out-dir $OUT_DIR --copy-files --no-copy-ignored --extensions '.js,.jsx,.ts,.tsx,.snap' --ignore '**/*.test.ts','**/*.test.tsx','**/*.stories.tsx','**/__snapshots__','src/setupTests.js','src/testing'",
"build-cjs": "OUT_DIR=dist BABEL_ENV=cjs yarn run build-base",
"build-esm": "OUT_DIR=dist-esm BABEL_ENV=esm yarn run build-base",
"build-declaration": "rm -rf dist-types && tsc --project tsconfig.build.json --outDir dist-types && tsc-alias -p tsconfig.build.json --outDir dist-types",
"build-declaration": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"build-watch": "yarn run build-cjs --watch",
"build-docs": "storybook build -c .storybook -o docs",
"clean": "rm -rf node_modules dist .out",
Expand Down

0 comments on commit 03c3f23

Please sign in to comment.