-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add basic syncAdaptor plugin from TidGi-Desktop
- Loading branch information
Showing
42 changed files
with
2,958 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
resources/ | ||
settings-dev/ | ||
out/ | ||
logs/ | ||
dist/ | ||
wiki/ | ||
template/ | ||
.webpack/ | ||
node_modules/ | ||
localization/ | ||
build-resources/ | ||
.vscode/ | ||
.github/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const tsEslintConfig = require('./tsconfig.eslint.json'); | ||
|
||
module.exports = { | ||
root: true, | ||
ignorePatterns: tsEslintConfig.exclude, | ||
parserOptions: { | ||
project: './tsconfig.eslint.json', | ||
tsconfigRootDir: __dirname, | ||
}, | ||
extends: ['eslint-config-tidgi'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
.DS_Store | ||
|
||
# For IDE | ||
.vscode/**/* | ||
!.vscode/settings.json | ||
!.vscode/extensions.json | ||
.idea/ | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
.pnp | ||
.pnp.js | ||
.history | ||
*.report | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.seed | ||
*.pid | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
.pnpm-store/ | ||
|
||
.changeset/pre.json | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
.sonarlint | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
.env.test | ||
.env.local | ||
.env.*.local | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
|
||
# Next.js build output | ||
.next | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist/ | ||
release/ | ||
output/ | ||
output_resource/ | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the public line in if your project uses Gatsby and *not* Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
public-dist | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
|
||
# TernJS port file | ||
.tern-port | ||
|
||
**/*/typings/auto-generated | ||
|
||
# for TiddlyWiki | ||
dist/ | ||
output/ | ||
wiki/tiddlers/$__language.tid | ||
wiki/tiddlers/$__StoryList.tid | ||
wiki/tiddlers/$__StoryList_*.tid | ||
wiki/tiddlers/$__keepstate_* | ||
wiki/tiddlers/$__Import.tid | ||
wiki/tiddlers/$__UpgradeLibrary | ||
wiki/tiddlers/$__UpgradeLibrary_List | ||
wiki/tiddlers/$__temp_* | ||
wiki/tiddlers/$__view.tid | ||
wiki/tiddlers/$__config_Navigation_openLinkFromInsideRiver.tid | ||
wiki/tiddlers/$__config_Navigation_openLinkFromOutsideRiver.tid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Tiddlywiki plugins | ||
|
||
Plugins that only used in TidGi-Mobile, and will be dynamically injected into wiki, won't be saved to wiki file/folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"license": "MIT", | ||
"version": "0.0.2", | ||
"scripts": { | ||
"dev": "tiddlywiki-plugin-dev dev", | ||
"build": "npm run clean && tiddlywiki-plugin-dev build", | ||
"reset": "rimraf ./**/node_modules", | ||
"clean": "rimraf dist", | ||
"new": "tiddlywiki-plugin-dev new", | ||
"build:library": "npm run clean && tiddlywiki-plugin-dev build --library --output dist/library", | ||
"publish:offline": "npm run clean && tiddlywiki-plugin-dev publish --offline" | ||
}, | ||
"devDependencies": { | ||
"@modern-js/tsconfig": "^2.33.1", | ||
"@types/node": "^20.5.9", | ||
"dprint": "^0.40.2", | ||
"postcss": "^8.4.29", | ||
"rimraf": "^5.0.1", | ||
"ts-node": "^10.9.1" | ||
}, | ||
"dependencies": { | ||
"tiddlywiki-plugin-dev": "^0.0.39" | ||
} | ||
} |
Oops, something went wrong.