-
Notifications
You must be signed in to change notification settings - Fork 30
Comparing changes
Open a pull request
base repository: purescript/purescript-console
base: master
head repository: purescript-lua/purescript-lua-console
compare: master
- 14 commits
- 20 files changed
- 3 contributors
Commits on Mar 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 78b2549 - Browse repository at this point
Copy the full SHA 78b2549View commit details
Commits on Mar 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 66f1ba2 - Browse repository at this point
Copy the full SHA 66f1ba2View commit details
Commits on Jun 14, 2026
-
fix: stop ignoring timer labels with a named arg, move CI to nix (#64)
The `time`/`timeLog`/`timeEnd` FFI stubs took a label parameter `s` but never used it (the stub just errors), so luacheck flagged an unused argument. Rename it to `_s` to mark it deliberately unused; the stubs still fail loudly because Lua has no console-timer equivalent. Also moves CI off the dead npm/bower/setup-purescript flow onto the nix + overlay canon used by the other package-set forks: `scripts/build` under `set -euo pipefail`, luacheck `--std lua51 --no-unused-args`, and drops the broken pulp/node `scripts/test`.
Configuration menu - View commit details
-
Copy full SHA for 9b24b17 - Browse repository at this point
Copy the full SHA 9b24b17View commit details -
chore: bump pslua flake input so codegen creates the dist dir
CI built on a 2024-03 pslua pin that wrote --lua-output-file without creating the parent dir, so a fresh checkout failed with `dist/Effect_Console.lua: withFile: does not exist`. Current pslua ensures the output dir exists (the withOutputFile fix).
Configuration menu - View commit details
-
Copy full SHA for 99cd31e - Browse repository at this point
Copy the full SHA 99cd31eView commit details -
Merge pull request #3 from Unisay/fix/console-overlay-ci
fix: stop ignoring timer labels with a named arg, move CI to nix (#64)
Configuration menu - View commit details
-
Copy full SHA for 61e0116 - Browse repository at this point
Copy the full SHA 61e0116View commit details -
chore: migrate flake to purescript-overlay canon, add AGENTS.md
Move the dev shell off easy-purescript-nix onto the shared purescript-overlay (purs 0.15.16, spago 0.21.0, lua51). Add AGENTS.md as the single agent instruction file + CLAUDE.md @-import. Drop dead JS-era files. Tooling and docs only.
Configuration menu - View commit details
-
Copy full SHA for 4446329 - Browse repository at this point
Copy the full SHA 4446329View commit details -
Merge pull request #4 from Unisay/chore/agents-md-and-canon-ci
chore: migrate flake to the purescript-overlay canon, add AGENTS.md
Configuration menu - View commit details
-
Copy full SHA for 3b1b1ec - Browse repository at this point
Copy the full SHA 3b1b1ecView 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 051cc78 - Browse repository at this point
Copy the full SHA 051cc78View commit details -
Merge pull request #5 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 3c17969 - Browse repository at this point
Copy the full SHA 3c17969View 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`. The bulk of the diff is the first format pass.
Configuration menu - View commit details
-
Copy full SHA for dbe30f8 - Browse repository at this point
Copy the full SHA dbe30f8View commit details
Commits on Jun 15, 2026
-
Merge pull request #6 from purescript-lua/chore/treefmt
chore: add treefmt formatting (nix fmt + pre-commit + CI check)
Configuration menu - View commit details
-
Copy full SHA for 37a5000 - Browse repository at this point
Copy the full SHA 37a5000View 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 660ea52 - Browse repository at this point
Copy the full SHA 660ea52View 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 2331f7a - Browse repository at this point
Copy the full SHA 2331f7aView commit details -
fix: console.error / console.warn write to stderr
Upstream purescript-console maps `error` and `warn` to console.error / console.warn, which target stderr in Node; the Lua FFI routed both through `print` (stdout), erasing the only behavioral distinction they have from `log` and breaking consumers that separate the streams. They now use `io.stderr:write`. `log`/`info`/`debug` stay on stdout (correct — Node's console.log/info/debug all target stdout). Adds a Lua 5.1 regression guard (test/regression/console.lua) and a scripts/test runner. Fixes purescript-lua/purescript-lua#76 Fixes purescript-lua/purescript-lua#77
Configuration menu - View commit details
-
Copy full SHA for f82835a - Browse repository at this point
Copy the full SHA f82835aView 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