Skip to content

Commit b86fef3

Browse files
committed
Fix up publish and npm package
1 parent 272ff8d commit b86fef3

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

datacore.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## API Report File for "datacore"
1+
## API Report File for "@blacksmithgu/datacore"
22

33
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
44

docs/docs/code-views/local-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ return function View() {
216216

217217
### `dc.query()`
218218

219-
Execute a [query](/data/query) against the datacore index, returning a list of all matched [results](/data/index). Will raise an exception
219+
Execute a [query](/data/query) against the datacore index, returning a list of all matched [results](/data). Will raise an exception
220220
if the query is malformed.
221221

222222
```jsx

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2-
"name": "datacore",
2+
"name": "@blacksmithgu/datacore",
33
"version": "0.1.23",
44
"description": "Reactive data engine for Obsidian.md.",
5-
"main": "lib/index.js",
6-
"types": "lib/index.d.ts",
5+
"main": "build/library/index.js",
6+
"types": "build/library/index.d.ts",
7+
"files": ["build/library"],
78
"scripts": {
89
"build": "tsc && tsc --project tsconfig.library.json && api-extractor run --local && node esbuild.config.mjs production all",
910
"build-plugin": "tsc && node esbuild.config.mjs production plugin",

0 commit comments

Comments
 (0)