Tags: cyjake/leoric
Tags
refactor: typescript-native migration, jsdoc and docs fixes (#458) * refactor: typescript-native migration, jsdoc and docs fixes TypeScript migration - Remove allowJs, enable strict: true - Convert src/types/common.d.ts to compiled common.ts; fix 4 latent type bugs - Modernize moduleResolution to node16 via @tsconfig/node18 base - Add .ts to model directory scanner in realm/index.ts - Remove Spell.nodeify() and its tests - Remove structuredClone polyfill; update @types/node to ^18.x - Strip @param {Type} / @returns {Type} JSDoc annotations from 18 files - Remove copy-dts scripts; prepack now just runs tsc JSDoc - Point jsdoc source at lib/ (root index.js no longer exists) - Add missing taffydb devDependency required by @cara/minami template Docs / GitHub Pages - Replace github_edit_link tag with plain anchor; jekyll-github-metadata 2.16.1 crashes on Ruby 3.4 due to '#' in instance_variable_defined? call - Add .github/workflows/pages.yml to build via GitHub Actions (pins Ruby 3.3) - Add repository: cyjake/leoric to _config.yml - Pass GITHUB_TOKEN to jekyll build step * fix: handle ES module default exports in findModels, restore .ts coverage (#459) * Initial plan * fix: handle TS default exports in findModels, add coverage test Co-authored-by: cyjake <252317+cyjake@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: cyjake <252317+cyjake@users.noreply.github.com> * release: v2.15.0-alpha.3 --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
fix(types): resolve v2.14.x compatibility gaps after TS migration (#456) * fix(types): address v2.14.x compatibility regressions Align create/update typing, grouped aggregate result typing, and collection save return type. Add focused type test for instance create typing and clean CI workflow port config warnings. * fix(types): Collection.save() return type Promise<any[]> → Promise<T[]> (#457) * Initial plan * fix(types): change Collection.save() return type from Promise<any[]> to Promise<T[]> Co-authored-by: cyjake <252317+cyjake@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: cyjake <252317+cyjake@users.noreply.github.com> * release: v2.15.0-alpha.1 * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix(types): keep Spell return in create typings Restore Spell in static create return, remove any-cast in soft-delete update path, and relax instance create type test to avoid over-constraining Spell model generic. --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
PreviousNext