Skip to content

Commit

Permalink
prepare v0.20.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Feb 26, 2025
1 parent 3bf4b8b commit aa806dd
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 19 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ Don't forget to close GitHub [issues](https://github.com/xpack/xpm-js/issues/).

## 2025-02-26

* v0.20.6 prepared
* v0.20.7 prepared
* 3bf4b8b #220: implement dependency platforms check
* e2d3852 website: blog post release 0.20.6 published
* 59924fb 0.20.6
* 661adc6 prepare v0.20.6
* bda8ba4 install.js: cosmetise message
* fd23b55 install.js reindents
* ca554ca #220: implement dependency platforms check
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ For information on how to install and use this project, please refer to the
## Project source

The source code of the current release is available on
[GitHub tag v0.20.6 tree](https://github.com/xpack/xpm-js/tree/v0.20.6).
[GitHub tag v0.20.7 tree](https://github.com/xpack/xpm-js/tree/v0.20.7).

## License

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xpm",
"version": "0.20.6",
"version": "0.20.7-pre",
"description": "The xPack project manager command line tool",
"type": "module",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/developer/_common/_content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ To manually fix compliance with the style guide (where possible):
<CodeBlock language="console"> {
`% npm run fix
> [email protected].6 fix
> [email protected].7 fix
> standard --fix test
...
`} </CodeBlock>
Expand Down
10 changes: 5 additions & 5 deletions website/docs/install/_common/_install-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ npm install --location=global xpm@latest
To install a **specific version**, specify it explicitly:

<CodeBlock language="sh"> {
`npm install --location=global [email protected].6
`npm install --location=global [email protected].7
`} </CodeBlock>

<Tabs groupId="operating-systems">
Expand Down Expand Up @@ -69,7 +69,7 @@ already have this path configured and the program should start normally:

<CodeBlock language="console"> {
`C:\>xpm --version
0.20.6
0.20.7
`} </CodeBlock>

<TroubleshootingWindows />
Expand All @@ -91,7 +91,7 @@ To test if **xpm** starts:

<CodeBlock language="console"> {
`% xpm --version
0.20.6
0.20.7
`} </CodeBlock>

<Heading as="h3">Show macOS hidden files</Heading>
Expand Down Expand Up @@ -152,7 +152,7 @@ To test if xpm starts:
`$ which xpm
/home/ilg/.nvm/versions/node/${props.nodeVersion}/bin/xpm
$ xpm --version
0.20.6
0.20.7
`} </CodeBlock>

</TabItem>
Expand All @@ -176,7 +176,7 @@ benefit from it by using the `npx` command, as a trampoline to start **xpm**:

<CodeBlock language="console"> {
`$ npx xpm --version
0.20.6
0.20.7
`} </CodeBlock>

However, for regular usage, this method is not efficient, since
Expand Down
19 changes: 10 additions & 9 deletions website/docs/maintainer/_common/_content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ kept as a legacy CommonJS dependency.

As required by npm modules, this one also uses [SemVer](https://semver.org).

- determine the next version (like <code>0.20.6</code>)
- determine the next version (like <code>0.20.7</code>)
- update the version in the top `package.json` file
- use the new version, suffixed by `-pre`, like <code>0.20.6-pre</code>.
- use the new version, suffixed by `-pre`, like <code>0.20.7-pre</code>.

### Update the `websiteConfig` in top `package.json` (if necessary)

Expand Down Expand Up @@ -96,7 +96,7 @@ Check GitHub Issues and Pull Requests:
- https://github.com/xpack/xpm-js/pulls

and fix them; assign them to a milestone
(like <code>0.20.6</code>).
(like <code>0.20.7</code>).

### Update `CHANGELOG.md`

Expand Down Expand Up @@ -135,8 +135,8 @@ to:
*
```

- add a new entry like _**\* v0.20.6 prepared**_
- **commit** with a message like _**prepare v0.20.6**_
- add a new entry like _**\* v0.20.7 prepared**_
- **commit** with a message like _**prepare v0.20.7**_

### Prepare the release

Expand All @@ -153,7 +153,7 @@ to:
### Set the new version

<CodeBlock language="sh"> {
`npm version 0.20.6
`npm version 0.20.7
`} </CodeBlock>

### CI tests
Expand All @@ -174,7 +174,7 @@ npm run generate-website-blog-post

- edit the front matter properties
- select the correct summary
- **commit** with _**website: blog post release 0.20.6 published**_
- **commit** with _**website: blog post release 0.20.7 published**_
- **push** the `development` branch

## Publish the release to npmjs.com
Expand All @@ -190,7 +190,8 @@ npm publish --access public
```

After a few moments the version will be visible at
[xpm Versions](https://www.npmjs.com/package/xpm?activeTab=versions).
<a href="https://www.npmjs.com/package/xpm?activeTab=versions">npmjs.com</a>,
the Versions tab.

### Manual install test

Expand Down Expand Up @@ -267,7 +268,7 @@ npm dist-tag ls xpm
When the release is considered stable, promote it as `latest`:

<CodeBlock language="sh"> {
`npm dist-tag add [email protected].6 latest
`npm dist-tag add [email protected].7 latest
npm dist-tag ls xpm
`} </CodeBlock>

Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function HomepageHeader() {
</span>
</p>
<div className={styles.installWithCopy}>
<InstallWithCopy>npm install --location=global [email protected].6</InstallWithCopy>
<InstallWithCopy>npm install --location=global [email protected].7</InstallWithCopy>
</div>
</div>
</header>
Expand Down

0 comments on commit aa806dd

Please sign in to comment.