Skip to content

Commit 1f8ca94

Browse files
authored
Merge pull request #1482 from zloirock/website
2 parents 1fa9873 + c5cf5cf commit 1f8ca94

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/build-web-for-branch.yml renamed to .github/workflows/build-website-for-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build web pages for branch
1+
name: Build website for branch
22

33
on:
44
push:

.github/workflows/build-web.yml renamed to .github/workflows/build-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build web pages
1+
name: Build website
22

33
on:
44
push:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"zxi": "zx scripts/zxi.mjs",
1919
"prepare": "npm run zxi scripts/prepare.mjs",
2020
"build-compat": "npm run zxi scripts/build-compat/index.mjs",
21-
"build-web": "npm run zxi time website/index.mjs",
22-
"build-web-local": "npm run zxi time website/build-local.mjs",
21+
"build-website": "npm run zxi time website/index.mjs",
22+
"build-website-local": "npm run zxi time website/build-local.mjs",
2323
"bundle": "run-s bundle-package bundle-tests",
2424
"bundle-package": "npm run zxi time scripts/bundle-package/bundle-package.mjs",
2525
"bundle-tests": "npm run zxi time cd scripts/bundle-tests/bundle-tests.mjs",

scripts/check-dependencies/check-dependencies.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const ignore = {
66
'tests/observables': [
77
'moon-unit',
88
],
9-
'web-site': [
9+
website: [
1010
'jsdom', // pinned because of a bug https://github.com/jsdom/jsdom/issues/3959
1111
],
1212
};

website/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "web-site",
2+
"name": "website",
33
"type": "module",
44
"scripts": {
55
"build": "vite build",

website/scripts/helpers.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export async function checkoutVersion(version, execDir) {
127127
export async function buildWeb(branch, execDir, local = false) {
128128
console.log('Building web...');
129129
console.time('Built web');
130-
let command = 'npm run build-web';
130+
let command = 'npm run build-website';
131131
if (branch) command += ` branch=${ branch }`;
132132
if (local) command += ' local';
133133
const stdout = await exec(command, { cwd: execDir });

0 commit comments

Comments
 (0)