- 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 call
error 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
,logDebug
helpers, support pluginDebugging
section (@dwertheimer) - Updated plugin starter (
npc plugin:create
) to includeDebugging
section in settings (@codedungeon)
- added
np.Templating/lib/support/ejs.js
to.eslintrc :: ignorePatterns
- Fixed linting errors
- Updated
.eslintrc
to define max-len to match prettier setting inpackage.json
I 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:dev
andtest:watch
npm scriptsRun
test:dev
to perform a single test run of all specs in__tests__
directories Runtest:watch
to perform a run test for all specs in__tests__
using watch mode - Updated
test
npm script to also calltest:dev
- small refactor to
np.plugin-flow-skeleton
- added
--force
option tonpc plugin:create
which will skip all network lookups (when retrieving github user information) (@dwertheimer) - added task to
npc plugin:release
which remove previous releases for same pluginId (@jgclark)
you can use the
--noDelete
flag 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
documentation
module back in and edited thenpm run docs
command -
Updated @codedungeon/gunner CLI library
-
added example of new "arguments: {}" fields in
plugin.json
when there are arguments that can be passed in when calling a plugin command from x-callback
- updated #205
npc plugin:release
to includeCHANGELOG.md
if exists () - updated
npc plugin:create
to include extended plugin skeleton (@dwertheimer)Added more skeleton tests (thank you @dwertheimer)
- restored 180 character width in
prettier
settingsIf we continue to toggle this setting, my suggestion would be to remove it as a base setting and integrate personal
prettier.config.js
configuration
- fixed
npc plugin:release
- removed
dayjs
dependency- You can remove as you see fit, but it was not being used anywhere so it should not be causing any issues
- add
luxon
depedency- 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.js
which matches configuration inplugins.config.js
- configured in
- fix
npc plugin:relase
command to properly includeplugin.name
(@jgclark)
- Fixed
helpers/NPConfiguration.js :: getSetting
completed implementation - Fixed
helpers/NPConfiguration.js :: getSettings
completed implementation
- Extended
helpers/dev :: clo
to output raw value if not object (allow passing non-object without having to change method call)
- Removed
fetchWithTimeout
helper that was added in 3.2.1
- removed
--verbose false
flag fromtest:dev
andtest:watch
scripts
- added
fetchWithTimeout
helper to./helpers/dev
- fixed issue with
npc plugin:release
build test command - removed test execution when running test build (addresses item test imports)
- updated
date-fns
dependency 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
docs
command
- updated Plugins v3.0
- fixed
plugin:create
command to use latest@codedungeon/gunner
- fixed
plugin:info
command to use latest@codedungeon/gunner
- added
showdown
node dependency - added
codedungeon.Toolbox
v1.0.0
- modified
.flowconfig
configuration, 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