Skip to content

Migrate to Spago and update CI - #247

Open
thomashoneyman wants to merge 7 commits into
masterfrom
migrate-spago
Open

thomashoneyman wants to merge 7 commits into
masterfrom
migrate-spago

Conversation

@thomashoneyman

Copy link
Copy Markdown
Member

Migrates arrays from Bower/Pulp to Spago and updates CI. The registry deprecated support for Bower-based packages in September 2023, and as of September 1, 2026 it no longer promises any long-term support. To accommodate the change, this upgrades us to the officially-supported spago package manager.

I also updated CI and our format/linting. Each change is in separate commits.

This will be released as version 7.3.1 because the library's behavior and API are unchanged, and the production dependency bounds match what is already in the registry for 7.3.0. Library source changes are formatting and comments explaining intentional array preallocation.

The benchmarks remain under bench/, now as an unpublished nested workspace package with sources in bench/src/. They use the local arrays package, preserve the existing workloads and --expose-gc, and run with an explicit ES-module import. Tests now explicitly declare their existing effect and orders imports.

Comment thread src/Data/Array.js
if (count < 1) {
return [];
}
// Allocate the final size for fill; initializing slots first would duplicate its work.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How many ways can AI rephrase this 😆 😭

pure arr) == [1, 2]
assert $
STA.run
( do

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense but so silly looking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants