Skip to content

Commit 5b18ccc

Browse files
committed
re-generate top commons
1 parent ab5d051 commit 5b18ccc

22 files changed

Lines changed: 191 additions & 201 deletions

.github/copilot-instructions.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,34 @@
22

33
## Project Overview
44

5-
This is the **xPack Meson Build** project, part of the
6-
xPack Development Tools.
5+
This is the **xPack Meson Build** project, part of
6+
the xPack Binary Development Tools.
77

8-
## Folder Structure
8+
## General
9+
10+
- Avoid sycophantic behaviour; for all conversation, never soften criticism
11+
to protect the person's ego.
12+
- If something has a flaw, say so directly.
13+
- When you're uncertain, say so rather than presenting guesses as facts.
14+
- This applies to every response.
915

16+
## Language and Tone
1017

11-
- `/website`: Contains the Docusaurus web site
18+
- Use British English spelling and grammar (e.g., "behaviour", "colour",
19+
"organise", "analyse", "favour", "initialise", etc.)
20+
- Maintain a professional and formal tone in all generated content
21+
- Avoid colloquialisms, slang, or informal expressions
22+
- Avoid humour, jokes, or casual remarks
23+
- Use clear, precise, and professional language appropriate for technical
24+
documentation
25+
- Avoid contractions (e.g., use "do not" instead of "don't")
26+
- Use the Oxford comma in lists for clarity
27+
- Maintain consistency in terminology throughout the codebase
28+
- Prefer "folder" to "directory"
29+
- Use clear, precise, and professional language appropriate for technical
30+
documentation.
1231

13-
## Language and style
32+
## Folder Structure
1433

15-
- Use British English spelling and grammar.
16-
- Use a professional tone.
17-
- Prefer folder to directory.
34+
- `/build-assets`: Contains the build scripts, patches, etc
35+
- `/website`: Contains the project Docusaurus website

.github/workflows/build-darwin-arm64.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
# This file is part of the xPack project (http://xpack.github.io).
66
# Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
77
#
8-
# Permission to use, copy, modify, and/or distribute this software
9-
# for any purpose is hereby granted, under the terms of the MIT license.
8+
# Permission to use, copy, modify, and/or distribute this software for any
9+
# purpose is hereby granted, under the terms of the MIT license.
1010
#
11-
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/mit.
11+
# If a copy of the license was not distributed with this file, it can be
12+
# obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

1616
# https://help.github.com/en/actions
1717
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
18+
# https://github.com/actions/runner-images
1819

1920
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
2021
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
@@ -118,6 +119,7 @@ jobs:
118119
chmod -Rf a+w * || true
119120
rm -rf * .git*
120121
122+
# https://github.com/actions/checkout
121123
- name: 'Checkout project'
122124
uses: actions/checkout@v1 # v1 for old Git
123125
with:
@@ -144,7 +146,7 @@ jobs:
144146

145147
- name: 'Publish pre-release'
146148
# https://github.com/ncipollo/release-action
147-
uses: ncipollo/release-action@v1.14.0
149+
uses: ncipollo/release-action@v1.21.0
148150
with:
149151
allowUpdates: true
150152
artifacts: 'build-assets/build/darwin-arm64/deploy/*'

.github/workflows/build-darwin-x64.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
# This file is part of the xPack project (http://xpack.github.io).
66
# Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
77
#
8-
# Permission to use, copy, modify, and/or distribute this software
9-
# for any purpose is hereby granted, under the terms of the MIT license.
8+
# Permission to use, copy, modify, and/or distribute this software for any
9+
# purpose is hereby granted, under the terms of the MIT license.
1010
#
11-
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/mit.
11+
# If a copy of the license was not distributed with this file, it can be
12+
# obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

1616
# https://help.github.com/en/actions
1717
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
18+
# https://github.com/actions/runner-images
1819

1920
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
2021
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
@@ -118,6 +119,7 @@ jobs:
118119
chmod -Rf a+w * || true
119120
rm -rf * .git*
120121
122+
# https://github.com/actions/checkout
121123
- name: 'Checkout project'
122124
uses: actions/checkout@v1 # v1 for old Git
123125
with:
@@ -144,7 +146,7 @@ jobs:
144146

