From 8482c98ecbdfc2043b25be2b518c929cb855f09f Mon Sep 17 00:00:00 2001 From: Liviu Ionescu Date: Thu, 16 Jan 2025 22:38:30 +0200 Subject: [PATCH] website: re-generate commons --- .../blog/_common/_prerequisites-glib-2.27.mdx | 4 +- website/docs/developer/index.mdx | 4 +- website/docs/getting-started/index.mdx | 4 +- .../_common/_automatic-install-quick-test.mdx | 8 +- .../_common/_manual-install-quick-test.mdx | 8 +- website/docs/install/index.mdx | 64 +++++++-------- .../_arm-toolchain-check-upstream-release.mdx | 44 ---------- ..._arm-toolchain-update-version-specific.mdx | 82 ------------------- website/docs/maintainer/index.mdx | 10 +-- website/package-lock.json | 45 +++++++++- website/package.json | 11 ++- .../src/components/HomepageFeatures/index.tsx | 2 +- 12 files changed, 103 insertions(+), 183 deletions(-) delete mode 100644 website/docs/maintainer/_common/_arm-toolchain-check-upstream-release.mdx delete mode 100644 website/docs/maintainer/_common/_arm-toolchain-update-version-specific.mdx diff --git a/website/blog/_common/_prerequisites-glib-2.27.mdx b/website/blog/_common/_prerequisites-glib-2.27.mdx index f18d7d5..68e1679 100644 --- a/website/blog/_common/_prerequisites-glib-2.27.mdx +++ b/website/blog/_common/_prerequisites-glib-2.27.mdx @@ -5,11 +5,11 @@ ## Prerequisites +- x64 macOS: 10.13 or later +- arm64 macOS: 11.6 or later - x64 GNU/Linux: any system with **GLIBC 2.27** or higher (like Ubuntu 18 or later, Debian 10 or later, RedHat 8 or later, Fedora 29 or later, etc) - arm64/arm GNU/Linux: any system with **GLIBC 2.27** or higher (like Raspberry Pi OS, Ubuntu 18 or later, Debian 10 or later, RedHat 8 or later, Fedora 29 or later, etc) -- x64 macOS: 10.13 or later -- arm64 macOS: 11.6 or later diff --git a/website/docs/developer/index.mdx b/website/docs/developer/index.mdx index fe01819..33223d2 100644 --- a/website/docs/developer/index.mdx +++ b/website/docs/developer/index.mdx @@ -81,11 +81,11 @@ For building the binary xPack executables, there is one configuration for each platform: +- `darwin-x64` +- `darwin-arm64` - `linux-x64` - `linux-arm64` - `linux-arm` -- `darwin-x64` -- `darwin-arm64` :::note diff --git a/website/docs/getting-started/index.mdx b/website/docs/getting-started/index.mdx index cb3e383..352cf82 100644 --- a/website/docs/getting-started/index.mdx +++ b/website/docs/getting-started/index.mdx @@ -38,7 +38,7 @@ import ReleaseSchedule from './_release-schedule.mdx' ## Overview **xPack GNU bison** is a -standalone, cross-platform (GNU/Linux, macOS) binary +standalone, cross-platform (macOS, GNU/Linux) binary distribution of GNU bison, aimed at reproducible builds. @@ -166,7 +166,7 @@ The main advantages of using the **xPack GNU bison** are: - A convenient, uniform and portable install/uninstall/upgrade procedure; the same procedure is used for all major - platforms (**x64 GNU/Linux**, **arm64 GNU/Linux**, **arm GNU/Linux**, **x64 macOS**, **arm64 macOS**). + platforms (**x64 macOS**, **arm64 macOS**, **x64 GNU/Linux**, **arm64 GNU/Linux**, **arm GNU/Linux**). - Multiple versions of the same package can be installed at the same time on the same system. - No need to worry about dependent libraries, they are all included. diff --git a/website/docs/install/_common/_automatic-install-quick-test.mdx b/website/docs/install/_common/_automatic-install-quick-test.mdx index cc244db..6634f67 100644 --- a/website/docs/install/_common/_automatic-install-quick-test.mdx +++ b/website/docs/install/_common/_automatic-install-quick-test.mdx @@ -15,19 +15,19 @@ To check if the {props.appName} installed by **xpm** starts properly, use someth - + { -`$ ~/.local/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version +`% ~/Library/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version ${props.branding}${customField('upstreamVersion')} `} - + { -`% ~/Library/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version +`$ ~/.local/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version ${props.branding}${customField('upstreamVersion')} `} diff --git a/website/docs/install/_common/_manual-install-quick-test.mdx b/website/docs/install/_common/_manual-install-quick-test.mdx index 352d59b..debaad6 100644 --- a/website/docs/install/_common/_manual-install-quick-test.mdx +++ b/website/docs/install/_common/_manual-install-quick-test.mdx @@ -15,19 +15,19 @@ To check if the {props.appName} installed manually starts properly, use somethin - + { -`$ ~/.local/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version +`% ~/Library/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version ${props.branding}${customField('upstreamVersion')} `} - + { -`% ~/Library/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version +`$ ~/.local/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version ${props.branding}${customField('upstreamVersion')} `} diff --git a/website/docs/install/index.mdx b/website/docs/install/index.mdx index 8779f8b..d6253c7 100644 --- a/website/docs/install/index.mdx +++ b/website/docs/install/index.mdx @@ -251,7 +251,7 @@ To install a **specific version**, specify it explicitly: - + The main result is a set of links in @@ -274,7 +274,7 @@ export PATH=<...project-path...>/xpacks/.bin:$PATH - + The main result is a set of links in @@ -402,18 +402,18 @@ the project build configurations need a PATH adjustment: - + { -`export PATH=$HOME/.local/xPacks/@xpack-dev-tools/bison/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin:$PATH +`export PATH=$HOME/Library/xPacks/\@pack-dev-tools/bison/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin:$PATH `} - + { -`export PATH=$HOME/Library/xPacks/\@pack-dev-tools/bison/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin:$PATH +`export PATH=$HOME/.local/xPacks/@xpack-dev-tools/bison/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin:$PATH `} @@ -458,17 +458,17 @@ For a thorough clean-up, please note that **xpm** uses only two folders: - + -- `${HOME}/.local/xPacks` -- `${HOME}/.cache/xPacks` +- `${HOME}/Library/xPacks` +- `${HOME}/Library/Caches/xPacks` - + -- `${HOME}/Library/xPacks` -- `${HOME}/Library/Caches/xPacks` +- `${HOME}/.local/xPacks` +- `${HOME}/.cache/xPacks` @@ -496,13 +496,13 @@ the GitHub - + -The GNU/Linux versions of **xPack GNU bison** +The macOS versions of **xPack GNU bison** are packed as `.tar.gz` archives. Download the latest version named like: -- xpack-bison-{customField('xpackVersion')}-linux-x64.tar.gz- xpack-bison-{customField('xpackVersion')}-linux-arm64.tar.gz- xpack-bison-{customField('xpackVersion')}-linux-arm.tar.gz +- xpack-bison-{customField('xpackVersion')}-darwin-x64.tar.gz- xpack-bison-{customField('xpackVersion')}-darwin-arm64.tar.gz :::note @@ -515,26 +515,26 @@ To manually install the xPack GNU bison, unpack the archive and move it to a location of your choice. The recommended location is -the ~/.local/xPacks/bison folder, for -example /home/ilg/.local/xPacks/bison/xpack-bison-{customField('xpackVersion')}: +the ~/Library/xPacks/bison folder, for +example /Users/ilg/Library/xPacks/bison/xpack-bison-{customField('xpackVersion')}: { -`mkdir -p ~/.local/xPacks/bison -cd ~/.local/xPacks/bison +`mkdir -p ~/Library/xPacks/bison +cd ~/Library/xPacks/bison -tar xvf ~/Downloads/xpack-bison-${customField('xpackVersion')}-linux-x64.tar.gz +tar xvf ~/Downloads/xpack-bison-${customField('xpackVersion')}-darwin-x64.tar.gz chmod -R -w xpack-bison-${customField('xpackVersion')} `} - + -The macOS versions of **xPack GNU bison** +The GNU/Linux versions of **xPack GNU bison** are packed as `.tar.gz` archives. Download the latest version named like: -- xpack-bison-{customField('xpackVersion')}-darwin-x64.tar.gz- xpack-bison-{customField('xpackVersion')}-darwin-arm64.tar.gz +- xpack-bison-{customField('xpackVersion')}-linux-x64.tar.gz- xpack-bison-{customField('xpackVersion')}-linux-arm64.tar.gz- xpack-bison-{customField('xpackVersion')}-linux-arm.tar.gz :::note @@ -547,14 +547,14 @@ To manually install the xPack GNU bison, unpack the archive and move it to a location of your choice. The recommended location is -the ~/Library/xPacks/bison folder, for -example /Users/ilg/Library/xPacks/bison/xpack-bison-{customField('xpackVersion')}: +the ~/.local/xPacks/bison folder, for +example /home/ilg/.local/xPacks/bison/xpack-bison-{customField('xpackVersion')}: { -`mkdir -p ~/Library/xPacks/bison -cd ~/Library/xPacks/bison +`mkdir -p ~/.local/xPacks/bison +cd ~/.local/xPacks/bison -tar xvf ~/Downloads/xpack-bison-${customField('xpackVersion')}-darwin-x64.tar.gz +tar xvf ~/Downloads/xpack-bison-${customField('xpackVersion')}-linux-x64.tar.gz chmod -R -w xpack-bison-${customField('xpackVersion')} `} @@ -580,15 +580,15 @@ After install, the package creates a hierarchy of folders like the following - + - + - + - + diff --git a/website/docs/maintainer/_common/_arm-toolchain-check-upstream-release.mdx b/website/docs/maintainer/_common/_arm-toolchain-check-upstream-release.mdx deleted file mode 100644 index 6f86afd..0000000 --- a/website/docs/maintainer/_common/_arm-toolchain-check-upstream-release.mdx +++ /dev/null @@ -1,44 +0,0 @@ -{/* DO NOT EDIT! */} -{/* Automatically generated from xbb-helper/templates/docusaurus/common. */} - -import customField from '@site/src/libs/customField'; - -import versionMajor from '@site/src/libs/versionMajor'; -import versionMinor from '@site/src/libs/versionMinor'; - -{/* ------------------------------------------------------------------------ */} - -### Check the latest upstream release - -The latest releases must have been announced in -[Arm GNU Toolchain Downloads](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads). -Compare the latest Arm release with the latest xPack -[release](https://github.com/xpack-dev-tools/bison-xpack/releases/). -If necessary, update the triplet, otherwise increase the fourth & fifth numbers, -as below. - -### Update to the latest Arm release - -- download the new _Source code_ archive (like -arm-gnu-toolchain-src-snapshot-{versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')}.tar.xz) from -[Arm GNU Toolchain Downloads](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads/) -- unpack the archive -- the GCC version is in `gcc/gcc/BASE-VER` -- the binutils version is in `binutils-gdb/bfd/version.m4` -- the GDB version is in `binutils-gdb--gdb/gdb/version.in` -- the newlib version is in `newlib-cygwin/newlib/configure`, search for `VERSION=` -- download the latest **macOS (x86_64) hosted cross toolchains** archive (like -arm-gnu-toolchain-{versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')}-darwin-x86_64-.tar.xz) -- unpack the archive -- create a folder build-assets/extras/{versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')} -- copy the file with the configurations -({versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')}-darwin-x86_64--manifest.txt) to the new folder in extras -- download the manifest.txt with the individual source URLs -(arm-gnu-toolchain-src-snapshot-{versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')}-manifest.txt) -- copy to the new folder in extras - -:::info - -Starting with 14.2.Rel1 there is a link to a [README](https://gitlab.arm.com/tooling/gnu-devtools-for-arm/-/blob/main/README.md) explaining the new build scripts. - -::: diff --git a/website/docs/maintainer/_common/_arm-toolchain-update-version-specific.mdx b/website/docs/maintainer/_common/_arm-toolchain-update-version-specific.mdx deleted file mode 100644 index 3c3190a..0000000 --- a/website/docs/maintainer/_common/_arm-toolchain-update-version-specific.mdx +++ /dev/null @@ -1,82 +0,0 @@ -{/* DO NOT EDIT! */} -{/* Automatically generated from xbb-helper/templates/docusaurus/common. */} - -import customField from '@site/src/libs/customField'; - -import versionMajor from '@site/src/libs/versionMajor'; -import versionMinor from '@site/src/libs/versionMinor'; - -{/* ------------------------------------------------------------------------ */} - -### Update the version specific code - -- open the `build-assets/scripts/versioning.sh` file -- add a new `if` with the new version before the existing code - -### Update local binutils-gdb fork - -With a Git client: - -- checkout the branch mentioned in the release notes - (like users/ARM/binutils-{customField('binutilsVersionMajor')}_{customField('binutilsVersionMinor')}-branch) -- push it to origin with the same name -- enable a filter on the current branch -- identify the commit ID from release notes or manifest.txt (search back in time) -- add a tag like binutils-{customField('binutilsVersionMajor')}.{customField('binutilsVersionMinor')}--{versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')} -- push the tag to origin -- check the tag at https://github.com/xpack-dev-tools/binutils-gdb/tags/ - -Similarly for GDB: - -- checkout the branch mentioned in the release notes - (like gdb-{customField('gdbVersionMajor')}-branch) -- push it to origin with the same name -- enable a filter on the current branch -- identify the commit ID from release notes or manifest.txt (search back in time) -- add a tag like gdb-{customField('gdbVersionMajor')}--{versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')} -- push the tag to origin -- check the tag at https://github.com/xpack-dev-tools/binutils-gdb/tags/ - -### Update the local gcc fork (optional, normally the archive is used) - -With a Git client: - -- checkout the branch mentioned in the release notes - (like ARM/arm-{versionMajor()}) -- push it to origin with the same name -- enable a filter on the current branch -- identify the commit ID from release notes or manifest.txt (search back in time) -- create a branch like arm-{versionMajor()}--{versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')}-xpack -- create a tag like arm-{versionMajor()}--{versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')} -- push the tag to origin -- check the tag at https://github.com/xpack-dev-tools/gcc/tags/ -- cherry pick the `system.h: do not define abort() on mingw` commit -- push the *-xpack branch to origin -- save as Patches into the helper `patches` folder -- rename as gcc-{customField('upstreamVersion')}-cross.git.patch - -### Update the local newlib-cygwin fork (optional, normally the archive is used) - -With a Git client: - -- pull from the `master` branch (none mentioned in the release notes) -- push it to origin with the same name -- enable a filter on the current branch -- identify the commit ID from release notes or manifest.txt (search back in time) -- create a tag like newlib-{customField('newlibVersion')}--{versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')} -- push the tag to origin -- check the tag at https://github.com/xpack-dev-tools/newlib-cygwin/tags/ - -### Update the gdb-*-cross.git.patch in helper - -Copy/paste a previous one; adjust if necessary. - -### Update other dependencies versions - -Check the release notes and updates the `libgmp`, `libisl`, `libmpfr`, `libmpc`, `libiconv` versions. - -### Check configure options - -Verify if the configure options used in -the {versionMajor()}.{versionMinor()}.rel{customField('armSubRelease')}-darwin-x86_64--manifest.txt file -are used in the build scripts. diff --git a/website/docs/maintainer/index.mdx b/website/docs/maintainer/index.mdx index 71853c4..46f0a53 100644 --- a/website/docs/maintainer/index.mdx +++ b/website/docs/maintainer/index.mdx @@ -271,7 +271,7 @@ will build again the previous release! ## Run the development builds -The builds currently run on 5 dedicated machines (x64 GNU/Linux, arm64 GNU/Linux, arm GNU/Linux, x64 macOS, arm64 macOS). +The builds currently run on 5 dedicated machines (x64 macOS, arm64 macOS, x64 GNU/Linux, arm64 GNU/Linux, arm GNU/Linux). Before the real build, run test/development builds on all platforms. @@ -432,7 +432,7 @@ Commit with the message _**website: update folder hierarchies**_. ### Update the list of links in top package.json Copy/paste the full list of links displayed at the end of the build, in -sequence, for each platform (GNU/Linux, macOS), +sequence, for each platform (macOS, GNU/Linux), and check the differences compared to the repository. @@ -467,14 +467,14 @@ The automation is provided by GitHub Actions and three self-hosted runners. ### Start the self-hosted runners - on the development machine (`wksi`) open -ssh sessions to the build machines (`xbbli`, `xbbla`, `xbbla32`, `xbbmi`, `xbbma`): +ssh sessions to the build machines (`xbbmi`, `xbbma`, `xbbli`, `xbbla`, `xbbla32`): ```sh +caffeinate ssh xbbmi +caffeinate ssh xbbma caffeinate ssh xbbli caffeinate ssh xbbla caffeinate ssh xbbla32 -caffeinate ssh xbbmi -caffeinate ssh xbbma ``` Create a `screen` session, to provide a persistent standard output for diff --git a/website/package-lock.json b/website/package-lock.json index 15f8de5..45e0ed1 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -16,7 +16,6 @@ "@mdx-js/react": "^3.1.0", "clean-css": "~5.3.3", "clsx": "^2.1.1", - "del-cli": "^6.0.0", "prism-react-renderer": "^2.4.0", "react": "^18.0.0", "react-dom": "^18.0.0" @@ -25,7 +24,9 @@ "@docusaurus/module-type-aliases": "3.6.3", "@docusaurus/tsconfig": "3.6.3", "@docusaurus/types": "3.6.3", + "del-cli": "^6.0.0", "json": "^11.0.0", + "liquidjs": "^10.20.1", "typescript": "~5.2.2" }, "engines": { @@ -4373,6 +4374,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", + "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -7465,6 +7467,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/del-cli/-/del-cli-6.0.0.tgz", "integrity": "sha512-9nitGV2W6KLFyya4qYt4+9AKQFL+c0Ehj5K7V7IwlxTc6RMCfQUGY9E9pLG6e8TQjtwXpuiWIGGZb3mfVxyZkw==", + "dev": true, "license": "MIT", "dependencies": { "del": "^8.0.0", @@ -7485,6 +7488,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/del/-/del-8.0.0.tgz", "integrity": "sha512-R6ep6JJ+eOBZsBr9esiNN1gxFbZE4Q2cULkUSFumGYecAiS6qodDvcPx/sFuWHMNul7DWmrtoEOpYSm7o6tbSA==", + "dev": true, "license": "MIT", "dependencies": { "globby": "^14.0.2", @@ -7505,6 +7509,7 @@ "version": "14.0.2", "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", + "dev": true, "license": "MIT", "dependencies": { "@sindresorhus/merge-streams": "^2.1.0", @@ -7525,6 +7530,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-3.0.0.tgz", "integrity": "sha512-kyiNFFLU0Ampr6SDZitD/DwUo4Zs1nSdnygUBqsu3LooL00Qvb5j+UnvApUn/TTj1J3OuE6BTdQ5rudKmU2ZaA==", + "dev": true, "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" @@ -7537,6 +7543,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-4.0.0.tgz", "integrity": "sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -7549,6 +7556,7 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.3.tgz", "integrity": "sha512-VkndIv2fIB99swvQoA65bm+fsmt6UNdGeIB0oxBs+WhAhdh08QA04JXpI7rbB9r08/nkbysKoya9rtDERYOYMA==", + "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -7561,6 +7569,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -7573,6 +7582,7 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, "license": "MIT", "engines": { "node": ">=14.16" @@ -10507,6 +10517,37 @@ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "license": "MIT" }, + "node_modules/liquidjs": { + "version": "10.20.1", + "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.20.1.tgz", + "integrity": "sha512-eZ33jfxjj0It8tkY+I4gbKWfXvMmOvQvvraxVFSLcTjZWCjdWMLBnevk48qw9AQIwIHFp58vZc59vH9Qwdq7mw==", + "dev": true, + "license": "MIT", + "dependencies": { + "commander": "^10.0.0" + }, + "bin": { + "liquid": "bin/liquid.js", + "liquidjs": "bin/liquid.js" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/liquidjs" + } + }, + "node_modules/liquidjs/node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + } + }, "node_modules/loader-runner": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", @@ -11084,6 +11125,7 @@ "version": "13.2.0", "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==", + "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -17857,6 +17899,7 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=18" diff --git a/website/package.json b/website/package.json index 6a84f9d..adb52ba 100644 --- a/website/package.json +++ b/website/package.json @@ -1,9 +1,10 @@ { - "DO NOT EDIT": "Automatically generated from xbb-helper/templates/docusaurus/common", + "DO NOT EDIT": "Automatically generated from docusaurus-template-liquid/templates/docusaurus", "name": "website", "version": "0.0.0", "private": true, "scripts": { + "generate-website-commons": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/generate-commons.sh --xpack-dev-tools", "docusaurus": "docusaurus", "start": "docusaurus start", "build": "docusaurus build", @@ -17,6 +18,7 @@ "typecheck": "tsc", "npm-outdated": "npm outdated", "npm-install": "npm install", + "npm-link-helpers": "npm link @xpack/docusaurus-template-liquid @xpack/npm-packages-helper", "npm-ci": "npm ci", "deep-clean": "del-cli .docusaurus build node_modules package-lock.json" }, @@ -29,7 +31,6 @@ "@mdx-js/react": "^3.1.0", "clean-css": "~5.3.3", "clsx": "^2.1.1", - "del-cli": "^6.0.0", "prism-react-renderer": "^2.4.0", "react": "^18.0.0", "react-dom": "^18.0.0" @@ -38,7 +39,9 @@ "@docusaurus/module-type-aliases": "3.6.3", "@docusaurus/tsconfig": "3.6.3", "@docusaurus/types": "3.6.3", + "del-cli": "^6.0.0", "json": "^11.0.0", + "liquidjs": "^10.20.1", "typescript": "~5.2.2" }, "browserslist": { @@ -53,8 +56,8 @@ "last 5 safari version" ] }, + "websiteConfig": {}, "engines": { "node": ">=18.0" - }, - "websiteConfig": {} + } } diff --git a/website/src/components/HomepageFeatures/index.tsx b/website/src/components/HomepageFeatures/index.tsx index b94304e..2514ff1 100644 --- a/website/src/components/HomepageFeatures/index.tsx +++ b/website/src/components/HomepageFeatures/index.tsx @@ -29,7 +29,7 @@ const FeatureList: FeatureItem[] = [ Svg: require('@site/static/img/mosaic.svg').default, description: ( <> - The xPack Framework aims to automate the installation of multiple versions of development tools that are otherwise not easily available in common software distributions, across multiple platforms (GNU/Linux, macOS). + The xPack Framework aims to automate the installation of multiple versions of development tools that are otherwise not easily available in common software distributions, across multiple platforms (macOS, GNU/Linux). ), },