Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f86e354c0 | ||
|
|
55598053b9 | ||
|
|
8a0b27992c | ||
|
|
6ec688b994 | ||
|
|
990ed9dcec |
26
package-lock.json
generated
26
package-lock.json
generated
@@ -1,16 +1,16 @@
|
||||
{
|
||||
"name": "takerofnotes-plugin-filesystem",
|
||||
"version": "1.5.0",
|
||||
"version": "0.1.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "takerofnotes-plugin-filesystem",
|
||||
"version": "1.5.0",
|
||||
"version": "0.1.1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"gray-matter": "^4.0.3",
|
||||
"takerofnotes-plugin-sdk": "^0.4.0"
|
||||
"@takerofnotes/plugin-sdk": "^0.1.0",
|
||||
"gray-matter": "^4.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^29.0.0",
|
||||
@@ -450,6 +450,15 @@
|
||||
"win32"
|
||||
]
|
||||
},
|
||||
"node_modules/@takerofnotes/plugin-sdk": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@takerofnotes/plugin-sdk/-/plugin-sdk-0.1.0.tgz",
|
||||
"integrity": "sha512-ofhwwiQ59kNMEg2vvYoNq5JdXHB9/6TkDsbyroM5nsP/VPUvJSQ5g0UWCYBhteSzJ36iFUB+LtUwVt6gOXDClw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"zod": "^4.3.6"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/estree": {
|
||||
"version": "1.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
|
||||
@@ -794,15 +803,6 @@
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/takerofnotes-plugin-sdk": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/takerofnotes-plugin-sdk/-/takerofnotes-plugin-sdk-0.4.0.tgz",
|
||||
"integrity": "sha512-C1bXun19Zh603Aq/7sEI4c3dZ8QEUiz51ikDPJm5g+JWoQkH77OH6AY19SN+eOKnqEmY1yw3JYEVd//mJ06UAA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"zod": "^4.3.6"
|
||||
}
|
||||
},
|
||||
"node_modules/zod": {
|
||||
"version": "4.3.6",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz",
|
||||
|
||||
12
package.json
12
package.json
@@ -1,15 +1,13 @@
|
||||
{
|
||||
"name": "takerofnotes-plugin-filesystem",
|
||||
"version": "1.5.0",
|
||||
"name": "@takerofnotes/plugin-filesystem",
|
||||
"version": "0.1.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/nicwands/takerofnotes-plugin-filesystem.git"
|
||||
},
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"exports": {
|
||||
".": "./dist/index.js"
|
||||
},
|
||||
"exports": "./dist/index.js",
|
||||
"scripts": {
|
||||
"build": "rollup -c",
|
||||
"prepublishOnly": "npm run build"
|
||||
@@ -18,8 +16,8 @@
|
||||
"license": "MIT",
|
||||
"description": "Filesystem storage plugin for Taker of Notes",
|
||||
"dependencies": {
|
||||
"gray-matter": "^4.0.3",
|
||||
"takerofnotes-plugin-sdk": "^0.4.0"
|
||||
"@takerofnotes/plugin-sdk": "^0.1.0",
|
||||
"gray-matter": "^4.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^29.0.0",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// rollup.config.js
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BaseNotesAdapter } from 'takerofnotes-plugin-sdk'
|
||||
import { BaseNotesAdapter } from '@takerofnotes/plugin-sdk'
|
||||
import matter from 'gray-matter'
|
||||
import fs from 'fs/promises'
|
||||
import path from 'path'
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import FileSystemAdapter from './FileSystemAdapter'
|
||||
import { definePlugin } from 'takerofnotes-plugin-sdk'
|
||||
import { definePlugin } from '@takerofnotes/plugin-sdk'
|
||||
|
||||
export default definePlugin({
|
||||
id: 'filesystem',
|
||||
name: 'Filesystem',
|
||||
description: 'Store notes as markdown files on your local filesystem',
|
||||
version: '1.5.0',
|
||||
apiVersion: '0.4.0',
|
||||
version: '0.1.0',
|
||||
apiVersion: '0.1.0',
|
||||
configSchema: [
|
||||
{
|
||||
key: 'notesDir',
|
||||
|
||||
Reference in New Issue
Block a user