mirror of
https://github.com/wudanyang27/ticktick-today.git
synced 2026-07-22 06:45:05 +00:00
Update versions.json to reflect new version mapping for 1.0.9
This commit is contained in:
parent
df6c27ac2d
commit
eb3e036c85
8 changed files with 3365 additions and 464 deletions
23
.eslintrc
23
.eslintrc
|
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
"root": true,
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"env": { "node": true },
|
||||
"plugins": [
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/eslint-recommended",
|
||||
"plugin:@typescript-eslint/recommended"
|
||||
],
|
||||
"parserOptions": {
|
||||
"sourceType": "module"
|
||||
},
|
||||
"rules": {
|
||||
"no-unused-vars": "off",
|
||||
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"no-prototype-builtins": "off",
|
||||
"@typescript-eslint/no-empty-function": "off"
|
||||
}
|
||||
}
|
||||
46
eslint.config.js
Normal file
46
eslint.config.js
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
import obsidianmd from 'eslint-plugin-obsidianmd';
|
||||
import tseslint from 'typescript-eslint';
|
||||
import globals from 'globals';
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: ['debug-*.mjs', 'esbuild.config.mjs', 'version-bump.mjs', 'main.js', 'eslint.config.js', 'package.json'],
|
||||
},
|
||||
...tseslint.configs.recommended,
|
||||
...Array.from(obsidianmd.configs.recommended).map(config => {
|
||||
const newConfig = { ...config };
|
||||
delete newConfig.extends;
|
||||
return newConfig;
|
||||
}),
|
||||
{
|
||||
files: ["**/*.ts", "**/*.tsx"],
|
||||
rules: {
|
||||
"no-undef": "off",
|
||||
}
|
||||
},
|
||||
{
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
...globals.node,
|
||||
...globals.es2021
|
||||
},
|
||||
parserOptions: {
|
||||
projectService: true,
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
"no-unused-vars": "off",
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"error",
|
||||
{
|
||||
"args": "none"
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"no-prototype-builtins": "off",
|
||||
"@typescript-eslint/no-empty-function": "off"
|
||||
}
|
||||
}
|
||||
];
|
||||
6
main.ts
6
main.ts
|
|
@ -294,12 +294,12 @@ function run(argv) {
|
|||
try {
|
||||
// Check if we're on macOS and can use JXA
|
||||
if (!Platform.isMacOS) {
|
||||
new Notice('TickTick Integration Requires MacOS');
|
||||
new Notice('TickTick integration requires macOS');
|
||||
return [];
|
||||
}
|
||||
|
||||
if (!this.jxaScriptPaths) {
|
||||
new Notice('JXA Scripts Are Not Initialized');
|
||||
new Notice('JXA scripts are not initialized');
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
@ -827,7 +827,7 @@ class TickTickTodaySettingTab extends PluginSettingTab {
|
|||
|
||||
new Setting(containerEl)
|
||||
.setName('TickTick App Name')
|
||||
.setDesc('Name Of The TickTick Application (Default: TickTick)')
|
||||
.setDesc('Name of the TickTick application (Default: TickTick)')
|
||||
.addText(text => text
|
||||
.setPlaceholder('TickTick')
|
||||
.setValue(this.plugin.settings.tickTickAppName)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "ticktick-today",
|
||||
"name": "TickTick Today",
|
||||
"version": "1.0.8",
|
||||
"version": "1.0.9",
|
||||
"minAppVersion": "1.1.0",
|
||||
"description": "Display TickTick today's tasks in a sidebar panel.",
|
||||
"author": "wudanyang27",
|
||||
|
|
|
|||
735
package-lock.json
generated
735
package-lock.json
generated
File diff suppressed because it is too large
Load diff
17
package.json
17
package.json
|
|
@ -12,13 +12,20 @@
|
|||
"author": "",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.39.1",
|
||||
"@eslint/json": "0.14.0",
|
||||
"@types/node": "^16.11.6",
|
||||
"@typescript-eslint/eslint-plugin": "5.29.0",
|
||||
"@typescript-eslint/parser": "5.29.0",
|
||||
"@typescript-eslint/eslint-plugin": "8.48.1",
|
||||
"@typescript-eslint/parser": "8.48.1",
|
||||
"builtin-modules": "3.3.0",
|
||||
"esbuild": "0.17.3",
|
||||
"obsidian": "latest",
|
||||
"eslint": "^9.39.1",
|
||||
"eslint-plugin-obsidianmd": "^0.1.9",
|
||||
"globals": "^16.5.0",
|
||||
"obsidian": "1.8.7",
|
||||
"tslib": "2.4.0",
|
||||
"typescript": "4.7.4"
|
||||
}
|
||||
"typescript": "4.7.4",
|
||||
"typescript-eslint": "^8.48.1"
|
||||
},
|
||||
"packageManager": "pnpm@10.24.0+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a"
|
||||
}
|
||||
|
|
|
|||
2995
pnpm-lock.yaml
Normal file
2995
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,3 @@
|
|||
{
|
||||
"1.0.4": "1.1.0",
|
||||
"1.0.5": "1.1.0",
|
||||
"1.0.7": "1.1.0",
|
||||
"1.0.8": "1.1.0"
|
||||
"1.0.9": "1.1.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue