@karhu/core
Advanced tools
Comparing version 0.5.0 to 0.6.0
{ | ||
"name": "@karhu/core", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Core package for Karhu, the lib for powering web app productivity tools", | ||
@@ -9,3 +9,4 @@ "author": "Oskar Hane <oh@oskarhane.com>", | ||
"preparePublish": "echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc", | ||
"prepublishOnly": "npm run preparePublish" | ||
"prepublishOnly": "npm run preparePublish", | ||
"postpublish": "rm -f .npmrc" | ||
}, | ||
@@ -26,3 +27,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "c5dfbac3fd0df81fe7674788e8fbaebb32f1f685" | ||
"gitHead": "bae989e6ef95d299fff2e8b02b4ab6d397ac83f5" | ||
} |
@@ -24,3 +24,3 @@ # `@karhu/core` | ||
#### `karhu.addCommand()` | ||
#### `karhu.addCommand` | ||
@@ -33,3 +33,3 @@ Adds a command to the current Karhu instance. | ||
### `karhu.removeCommand` | ||
#### `karhu.removeCommand` | ||
@@ -42,3 +42,3 @@ Removes a command from teh current Karhu instance. | ||
### `karhu.findMatchingCommands` | ||
#### `karhu.findMatchingCommands` | ||
@@ -52,3 +52,3 @@ Searches through the existing commands keywords and the current entry graph to | ||
### `karhu.runCommand` | ||
#### `karhu.runCommand` | ||
@@ -66,3 +66,3 @@ Call the command with the provided id's `.actions.onExec()` function. | ||
### `karhu.getCommands` | ||
#### `karhu.getCommands` | ||
@@ -75,3 +75,3 @@ Returns a list of all registered commands for the Karhu instance. | ||
### `karhu.getEntryGraph` | ||
#### `karhu.getEntryGraph` | ||
@@ -84,4 +84,12 @@ Returns the current Entry Graph for the Karhu instance. | ||
### Static `Karhu.createCommand` | ||
#### `karhu.replaceEntryGraph` | ||
Overwrites the the current Entry Graph for the Karhu instance with the new one. | ||
```ts | ||
karhu.replaceEntryGraph(entryGraph: EntryGraph): void | ||
``` | ||
#### Static `Karhu.createCommand` | ||
Makes an `UnregisteredCommand` -> `Command`. Mostly used internally but can be useful in | ||
@@ -88,0 +96,0 @@ some situations. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43912
94