Skip to content

Commit

Permalink
chore(release): ensure a copy of the license is included with publish…
Browse files Browse the repository at this point in the history
…ed packages
  • Loading branch information
xiehan committed May 17, 2024
1 parent b87cd74 commit 420e0b5
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 10 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"build-and-package": "lerna run --scope 'cdktf*' --scope @cdktf/* build,package && tools/collect-dist.sh",
"build": "lerna run --scope 'cdktf*' --scope @cdktf/* build",
"format": "prettier --cache --write .",
"prepackage": "yarn copy-license:scoped && yarn copy-license:unscoped",
"package": "lerna run package && tools/collect-dist.sh",
"package:python": "lerna run package:python && tools/collect-dist.sh",
"package:java": "lerna run package:java && tools/collect-dist.sh",
Expand Down Expand Up @@ -47,7 +48,9 @@
"generate-docs:translations": "cd tools/documentation-code-snippets && yarn && yarn update-snippets && cd ../../ && yarn run format",
"generate-docs": "yarn generate-docs:translations && yarn generate-docs:api",
"generate-function-bindings": "cd tools/generate-function-bindings && yarn && yarn fetch-metadata && yarn generate",
"generate-license-notices": "lerna run --scope 'cdktf*' --scope @cdktf/* generate-license-notices"
"generate-license-notices": "lerna run --scope 'cdktf*' --scope @cdktf/* generate-license-notices",
"copy-license:scoped": "lerna exec --scope @cdktf/* cp ../../../LICENSE LICENSE.txt",
"copy-license:unscoped": "lerna exec --scope 'cdktf*' cp ../../LICENSE LICENSE.txt"
},
"workspaces": {
"packages": [
Expand Down
3 changes: 2 additions & 1 deletion packages/@cdktf/cli-core/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.yalc
yalc.lock
bundle
!ambient.d.ts
!ambient.d.ts
LICENSE**
3 changes: 2 additions & 1 deletion packages/@cdktf/commons/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.yalc
yalc.lock
bundle
!ambient.d.ts
!ambient.d.ts
LICENSE**
3 changes: 2 additions & 1 deletion packages/@cdktf/hcl-tools/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
**/*wasm.gz
tsconfig.tsbuildinfo
wasm.md
!tsconfig.json
!tsconfig.json
LICENSE**
1 change: 1 addition & 0 deletions packages/@cdktf/hcl2cdk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ tsconfig.tsbuildinfo
cdktf-convert-*
cdktf-provider*
!ambient.d.ts
LICENSE**
3 changes: 2 additions & 1 deletion packages/@cdktf/hcl2json/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
**/*wasm.gz
tsconfig.tsbuildinfo
wasm.md
!tsconfig.json
!tsconfig.json
LICENSE**
3 changes: 2 additions & 1 deletion packages/@cdktf/provider-generator/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ tsconfig.tsbuildinfo
edge-provider-bindings
cdktf-provider-generator-*.tgz
!test/generate-provider-tests.js
!ambient.d.ts
!ambient.d.ts
LICENSE**
3 changes: 2 additions & 1 deletion packages/@cdktf/provider-schema/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.yalc
yalc.lock
bundle
!ambient.d.ts
!ambient.d.ts
LICENSE**
3 changes: 2 additions & 1 deletion packages/cdktf-cli/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.yalc
yalc.lock
bundle
!ambient.d.ts
!ambient.d.ts
LICENSE**
4 changes: 2 additions & 2 deletions packages/cdktf/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

dist/
tsconfig.json
tsconfig.tsbuildinfo
.jsii
!scripts/generate-documentation.js
!scripts/generate-documentation.js
LICENSE**

0 comments on commit 420e0b5

Please sign in to comment.