chore: use relative links and update in build script

This commit is contained in:
Daniel Roe 2024-06-16 08:51:12 +01:00
parent 5ef305cec1
commit 7dd15186e1
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B
4 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,4 @@
[![Nuxt banner](https://github.com/nuxt/nuxt/tree/main/.github/assets/banner.svg)](https://nuxt.com) [![Nuxt banner](./.github/assets/banner.svg)](https://nuxt.com)
# Nuxt # Nuxt
@ -115,7 +115,7 @@ If you expect to be using Nuxt 2 beyond the EOL (End of Life) date (June 30, 202
## <a name="follow-us">🔗 Follow us</a> ## <a name="follow-us">🔗 Follow us</a>
<p valign="center"> <p valign="center">
<a href="https://chat.nuxt.dev"><img width="20px" src="https://github.com/nuxt/nuxt/tree/main/.github/assets/discord.svg" alt="Discord"></a>&nbsp;&nbsp;<a href="https://twitter.nuxt.dev"><img width="20px" src="https://github.com/nuxt/nuxt/tree/main/.github/assets/twitter.svg" alt="Twitter"></a>&nbsp;&nbsp;<a href="https://github.nuxt.dev"><img width="20px" src="https://github.com/nuxt/nuxt/tree/main/.github/assets/github.svg" alt="GitHub"></a> <a href="https://chat.nuxt.dev"><img width="20px" src="./.github/assets/discord.svg" alt="Discord"></a>&nbsp;&nbsp;<a href="https://twitter.nuxt.dev"><img width="20px" src="./.github/assets/twitter.svg" alt="Twitter"></a>&nbsp;&nbsp;<a href="https://github.nuxt.dev"><img width="20px" src="./.github/assets/github.svg" alt="GitHub"></a>
</p> </p>
## <a name="license">⚖️ License</a> ## <a name="license">⚖️ License</a>

View File

@ -18,6 +18,9 @@ if [[ ! -z ${NODE_AUTH_TOKEN} ]] ; then
npm whoami npm whoami
fi fi
# use absolute urls for better rendering on npm
sed -i '' 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md
# Release packages # Release packages
for p in packages/* ; do for p in packages/* ; do
if [[ $p == "packages/nuxi" ]] ; then if [[ $p == "packages/nuxi" ]] ; then

View File

@ -8,6 +8,9 @@ git restore -s@ -SW -- packages examples
# Build all once to ensure things are nice # Build all once to ensure things are nice
pnpm build pnpm build
# use absolute urls for better rendering on npm
sed -i '' 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md
# Release packages # Release packages
for PKG in packages/* ; do for PKG in packages/* ; do
if [[ $PKG == "packages/nuxi" ]] ; then if [[ $PKG == "packages/nuxi" ]] ; then

View File

@ -8,6 +8,9 @@ git restore -s@ -SW -- packages examples
# Build all once to ensure things are nice # Build all once to ensure things are nice
pnpm build pnpm build
# use absolute urls for better rendering on npm
sed -i '' 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md
# Release packages # Release packages
for PKG in packages/* ; do for PKG in packages/* ; do
if [[ $PKG == "packages/nuxi" ]] ; then if [[ $PKG == "packages/nuxi" ]] ; then