145147
- name: 'Publish pre-release'
146148
# https://github.com/ncipollo/release-action
147-
uses: ncipollo/release-action@v1.14.0
149+
uses: ncipollo/release-action@v1.21.0
148150
with:
149151
allowUpdates: true
150152
artifacts: 'build-assets/build/darwin-x64/deploy/*'

.github/workflows/build-linux-arm64.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
# This file is part of the xPack project (http://xpack.github.io).
66
# Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
77
#
8-
# Permission to use, copy, modify, and/or distribute this software
9-
# for any purpose is hereby granted, under the terms of the MIT license.
8+
# Permission to use, copy, modify, and/or distribute this software for any
9+
# purpose is hereby granted, under the terms of the MIT license.
1010
#
11-
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/mit.
11+
# If a copy of the license was not distributed with this file, it can be
12+
# obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

1616
# https://help.github.com/en/actions
1717
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
18+
# https://github.com/actions/runner-images
1819

1920
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
2021
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
@@ -96,6 +97,7 @@ jobs:
9697
echo "$(which npm): $(npm --version)"
9798
echo "$(which xpm): $(xpm --version)"
9899
100+
# https://github.com/actions/checkout
99101
- name: 'Checkout project'
100102
uses: actions/checkout@v1 # v1 for old Git
101103
with:

.github/workflows/build-linux-x64.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
# This file is part of the xPack project (http://xpack.github.io).
66
# Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
77
#
8-
# Permission to use, copy, modify, and/or distribute this software
9-
# for any purpose is hereby granted, under the terms of the MIT license.
8+
# Permission to use, copy, modify, and/or distribute this software for any
9+
# purpose is hereby granted, under the terms of the MIT license.
1010
#
11-
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/mit.
11+
# If a copy of the license was not distributed with this file, it can be
12+
# obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

1616
# https://help.github.com/en/actions
1717
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
18+
# https://github.com/actions/runner-images
1819

1920
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
2021
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
@@ -96,6 +97,7 @@ jobs:
9697
echo "$(which npm): $(npm --version)"
9798
echo "$(which xpm): $(xpm --version)"
9899
100+
# https://github.com/actions/checkout
99101
- name: 'Checkout project'
100102
uses: actions/checkout@v1 # v1 for old Git
101103
with:

.github/workflows/build-win32-x64.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
# This file is part of the xPack project (http://xpack.github.io).
66
# Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
77
#
8-
# Permission to use, copy, modify, and/or distribute this software
9-
# for any purpose is hereby granted, under the terms of the MIT license.
8+
# Permission to use, copy, modify, and/or distribute this software for any
9+
# purpose is hereby granted, under the terms of the MIT license.
1010
#
11-
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/mit.
11+
# If a copy of the license was not distributed with this file, it can be
12+
# obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

1616
# https://help.github.com/en/actions
1717
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
18+
# https://github.com/actions/runner-images
1819

1920
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
2021
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
@@ -96,6 +97,7 @@ jobs:
9697
echo "$(which npm): $(npm --version)"
9798
echo "$(which xpm): $(xpm --version)"
9899
100+
# https://github.com/actions/checkout
99101
- name: 'Checkout project'
100102
uses: actions/checkout@v1 # v1 for old Git
101103
with:

.github/workflows/keepalive.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# This file is part of the xPack project (http://xpack.github.io).
44
# Copyright (c) 2025-2026 Liviu Ionescu. All rights reserved.
55
#
6-
# Permission to use, copy, modify, and/or distribute this software
7-
# for any purpose is hereby granted, under the terms of the MIT license.
6+
# Permission to use, copy, modify, and/or distribute this software for any
7+
# purpose is hereby granted, under the terms of the MIT license.
88
#
9-
# If a copy of the license was not distributed with this file, it can
10-
# be obtained from https://opensource.org/licenses/mit.
9+
# If a copy of the license was not distributed with this file, it can be
10+
# obtained from https://opensource.org/licenses/mit.
1111
#
1212
# -----------------------------------------------------------------------------
1313

.github/workflows/publish-github-pages.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
# This file is part of the xPack project (http://xpack.github.io).
66
# Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
77
#
8-
# Permission to use, copy, modify, and/or distribute this software
9-
# for any purpose is hereby granted, under the terms of the MIT license.
8+
# Permission to use, copy, modify, and/or distribute this software for any
9+
# purpose is hereby granted, under the terms of the MIT license.
1010
#
11-
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/mit.
11+
# If a copy of the license was not distributed with this file, it can be
12+
# obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

