app,backend,create-app: add files declaration to package.jsons

This commit is contained in:
Patrik Oldsberg
2020-12-06 22:50:20 +01:00
parent a1fffce071
commit 94348441e0
5 changed files with 28 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/create-app': patch
---
Add `"files": ["dist"]` to both app and backend packages. This ensures that packaged versions of these packages do not contain unnecessary files.
To apply this change to an existing app, add the following to `packages/app/package.json` and `packages/backend/package.json`:
```json
"files": [
"dist"
]
```
+3
View File
@@ -89,5 +89,8 @@
"last 1 safari version"
]
},
"files": [
"dist"
],
"license": "Apache-2.0"
}
+4 -1
View File
@@ -50,5 +50,8 @@
"@types/express": "^4.17.6",
"@types/express-serve-static-core": "^4.17.5",
"@types/helmet": "^0.0.48"
}
},
"files": [
"dist"
]
}
@@ -61,5 +61,8 @@
"last 1 firefox version",
"last 1 safari version"
]
}
},
"files": [
"dist"
]
}
@@ -47,5 +47,8 @@
"@types/express": "^4.17.6",
"@types/express-serve-static-core": "^4.17.5",
"@types/helmet": "^0.0.47"
}
},
"files": [
"dist"
]
}