Skip to content

Commit e8728e5

Browse files
committed
website: re-generate commons
1 parent 2ff96b7 commit e8728e5

16 files changed

+349
-339
lines changed

website/blog/_common/_deprecation-notices-glib-2.28.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ and testing x64 macOS binaries will become more difficult, requiring
2626
a self-hosted runner, and cannot be guaranteed in the long term.
2727

2828
You should begin migrating your projects to arm64-based (Apple Silicon)
29-
binaries to prepare for this possible deprecation.
29+
binaries to prepare for this deprecation (tentatively planned for 2028).

website/docs/_common/_build-website-locally.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Validate the website content by performing a local build using the npm **build** script:
99

1010
```sh
11-
npm run build -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website
11+
npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website run build
1212
```
1313

1414
Resolve any broken links that may be identified during the build process.

website/docs/_common/_generate-top-commons.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Execute the top **generate-top-commons** npm script to update the
99
`build-assets/package.json` and the GitHub workflow files.
1010

1111
```sh
12-
npm run generate-top-commons -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git
12+
npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git run generate-top-commons
1313
```
1414

1515
### Commit the top changes

website/docs/_common/_generate-website-commons.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Execute the **generate-website-commons** npm script from `website/package.json`
99
within the project folder.
1010

1111
```sh
12-
npm run generate-website-commons -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website
12+
npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website run generate-website-commons
1313
```
1414

1515
### Commit the website changes

website/docs/_common/_manual-tests.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It is recommended to commence by performing some clean-ups (not necessary
1414
following the initial `git clone`):
1515

1616
```sh
17-
npm install -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/tests
17+
npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/tests install
1818
xpm run deep-clean -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/tests
1919
```
2020

@@ -61,7 +61,7 @@ Executing all tests may require several gigabytes of space.
6161
To clean up the tests folder, utilise:
6262

6363
```sh
64-
npm install -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/tests
64+
npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/tests install
6565
xpm run deep-clean -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/tests
6666
```
6767

website/docs/_common/_prepare-website.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ published on the project
1212
- Switch to the `xpack-development` branch
1313
- Execute the **website-generate-commons** npm script in the `website/package.json`
1414
```sh
15-
npm run website-generate-commons -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website
15+
npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website run website-generate-commons
1616
```
1717
- **Commit** all changes

website/docs/_common/_start-local-web-server.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Execute the npm script **clear** followed by **start** in the website sub-projec
99
or execute the following within the project folder:
1010

1111
```sh
12-
npm run clear -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website
13-
npm run start -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website
12+
npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website run clear
13+
npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website run start
1414
```
1515

1616
Navigate to the **Maintainer Info** page,

website/docs/_common/_update-top-commons.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ Execute the top **generate-top-commons** npm script to update the
99
`build-assets/package.json` and the GitHub workflow files.
1010

1111
```sh
12-
npm run generate-top-commons -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git
12+
npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git run generate-top-commons
1313
```

website/docs/_common/_update-website-commons.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ Execute the **generate-website-commons** npm script from `website/package.json`
99
within the project folder.
1010

1111
```sh
12-
npm run generate-website-commons -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website
12+
npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/website run generate-website-commons
1313
```

website/docs/developer/_common/_platform-docker-section.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@ import {developmentDurations} from '@site/docs/_project/_development-durations.m
1414
To prepare the docker build:
1515

1616
<CodeBlock language="sh"> {
17-
`xpm run install -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/build-assets && \\
17+
`npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/build-assets install && \\
18+
xpm install -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/build-assets && \\
1819
xpm run docker-prepare --config ${props.platform} -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/build-assets
1920
`} </CodeBlock>
2021

2122
<details>
2223
<summary>... or, with the writable helper ...</summary>
2324

2425
<CodeBlock language="sh"> {
25-
`xpm run install -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/build-assets && \\
26+
`npm --prefix ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/build-assets install && \\
27+
xpm install -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/build-assets && \\
2628
xpm run link-deps -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/build-assets && \\
2729
xpm run docker-prepare --config ${props.platform} -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/build-assets && \\
2830
xpm run docker-link-deps --config ${props.platform} -C ~/Work/xpack-dev-tools/mingw-w64-gcc-xpack.git/build-assets

0 commit comments

Comments
 (0)