chore: fix links from userland migration (#3010)

This commit is contained in:
George Xu 2022-10-27 13:56:33 -07:00 коммит произвёл GitHub
Родитель 777197e50f
Коммит bfb7280063
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
42 изменённых файлов: 50 добавлений и 52 удалений

2
.github/ISSUE_TEMPLATE/bug.yml поставляемый
Просмотреть файл

@ -8,7 +8,7 @@ body:
attributes:
label: Pre-flight checklist
options:
- label: I have read the [contribution documentation](https://github.com/electron-userland/electron-forge/blob/main/CONTRIBUTING.md) for this project.
- label: I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
required: true
- label: I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
required: true

2
.github/ISSUE_TEMPLATE/feature_request.yml поставляемый
Просмотреть файл

@ -8,7 +8,7 @@ body:
attributes:
label: Pre-flight checklist
options:
- label: I have read the [contribution documentation](https://github.com/electron-userland/electron-forge/blob/main/CONTRIBUTING.md) for this project.
- label: I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
required: true
- label: I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
required: true

2
.github/pull_request_template.md поставляемый
Просмотреть файл

@ -3,7 +3,7 @@ Thanks for filing a pull request!
Please check off all of the steps as they are completed by replacing [ ] with [x].
-->
- [ ] I have read the [contribution documentation](https://github.com/electron-userland/electron-forge/blob/main/CONTRIBUTING.md) for this project.
- [ ] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
- [ ] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project follows, as appropriate.
- [ ] The changes are appropriately documented (if applicable).
- [ ] The changes have sufficient test coverage (if applicable).

Просмотреть файл

@ -27,11 +27,11 @@ sites](https://github.com/electron/electron#community).
### Debugging
Troubleshooting suggestions can be found in the [support
documentation](https://github.com/electron-userland/electron-forge/blob/main/SUPPORT.md#troubleshooting).
documentation](https://github.com/electron/forge/blob/main/SUPPORT.md#troubleshooting).
## Contribution suggestions
We use the label [`help wanted`](https://github.com/electron-userland/electron-forge/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)
We use the label [`help wanted`](https://github.com/electron/forge/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)
in the issue tracker to denote fairly-well-scoped-out bugs or feature requests that the community
can pick up and work on. If any of those labeled issues do not have enough information, please feel
free to ask constructive questions. (This applies to any open issue.)
@ -57,7 +57,7 @@ Getting the code base running locally requires the `bolt` command installed glob
```bash
npm i -g bolt
git clone https://github.com/electron-userland/electron-forge
git clone https://github.com/electron/forge
cd electron-forge
# Installs all dependencies, don't run "yarn" or "npm install" yourself
bolt

Просмотреть файл

@ -1,9 +1,9 @@
## Electron Forge
[![Build Status](https://github.com/electron-userland/electron-forge/workflows/CI/badge.svg)](https://github.com/electron-userland/electron-forge/actions?query=workflow:CI)
[![Build Status](https://github.com/electron/forge/workflows/CI/badge.svg)](https://github.com/electron/forge/actions?query=workflow:CI)
[![Discord](https://img.shields.io/discord/745037351163527189?color=blueviolet&logo=discord)](https://discord.com/invite/APGC3k5yaH)
[![npm version](https://img.shields.io/npm/v/@electron-forge/cli)](https://npm.im/@electron-forge/cli)
[![license](https://img.shields.io/github/license/electron-userland/electron-forge.svg)](https://github.com/electron-userland/electron-forge/blob/main/LICENSE)
[![license](https://img.shields.io/github/license/electron/forge.svg)](https://github.com/electron/forge/blob/main/LICENSE)
![status](https://img.shields.io/badge/Status-%20Ready%20for%20Awesome-red.svg)
A complete tool for building modern Electron applications.
@ -19,7 +19,7 @@ jump right in to Electron development.
:building_construction:
The `main` branch is a rewrite of Electron Forge that will eventually be the 6.x series. If you
are looking for the 5.x series (the version currently published to NPM under `electron-forge`), please view the [5.x branch](https://github.com/electron-userland/electron-forge/tree/5.x).
are looking for the 5.x series (the version currently published to NPM under `electron-forge`), please view the [5.x branch](https://github.com/electron/forge/tree/5.x).
---
@ -27,9 +27,9 @@ are looking for the 5.x series (the version currently published to NPM under `el
[Goals](#project-goals) |
[Docs and Usage](#docs-and-usage) |
[Configuration](https://www.electronforge.io/configuration) |
[Support](https://github.com/electron-userland/electron-forge/blob/main/SUPPORT.md) |
[Contributing](https://github.com/electron-userland/electron-forge/blob/main/CONTRIBUTING.md) |
[Changelog](https://github.com/electron-userland/electron-forge/blob/main/CHANGELOG.md)
[Support](https://github.com/electron/forge/blob/main/SUPPORT.md) |
[Contributing](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) |
[Changelog](https://github.com/electron/forge/blob/main/CHANGELOG.md)
# Getting Started

Просмотреть файл

@ -8,10 +8,10 @@ const changelogPath = path.resolve(__dirname, '..', 'CHANGELOG.md');
const changelog = fs.readFileSync(changelogPath, 'utf8');
const fixedChangelog = changelog
.replace(/\(([A-Za-z0-9]{8})\)/g, (match, commitID) => `([${commitID}](https://github.com/electron-userland/electron-forge/commit/${commitID}))`)
.replace(/\(([A-Za-z0-9]{8})\)/g, (match, commitID) => `([${commitID}](https://github.com/electron/forge/commit/${commitID}))`)
.replace(
/# ([0-9]+\.[0-9]+\.[0-9]+(?:-[a-z]+.[0-9]+)?) /g,
(match, version) => `# [${version}](https://github.com/electron-userland/electron-forge/releases/tag/v${version}) `
(match, version) => `# [${version}](https://github.com/electron/forge/releases/tag/v${version}) `
);
fs.writeFileSync(

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/cli",
"version": "6.0.0-beta.68",
"description": "A complete tool for building modern Electron applications",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"bin": {

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/core",
"version": "6.0.0-beta.68",
"description": "A complete tool for building modern Electron applications",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"main": "dist/api/index.js",
"typings": "dist/api/index.d.ts",
"author": "Samuel Attard",

Просмотреть файл

@ -31,7 +31,7 @@ export default async ({
// Since the `start` command is meant to be long-living (i.e. run forever,
// until interrupted) we should enable this to keep stdin flowing after ora
// completes. For more context:
// https://github.com/electron-userland/electron-forge/issues/2319
// https://github.com/electron/forge/issues/2319
asyncOra.keepStdinFlowing = true;
await asyncOra('Locating Application', async () => {

Просмотреть файл

@ -292,7 +292,7 @@ describe('Electron Forge API', () => {
// FIXME(erickzhao): This test hangs on the electron-rebuild step
// with Electron 19. It was tested to work on Electron 18.
// see https://github.com/electron-userland/electron-forge/pull/2869
// see https://github.com/electron/forge/pull/2869
describe.skip('with prebuilt native module deps installed', () => {
before(async () => {
await installDeps(dir, ['ref-napi']);

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/maker-appx",
"version": "6.0.0-beta.68",
"description": "AppX maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/MakerAppX.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/maker-base",
"version": "6.0.0-beta.68",
"description": "Base maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/Maker.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/maker-deb",
"version": "6.0.0-beta.68",
"description": "Deb maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/MakerDeb.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/maker-dmg",
"version": "6.0.0-beta.68",
"description": "DMG maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/MakerDMG.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/maker-flatpak",
"version": "6.0.0-beta.68",
"description": "Flatpak maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/MakerFlatpak.js",

Просмотреть файл

@ -2,8 +2,7 @@
"name": "@electron-forge/maker-pkg",
"version": "6.0.0-beta.68",
"description": "PKG maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"author": "Samuel Attard",
"repository": "https://github.com/electron/forge",
"license": "MIT",
"main": "dist/MakerPKG.js",
"typings": "dist/MakerPKG.d.ts",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/maker-rpm",
"version": "6.0.0-beta.68",
"description": "Rpm maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/MakerRpm.js",

Просмотреть файл

@ -2,8 +2,7 @@
"name": "@electron-forge/maker-snap",
"version": "6.0.0-beta.68",
"description": "Snap maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"author": "Samuel Attard",
"repository": "https://github.com/electron/forge",
"license": "MIT",
"main": "dist/MakerSnap.js",
"typings": "dist/MakerSnap.d.ts",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/maker-squirrel",
"version": "6.0.0-beta.68",
"description": "Squirrel maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/MakerSquirrel.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/maker-wix",
"version": "6.0.0-beta.68",
"description": "Wix maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/MakerWix.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/maker-zip",
"version": "6.0.0-beta.68",
"description": "ZIP maker for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/MakerZIP.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/plugin-auto-unpack-natives",
"version": "6.0.0-beta.68",
"description": "Auto Unpack Natives plugin for Electron Forge, automatically adds native node modules to asar.unpacked",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/AutoUnpackNativesPlugin.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/plugin-base",
"version": "6.0.0-beta.68",
"description": "Base plugin for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/Plugin.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/plugin-compile",
"version": "6.0.0-beta.68",
"description": "Electron Compile plugin for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/CompilePlugin.js",

Просмотреть файл

@ -4,7 +4,7 @@
"description": "Integrate Electronegativity into the Electron Forge workflow",
"repository": {
"type": "git",
"url": "https://github.com/electron-userland/electron-forge",
"url": "https://github.com/electron/forge",
"directory": "packages/plugin/electronegativity"
},
"author": "Mark Lee",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/plugin-local-electron",
"version": "6.0.0-beta.68",
"description": "Local Electron plugin for Electron Forge, let's you use a local build of Electron",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/LocalElectronPlugin.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/plugin-webpack",
"version": "6.0.0-beta.68",
"description": "Webpack plugin for Electron Forge, lets you use Webpack directly in your tooling",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/WebpackPlugin.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/publisher-base",
"version": "6.0.0-beta.68",
"description": "Base publisher for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/Publisher.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/publisher-bitbucket",
"version": "6.0.0-beta.68",
"description": "Bitbucket publisher for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Luke Batchelor",
"license": "MIT",
"main": "dist/PublisherBitbucket.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/publisher-electron-release-server",
"version": "6.0.0-beta.68",
"description": "Electron release server publisher for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/PublisherERS.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/publisher-github",
"version": "6.0.0-beta.68",
"description": "Github publisher for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/PublisherGithub.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/publisher-nucleus",
"version": "6.0.0-beta.68",
"description": "Nucleus publisher for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/PublisherNucleus.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/publisher-s3",
"version": "6.0.0-beta.68",
"description": "S3 publisher for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/PublisherS3.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/publisher-snapcraft",
"version": "6.0.0-beta.68",
"description": "Snapcraft publisher for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/PublisherSnapcraft.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/template-base",
"version": "6.0.0-beta.68",
"description": "Base template for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/BaseTemplate.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/template-typescript-webpack",
"version": "6.0.0-beta.68",
"description": "Typescript-Webpack template for Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Shelley Vohr <shelley.vohr@gmail.com>",
"license": "MIT",
"main": "dist/TypeScriptWebpackTemplate.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/template-webpack",
"version": "6.0.0-beta.68",
"description": "Webpack template for Electron Forge, gets you started with Webpack really quickly",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/WebpackTemplate.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/async-ora",
"version": "6.0.0-beta.68",
"description": "A helper utility for wrapping async functions in an ora",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/index.js",

Просмотреть файл

@ -36,7 +36,7 @@ export interface AsyncOraMethod {
* work to be done, as it will forever be waiting for input on stdin.
*
* More context:
* https://github.com/electron-userland/electron-forge/issues/2319
* https://github.com/electron/forge/issues/2319
*/
keepStdinFlowing?: boolean;
}

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/test-utils",
"version": "6.0.0-beta.68",
"description": "Helper utilities for the Electron Forge testsuite",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Mark Lee",
"license": "MIT",
"main": "dist/index.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/shared-types",
"version": "6.0.0-beta.68",
"description": "Shared types across Electron Forge",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/index.js",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@electron-forge/web-multi-logger",
"version": "6.0.0-beta.68",
"description": "Display multiple streams of logs in one window",
"repository": "https://github.com/electron-userland/electron-forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/Logger.js",