From 35db6817db35087157b2dbe6f67d1af6b84512bf Mon Sep 17 00:00:00 2001 From: Juan Correa Date: Fri, 17 Jun 2022 08:55:37 -0400 Subject: [PATCH 1/4] chore: Add repository info --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 1bdedc6..886d7d1 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,10 @@ "Miguel de Barros ", "Juan Correa " ], + "repository": { + "type": "git", + "url": "https://github.com/modusbox/connection-manager-api" + }, "main": "index.js", "files": [ "/dist", From d09262696200c89a38a6ad78eb1d4cdc10373a03 Mon Sep 17 00:00:00 2001 From: Juan Correa Date: Fri, 17 Jun 2022 09:00:41 -0400 Subject: [PATCH 2/4] chore: Remove dist dir from files --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 886d7d1..81ad42f 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ }, "main": "index.js", "files": [ - "/dist", "README.md", "LICENSE", "CHANGELOG.md" From b4415b8aee0f88c772a610aabd81a7d06bcf0759 Mon Sep 17 00:00:00 2001 From: Juan Correa Date: Fri, 17 Jun 2022 09:18:08 -0400 Subject: [PATCH 3/4] Delete index.js --- index.js | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 index.js diff --git a/index.js b/index.js deleted file mode 100644 index 28dc075..0000000 --- a/index.js +++ /dev/null @@ -1,26 +0,0 @@ -/****************************************************************************** - * Copyright 2019 ModusBox, Inc. * - * * - * info@modusbox.com * - * * - * Licensed under the Apache License, Version 2.0 (the "License"); * - * you may not use this file except in compliance with the License. * - * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, software * - * distributed under the License is distributed on an "AS IS" BASIS, * - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * - * See the License for the specific language governing permissions and * - * limitations under the License * - ******************************************************************************/ - -'use strict'; -const app = require('./src/appLoader'); -const Constants = require('./src/constants/Constants'); - -// If you're surprised that there's no startup code in this file: -// This file is only used by projects that use the version published at npm as a library and want to access the app or Constants objets before starting the server -// See the `package.json` file; `npm start` runs `src/index.js`, not this one. -exports.appLoader = app.connect; -exports.Constants = Constants; From 606f55db1f9d2b2bf7d850dba3dcd558ed4e5a4b Mon Sep 17 00:00:00 2001 From: Juan Correa Date: Fri, 17 Jun 2022 09:19:02 -0400 Subject: [PATCH 4/4] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 81ad42f..fb0e661 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "type": "git", "url": "https://github.com/modusbox/connection-manager-api" }, - "main": "index.js", + "main": "src/index.js", "files": [ "README.md", "LICENSE",