@studiometa/ui-mapbox 0.0.1 → 1.10.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AbstractMapboxControl.d.ts +53 -0
- package/AbstractMapboxControl.js +70 -0
- package/AbstractMapboxControl.js.map +1 -0
- package/AbstractMapboxMapChild.d.ts +229 -0
- package/AbstractMapboxMapChild.js +336 -0
- package/AbstractMapboxMapChild.js.map +1 -0
- package/LICENSE.md +110 -0
- package/MapboxCluster.d.ts +208 -0
- package/MapboxCluster.js +418 -0
- package/MapboxCluster.js.map +1 -0
- package/MapboxClusterItem.d.ts +130 -0
- package/MapboxClusterItem.js +182 -0
- package/MapboxClusterItem.js.map +1 -0
- package/MapboxFullscreenControl.d.ts +21 -0
- package/MapboxFullscreenControl.js +21 -0
- package/MapboxFullscreenControl.js.map +1 -0
- package/MapboxGeocoder.d.ts +64 -0
- package/MapboxGeocoder.js +80 -0
- package/MapboxGeocoder.js.map +1 -0
- package/MapboxGeolocateControl.d.ts +23 -0
- package/MapboxGeolocateControl.js +31 -0
- package/MapboxGeolocateControl.js.map +1 -0
- package/MapboxImage.d.ts +49 -0
- package/MapboxImage.js +83 -0
- package/MapboxImage.js.map +1 -0
- package/MapboxImages.d.ts +66 -0
- package/MapboxImages.js +95 -0
- package/MapboxImages.js.map +1 -0
- package/MapboxLayer.d.ts +99 -0
- package/MapboxLayer.js +148 -0
- package/MapboxLayer.js.map +1 -0
- package/MapboxMap.d.ts +64 -0
- package/MapboxMap.js +131 -0
- package/MapboxMap.js.map +1 -0
- package/MapboxMarker.d.ts +56 -0
- package/MapboxMarker.js +73 -0
- package/MapboxMarker.js.map +1 -0
- package/MapboxNavigationControl.d.ts +27 -0
- package/MapboxNavigationControl.js +28 -0
- package/MapboxNavigationControl.js.map +1 -0
- package/MapboxPopup.d.ts +51 -0
- package/MapboxPopup.js +76 -0
- package/MapboxPopup.js.map +1 -0
- package/MapboxSource.d.ts +68 -0
- package/MapboxSource.js +104 -0
- package/MapboxSource.js.map +1 -0
- package/README.md +85 -0
- package/StoreLocator.d.ts +323 -0
- package/StoreLocator.js +538 -0
- package/StoreLocator.js.map +1 -0
- package/catalog.d.ts +7 -0
- package/catalog.js +68 -0
- package/catalog.js.map +1 -0
- package/dependencies.d.ts +85 -0
- package/dependencies.js +84 -0
- package/dependencies.js.map +1 -0
- package/index.d.ts +18 -0
- package/index.js +19 -0
- package/index.js.map +1 -0
- package/manifest.d.ts +6 -0
- package/manifest.js +133 -0
- package/manifest.js.map +1 -0
- package/package.json +43 -3
- package/utils.d.ts +112 -0
- package/utils.js +143 -0
- package/utils.js.map +1 -0
- package/Claude-of-Duty/node_modules/@esbuild/darwin-arm64/bin/esbuild +0 -0
- package/alfred-projects-cache.tsv +0 -137
- package/claude-501/-Users-titouanmathis--dotfiles/298a49f7-c4b3-4a50-9707-a9c0d0733e95/scratchpad/pptest/config.json +0 -1
- package/claude-501/-Users-titouanmathis--dotfiles/298a49f7-c4b3-4a50-9707-a9c0d0733e95/scratchpad/pptest/stub/herdr +0 -8
- package/claude-501/-Users-titouanmathis--dotfiles/7d127a50-a71a-411a-bc1f-15b070f909f9/tasks/bg1cckto6.output +0 -4
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/after.toml +0 -298
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/before.toml +0 -298
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/extracted.txt +0 -36
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/final.log +0 -496
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/guard.sh +0 -18
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/lock.check +0 -917
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/mise-registry.json +0 -3827
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/mise.lock.before +0 -917
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/misetest/.config/mise/conf.d/extra.toml +0 -2
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/misetest/.config/mise/mise.lock +0 -47
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/misetest/mise.lock +0 -47
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/misetest/mise.toml +0 -2
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/probe/.github/workflows/mise-check.yml +0 -188
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/probe/.github/workflows/renovate.yml +0 -62
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/probe/mise.lock +0 -917
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/probe/mise.toml +0 -291
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/probe/probe.log +0 -4974
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/probe/probe2.log +0 -22
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/probe/probe3.log +0 -4916
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/probe/renovate.json +0 -62
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/renovate-local.log +0 -670
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/symtest/link/mise.lock +0 -47
- package/claude-501/-Users-titouanmathis--dotfiles/dd4cd328-df52-4522-a502-48fa24b7b142/scratchpad/symtest/real/source.toml +0 -4
- package/claude-501/-Users-titouanmathis-Lab--studiometa-automations/d6c27f69-577a-468b-9bb3-a45c03a66143/scratchpad/cookie.txt +0 -1
- package/gitlab-docs-read.md +0 -8
- package/gitlab-instance-limits.txt +0 -8
- package/piab-501/piab-devops-019fcbcc991d-59c77b27-fresh-47da8bd318.config +0 -1
- package/pins-new.txt +0 -36
- package/pins-old.txt +0 -36
- package/reply +0 -0
- package/zsh0IBbcP +0 -0
- package/zsh2LqT39 +0 -0
- package/zsh6KJGTP +0 -0
- package/zshN1hNdy +0 -0
- package/zshNjWSYH +0 -11
- package/zshNvB745 +0 -0
- package/zshOXC0uH +0 -0
- package/zshPG9CFU +0 -0
- package/zshVOeZsK +0 -0
- package/zshVqIgQS +0 -0
- package/zshXTrFg8 +0 -0
- package/zshaUGubs +0 -11
- package/zshbzOT6d +0 -1
- package/zshnbtbGK +0 -0
- package/zshpQi1EI +0 -2
- package/zshwhMjOD +0 -1
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# @generated - this file is auto-generated by `mise lock` https://mise.jdx.dev/dev-tools/mise-lock.html
|
|
2
|
-
|
|
3
|
-
[[tools.yq]]
|
|
4
|
-
version = "4.53.3"
|
|
5
|
-
backend = "aqua:mikefarah/yq"
|
|
6
|
-
|
|
7
|
-
[tools.yq."platforms.linux-arm64"]
|
|
8
|
-
checksum = "sha256:578648e463a11c1b6db6010cbf41eafed6bee79466fcffa1bb446672cf7945ea"
|
|
9
|
-
url = "https://github.com/mikefarah/yq/releases/download/v4.53.3/yq_linux_arm64"
|
|
10
|
-
url_api = "https://api.github.com/repos/mikefarah/yq/releases/assets/440146727"
|
|
11
|
-
provenance = "cosign"
|
|
12
|
-
|
|
13
|
-
[tools.yq."platforms.linux-arm64-musl"]
|
|
14
|
-
checksum = "sha256:578648e463a11c1b6db6010cbf41eafed6bee79466fcffa1bb446672cf7945ea"
|
|
15
|
-
url = "https://github.com/mikefarah/yq/releases/download/v4.53.3/yq_linux_arm64"
|
|
16
|
-
url_api = "https://api.github.com/repos/mikefarah/yq/releases/assets/440146727"
|
|
17
|
-
provenance = "cosign"
|
|
18
|
-
|
|
19
|
-
[tools.yq."platforms.linux-x64"]
|
|
20
|
-
checksum = "sha256:fa52a4e758c63d38299163fbdd1edfb4c4963247918bf9c1c5d31d84789eded4"
|
|
21
|
-
url = "https://github.com/mikefarah/yq/releases/download/v4.53.3/yq_linux_amd64"
|
|
22
|
-
url_api = "https://api.github.com/repos/mikefarah/yq/releases/assets/440146735"
|
|
23
|
-
provenance = "cosign"
|
|
24
|
-
|
|
25
|
-
[tools.yq."platforms.linux-x64-musl"]
|
|
26
|
-
checksum = "sha256:fa52a4e758c63d38299163fbdd1edfb4c4963247918bf9c1c5d31d84789eded4"
|
|
27
|
-
url = "https://github.com/mikefarah/yq/releases/download/v4.53.3/yq_linux_amd64"
|
|
28
|
-
url_api = "https://api.github.com/repos/mikefarah/yq/releases/assets/440146735"
|
|
29
|
-
provenance = "cosign"
|
|
30
|
-
|
|
31
|
-
[tools.yq."platforms.macos-arm64"]
|
|
32
|
-
checksum = "sha256:877de31753a4dd2401aa048937aa9a7fc4d5f6ce858cf31508c5802954297213"
|
|
33
|
-
url = "https://github.com/mikefarah/yq/releases/download/v4.53.3/yq_darwin_arm64"
|
|
34
|
-
url_api = "https://api.github.com/repos/mikefarah/yq/releases/assets/440146762"
|
|
35
|
-
provenance = "cosign"
|
|
36
|
-
|
|
37
|
-
[tools.yq."platforms.macos-x64"]
|
|
38
|
-
checksum = "sha256:b4ba1ecce3c47f00803f4f964de38394326c7a32eb6540616e04fb2935a0f08d"
|
|
39
|
-
url = "https://github.com/mikefarah/yq/releases/download/v4.53.3/yq_darwin_amd64"
|
|
40
|
-
url_api = "https://api.github.com/repos/mikefarah/yq/releases/assets/440146744"
|
|
41
|
-
provenance = "cosign"
|
|
42
|
-
|
|
43
|
-
[tools.yq."platforms.windows-x64"]
|
|
44
|
-
checksum = "sha256:e279bc506a452eeafcdf364f91a025455e402a8001169083caf01f4b64a544e2"
|
|
45
|
-
url = "https://github.com/mikefarah/yq/releases/download/v4.53.3/yq_windows_amd64.exe"
|
|
46
|
-
url_api = "https://api.github.com/repos/mikefarah/yq/releases/assets/440146721"
|
|
47
|
-
provenance = "cosign"
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# @generated - this file is auto-generated by `mise lock` https://mise.jdx.dev/dev-tools/mise-lock.html
|
|
2
|
-
|
|
3
|
-
[[tools.jq]]
|
|
4
|
-
version = "1.8.2"
|
|
5
|
-
backend = "aqua:jqlang/jq"
|
|
6
|
-
|
|
7
|
-
[tools.jq."platforms.linux-arm64"]
|
|
8
|
-
checksum = "sha256:8b85c817833814ddca00a144c33705546355afccf0cf39b188f3cdb48b852309"
|
|
9
|
-
url = "https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-linux-arm64"
|
|
10
|
-
url_api = "https://api.github.com/repos/jqlang/jq/releases/assets/453012756"
|
|
11
|
-
provenance = "github-attestations"
|
|
12
|
-
|
|
13
|
-
[tools.jq."platforms.linux-arm64-musl"]
|
|
14
|
-
checksum = "sha256:8b85c817833814ddca00a144c33705546355afccf0cf39b188f3cdb48b852309"
|
|
15
|
-
url = "https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-linux-arm64"
|
|
16
|
-
url_api = "https://api.github.com/repos/jqlang/jq/releases/assets/453012756"
|
|
17
|
-
provenance = "github-attestations"
|
|
18
|
-
|
|
19
|
-
[tools.jq."platforms.linux-x64"]
|
|
20
|
-
checksum = "sha256:b1c22172dd303f3be49e935aa56aa48a8b7a46e0bc838b4997d3bb451495870f"
|
|
21
|
-
url = "https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-linux-amd64"
|
|
22
|
-
url_api = "https://api.github.com/repos/jqlang/jq/releases/assets/453012752"
|
|
23
|
-
provenance = "github-attestations"
|
|
24
|
-
|
|
25
|
-
[tools.jq."platforms.linux-x64-musl"]
|
|
26
|
-
checksum = "sha256:b1c22172dd303f3be49e935aa56aa48a8b7a46e0bc838b4997d3bb451495870f"
|
|
27
|
-
url = "https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-linux-amd64"
|
|
28
|
-
url_api = "https://api.github.com/repos/jqlang/jq/releases/assets/453012752"
|
|
29
|
-
provenance = "github-attestations"
|
|
30
|
-
|
|
31
|
-
[tools.jq."platforms.macos-arm64"]
|
|
32
|
-
checksum = "sha256:2d75340ba57a4b4b4c8708a21c2dc8e958a48aaa8bba13b27f77f6e4c0eca07e"
|
|
33
|
-
url = "https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-macos-arm64"
|
|
34
|
-
url_api = "https://api.github.com/repos/jqlang/jq/releases/assets/453012783"
|
|
35
|
-
provenance = "github-attestations"
|
|
36
|
-
|
|
37
|
-
[tools.jq."platforms.macos-x64"]
|
|
38
|
-
checksum = "sha256:e94b266e3c26690550006abe63152b782280f4e14374accdf04cbde844f00bc0"
|
|
39
|
-
url = "https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-macos-amd64"
|
|
40
|
-
url_api = "https://api.github.com/repos/jqlang/jq/releases/assets/453012782"
|
|
41
|
-
provenance = "github-attestations"
|
|
42
|
-
|
|
43
|
-
[tools.jq."platforms.windows-x64"]
|
|
44
|
-
checksum = "sha256:a6fc67fedaf9128a3309a1e2ebb8b986aeccf70122ee46d2cb4849e423f0c627"
|
|
45
|
-
url = "https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-windows-amd64.exe"
|
|
46
|
-
url_api = "https://api.github.com/repos/jqlang/jq/releases/assets/453012788"
|
|
47
|
-
provenance = "github-attestations"
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
name: "mise check"
|
|
2
|
-
|
|
3
|
-
# Validates the repo's mise.toml as a GLOBAL mise config (~/.config/mise/config.toml)
|
|
4
|
-
# on both macOS (real Homebrew/node/Xcode CLT preinstalled) and Linux (apt + Linux
|
|
5
|
-
# Homebrew bottles).
|
|
6
|
-
on:
|
|
7
|
-
pull_request:
|
|
8
|
-
push:
|
|
9
|
-
branches: [main]
|
|
10
|
-
workflow_dispatch:
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
check:
|
|
14
|
-
strategy:
|
|
15
|
-
fail-fast: false
|
|
16
|
-
matrix:
|
|
17
|
-
os: [macos-latest, ubuntu-latest]
|
|
18
|
-
timeout-minutes: 30
|
|
19
|
-
runs-on: ${{ matrix.os }}
|
|
20
|
-
# GITHUB_TOKEN authentifie les appels GitHub API de mise (backends aqua:/github:,
|
|
21
|
-
# ex. aqua:ddev/ddev) pour eviter le rate-limit anonyme (60 req/h) partage entre
|
|
22
|
-
# runners GitHub-hosted. mise le detecte automatiquement des lors que la variable
|
|
23
|
-
# d'environnement GITHUB_TOKEN est presente (voir mise.jdx.dev/dev-tools/github-tokens.html) --
|
|
24
|
-
# le secret GITHUB_TOKEN existe deja dans le contexte du job, il suffit de
|
|
25
|
-
# l'exposer explicitement dans l'environnement (pas fait par defaut par
|
|
26
|
-
# actions/checkout).
|
|
27
|
-
env:
|
|
28
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
29
|
-
steps:
|
|
30
|
-
- name: Checkout
|
|
31
|
-
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
32
|
-
|
|
33
|
-
# Deliberately not using jdx/mise-action's auto-install, to keep full control over
|
|
34
|
-
# how mise is invoked (global config placement, working directory, etc.) below.
|
|
35
|
-
- name: Install mise
|
|
36
|
-
run: |
|
|
37
|
-
curl https://mise.run | sh
|
|
38
|
-
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
|
39
|
-
|
|
40
|
-
- name: Bootstrap dotfiles and global mise config
|
|
41
|
-
run: |
|
|
42
|
-
ln -s "$GITHUB_WORKSPACE" "$HOME/.dotfiles"
|
|
43
|
-
mise trust "$GITHUB_WORKSPACE/mise.toml"
|
|
44
|
-
mise -C "$GITHUB_WORKSPACE" bootstrap --only dotfiles --force-dotfiles --yes
|
|
45
|
-
mise trust "$HOME/.config/mise/config.toml"
|
|
46
|
-
mise bootstrap dotfiles status --missing
|
|
47
|
-
if [[ "$RUNNER_OS" == "macOS" ]]; then
|
|
48
|
-
permissions="$(stat -L -f '%Lp' "$HOME/.config/glab-cli/aliases.yml")"
|
|
49
|
-
else
|
|
50
|
-
permissions="$(stat -L -c '%a' "$HOME/.config/glab-cli/aliases.yml")"
|
|
51
|
-
fi
|
|
52
|
-
test "$permissions" = "600"
|
|
53
|
-
|
|
54
|
-
- name: mise diagnostics (informational)
|
|
55
|
-
continue-on-error: true
|
|
56
|
-
run: |
|
|
57
|
-
mise --version
|
|
58
|
-
mise doctor
|
|
59
|
-
|
|
60
|
-
# --- Linux apt: backend / sudo -------------------------------------------------
|
|
61
|
-
# Investigation (mise docs: bootstrap.html + configuration/settings.html): the
|
|
62
|
-
# `apt:` backend under [bootstrap.packages] self-elevates with `sudo` when mise is
|
|
63
|
-
# not already running as root. This is controlled by the `system_packages.sudo`
|
|
64
|
-
# setting, which defaults to enabled — mise shells out to `sudo apt-get ...` on its
|
|
65
|
-
# own, logs the exact command, and skips sudo entirely when already root (which is
|
|
66
|
-
# what happened in our earlier Docker validation, run as root — so that path never
|
|
67
|
-
# exercised this).
|
|
68
|
-
# GitHub-hosted ubuntu-latest runners run as a non-root `runner` user with
|
|
69
|
-
# passwordless sudo configured out of the box, so no extra wrapping (no `sudo mise
|
|
70
|
-
# ...`, no re-exec) should be required for `mise bootstrap packages apply` to
|
|
71
|
-
# install the apt:* keys below. This step only proves that assumption instead of
|
|
72
|
-
# silently relying on it: if passwordless sudo were ever unavailable on the runner,
|
|
73
|
-
# we want a clear, early, non-cryptic failure here rather than a confusing failure
|
|
74
|
-
# buried inside mise's own apt invocation two steps down.
|
|
75
|
-
- name: Verify passwordless sudo is available (Linux only)
|
|
76
|
-
if: runner.os == 'Linux'
|
|
77
|
-
run: |
|
|
78
|
-
sudo -n true
|
|
79
|
-
echo "passwordless sudo: OK"
|
|
80
|
-
|
|
81
|
-
# --- macOS brew: backend / openssl@3 link conflict -----------------------------
|
|
82
|
-
# Investigation (mise source, not docs — see research/brew-prefix.md): mise's
|
|
83
|
-
# `brew:` backend under [bootstrap.packages] never shells out to `brew`; it pours
|
|
84
|
-
# homebrew/core bottles directly into a hardcoded canonical prefix
|
|
85
|
-
# (/opt/homebrew on macOS arm64). macos-latest runners pre-ship a real Homebrew
|
|
86
|
-
# already linked at /opt/homebrew, including openssl@3 (a transitive dep of git
|
|
87
|
-
# and other base tools) — mise's own pour of openssl@3 into that SAME prefix
|
|
88
|
-
# collides with files it didn't create, aborting with "cannot link openssl@3:
|
|
89
|
-
# these files already exist and were not created by mise or brew".
|
|
90
|
-
# MISE_SYSTEM_BREW_PREFIX is the only prefix-selection knob found in mise's source
|
|
91
|
-
# (src/system/packages/brew/prefix.rs) — explicitly marked "undocumented" there,
|
|
92
|
-
# built for testing mise's pour pipeline. Pointing it at an empty, runner-local
|
|
93
|
-
# directory removes the collision by giving mise's brew: pour its own isolated
|
|
94
|
-
# Cellar instead of fighting the pre-installed Homebrew for /opt/homebrew.
|
|
95
|
-
# Scoped to macOS only (Linux has no pre-baked Homebrew at
|
|
96
|
-
# /home/linuxbrew/.linuxbrew on these runners, so it never hits this conflict).
|
|
97
|
-
# NOTE: this is a genuine fix in mechanism (the same /opt/homebrew collision
|
|
98
|
-
# exists on a real Mac too, and this env var sidesteps it identically there) but
|
|
99
|
-
# rests on an undocumented internal mise env var, not published API — see
|
|
100
|
-
# research/brew-prefix.md for the full honesty assessment before promoting this
|
|
101
|
-
# to mise.toml for real machines.
|
|
102
|
-
- name: "Isolate mise's brew: prefix (macOS only, openssl@3 link conflict)"
|
|
103
|
-
if: runner.os == 'macOS'
|
|
104
|
-
run: echo "MISE_SYSTEM_BREW_PREFIX=${{ runner.temp }}/mise-brew" >> "$GITHUB_ENV"
|
|
105
|
-
|
|
106
|
-
# From here on, operate from $HOME (not the repo checkout) so the GLOBAL config at
|
|
107
|
-
# ~/.config/mise/config.toml is what's actually exercised, not a project-local copy.
|
|
108
|
-
- name: mise bootstrap packages apply
|
|
109
|
-
run: |
|
|
110
|
-
cd "$HOME"
|
|
111
|
-
if [[ "$RUNNER_OS" == "Linux" ]]; then
|
|
112
|
-
mise bootstrap packages apply --manager apt --yes
|
|
113
|
-
fi
|
|
114
|
-
mise bootstrap packages apply --manager brew --yes
|
|
115
|
-
|
|
116
|
-
- name: Verify mise initializes in Zsh
|
|
117
|
-
run: |
|
|
118
|
-
startup_prefix="$(mktemp)"
|
|
119
|
-
# shellcheck disable=SC2016
|
|
120
|
-
awk '{ print } /eval "\$\(mise activate zsh\)"/ { exit }' "$HOME/.zshrc" > "$startup_prefix"
|
|
121
|
-
# shellcheck disable=SC2016
|
|
122
|
-
env -i HOME="$HOME" PATH="/usr/bin:/bin" zsh -dfc 'source "$1"; command -v mise' zsh "$startup_prefix"
|
|
123
|
-
|
|
124
|
-
- name: Validate macOS cask definitions without installing applications
|
|
125
|
-
if: runner.os == 'macOS'
|
|
126
|
-
run: |
|
|
127
|
-
cd "$HOME"
|
|
128
|
-
mise bootstrap packages apply --manager brew-cask --dry-run
|
|
129
|
-
|
|
130
|
-
- name: Bootstrap mise tools
|
|
131
|
-
run: |
|
|
132
|
-
cd "$HOME"
|
|
133
|
-
mise bootstrap --only tools --yes
|
|
134
|
-
|
|
135
|
-
- name: Validate scripts and workflow
|
|
136
|
-
run: |
|
|
137
|
-
mise x -- shellcheck install.sh bin/dot __install__/alfred.sh
|
|
138
|
-
mise x -- actionlint
|
|
139
|
-
bash -n install.sh bin/dot __install__/alfred.sh
|
|
140
|
-
zsh -n __symlinks__/.zshrc functions/pvm
|
|
141
|
-
git diff --exit-code -- mise.lock
|
|
142
|
-
|
|
143
|
-
- name: Validate final bootstrap task
|
|
144
|
-
run: mise run --dry-run bootstrap
|
|
145
|
-
|
|
146
|
-
- name: Validate macOS preference links
|
|
147
|
-
if: runner.os == 'macOS'
|
|
148
|
-
env:
|
|
149
|
-
SKIP_ALFRED_EXTERNAL: "1"
|
|
150
|
-
SKIP_HOMEBREW: "1"
|
|
151
|
-
SKIP_MACOS_DEFAULTS: "1"
|
|
152
|
-
SKIP_VIM: "1"
|
|
153
|
-
run: |
|
|
154
|
-
mise run bootstrap
|
|
155
|
-
test "$(readlink "$HOME/Alfred.alfredpreferences/workflows/call")" = "$HOME/.dotfiles/alfred/workflows/call"
|
|
156
|
-
test "$(readlink "$HOME/Library/Application Support/Sublime Text/Packages/User")" = "$HOME/.dotfiles/sublime-text/User"
|
|
157
|
-
|
|
158
|
-
- name: Verify tools resolve via the global mise config
|
|
159
|
-
run: |
|
|
160
|
-
cd "$HOME"
|
|
161
|
-
mise x -- node --version
|
|
162
|
-
mise x -- rg --version
|
|
163
|
-
mise x -- gh --version
|
|
164
|
-
mise x -- glab --version
|
|
165
|
-
# shellcheck disable=SC2016
|
|
166
|
-
test "$(mise x -- sh -c 'printf %s "$GLAB_SEND_TELEMETRY"')" = "false"
|
|
167
|
-
mise x -- glab alias list >/dev/null
|
|
168
|
-
mise x -- bun --version
|
|
169
|
-
mise x -- agent-browser --version
|
|
170
|
-
mise x -- php --version
|
|
171
|
-
mise x -- composer --version
|
|
172
|
-
for version in 8.1 8.2 8.3 8.4 8.5; do
|
|
173
|
-
actual=$(mise x "http:php@$version" -- php -r 'echo PHP_MAJOR_VERSION, ".", PHP_MINOR_VERSION;')
|
|
174
|
-
test "$actual" = "$version"
|
|
175
|
-
done
|
|
176
|
-
mise x -- forge --version
|
|
177
|
-
mise x -- op --version
|
|
178
|
-
mise x -- claude --version
|
|
179
|
-
mise x -- ovhcloud version --output json
|
|
180
|
-
# ddev may print a non-fatal runtime warning (e.g. about docker not running on
|
|
181
|
-
# a bare CI host); we only care that the binary resolves and executes.
|
|
182
|
-
mise x -- ddev --version || echo "::warning::ddev --version exited non-zero (treated as non-fatal runtime warning)"
|
|
183
|
-
|
|
184
|
-
echo "--- mise ls ---"
|
|
185
|
-
mise ls
|
|
186
|
-
|
|
187
|
-
mise ls | awk '{print $1}' | grep -qx 'http:php'
|
|
188
|
-
mise ls | awk '{print $1}' | grep -qx 'http:composer'
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
name: "renovate"
|
|
2
|
-
|
|
3
|
-
# Renovate auto-héberge, plutôt que l'app GitHub : le dépôt est privé sur un plan
|
|
4
|
-
# gratuit, donc l'app impliquerait une installation à la main sans rien apporter ici.
|
|
5
|
-
# Ce workflow lui donne une cadence quotidienne et garde toute la configuration
|
|
6
|
-
# (renovate.json) dans le dépôt.
|
|
7
|
-
#
|
|
8
|
-
# Renovate met à jour mise.lock lui-même : `mise lock --local` pour une montée ciblée,
|
|
9
|
-
# `mise lock --local --bump` pour la maintenance de lockfile. À partir de mise 2026.7.12
|
|
10
|
-
# il passe par son "safe mode", ce qui évite d'avoir à autoriser mise dans
|
|
11
|
-
# allowedUnsafeExecutions (voir la contrainte mise de renovate.json). mise est présent
|
|
12
|
-
# dans l'image Renovate depuis la 43.244.0 et l'action ci-dessous utilise la 44.
|
|
13
|
-
on:
|
|
14
|
-
schedule:
|
|
15
|
-
# 05:00 UTC = 07:00 Europe/Paris en été, 06:00 en hiver : les PR sont prêtes avant
|
|
16
|
-
# la journée de travail. Les crons GitHub sont en UTC et peuvent être retardés.
|
|
17
|
-
- cron: "0 5 * * *"
|
|
18
|
-
workflow_dispatch:
|
|
19
|
-
inputs:
|
|
20
|
-
dryRun:
|
|
21
|
-
description: "Simuler sans créer de branches, PR ou commentaires"
|
|
22
|
-
type: boolean
|
|
23
|
-
default: false
|
|
24
|
-
logLevel:
|
|
25
|
-
description: "Niveau de log Renovate"
|
|
26
|
-
type: choice
|
|
27
|
-
options:
|
|
28
|
-
- info
|
|
29
|
-
- debug
|
|
30
|
-
default: "info"
|
|
31
|
-
|
|
32
|
-
# Une seule instance à la fois : deux Renovate en parallèle se disputeraient les mêmes
|
|
33
|
-
# branches. On ne coupe pas le run en cours, on attend qu'il finisse.
|
|
34
|
-
concurrency:
|
|
35
|
-
group: "renovate"
|
|
36
|
-
cancel-in-progress: false
|
|
37
|
-
|
|
38
|
-
# Tout passe par RENOVATE_TOKEN (PAT classique, scope `repo`) : le GITHUB_TOKEN du job
|
|
39
|
-
# n'est utilisé par personne ici. Un PAT est indispensable car GitHub ne déclenche aucun
|
|
40
|
-
# workflow sur les PR créées avec GITHUB_TOKEN — or c'est justement `mise check` qui
|
|
41
|
-
# vérifie que mise.toml et mise.lock restent cohérents.
|
|
42
|
-
permissions: {}
|
|
43
|
-
|
|
44
|
-
jobs:
|
|
45
|
-
renovate:
|
|
46
|
-
runs-on: ubuntu-latest
|
|
47
|
-
timeout-minutes: 30
|
|
48
|
-
steps:
|
|
49
|
-
# Pas d'actions/checkout : Renovate clone le dépôt lui-même dans son propre espace
|
|
50
|
-
# de travail, et aucun fichier de configuration global n'est passé à l'action.
|
|
51
|
-
- name: Renovate
|
|
52
|
-
uses: renovatebot/github-action@316d7cd859606d6039a2182b7d69199e9b036835 # v46.2.1
|
|
53
|
-
with:
|
|
54
|
-
token: ${{ secrets.RENOVATE_TOKEN }}
|
|
55
|
-
env:
|
|
56
|
-
LOG_LEVEL: ${{ inputs.logLevel || 'info' }}
|
|
57
|
-
RENOVATE_PLATFORM: "github"
|
|
58
|
-
RENOVATE_REPOSITORIES: ${{ github.repository }}
|
|
59
|
-
# `null` est la valeur documentée pour désactiver la simulation.
|
|
60
|
-
RENOVATE_DRY_RUN: ${{ inputs.dryRun && 'full' || 'null' }}
|
|
61
|
-
# Le dépôt a déjà son renovate.json : pas de PR d'accueil à proposer.
|
|
62
|
-
RENOVATE_ONBOARDING: "false"
|