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

chore: store schema version inside package #96

Merged
merged 6 commits into from
Dec 13, 2024

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Dec 13, 2024

(Take 2 of #62).

Currently, the schema version espoused by this package is the package version itself (i.e., the version of its own package.json). Move this version to a resource file that maintained inside the package and is bumped explicitly.

In a projen (mono)repo, all packages have version 0.0.0. At development time, the Cloud Assembly Schema has to know its own version, for various versioning checks. It can’t get it from the package version (which is 0.0.0, so it needs to get it elsewhere, which will be schema.version.json).

Closes #62.

(Take 2 of #62).

Currently, the schema version espoused by this package is the package
version itself (i.e., the version of its own `package.json`). Move this
version to a resource file that maintained inside the package and is
bumped explicitly.

In a projen (mono)repo, all packages have version 0.0.0. At development
time, the Cloud Assembly Schema has to know its own version, for various
versioning checks. It can’t get it from the package version (which is
0.0.0, so it needs to get it elsewhere, which will be
schema.version.json).
@rix0rrr rix0rrr requested a review from a team December 13, 2024 09:22
rix0rrr and others added 5 commits December 13, 2024 10:22
Signed-off-by: github-actions <github-actions@github.com>
…/cloud-assembly-schema into huijbers/version-inside-package2
@mergify mergify bot merged commit 392894c into main Dec 13, 2024
13 checks passed
@mergify mergify bot deleted the huijbers/version-inside-package2 branch December 13, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants