Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: include version in global config #9536

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

jcfranco
Copy link
Member

@jcfranco jcfranco commented Jun 7, 2024

Related Issue: #8848

Summary

This updates the globalScript to stamp the version onto an existing global calciteConfig var and will create one if not defined.

@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label Jun 7, 2024
@jcfranco jcfranco added the skip visual snapshots Pull requests that do not need visual regression testing. label Jun 7, 2024
@benelan benelan changed the base branch from main to dev June 10, 2024 09:06
@jcfranco jcfranco marked this pull request as ready for review June 10, 2024 17:05
Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💥


/**
* Contains the version of the Calcite components.
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can document this as readOnly somehow?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add @readonly to the interface doc, but it won't show up in a readme nor the docs-json.json file. @geospatialem @DitwanP @macandcheese Do you have any suggestions?

packages/calcite-components/src/utils/config.ts Outdated Show resolved Hide resolved
Copy link
Member

@benelan benelan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jcfranco jcfranco merged commit 86eefb0 into dev Jun 11, 2024
9 checks passed
@jcfranco jcfranco deleted the jcfranco/8848-add-version-to-global-config branch June 11, 2024 05:57
@github-actions github-actions bot added this to the 2024-06-25 - Jun Release milestone Jun 11, 2024
benelan added a commit that referenced this pull request Jun 18, 2024
## Summary

- Remove Chromatic from `main`, since it will already have ran on `dev`.
- Fix the scheduled update jobs, which where still creating PRs
targeting
`main`. Thankfully I left the 6 approvals rule because I definitely
tried to
  merge those with `gh` 😅
- Change the branch of code URLs from `main` to `dev`. Side note: maybe
we
could use the rollup plugin from #9536 to pin the version tag in the API
reference code links. That way docs-json will point to the actual
version's
  code instead of whatever is currently on `dev` or `main`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request. skip visual snapshots Pull requests that do not need visual regression testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants