You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c63255a
Browse filesBrowse the repository at this point in the historyBrowse files
chore(everything): keep compiled tests and vitest config out of dist
everything's build tsconfig had no exclude, so tsc emitted __tests__/**
and vitest.config.ts into dist/ and the package published them. Exclude
them as filesystem does. memory and sequentialthinking excluded only
*.test.ts and so packed __tests__/helpers.js; exclude __tests__/** there
too.
pack:verify now fails an npm tarball that ships a test, test helper or
test-runner config, so this cannot come back in any server.
Closes#4930
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: cliffhall <[email protected]>
Stop shipping the compiled test suite and Vitest config in the published package: the build now excludes `__tests__/`, `*.test.ts`, `*.spec.ts` and `vitest.config.ts`, as the other TypeScript servers' builds do.
Stop shipping the compiled test helper `dist/__tests__/helpers.js` in the published package: the build now excludes everything under `__tests__/`, not just `*.test.ts`.
Stop shipping the compiled test helper `dist/__tests__/helpers.js` in the published package: the build now excludes everything under `__tests__/`, not just `*.test.ts`.
0 commit comments