From 87d34d07e03add3ed4c22df8575e1211023f61a8 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Sat, 30 Nov 2024 06:46:02 +0900 Subject: [PATCH] fix(rustwasm/wasm-pack): Regenerate the setting (#29374) * feat(rustwasm/wasm-pack): scaffold rustwasm/wasm-pack * fix(rustwasm/wasm-pack): set files --- pkgs/rustwasm/wasm-pack/pkg.yaml | 8 +-- pkgs/rustwasm/wasm-pack/registry.yaml | 70 ++++++++++++++++++--------- registry.yaml | 70 ++++++++++++++++++--------- 3 files changed, 94 insertions(+), 54 deletions(-) diff --git a/pkgs/rustwasm/wasm-pack/pkg.yaml b/pkgs/rustwasm/wasm-pack/pkg.yaml index 13c123048d..91906e9386 100644 --- a/pkgs/rustwasm/wasm-pack/pkg.yaml +++ b/pkgs/rustwasm/wasm-pack/pkg.yaml @@ -1,10 +1,6 @@ packages: - name: rustwasm/wasm-pack@v0.13.1 - name: rustwasm/wasm-pack - version: v0.10.3 + version: v0.10.1 - name: rustwasm/wasm-pack - version: v0.10.2 - - name: rustwasm/wasm-pack - version: v0.5.0 - - name: rustwasm/wasm-pack - version: v0.3.0 + version: v0.4.2 diff --git a/pkgs/rustwasm/wasm-pack/registry.yaml b/pkgs/rustwasm/wasm-pack/registry.yaml index b8c3703787..fabdd2159e 100644 --- a/pkgs/rustwasm/wasm-pack/registry.yaml +++ b/pkgs/rustwasm/wasm-pack/registry.yaml @@ -3,33 +3,55 @@ packages: repo_owner: rustwasm repo_name: wasm-pack description: your favorite rust -> wasm workflow tool - asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}} - format: tar.gz - replacements: - amd64: x86_64 - arm64: aarch64 - darwin: apple-darwin - linux: unknown-linux-musl - windows: pc-windows-msvc - supported_envs: - - darwin - - linux - - amd64 - rosetta2: true - files: - - name: wasm-pack - src: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}/wasm-pack - version_constraint: semver(">= 0.10.3") + version_constraint: "false" version_overrides: - - version_constraint: semver("= 0.10.2") + - version_constraint: semver("<= 0.2.0") + no_asset: true + - version_constraint: semver("<= 0.4.2") + asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}} + format: tar.gz + rosetta2: true + files: + - name: wasm-pack + src: "{{.AssetWithoutExt}}/wasm-pack" + replacements: + amd64: x86_64 + darwin: apple-darwin + linux: unknown-linux-musl supported_envs: + - linux/amd64 - darwin - - linux - - version_constraint: semver(">= 0.5.0") + - version_constraint: semver("<= 0.10.1") + asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}} + format: tar.gz + rosetta2: true + windows_arm_emulation: true + files: + - name: wasm-pack + src: "{{.AssetWithoutExt}}/wasm-pack" + replacements: + amd64: x86_64 + darwin: apple-darwin + linux: unknown-linux-musl + windows: pc-windows-msvc supported_envs: - darwin + - windows - amd64 - - version_constraint: semver("< 0.5.0") - supported_envs: - - linux/amd64 - - darwin + - version_constraint: "true" + asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}} + format: tar.gz + rosetta2: true + windows_arm_emulation: true + files: + - name: wasm-pack + src: "{{.AssetWithoutExt}}/wasm-pack" + replacements: + amd64: x86_64 + darwin: apple-darwin + linux: unknown-linux-musl + windows: pc-windows-msvc + overrides: + - goos: linux + replacements: + arm64: aarch64 diff --git a/registry.yaml b/registry.yaml index ac5308d2a6..afb5312b44 100644 --- a/registry.yaml +++ b/registry.yaml @@ -42354,36 +42354,58 @@ packages: repo_owner: rustwasm repo_name: wasm-pack description: your favorite rust -> wasm workflow tool - asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}} - format: tar.gz - replacements: - amd64: x86_64 - arm64: aarch64 - darwin: apple-darwin - linux: unknown-linux-musl - windows: pc-windows-msvc - supported_envs: - - darwin - - linux - - amd64 - rosetta2: true - files: - - name: wasm-pack - src: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}/wasm-pack - version_constraint: semver(">= 0.10.3") + version_constraint: "false" version_overrides: - - version_constraint: semver("= 0.10.2") + - version_constraint: semver("<= 0.2.0") + no_asset: true + - version_constraint: semver("<= 0.4.2") + asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}} + format: tar.gz + rosetta2: true + files: + - name: wasm-pack + src: "{{.AssetWithoutExt}}/wasm-pack" + replacements: + amd64: x86_64 + darwin: apple-darwin + linux: unknown-linux-musl supported_envs: + - linux/amd64 - darwin - - linux - - version_constraint: semver(">= 0.5.0") + - version_constraint: semver("<= 0.10.1") + asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}} + format: tar.gz + rosetta2: true + windows_arm_emulation: true + files: + - name: wasm-pack + src: "{{.AssetWithoutExt}}/wasm-pack" + replacements: + amd64: x86_64 + darwin: apple-darwin + linux: unknown-linux-musl + windows: pc-windows-msvc supported_envs: - darwin + - windows - amd64 - - version_constraint: semver("< 0.5.0") - supported_envs: - - linux/amd64 - - darwin + - version_constraint: "true" + asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}} + format: tar.gz + rosetta2: true + windows_arm_emulation: true + files: + - name: wasm-pack + src: "{{.AssetWithoutExt}}/wasm-pack" + replacements: + amd64: x86_64 + darwin: apple-darwin + linux: unknown-linux-musl + windows: pc-windows-msvc + overrides: + - goos: linux + replacements: + arm64: aarch64 - type: github_release repo_owner: ryane repo_name: kfilt