diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d433b69..c01152f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -318,6 +318,14 @@ jobs: run: cd .repo && yarn install --check-files --frozen-lockfile - name: Create go artifact run: cd .repo && npx projen package:go + - name: Setup Copywrite tool + uses: hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e + - name: Copy copywrite hcl file + run: cp .copywrite.hcl .repo/dist/go/.copywrite.hcl + - name: Add headers using Copywrite tool + run: cd .repo/dist/go && copywrite headers + - name: Remove copywrite hcl file + run: rm -f .repo/dist/go/.copywrite.hcl - name: Collect go Artifact run: mv .repo/dist dist - name: Release diff --git a/package.json b/package.json index d6c05ee..64d13e1 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "jsii-rosetta": "~5.1.2", "node-fetch": "cjs", "npm-check-updates": "^16", - "projen": "^0.72.21", + "projen": "^0.72.22", "standard-version": "^9", "typescript": "^4.9.5" }, diff --git a/yarn.lock b/yarn.lock index bdec194..e1a2f5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -197,9 +197,9 @@ jsii-srcmak "^0.1.867" "@cdktf/provider-project@^0.2.95": - version "0.2.121" - resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.121.tgz#2e7aa82de985e9b3d227bbed49af2b40be1dd061" - integrity sha512-ThklGkvGZ+c8p8yI6f24ZM4tEJA/udMyqglGdi+c9DcBAagfaELlCGkO28SwNLYWVrKZ1An/Azd0o64hHF/ecA== + version "0.2.122" + resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.122.tgz#963a3ee6f35cd3f2ffed619afd6a358669792363" + integrity sha512-qFxAeFhd1Y3COo4lDjV5ized0ZUif908uPhForEwAprqX0MJYSWZoJzxkxDPFSXhott9vksMSEkGjRi3abrY0g== dependencies: change-case "^4.1.2" fs-extra "^10.1.0" @@ -718,9 +718,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^20.4.2", "@types/node@^20.4.8": - version "20.5.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.3.tgz#fa52c147f405d56b2f1dd8780d840aa87ddff629" - integrity sha512-ITI7rbWczR8a/S6qjAW7DMqxqFMjjTo61qZVWJ1ubPvbIQsL5D/TvwjYEalM8Kthpe3hTzOGrF2TGbAu2uyqeA== + version "20.5.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.4.tgz#4666fb40f9974d60c53c4ff554315860ba4feab8" + integrity sha512-Y9vbIAoM31djQZrPYjpTLo0XlaSwOIsrlfE3LpulZeRblttsLQRFRlBAppW0LOxyT3ALj2M5vU1ucQQayQH3jA== "@types/node@16.18.23": version "16.18.23" @@ -728,9 +728,9 @@ integrity sha512-XAMpaw1s1+6zM+jn2tmw8MyaRDIJfXxqmIQIS0HfoGYPuf7dUWeiUKopwq13KFX9lEp1+THGtlaaYx39Nxr58g== "@types/node@^16": - version "16.18.43" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.43.tgz#580905f150e1008474bc9bd5a098b82eddc1b6c8" - integrity sha512-YFpgPKPRcwYbeNOimfu70B+TVJe6tr88WiW/TzEldkwGxQXrmabpU+lDjrFlNqdqIi3ON0o69EQBW62VH4MIxw== + version "16.18.44" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.44.tgz#3c3ea2a832014b869f0f370630d98bb026171e76" + integrity sha512-PZXtT+wqSMHnLPVExTh+tMt1VK+GvjRLsGZMbcQ4Mb/cG63xJig/TUmgrDa9aborl2i22UnpIzHYNu7s97NbBQ== "@types/normalize-package-data@^2.4.0": version "2.4.1" @@ -3759,9 +3759,9 @@ node-abi@^3.3.0: semver "^7.3.5" node-fetch@^2.6.12, node-fetch@^2.6.7: - version "2.6.13" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.13.tgz#a20acbbec73c2e09f9007de5cda17104122e0010" - integrity sha512-StxNAxh15zr77QvvkmveSQ8uCQ4+v5FkvNTj0OESmiHu+VRi/gXArXtkWMElOsOUNLtUEvI4yS+rdtOHZTwlQA== + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== dependencies: whatwg-url "^5.0.0" @@ -3844,9 +3844,9 @@ npm-bundled@^3.0.0: npm-normalize-package-bin "^3.0.0" npm-check-updates@^16: - version "16.13.0" - resolved "https://registry.yarnpkg.com/npm-check-updates/-/npm-check-updates-16.13.0.tgz#92df9da56cc69657705c8abec46934cc99ac79f2" - integrity sha512-zTJCqov2+KpCLM7lOOxXLFiqKg8RLt10dempIbE9EfKCzoN1yqSrDcBCpU6uOmlSRy3IIGm1rK+piCrn+uulJw== + version "16.13.1" + resolved "https://registry.yarnpkg.com/npm-check-updates/-/npm-check-updates-16.13.1.tgz#7aa0d24b180b6b7f4a881abff7d7150f0ca5a884" + integrity sha512-RIKBemiyAOEAUfzgYzDffLQwXI/Zo4CMSGHtup9fUoBpHqPNtD0pPFjpxDnt/sFpGiV5iANdE2Ck6xOxuQFfJg== dependencies: chalk "^5.3.0" cli-table3 "^0.6.3" @@ -4308,10 +4308,10 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -projen@^0.72.21: - version "0.72.21" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.72.21.tgz#518f44266e02d24305c7461556e8757da601b1f1" - integrity sha512-3Do7uUsoc3KrLrrUdjgbJ+nUozIxr+poYOs64PqdCPk9Ce7xjHeJIUh6nTsKHXDWUskrD2FDO/eQcRyynCJgVA== +projen@^0.72.22: + version "0.72.22" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.72.22.tgz#3f8a3e55ae91deeb6ebd2f752a4b01581ef70d44" + integrity sha512-cJ5szJDx/JvyiWFm+NFFn+mqMSjYawBnXffe+4fgpCbCtvZJds8YougwuRbgdRyV8GoroDFiTsV1wpnWjFz4/Q== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3" @@ -5287,9 +5287,9 @@ typescript@^4.9.5: integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== typescript@next: - version "5.3.0-dev.20230822" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.0-dev.20230822.tgz#7a92cdf72e951a700cb3f53b26a082e807d809c9" - integrity sha512-zVlawDu8ult5+AoXXQck+R+qJn1Gzv5aE1lH9UcStRRE461MjXK7P8DDJuee840m66huRJKMzh+ttgrTUEfWmQ== + version "5.3.0-dev.20230823" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.0-dev.20230823.tgz#ce99562b71b94c095bbc6de01f4f80eb65edd1e4" + integrity sha512-IEFfTl67UgTTJzf+Ma4+0txDKzxzxtjNjyFjTm7c+yP5sff+atKe44mAjhCxX8wGjwRrFuhAUeHz1udmzBZ4ow== typescript@~3.9.10: version "3.9.10"