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

New config refers to outdated config release version #253

Closed
about-code opened this issue Sep 17, 2022 · 0 comments · Fixed by #254
Closed

New config refers to outdated config release version #253

about-code opened this issue Sep 17, 2022 · 0 comments · Fixed by #254
Labels
bug Something isn't working

Comments

@about-code
Copy link
Owner

Describe the bug

After having installed glossarify-md@6.2.1 when initializing a new configuration with a schema web reference, then the config refers to an older schema release version v5.1.0. As a consequence IDEs downloading the schema won't suggest the latest options that could be used with glossarify-md@6.2.1. This is an inconvenience. It's not an error and won't result in an error due to backwards compatibility.

To Reproduce

npm install glossarify-md@6.2.1
npx glossarify-md --init
{
  "$schema": "https://raw.githubusercontent.com/about-code/glossarify-md/v5.1.0/conf/v5/schema.json",
  "baseDir": "./docs",
  "outDir": "../docs-glossarified"
}

... refers to schema release version v5.1.0

Expected behavior

A newly initialized configuration should refer to the package release version:

npm install glossarify-md@6.2.1
npx glossarify-md --init
{
  "$schema": "https://raw.githubusercontent.com/about-code/glossarify-md/v6.2.1/conf/v5/schema.json",
  "baseDir": "./docs",
  "outDir": "../docs-glossarified"
}

Additional context
Existing configurations won't be updated after installing a newer package release version. This behavior can remain unchanged.

@about-code about-code added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant