- added clof to eslint and flow rc
- removed an errant import of libcurl that was crashing builds with node-gyp errors
- edits to rollup & releases to help with "plugin.requiredFiles" and the requiredFiles folder (files to be copied to the Plugins folder and to releases for React, etc.)
- add fast-glob module for rollup (to watch for changes in files outside the build tree of index.js)
- add hooks and stubs for: onOpen, onEditorWillSave
- add fetch mocking import and instructions on how to use it
- moved pre-existing hooks to the new NPTriggers-Hooks.js file
- added fsevents to try to reduce CPU usage of node on the autowatch per article
- updated node-libcurl to 2.3.4 for Apple Silicon compatibility
- added columnify for columnar output
- added mathjs module for math calculations
- added -m | --minify option to build process to minify/mangle output for large plugins
- fixed
maximum stack callerror with new log level implementation - all tests are currently passing, with the exception of 3 (@jgclark has been notified)
- fixed all core linting errors (individual plugins from @dwertheimer or @jgbclark still need some more at time of this release)
- Added
logInfo,logError,logWarn,logDebughelpers, support pluginDebuggingsection (@dwertheimer) - Updated plugin starter (
npc plugin:create) to includeDebuggingsection in settings (@codedungeon)
- added
np.Templating/lib/support/ejs.jsto.eslintrc :: ignorePatterns
- Fixed linting errors
- Updated
.eslintrcto define max-len to match prettier setting inpackage.jsonI am hoping you all will be cool with the updated max-len value I work on a 30" most of the time so a longer line length is easier to read, if this becomes an issue I will try and get used to someting smaller (we used to have 120)
- Updated
test:devandtest:watchnpm scriptsRun
test:devto perform a single test run of all specs in__tests__directories Runtest:watchto perform a run test for all specs in__tests__using watch mode - Updated
testnpm script to also calltest:dev - small refactor to
np.plugin-flow-skeleton
- added
--forceoption tonpc plugin:createwhich will skip all network lookups (when retrieving github user information) (@dwertheimer) - added task to
npc plugin:releasewhich remove previous releases for same pluginId (@jgclark)
you can use the
--noDeleteflag to skip delete tasks (this will rarely be used, but added for completeness)
- removed luxon
- (unmentioned here but I believe @nmn remove luxon-business-days about 2022-06-12)
- added eslint-plugin-no-floating-promise to package.json
- added package-lock back into git
- added .watchmanconfig
-
added
documentationmodule back in and edited thenpm run docscommand -
Updated @codedungeon/gunner CLI library
-
added example of new "arguments: {}" fields in
plugin.jsonwhen there are arguments that can be passed in when calling a plugin command from x-callback
- updated #205
npc plugin:releaseto includeCHANGELOG.mdif exists () - updated
npc plugin:createto include extended plugin skeleton (@dwertheimer)Added more skeleton tests (thank you @dwertheimer)
- restored 180 character width in
prettiersettingsIf we continue to toggle this setting, my suggestion would be to remove it as a base setting and integrate personal
prettier.config.jsconfiguration
- fixed
npc plugin:release
- removed
dayjsdependency- You can remove as you see fit, but it was not being used anywhere so it should not be causing any issues
- add
luxondepedency- luxon-business-days
- added support for searching notes using packages:
- fuse.js
- bqpjs
- added support for using aliases in jest tests
- configured in
jest.config.jswhich matches configuration inplugins.config.js
- configured in
- fix
npc plugin:relasecommand to properly includeplugin.name(@jgclark)
- Fixed
helpers/NPConfiguration.js :: getSettingcompleted implementation - Fixed
helpers/NPConfiguration.js :: getSettingscompleted implementation
- Extended
helpers/dev :: cloto output raw value if not object (allow passing non-object without having to change method call)
- Removed
fetchWithTimeouthelper that was added in 3.2.1
- removed
--verbose falseflag fromtest:devandtest:watchscripts
- added
fetchWithTimeouthelper to./helpers/dev
- fixed issue with
npc plugin:releasebuild test command - removed test execution when running test build (addresses item test imports)
- updated
date-fnsdependency to^2.23.0(requested by @m1well) - added
eslin-plugin-unused-imports: 1.1.5(requested by @m1well) - updated CLI command description and examples
- fixed issue with release script
- refactored release validation in CLI
npc plugin:release - add guard to make sure releasing from plugins directory
- restored
docscommand
- updated Plugins v3.0
- fixed
plugin:createcommand to use latest@codedungeon/gunner - fixed
plugin:infocommand to use latest@codedungeon/gunner
- added
showdownnode dependency - added
codedungeon.Toolboxv1.0.0
- modified
.flowconfigconfiguration, address error messsage for node_modules which do not contain type definitions
Initial Release
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
All NotePlan plugins follow semver versioning. For details, please refer to semver website