Skip to content

Commit

Permalink
Merge pull request #6 from juneHQ/fb-include-types
Browse files Browse the repository at this point in the history
Add declaration true to nodeconfig
  • Loading branch information
ferrucc-io authored Apr 14, 2024
2 parents f53ea7b + e98d370 commit 9e4bd1e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Release npm package
on:
release:
types: [published]
push:
tags:
- 'v*'

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@june-so/charts",
"private": false,
"version": "0.0.7",
"version": "0.0.8",
"type": "module",
"files": [
"dist"
Expand All @@ -10,6 +10,7 @@
"exports": {
".": {
"import": "./dist/charts.js",
"require": "./dist/charts.js",
"types": "./dist/main.d.ts"
},
"./dist/style.css": "./dist/style.css"
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"strict": true
"strict": true,
"declaration": true
},
"include": ["vite.config.ts"]
}

0 comments on commit 9e4bd1e

Please sign in to comment.