Skip to content

Commit

Permalink
Export nested types and functions
Browse files Browse the repository at this point in the history
  • Loading branch information
borosr committed Jul 30, 2023
1 parent 0e2d5d3 commit ba41c84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gwservices/flue",
"version": "0.0.1",
"version": "0.0.2",
"private": false,
"scripts": {
"dev": "vite",
Expand All @@ -12,6 +12,7 @@
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/"
},
"type": "module",
"module": "./dist/flue.es.js",
"main": "./dist/flue.umd.js",
"types": "./dist/src/index.d.ts",
Expand All @@ -28,7 +29,9 @@
"typesVersions": {
"*": {
"types": [
"./dist/src/index.d.ts"
"./dist/src/index.d.ts",
"./dist/src/types/index.d.ts",
"./dist/src/rules/index.d.ts"
]
}
},
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ function setLocale(newLocale: string) {
}

export { plugin, useFlue, useFlueCollection, useFlueForm, setLocale, locale }
export * from './types'
export * from './rules'
export * from './rules/utils'

0 comments on commit ba41c84

Please sign in to comment.