Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gridstack/gridstack.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: gridstack/gridstack.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v13.0.2
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 9 files changed
  • 3 contributors

Commits on Jul 22, 2026

  1. preinstall script error fix

    *fix #3325
    
    Cursor:
    
    Why is this a bug?
    When a user installs gridstack as a dependency (e.g., npm install gridstack), npm automatically executes the library's preinstall, install, and postinstall scripts on the consumer's machine.
    
    Because gridstack.js had "preinstall": "npx only-allow yarn" in its package.json, this script runs during the consumer's installation process. This breaks things in two ways:
    
    It attempts to download only-allow dynamically via npx over the network. For users with a private registry or restricted network (like the Nexus registry returning a 401 error in the issue description), this completely halts the installation.
    Even if it could download, it forces the consumer of the library to use yarn for their own app! If they are trying to build an app with npm or pnpm, our preinstall script will throw an error and refuse to let them install our library.
    Scripts like only-allow are meant to ensure contributors to the gridstack.js codebase use yarn, but binding it to the preinstall hook in a published library inappropriately enforces this on end-users.
    
    Suggestion / Fix
    The only-allow package itself is actually deprecated for exactly these kinds of reasons.
    
    The modern and native way to enforce a package manager for repository contributors is using the "packageManager" field in package.json. Node's built-in corepack reads this and will automatically ensure contributors use the correct package manager. Since gridstack.js already includes "packageManager": "yarn@1.22.22..." in its package.json, the only-allow script is completely redundant anyway.
    
    I have gone ahead and removed the "preinstall": "npx only-allow yarn" script from the package.json.
    adumesny committed Jul 22, 2026
    Configuration menu
    Copy the full SHA
    a98ba60 View commit details
    Browse the repository at this point in the history
  2. v13.0.1 patch release

    Co-authored-by: Cursor <cursoragent@cursor.com>
    adumesny and cursoragent committed Jul 22, 2026
    Configuration menu
    Copy the full SHA
    9654a88 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2026

  1. strict mode (v13.0.0) fails columnWidth without .breakpoints

    * Cursor changed the meaning when converting to strict mode. manually fixed this logic
    adumesny committed Jul 26, 2026
    Configuration menu
    Copy the full SHA
    3c97f25 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3341 from adumesny/v13.0.2

    strict mode (v13.0.0) fails columnWidth without .breakpoints
    adumesny authored Jul 26, 2026
    Configuration menu
    Copy the full SHA
    eaeaef9 View commit details
    Browse the repository at this point in the history
Loading