Skip to content

Commit

Permalink
[sc-48140] Targeting ES5 for compatability. Also fixed clean script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Ramzi committed Aug 15, 2023
1 parent 8ff9966 commit 1c10109
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-decision-spec-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
name: Compile Package
working-directory: ${{ env.WORKINGDIRECTORY_DECISION }}
run: |
tsc --outDir dist --declaration --target es6 --moduleResolution nodenext --showConfig *.ts
tsc --outDir dist --declaration --target es6 --moduleResolution nodenext *.ts
tsc --outDir dist --declaration --target es5 --moduleResolution nodenext --showConfig *.ts
tsc --outDir dist --declaration --target es5 --moduleResolution nodenext *.ts
- id: edd89b5d-54fa-4951-8206-54b1cef91968
name: Configure Project-Level .npmrc File
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### 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

### 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

### 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
Expand Down
1 change: 0 additions & 1 deletion decision/codegen-config/typescript-fetch.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"enablePostProcessFile": true,
"supportsES6": true,
"typescriptThreePlus": true,
"useSingleRequestParameter": false
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"build-management-csharp": "npx @openapitools/openapi-generator-cli generate --input-spec ./management/openapi-3.yaml --generator-name csharp --output ./.build/cs/management --config ./management/codegen-config/csharp-netcore.json --skip-validate-spec",
"build-management-ruby": "npx @openapitools/openapi-generator-cli generate --input-spec ./management/openapi-3.yaml --generator-name ruby --output ./.build/rb/management --config ./management/codegen-config/ruby.json --skip-validate-spec",
"build-management-typescript": "npx @openapitools/openapi-generator-cli generate --input-spec ./management/openapi-3.yaml --generator-name typescript-fetch --output ./.build/ts/management --config ./management/codegen-config/typescript-fetch.json --skip-validate-spec",
"clean": "rm -rf build"
"clean": "rm -rf .build"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1c10109

Please sign in to comment.