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: nativeformat/NFPlayerJS
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: nativeformat/NFPlayerJS
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 85 files changed
  • 2 contributors

Commits on May 22, 2026

  1. Configuration menu
    Copy the full SHA
    47ecf6b View commit details
    Browse the repository at this point in the history

Commits on May 27, 2026

  1. chore: modernize tooling/build to 2026 (#53)

    * chore: switch to pnpm
    
    * chore: phase 1 — workspace + tsconfig split
    
    - demo becomes a real pnpm workspace member; drop its npm lockfile and
      hand-maintained nf-player/nf-grapher .d.ts copies
    - split single tsconfig into solution + package.tsconfig + demo.tsconfig
    - add MODERNIZE.md plan
    
    * chore: phase 3 — modernize deps, build, test, lint stacks
    
    - typescript 3.8 → 6.0, prettier 1 → 3, eslint 6 → 10 flat config, debug
      4.1 → 4.4, typedoc 0.17 → 0.28, husky 4 → 9, lint-staged 10 → 17
    - demo: react 16 → 19, styled-components 5 → 6, monaco 0.20 → 0.55
    - add: vitest, tsdown, @arethetypeswrong/cli, publint, vite,
      @vitejs/plugin-react, typescript-eslint, @eslint/js
    - remove: parcel-bundler, npm-run-all, jest, ts-jest, @commitlint/*,
      gh-pages, eslint-plugin-{prettier,notice}; old @typescript-eslint/*
      packages replaced by combined typescript-eslint
    - migrate jest → vitest (globals: true, no jsdom needed after
      window.performance.now() → performance.now())
    - husky v4 → v9 (.husky/pre-commit, prepare script), drop commitlint
    - TS 6.0 fixes: import Debug from 'debug', Float32Array<ArrayBuffer>
      generics in XAudioBuffer, catch(e as Error) casts
    - typecheck is package-only until Phase 4 fixes demo
    
    * chore: phase 2 — dual ESM/CJS build via tsdown
    
    - tsdown emits ESM + CJS + per-condition .d.ts/.d.cts (points at the
      package leaf tsconfig, not the root solution)
    - package.json: "type": "module", sideEffects: false, per-condition
      exports map, main/module/types/bin pointed at dist/, files: [dist],
      prepack runs build
    - CLI cleanup: drop cross-fetch (native fetch), tempy → node:fs +
      randomUUID, require('../package.json') → import attribute
    - index.ts re-exports split into value vs `export type` blocks; enable
      verbatimModuleSyntax + isolatedModules; bulk add inline `type`
      modifier via typescript-eslint consistent-type-imports autofix
    - publint clean; attw deferred (its bundled TS 5.6.1-rc can't parse
      Float32Array<ArrayBuffer> generics)
    
    * chore: phase 4 — demo on Vite
    
    - demo/vite.config.ts with @vitejs/plugin-react, multi-entry
      (index.html + debug.html), base './' for GH Pages
    - HTML moved from demo/src/ to demo/ (Vite-idiomatic layout)
    - debug-harness/ folded into demo as debug.html + src/debug.ts
    - Monaco.tsx collapsed from ~220 to ~85 lines (kills the 90-line
      Parcel-era side-effect import wall; workers via Vite ?worker)
    - React 16 → 19 fallout: createRoot, React.FC, React.ReactNode,
      React.JSX.Element, drop `private state` modifier, fix CODEEditor
      duplicate componentDidMount, MonacoEditor onChange defaults
    - demo imports `from '../../../src'` → `from 'nf-player'` (workspace)
    - expose XAudioContext from nf-player public exports (demo needs it)
    - (nextRenderer as any).processor cast for FFT analyzer poke
    - root `pnpm typecheck` flipped back to `tsc -b` (whole solution)
    
    * chore: phase 5 — replace Travis with GitHub Actions
    
    - ci.yml: push + PR — install --frozen-lockfile, typecheck, lint,
      vitest, build, validate (publint), build demo
    - release.yml: on release published — build/validate/test, then
      `pnpm publish --provenance --access public` with NPM_TOKEN
      (gated by a protected `npm` environment)
    - pages.yml: push to main — build demo, deploy via
      actions/{configure,upload-pages-artifact,deploy}-pages (kills the
      gh-pages npm dep + branch-pushing flow)
    - injection hardening: read-only default permissions, id-token/pages
      scoped to the jobs that need them, persist-credentials: false on
      checkout, pull_request not pull_request_target, no untrusted
      ${{ github.event.* }} in run blocks, concurrency cancel-stale
    - third-party actions still on @v4 tags with `# TODO: SHA-pin`
      markers — one Dependabot pass converts
    - delete .travis.yml (stale encrypted npm token + spotify/-vs-
      nativeformat/ repo mismatch)
    
    * fix: put back monaco auto-completions
    
    * chore: cleanup actions yaml
    
    * chore: bring back license headers
    
    * update README
    
    * fix: eslint warnings
    
    * chore: resort imports
    
    * build: add pinact and pin workflows
    
    * chore: cleanup
    
    * chore: allow demo to consume package source
    kirbysayshi authored May 27, 2026
    Configuration menu
    Copy the full SHA
    6391854 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2026

  1. Configuration menu
    Copy the full SHA
    733cf30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad0f23b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed3a069 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    deab91c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6646279 View commit details
    Browse the repository at this point in the history
  6. 0.12.0 (#59)

    kirbysayshi authored May 28, 2026
    Configuration menu
    Copy the full SHA
    dbff8e2 View commit details
    Browse the repository at this point in the history
  7. docs: fix README links

    kirbysayshi committed May 28, 2026
    Configuration menu
    Copy the full SHA
    9fa54a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2026

  1. build(deps-dev): bump vite from 8.0.14 to 8.0.16 (#61)

    Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.0.14 to 8.0.16.
    - [Release notes](https://github.com/vitejs/vite/releases)
    - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
    - [Commits](https://github.com/vitejs/vite/commits/v8.0.16/packages/vite)
    
    ---
    updated-dependencies:
    - dependency-name: vite
      dependency-version: 8.0.16
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 19, 2026
    Configuration menu
    Copy the full SHA
    b245961 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    30f851c View commit details
    Browse the repository at this point in the history
Loading