Skip to content

Commit

Permalink
Included input in package
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei15193 committed Jun 11, 2021
1 parent 0292098 commit 1841a39
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@
},
"problemMatcher": [],
"label": "npm: test"
},
{
"dependsOn": "npm: build",
"type": "process",
"command": "powershell",
"args": [
"-Command",
"Get-ChildItem -File -Recurse -Path \"./lib\" -Filter \"*.js\" | ForEach-Object { (Get-Content $_.FullName) -replace ' = require\\(\"\\.(.*)\"\\);',' = require(\".$1.js\");' | Out-File $_.FullName }"
],
"problemMatcher": [],
"label": "prepare: publish"
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-model-view-viewmodel",
"version": "1.0.0-beta2",
"version": "1.0.0-beta3",
"description": "A library for developing React applications using Model-View-ViewModel inspired by .NET",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ export { useViewModelFactory } from './hooks/use-view-model-factory';

export { useValidators } from './hooks/use-validators';
export { useCollectionValidators } from './hooks/use-collection-validators';
export { useCollectionItemValidators } from './hooks/use-collection-item-validators';
export { useCollectionItemValidators } from './hooks/use-collection-item-validators';

export type { IInputProps } from './components/input';
export { Input } from './components/input';

0 comments on commit 1841a39

Please sign in to comment.