From 232446c30256cf749f121cc82a6749d4cac95bc7 Mon Sep 17 00:00:00 2001 From: Simon Ramzi Date: Tue, 29 Aug 2023 17:44:04 +0100 Subject: [PATCH] Fixed Typescript compiler issue from breaking change from `5.1.x` to `5.2.x`. --- .../publish-decision-spec-packages.yml | 6 ++-- CHANGELOG.md | 35 ++++++++++++++----- 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish-decision-spec-packages.yml b/.github/workflows/publish-decision-spec-packages.yml index 5f8d26b..e310f89 100644 --- a/.github/workflows/publish-decision-spec-packages.yml +++ b/.github/workflows/publish-decision-spec-packages.yml @@ -44,15 +44,15 @@ jobs: - id: db6068b8-f5ed-4968-847e-b642595243fd name: Install Typescript Compiler Globally run: | - npm install --global typescript@5.x + npm install --global typescript@5.2.x tsc --version - id: e842d27d-141c-47f2-b64c-2c5702984edf name: Compile Package working-directory: ${{ env.WORKINGDIRECTORY_DECISION }} run: | - tsc --outDir dist --declaration --target es5 --moduleResolution nodenext --lib es6,dom --showConfig *.ts - tsc --outDir dist --declaration --target es5 --moduleResolution nodenext --lib es6,dom *.ts + tsc --outDir dist --declaration --target es5 --module nodenext --moduleResolution nodenext --lib es6,dom --showConfig *.ts + tsc --outDir dist --declaration --target es5 --module nodenext --moduleResolution nodenext --lib es6,dom *.ts - id: edd89b5d-54fa-4951-8206-54b1cef91968 name: Configure Project-Level .npmrc File diff --git a/CHANGELOG.md b/CHANGELOG.md index befbb3d..c8ba538 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,24 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.12] - 2023-08-29 + +### Fixed + +- [sc-49448] Updated Typescript compiler options to fix [breaking change](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2-rc/#module-and-moduleresolution-must-match-under-recent-node-js-settings) between `v5.1.x` to `v5.2.x`. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). +- [sc-49448] Removed unnecessary instances of `[sc-48140]` from `CHANGELOG.md`. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). + +### Changed + +- [sc-49448] Fixed Typescript compiler version to `v5.2.x`. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). + +## [1.0.11] - 2023-08-29 + +### Added + +- [sc-33985] Added an `includeArchived` option to the List Creative Templates endpoint for listing archived creative templates. By [@ryuichis](https://github.com/ryuichis). + +## [1.0.10] - 2023-08-15 + ### Fixed - [sc-48140] Targeting Javascript `ES5` instead of `ES6` for compatability. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). - [sc-48140] Fixed clean script. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). -## [1.0.9] - [sc-48140] 2023-08-15 +## [1.0.9] - 2023-08-15 ### Nothing - Problem with deploy due to GITHUB_REF_NAME, so republished. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). -## [1.0.8] - [sc-48140] 2023-08-15 +## [1.0.8] - 2023-08-15 ### Fixed - [sc-48140] Added `npm publish` option `--access=public` to permit publish to public npm registry and not receive `You must sign up for private packages` due to scoped packages [being `restricted` by default](https://docs.npmjs.com/cli/v8/commands/npm-publish#access). By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). -## [1.0.7] - [sc-48140] 2023-08-15 +## [1.0.7] - 2023-08-15 ### Fixed @@ -41,25 +60,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [sc-48140] Entries to `.gitignore` to assist testing of workflows. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). - [sc-48140] Added work card ids to changelog for tracking. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). -## [1.0.6] - [sc-48140] 2023-08-14 +## [1.0.6] - 2023-08-14 ### Added - [sc-48140] Debug statement to workflow. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). -## [1.0.5] - [sc-48140] 2023-08-14 +## [1.0.5] - 2023-08-14 ### Fixed - [sc-48140] Typescript compiler error by fixing to version `5.x` on install. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). -## [1.0.4] - [sc-48140] 2023-08-14 +## [1.0.4] - 2023-08-14 ### Fixed - [sc-48140] GitHub Actions working directory references `publish-decision-spec-packages.yml`. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). -## [1.0.3] - [sc-48140] 2023-08-14 +## [1.0.3] - 2023-08-14 ### Fixed @@ -69,7 +88,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [sc-48140] `package.json` file version to latest released. By [@honeycomb-cheesecake](https://github.com/honeycomb-cheesecake). -[1.0.2] - [sc-48140] 2023-08-14 +## [1.0.2] - 2023-08-14 ### Changed