Compare commits
7 Commits
177eeebc36
...
v0.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f86e354c0 | ||
|
|
55598053b9 | ||
|
|
8a0b27992c | ||
|
|
6ec688b994 | ||
|
|
990ed9dcec | ||
|
|
2684c0f27e | ||
|
|
28b17d4f08 |
26
package-lock.json
generated
26
package-lock.json
generated
@@ -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",
|
||||||
|
|||||||
12
package.json
12
package.json
@@ -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",
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user