Skip to content

Commit 61becdf

Browse files
committed
Include root README and license in package build
1 parent 56bfb0c commit 61becdf

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
node_modules
22
dist
33
docs
4+
packages/dynamodb-entity-store/README.md
5+
packages/dynamodb-entity-store/LICENSE
46

57
yarn-error.log

packages/dynamodb-entity-store/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"all-checks": "npm run local-checks && npm run integration-tests",
2929
"deploy": "cd test/examples && aws cloudformation deploy --template-file template.yaml --stack-name \"${STACK_NAME-entity-store-test-stack}\" --no-fail-on-empty-changeset",
3030
"deploy-and-all-checks": "npm run deploy && npm run all-checks",
31-
"build": "rm -rf dist && tsc -p tsconfig.json",
31+
"build": "rm -rf dist && tsc -p tsconfig.json && cp ../../README.md . && cp ../../LICENSE .",
3232
"prepublishOnly": "npm run local-checks && npm run build",
3333
"generate-docs": "typedoc src/lib/index.ts"
3434
},
@@ -48,8 +48,8 @@
4848
},
4949
"files": [
5050
"package.json",
51-
"../../README.md",
52-
"../../LICENSE",
51+
"README.md",
52+
"LICENSE",
5353
"dist/"
5454
],
5555
"exports": {

0 commit comments

Comments
 (0)