diff --git a/plugins/inventory-backend/README.md b/plugins/inventory-backend/README.md index 53e92cc72b..bc224ee42e 100644 --- a/plugins/inventory-backend/README.md +++ b/plugins/inventory-backend/README.md @@ -1,6 +1,13 @@ -# Title -Welcome to the inventory-backend plugin! +# Inventory Backend -## Sub-section 1 +WORK IN PROGRESS -## Sub-section 2 +This is the backend part of the default inventory plugin. + +It responds to requests from the frontend part, and fulfills them by delegating +to your existing inventory related services. + +## Links + +- (Frontend part of the plugin)[https://github.com/spotify/backstage/tree/master/plugins/inventory] +- (The Backstage homepage)[https://backstage.io] diff --git a/plugins/inventory-backend/package.json b/plugins/inventory-backend/package.json index 039b0d6757..37f3f27e78 100644 --- a/plugins/inventory-backend/package.json +++ b/plugins/inventory-backend/package.json @@ -15,5 +15,8 @@ }, "dependencies": { "express": "^4.17.1" - } + }, + "files": [ + "dist" + ] } diff --git a/plugins/inventory-backend/tsconfig.json b/plugins/inventory-backend/tsconfig.json index 1b1b7e9003..b463ac102f 100644 --- a/plugins/inventory-backend/tsconfig.json +++ b/plugins/inventory-backend/tsconfig.json @@ -9,6 +9,7 @@ "strict": true, "target": "es5", "module": "commonjs", - "esModuleInterop": true + "esModuleInterop": true, + "types": ["node", "jest"] } } diff --git a/plugins/inventory/.eslintrc.js b/plugins/inventory/.eslintrc.js index dd47f29781..13573efa9c 100644 --- a/plugins/inventory/.eslintrc.js +++ b/plugins/inventory/.eslintrc.js @@ -1,3 +1,3 @@ module.exports = { - extends: [require.resolve('@backstage/cli/config/eslint.js')], + extends: [require.resolve('@backstage/cli/config/eslint')], }; diff --git a/plugins/inventory/README.md b/plugins/inventory/README.md index 81c002f2ea..e77a77148f 100644 --- a/plugins/inventory/README.md +++ b/plugins/inventory/README.md @@ -1,6 +1,13 @@ -# Title -Welcome to the inventory plugin! +# Inventory Frontend -## Sub-section 1 +WORK IN PROGRESS -## Sub-section 2 +This is the frontend part of the default inventory plugin. + +It will implement the core API for handling your inventory of software, and +supply the base views to show and manage them. + +## Links + +- (Backend part of the plugin)[https://github.com/spotify/backstage/tree/master/plugins/inventory-backend] +- (The Backstage homepage)[https://backstage.io] diff --git a/plugins/inventory/package.json b/plugins/inventory/package.json index de3f787fb1..8a260d2778 100644 --- a/plugins/inventory/package.json +++ b/plugins/inventory/package.json @@ -7,6 +7,7 @@ "private": true, "scripts": { "build": "backstage-cli plugin:build", + "start": "backstage-cli plugin:serve", "lint": "backstage-cli lint", "test": "backstage-cli test", "clean": "backstage-cli clean" @@ -30,5 +31,8 @@ "react": "16.13.1", "react-dom": "16.13.1", "react-use": "^13.0.0" - } + }, + "files": [ + "dist" + ] }