Skip to content

Commit 805ba29

Browse files
committed
Tooling updates
1 parent 0b6dcc7 commit 805ba29

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.cursor/rules/np-programming-general.mdc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2+
description:
23
alwaysApply: true
34
---
5+
46
## Critical Rules
57
CRITICAL: Never use dynamic imports. Rollup will not process them correctly. Always use static imports at the top of files.
68

@@ -39,3 +41,6 @@ The most frequently used functions in the codebase are:
3941
- If testing Templating code, run tests like this `jest np.Templating/__tests__/**/*.test.js --no-watch`
4042
- When you run jest tests, always include the flag --no-watch at the end because my jest config by default watches
4143
- **DO NOT EVER HARD-CODE JEST WORKAROUNDS INTO FUNCTIONS WE ARE TESTING**
44+
45+
## Developer Documentation
46+
- Add updates to the first H2 section in the plugin's CHANGELOG.md file -- this should match the release number as found in the relevant plugin.json file

buildDashboard.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
# Build Dashboard, and then run it. Needs to run from local GH root directory.
3+
node ./jgclark.Dashboard/src/react/support/performRollup.node.js
4+
npc plugin:dev jgclark.Dashboard -nc
5+
echo "Running Dashboard..."
6+
open "noteplan://x-callback-url/runPlugin?pluginID=jgclark.Dashboard&command=showDashboard"

0 commit comments

Comments
 (0)