pieces

Piece loader for @sapphire/framework

MIT License

Downloads
14.9K
Stars
19
Committers
18

Bot releases are visible (Hide)

pieces -

Published by favna almost 4 years ago

1.0.1 (2020-12-28)

Bug Fixes

  • loader: compare constructors instead of prototypes (#40) (807cf6a)
  • store: call unload when onLoad disables the piece (#39) (4bb9be0)
pieces -

Published by kyranet almost 4 years ago

Features

  • added ILoaderStrategy#onLoadAll, renamed onPostLoad to onLoad (#37) (8c725d8)
  • added smarter root and type detection (#38) (3492c60)
  • export RootScan (c4e909b)
  • output type declerations to a single .d.ts file (#30) (f76f0b5)
  • piece: rename disable to unload, add reload (#36) (f0eec9c)
  • add Piece#{onLoad,onUnload} (f0627cc)
  • add Piece#disable (bc8aa03)
  • export AliasPiece and AliasStore in index (4522412)
  • first version of the loader (9f27f77)
  • more descriptive error message (#14) (51d1b52)
  • pieces v2! (#29) (792d68a)
  • piece: add disable() method (ca0ef2e)
  • store: add Store#name (13f2eee)
  • store: make walk not error no ENOENT (ef7ced5)
  • add Piece#toJSON (e902a04)
  • added MissingExportsError (7234df4)
  • more types, more docs, better API (51033e0)

Bug Fixes

  • make Store#{load,insert} atomic (9700c4e)
  • make Store#load easier to use (69d52c5)
  • removed testing and coverage (4cba117)
  • specify return type for Piece#toJSON (4fe4892)
  • sub directory loading (#1) (b0b227c)
  • use name instead of path in Store#construct (c2dd9ce)
  • use pathToFileURL instead of new URL (96c3e9c)
  • use the actual path (94e0844)
  • alias-store: resolved build error (e121f3b)
  • piece: receive name via PieceContext for better defaults (b062c58)
  • store: resolved build error for node.js 12 (849a184)