7 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
5 changed files with 23 additions and 24 deletions

26
package-lock.json generated
View File

@@ -1,16 +1,16 @@
{ {
"name": "takerofnotes-plugin-filesystem", "name": "takerofnotes-plugin-filesystem",
"version": "1.4.0", "version": "0.1.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "takerofnotes-plugin-filesystem", "name": "takerofnotes-plugin-filesystem",
"version": "1.4.0", "version": "0.1.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"gray-matter": "^4.0.3", "@takerofnotes/plugin-sdk": "^0.1.0",
"takerofnotes-plugin-sdk": "^0.3.0" "gray-matter": "^4.0.3"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-commonjs": "^29.0.0",
@@ -450,6 +450,15 @@
"win32" "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": { "node_modules/@types/estree": {
"version": "1.0.8", "version": "1.0.8",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
@@ -794,15 +803,6 @@
"url": "https://github.com/sponsors/ljharb" "url": "https://github.com/sponsors/ljharb"
} }
}, },
"node_modules/takerofnotes-plugin-sdk": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/takerofnotes-plugin-sdk/-/takerofnotes-plugin-sdk-0.3.0.tgz",
"integrity": "sha512-GG9XFD7NXqXPyhoYCA3j8yg7aGE9dulGjkb4yp1TmO+cT7/o5BTCBo8c0hP80FVkC8x+bcHlbQNvD320045Q7g==",
"license": "MIT",
"dependencies": {
"zod": "^4.3.6"
}
},
"node_modules/zod": { "node_modules/zod": {
"version": "4.3.6", "version": "4.3.6",
"resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz", "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz",

View File

@@ -1,15 +1,13 @@
{ {
"name": "takerofnotes-plugin-filesystem", "name": "@takerofnotes/plugin-filesystem",
"version": "1.4.0", "version": "0.1.1",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/nicwands/takerofnotes-plugin-filesystem.git" "url": "git+https://github.com/nicwands/takerofnotes-plugin-filesystem.git"
}, },
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",
"exports": { "exports": "./dist/index.js",
".": "./dist/index.js"
},
"scripts": { "scripts": {
"build": "rollup -c", "build": "rollup -c",
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
@@ -18,8 +16,8 @@
"license": "MIT", "license": "MIT",
"description": "Filesystem storage plugin for Taker of Notes", "description": "Filesystem storage plugin for Taker of Notes",
"dependencies": { "dependencies": {
"gray-matter": "^4.0.3", "@takerofnotes/plugin-sdk": "^0.1.0",
"takerofnotes-plugin-sdk": "^0.3.0" "gray-matter": "^4.0.3"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-commonjs": "^29.0.0",

View File

@@ -1,3 +1,4 @@
// rollup.config.js
import resolve from '@rollup/plugin-node-resolve' import resolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs' 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 matter from 'gray-matter'
import fs from 'fs/promises' import fs from 'fs/promises'
import path from 'path' import path from 'path'

View File

@@ -1,12 +1,12 @@
import FileSystemAdapter from './FileSystemAdapter' import FileSystemAdapter from './FileSystemAdapter'
import { definePlugin } from 'takerofnotes-plugin-sdk' import { definePlugin } from '@takerofnotes/plugin-sdk'
export default definePlugin({ export default definePlugin({
id: 'filesystem', id: 'filesystem',
name: 'Filesystem', name: 'Filesystem',
description: 'Store notes as markdown files on your local filesystem', description: 'Store notes as markdown files on your local filesystem',
version: '1.0.0', version: '0.1.0',
apiVersion: '0.3.0', apiVersion: '0.1.0',
configSchema: [ configSchema: [
{ {
key: 'notesDir', key: 'notesDir',