@@ -34,7 +34,6 @@ on:
3434
# ... any of these files changes ...
3535
paths:
3636
- 'website/**'
37-
- 'typedoc.json'
3837
- '**/tsconfig*.json'
3938
- 'src/**/*.ts'
4039
- 'README.md'
@@ -54,33 +53,32 @@ permissions:
5453
# Allow one concurrent deployment.
5554
# https://docs.github.com/en/actions/using-jobs/using-concurrency
5655
concurrency:
57-
group: "pages"
56+
group: 'pages'
5857
cancel-in-progress: true
5958

6059
jobs:
6160
# Single deploy job since we're just deploying.
62-
# https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
6361
deploy:
6462
environment:
6563
name: github-pages
6664
url: ${{steps.deployment.outputs.page_url}}
67-
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
65+
# https://github.com/actions/runner-images
6866
runs-on: ubuntu-24.04
6967

7068
steps:
7169
- name: Checkout
7270
# https://github.com/actions/checkout
73-
uses: actions/checkout@v5
71+
uses: actions/checkout@v6.0.2
7472
with:
7573
# The full history, required to compute lastUpdatedAt
7674
fetch-depth: 0
7775

7876
- name: Use Nodejs
7977
# https://github.com/actions/setup-node
80-
uses: actions/setup-node@v5
78+
uses: actions/setup-node@v6.4.0
8179
with:
8280
# Node LTS version.
83-
node-version: 20
81+
node-version: 24
8482

8583
- name: Install dependencies
8684
run: npm --prefix website ci
@@ -90,18 +88,18 @@ jobs:
9088

9189
- name: Setup Pages
9290
# https://github.com/actions/configure-pages
93-
uses: actions/configure-pages@v5
91+
uses: actions/configure-pages@v6.0.0
9492

9593
- name: Upload Pages artifact
9694
# https://github.com/actions/upload-pages-artifact
97-
uses: actions/upload-pages-artifact@v4
95+
uses: actions/upload-pages-artifact@v5.0.0
9896
with:
99-
# Upload entire repository
97+
# Upload entire website
10098
path: './website/build'
10199

102100
- name: Deploy to GitHub Pages
103101
id: deployment # referred by environment above, to get the URL.
104102
# https://github.com/actions/deploy-pages
105-
uses: actions/deploy-pages@v4
103+
uses: actions/deploy-pages@v5.0.0
106104
with:
107105
artifact_name: github-pages

.github/workflows/publish-release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
# This file is part of the xPack project (http://xpack.github.io).
66
# Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
77
#
8-
# Permission to use, copy, modify, and/or distribute this software
9-
# for any purpose is hereby granted, under the terms of the MIT license.
8+
# Permission to use, copy, modify, and/or distribute this software for any
9+
# purpose is hereby granted, under the terms of the MIT license.
1010
#
11-
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/mit.
11+
# If a copy of the license was not distributed with this file, it can be
12+
# obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

1616
# https://help.github.com/en/actions
1717
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
18+
# https://github.com/actions/runner-images
1819

1920
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
2021
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
@@ -81,7 +82,7 @@ jobs:
8182
8283
- name: 'Publish release'
8384
# https://github.com/ncipollo/release-action
84-
uses: ncipollo/release-action@v1.14.0
85+
uses: ncipollo/release-action@v1.21.0
8586
with:
8687
allowUpdates: false
8788
bodyFile: '.github/workflows/body-github-release.md'

.github/workflows/test-docker-linux-arm.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@
66
# This file is part of the xPack project (http://xpack.github.io).
77
# Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
88
#
9-
# Permission to use, copy, modify, and/or distribute this software
10-
# for any purpose is hereby granted, under the terms of the MIT license.
9+
# Permission to use, copy, modify, and/or distribute this software for any
10+
# purpose is hereby granted, under the terms of the MIT license.
1111
#
12-
# If a copy of the license was not distributed with this file, it can
13-
# be obtained from https://opensource.org/licenses/mit.
12+
# If a copy of the license was not distributed with this file, it can be
13+
# obtained from https://opensource.org/licenses/mit.
1414
#
1515
# -----------------------------------------------------------------------------
1616

1717
# https://help.github.com/en/actions
1818
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
19+
# https://github.com/actions/runner-images
1920

2021
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
2122
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch

0 commit comments

Comments
 (0)