Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

feat: use camelCase in JSON files #158

Merged
merged 2 commits into from
Jun 14, 2024
Merged

feat: use camelCase in JSON files #158

merged 2 commits into from
Jun 14, 2024

Conversation

donch1989
Copy link
Member

@donch1989 donch1989 commented Jun 13, 2024

Because:

  • Currently, our JSON files are a mix of camelCase, snake_case, and kebab-case, which is not consistent.

This commit:

  • Uses camelCase in JSON files.
  • Simplify ComponentConfig struct since most of the fields are not used in the component package.

Note:

  • We don't change the JSON keys of properties in this PR. We'll use kebab-case for them and address this in another PR.

Copy link

linear bot commented Jun 13, 2024

@donch1989 donch1989 merged commit ecf4dd9 into main Jun 14, 2024
10 checks passed
@donch1989 donch1989 deleted the huitang/ins-4725 branch June 14, 2024 17:07
donch1989 pushed a commit that referenced this pull request Jun 19, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.20.0-beta](v0.19.1-beta...v0.20.0-beta)
(2024-06-18)


### Features

* add toggle image tag function for document pdf to markdown task
([#162](#162))
([f12ecd2](f12ecd2))
* use camelCase in JSON files
([#158](#158))
([ecf4dd9](ecf4dd9))
* use kebab-case for all component input and output properties
([#164](#164))
([4a82be7](4a82be7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
namwoam pushed a commit to namwoam/component that referenced this pull request Jun 24, 2024
Because:

- Currently, our JSON files are a mix of camelCase, snake_case, and
kebab-case, which is not consistent.

This commit:

- Uses camelCase in JSON files.
- Simplify `ComponentConfig` struct since most of the fields are not
used in the component package.

Note:

- We don't change the JSON keys of `properties` in this PR. We'll use
kebab-case for them and address this in another PR.
namwoam pushed a commit to namwoam/component that referenced this pull request Jun 24, 2024
Because:

- Currently, our JSON files are a mix of camelCase, snake_case, and
kebab-case, which is not consistent.

This commit:

- Uses camelCase in JSON files.
- Simplify `ComponentConfig` struct since most of the fields are not
used in the component package.

Note:

- We don't change the JSON keys of `properties` in this PR. We'll use
kebab-case for them and address this in another PR.
namwoam pushed a commit to namwoam/component that referenced this pull request Jun 24, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.20.0-beta](instill-ai/component@v0.19.1-beta...v0.20.0-beta)
(2024-06-18)


### Features

* add toggle image tag function for document pdf to markdown task
([instill-ai#162](instill-ai#162))
([f12ecd2](instill-ai@f12ecd2))
* use camelCase in JSON files
([instill-ai#158](instill-ai#158))
([ecf4dd9](instill-ai@ecf4dd9))
* use kebab-case for all component input and output properties
([instill-ai#164](instill-ai#164))
([4a82be7](instill-ai@4a82be7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
namwoam pushed a commit to namwoam/component that referenced this pull request Jun 24, 2024
Because:

- Currently, our JSON files are a mix of camelCase, snake_case, and
kebab-case, which is not consistent.

This commit:

- Uses camelCase in JSON files.
- Simplify `ComponentConfig` struct since most of the fields are not
used in the component package.

Note:

- We don't change the JSON keys of `properties` in this PR. We'll use
kebab-case for them and address this in another PR.
namwoam pushed a commit to namwoam/component that referenced this pull request Jun 24, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.20.0-beta](instill-ai/component@v0.19.1-beta...v0.20.0-beta)
(2024-06-18)


### Features

* add toggle image tag function for document pdf to markdown task
([instill-ai#162](instill-ai#162))
([f12ecd2](instill-ai@f12ecd2))
* use camelCase in JSON files
([instill-ai#158](instill-ai#158))
([ecf4dd9](instill-ai@ecf4dd9))
* use kebab-case for all component input and output properties
([instill-ai#164](instill-ai#164))
([4a82be7](instill-ai@4a82be7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: 👋 Done
Development

Successfully merging this pull request may close these issues.

2 participants