Fixed Issue #1 & updated Version
This commit is contained in:
1 parent
a0e7e39207
commit
4f4a6c7f23
2 files changed
+3
-3
No files matched your search
@@ -2,8 +2,8 @@ const fs = require("fs");
|
||||
|
||||
const files = []
|
||||
|
||||
fs.readdirSync("dist").filter( f => f.endsWith(".d.ts") ).forEach( f => {
|
||||
files.push(`export * from "./${f}"`)
|
||||
fs.readdirSync("dist").filter( f => f.endsWith(".js") ).forEach( f => {
|
||||
files.push(`export * from "./${f.split(".")[0]}"`)
|
||||
});
|
||||
|
||||
fs.writeFileSync("dist/index.d.ts", files.join("\n"))
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "marcsync",
|
||||
"version": "1.1.1-dev",
|
||||
"version": "1.1.2-dev",
|
||||
"description": "A NodeJS MarcSync Client to communicate with MarcSync's API",
|
||||
"main": "dist/marcsync.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
Reference in new issue
Block a user