9 Commits

Author SHA1 Message Date
nicwands
8f86e354c0 0.1.1 2026-02-25 22:15:04 -05:00
nicwands
55598053b9 fix sdk import 2026-02-25 22:14:49 -05:00
nicwands
8a0b27992c reset version/package 2026-02-25 22:12:30 -05:00
nicwands
6ec688b994 1.6.0 2026-02-24 14:28:39 -05:00
nicwands
990ed9dcec esm only 2026-02-24 14:28:27 -05:00
nicwands
2684c0f27e 1.5.0 2026-02-24 14:21:12 -05:00
nicwands
28b17d4f08 bump version 2026-02-24 14:20:53 -05:00
nicwands
177eeebc36 1.4.0 2026-02-24 14:18:14 -05:00
nicwands
2c0d357d5d bump api version 2026-02-24 14:17:45 -05:00
5 changed files with 23 additions and 24 deletions

26
package-lock.json generated
View File

@@ -1,16 +1,16 @@
{
"name": "takerofnotes-plugin-filesystem",
"version": "1.3.0",
"version": "0.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "takerofnotes-plugin-filesystem",
"version": "1.3.0",
"version": "0.1.1",
"license": "MIT",
"dependencies": {
"gray-matter": "^4.0.3",
"takerofnotes-plugin-sdk": "^0.2.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.2.0",
"resolved": "https://registry.npmjs.org/takerofnotes-plugin-sdk/-/takerofnotes-plugin-sdk-0.2.0.tgz",
"integrity": "sha512-yImQSmOTeSCjkHujeitmq4bIAjk+Y5v6uJ2kRbSgM/+eH3PweXZbYKpJpwb9pAAAkCIoBiS/fpeJpuIdTWHq7A==",
"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",

View File

@@ -1,15 +1,13 @@
{
"name": "takerofnotes-plugin-filesystem",
"version": "1.3.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.2.0"
"@takerofnotes/plugin-sdk": "^0.1.0",
"gray-matter": "^4.0.3"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^29.0.0",

View File

@@ -1,3 +1,4 @@
// rollup.config.js
import resolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'

View File

@@ -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'

View File

@@ -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.0.0',
apiVersion: '0.2.0',
version: '0.1.0',
apiVersion: '0.1.0',
configSchema: [
{
key: 'notesDir',