Fixed Issue #1 & updated Version
This commit is contained in:
parent
a0e7e39207
commit
4f4a6c7f23
@ -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,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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user