-
Notifications
You must be signed in to change notification settings - Fork 4
Comparing changes
Open a pull request
base repository: purescript/purescript-safe-coerce
base: master
head repository: purescript-lua/purescript-lua-safe-coerce
compare: master
- 13 commits
- 19 files changed
- 3 contributors
Commits on Apr 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 524b5af - Browse repository at this point
Copy the full SHA 524b5afView commit details
Commits on Jun 14, 2026
-
fix: point pslua at github, move to a current set + nix CI (#60)
The pslua flake input was a dead local path (`/home/yura/...`), so the dev shell could not be entered at all. Point it at `github:Unisay/purescript-lua`, switch the dev shell to Lua 5.1 (it was pinned to 5.3) and pin purs, matching the other package-set forks. `packages.dhall` was on the ancient `psc-0.15.8` draft set, whose `unsafe-coerce` (v6.0.0) ships an FFI value that is not parenthesised and so trips pslua's foreign-file parser. Bump to the current set, which carries `unsafe-coerce` v6.1.0, so the fork builds again. CI moves onto the nix + overlay canon: build under `set -euo pipefail`, luacheck `--std lua51 --no-unused-args` over the generated `dist/` (this fork has no hand-written FFI of its own).
Configuration menu - View commit details
-
Copy full SHA for 7572977 - Browse repository at this point
Copy the full SHA 7572977View commit details -
chore: switch dev shell to purescript-overlay canon
Align the flake with the other forks: purescript-overlay (purs-bin.purs-0_15_16, spago-bin.spago-0_21_0, lua51Packages, nixfmt-rfc-style, luaformatter, treefmt) instead of easy-purescript-nix, and lock pslua to the current HEAD so dist/ is created on a clean build.
Configuration menu - View commit details
-
Copy full SHA for c98a631 - Browse repository at this point
Copy the full SHA c98a631View commit details -
Merge pull request #2 from Unisay/fix/safe-coerce-flake-overlay
fix: point pslua at github, move to a current set + nix CI (#60)
Configuration menu - View commit details
-
Copy full SHA for 235dc83 - Browse repository at this point
Copy the full SHA 235dc83View commit details -
chore: add AGENTS.md + CLAUDE.md, clean JS cruft, bump pslua
Add the single agent instruction file (AGENTS.md) and the CLAUDE.md @-import the set standardises on; this fork has no hand-written FFI so luacheck runs over dist/. Drop dead .eslintrc.json/package.json, trim stale .gitignore entries, bump the pslua pin to current main. Tooling and docs only.
Configuration menu - View commit details
-
Copy full SHA for 3f6eca7 - Browse repository at this point
Copy the full SHA 3f6eca7View commit details -
Merge pull request #3 from Unisay/chore/agents-md
chore: add AGENTS.md + CLAUDE.md, clean JS cruft
Configuration menu - View commit details
-
Copy full SHA for 9a3541e - Browse repository at this point
Copy the full SHA 9a3541eView commit details -
chore: point pslua + package-set links at purescript-lua org
Repos moved from Unisay/* to the purescript-lua org. Update the pslua flake input and lockfile owner (same rev 94c13ce), the packages.dhall upstream-lua release URL, and the AGENTS.md links, so nothing relies on the old-owner redirect.
Configuration menu - View commit details
-
Copy full SHA for f505bf9 - Browse repository at this point
Copy the full SHA f505bf9View commit details -
Merge pull request #4 from purescript-lua/chore/migrate-org-links
chore: point pslua + package-set links at purescript-lua org
Configuration menu - View commit details
-
Copy full SHA for 75c9a3e - Browse repository at this point
Copy the full SHA 75c9a3eView commit details -
chore: add treefmt formatting (nix fmt) and format the tree
Wire treefmt via treefmt-nix: nixfmt, dhall format, purs-tidy (.tidyrc.json) and LuaFormatter for the FFI (.lua-format, kept over StyLua because it preserves the parentheses pslua's parser needs). `nix fmt` formats; the dev shell installs a content-based pre-commit hook and CI runs `nix fmt && git diff --exit-code` (content-based, since the in-place formatters bump mtime and would trip treefmt --fail-on-change). Lua lines budget 130 cols, matching the raised `luacheck --max-line-length`. This fork has no hand-written FFI, so luacheck stays over the generated dist/.
Configuration menu - View commit details
-
Copy full SHA for c692fac - Browse repository at this point
Copy the full SHA c692facView commit details
Commits on Jun 15, 2026
-
Merge pull request #5 from purescript-lua/chore/treefmt
chore: add treefmt formatting (nix fmt + pre-commit + CI check)
Configuration menu - View commit details
-
Copy full SHA for e470eb9 - Browse repository at this point
Copy the full SHA e470eb9View commit details -
chore: harden pre-commit hook (tracked .githooks/ + core.hooksPath)
Replace the dev-shell installer that wrote .git/hooks/pre-commit with a tracked .githooks/pre-commit wired via `git config core.hooksPath .githooks`. Fixes three issues with the old hook: it gated on `[ -d .git ]` (false in worktrees/submodules where .git is a file), it clobbered any existing .git/hooks/pre-commit on every `nix develop`, and `nix fmt … || exit 0` swallowed real formatter failures. The new hook skips only when `nix` is absent (CI is the authoritative gate) and otherwise blocks on a `nix fmt` failure or reformat.
Configuration menu - View commit details
-
Copy full SHA for d4b6ae6 - Browse repository at this point
Copy the full SHA d4b6ae6View commit details -
chore: drop stray .spago gitlink from tracked tree
The .spago/lua-unsafe-coerce/v6.0.0 gitlink was committed without a .gitmodules entry, so a fresh checkout warns 'No url found for submodule path'. It is build-cache junk; .spago is already covered by .gitignore.
Configuration menu - View commit details
-
Copy full SHA for 67e175f - Browse repository at this point
Copy the full SHA 67e175fView commit details -
chore: bump pslua dev input to 62e3653
Toolchain consistency: pin the pslua dev flake input to the current compiler main across the ecosystem. flake.lock only; the package set consumes sources + FFI, not this dev input, so no re-tag is needed.
Configuration menu - View commit details
-
Copy full SHA for c655106 - Browse repository at this point
Copy the full SHA c655106View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master