Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update commands #37

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ npm install
### Build

```powershell
npm build
npm run build
```

*Both Manifest v2 (for Firefox) and Manifest v3 (for Chrome) files are generated in the following locations
### Package

- Manifest v2: ``web-ext-artifacts/manifest_v2/hide_view_count-<VERSION>.zip``
- Manifest v3: ``web-ext-artifacts/manifest_v3/hide_view_count-<VERSION>.zip``

### Manifest
```powershell
npm run package
```

The v2 and v3 manifest files are ``manifest/v2.json`` and ``manifest/v3.json`` respectively.
Both Manifest v2 (for Firefox) and Manifest v3 (for Chrome) files are generated in the following locations.

At build time, these files are copied to generate ``manifest.json``. v2 and v3 are built at the same time, but the v2 Manifest file is copied during the v2 build phase and the v3 Manifest file during the v3 build phase.
- Manifest v2: ``web-ext-artifacts/manifest_v2/hide_view_count-<VERSION>.zip``
- Manifest v3: ``web-ext-artifacts/manifest_v3/hide_view_count-<VERSION>.zip``

### Versioning

Expand Down
16 changes: 8 additions & 8 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ npm install
### ビルド

```powershell
npm build
npm run build
```

※Manifest v2(Firefox用)とManifest v3(Chrome用)の両方のファイルが、それぞれ次の場所に生成されます。
### パッケージ化

- Manifest v2:``web-ext-artifacts/manifest_v2/hide_view_count-<VERSION>.zip``
- Manifest v3:``web-ext-artifacts/manifest_v3/hide_view_count-<VERSION>.zip``

### Manifestファイルについて
```powershell
npm run package
```

v2とv3のManifestファイルはそれぞれ、``manifest/v2.json``と``manifest/v3.json``です
Manifest v2(Firefox用)とManifest v3(Chrome用)の両方のファイルが、それぞれ次の場所に生成されます

ビルド時にこれらのファイルをコピーして``manifest.json``を生成します。v2とv3を同時にビルドしますが、v2のビルド段階ではv2、v3のビルド段階ではv3のManifestファイルをコピーします。
- Manifest v2:``web-ext-artifacts/manifest_v2/hide_view_count-<VERSION>.zip``
- Manifest v3:``web-ext-artifacts/manifest_v3/hide_view_count-<VERSION>.zip``

### バージョン番号について

Expand Down
Loading