Skip to content

Commit

Permalink
Y2024
Browse files Browse the repository at this point in the history
  • Loading branch information
vprtsingh committed Jul 27, 2024
1 parent 6090872 commit 5083db0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/xml-to-mongodb-importer/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ node_modules
.storybook
example
src
index.js
libs
*.tgz
.gitignore
rollup.config.js
Expand Down
4 changes: 2 additions & 2 deletions packages/xml-to-mongodb-importer/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"start": "node server.js"
},
"dependencies": {
"xml-to-mongodb-importer": "^1.0.0"
"xml-to-mongodb-importer": "^1.0.3"
},
"devDependencies": {
"eslint": "^8.32.0",
"eslint-config-google": "^0.14.0",
"nodemon": "^2.0.20",
"prettier": "^2.8.3"
}
}
}
1 change: 0 additions & 1 deletion packages/xml-to-mongodb-importer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ async function databseConnection(connection) {
await client.connect();
const db = client.db(databaseName);
const collection = db.collection(collectionName);
await collection.drop();
resolve({ client, collection });
} catch (error) {
reject(error);
Expand Down
6 changes: 3 additions & 3 deletions packages/xml-to-mongodb-importer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "xml-to-mongodb-importer",
"version": "1.0.0",
"main": "libs/index.js",
"version": "1.0.3",
"main": "index.js",
"scripts": {
"example": "cd example && yarn dev",
"start": "nodemon index.js",
Expand Down Expand Up @@ -32,7 +32,7 @@
"rollup-plugin-node": "^0.2.1"
},
"repository": {
"type": "git",
"type": "url",
"url": "https://github.com/mernjs/create-mern-app/tree/master/packages/xml-to-mongodb-importer"
},
"bugs": {
Expand Down

0 comments on commit 5083db0

Please sign in to comment.