obsidian-plugin-config 1.3.9 → 1.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,43 @@
1
+ {
2
+ "type": "module",
3
+ "engines": {
4
+ "npm": "please-use-yarn",
5
+ "yarn": ">=1.22.0"
6
+ },
7
+ "scripts": {
8
+ "start": "yarn install && yarn dev",
9
+ "dev": "tsx scripts/esbuild.config.ts",
10
+ "build": "tsc -noEmit -skipLibCheck && tsx scripts/esbuild.config.ts production",
11
+ "real": "tsx scripts/esbuild.config.ts production real",
12
+ "acp": "tsx scripts/acp.ts",
13
+ "bacp": "tsx scripts/acp.ts -b",
14
+ "update-version": "tsx scripts/update-version.ts",
15
+ "v": "tsx scripts/update-version.ts",
16
+ "release": "tsx scripts/release.ts",
17
+ "r": "tsx scripts/release.ts",
18
+ "help": "tsx scripts/help.ts",
19
+ "h": "tsx scripts/help.ts",
20
+ "lint": "eslint . --ext .ts",
21
+ "lint:fix": "eslint . --ext .ts --fix"
22
+ },
23
+ "devDependencies": {
24
+ "@types/eslint": "latest",
25
+ "@types/node": "^22.15.26",
26
+ "@types/semver": "^7.7.0",
27
+ "@typescript-eslint/eslint-plugin": "latest",
28
+ "@typescript-eslint/parser": "latest",
29
+ "builtin-modules": "3.3.0",
30
+ "dedent": "^1.6.0",
31
+ "dotenv": "^16.4.5",
32
+ "esbuild": "latest",
33
+ "eslint": "latest",
34
+ "eslint-import-resolver-typescript": "latest",
35
+ "jiti": "latest",
36
+ "obsidian": "*",
37
+ "obsidian-typings": "latest",
38
+ "prettier": "^3.4.0",
39
+ "semver": "^7.7.2",
40
+ "tsx": "^4.19.4",
41
+ "typescript": "^5.8.2"
42
+ }
43
+ }
@@ -173,7 +173,7 @@ async function createBuildContext(buildPath: string, isProd: boolean, entryPoint
173
173
  ...(hasSass ? [
174
174
  await (async () => {
175
175
  try {
176
- // @ts-ignore - esbuild-sass-plugin is installed during injection
176
+ // @ts-expect-error - esbuild-sass-plugin is installed during injection
177
177
  const { sassPlugin } = await import('esbuild-sass-plugin');
178
178
  return sassPlugin({
179
179
  syntax: 'scss',
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env tsx
2
2
 
3
3
  console.log(`
4
- 🎯 Obsidian Plugin - Quick Help
5
- Available commands in this autonomous plugin
4
+ 🎯 Obsidian Plugin Commands
6
5
 
7
6
  ═══════════════════════════════════════════════════════════════════
8
7
 
@@ -13,7 +12,7 @@ DEVELOPMENT:
13
12
  yarn dev # Build dev mode with hot reload
14
13
  yarn build # Build production
15
14
  yarn real # Build + install in real vault
16
- yarn lint, lint:fix # ESLint verification/correction
15
+ yarn lint, lint:fix # ESLint check/fix
17
16
 
18
17
  VERSION & RELEASE:
19
18
  yarn v, update-version # Update version (package.json + manifest.json)
@@ -39,13 +38,13 @@ GIT OPERATIONS:
39
38
  ⚙️ CONFIGURATION
40
39
 
41
40
  ENVIRONMENT:
42
- - Edit .env to define TEST_VAULT and REAL_VAULT
43
- - Autonomous scripts (no external dependencies)
41
+ - Edit .env to set TEST_VAULT and REAL_VAULT
42
+ - Standalone scripts (no external dependencies)
44
43
  - Automatic Git sync verification before push
45
44
 
46
- AUTONOMOUS PLUGIN:
45
+ STANDALONE PLUGIN:
47
46
  ✅ Independent local scripts
48
- Integrated TypeScript and ESLint configuration
47
+ Built-in TypeScript and ESLint configuration
49
48
  ✅ GitHub Actions workflows with Yarn
50
49
  ✅ No dependency on obsidian-plugin-config
51
50
  `);
@@ -1,41 +1,30 @@
1
1
  {
2
- "compilerOptions": {
3
- "types": [
4
- "obsidian-typings"
5
- ],
6
- "paths": {
7
- "obsidian-typings/implementations": [
8
- "./node_modules/obsidian-typings/dist/implementations.d.ts",
9
- "./node_modules/obsidian-typings/dist/implementations.cjs"
10
- ]
11
- },
12
- "inlineSourceMap": true,
13
- "inlineSources": true,
14
- "module": "NodeNext",
15
- "moduleResolution": "NodeNext",
16
- "target": "ES2021",
17
- "allowJs": true,
18
- "noImplicitAny": true,
19
- "importHelpers": true,
20
- "isolatedModules": true,
21
- "allowImportingTsExtensions": true,
22
- "noEmit": true,
23
- "allowSyntheticDefaultImports": true,
24
- "verbatimModuleSyntax": true,
25
- "forceConsistentCasingInFileNames": true,
26
- "strictNullChecks": true,
27
- "resolveJsonModule": true,
28
- "lib": [
29
- "DOM",
30
- "ES2021"
31
- ]
32
- },
33
- "include": [
34
- "./src/**/*.ts",
35
- "./scripts/**/*.ts"
36
- ],
37
- "exclude": [
38
- "node_modules",
39
- "eslint.config.ts"
40
- ]
41
- }
2
+ "compilerOptions": {
3
+ "types": ["obsidian-typings"],
4
+ "paths": {
5
+ "obsidian-typings/implementations": [
6
+ "./node_modules/obsidian-typings/dist/cjs/implementations.d.cts",
7
+ "./node_modules/obsidian-typings/dist/esm/implementations.mjs"
8
+ ]
9
+ },
10
+ "module": "NodeNext",
11
+ "moduleResolution": "NodeNext",
12
+ "target": "ES2021",
13
+ "inlineSourceMap": true,
14
+ "inlineSources": true,
15
+ "allowJs": true,
16
+ "noImplicitAny": true,
17
+ "importHelpers": true,
18
+ "isolatedModules": true,
19
+ "allowImportingTsExtensions": true,
20
+ "noEmit": true,
21
+ "allowSyntheticDefaultImports": true,
22
+ "verbatimModuleSyntax": true,
23
+ "forceConsistentCasingInFileNames": true,
24
+ "strictNullChecks": true,
25
+ "resolveJsonModule": true,
26
+ "lib": ["DOM", "ES2021"]
27
+ },
28
+ "include": ["./src/**/*.ts", "./scripts/**/*.ts"],
29
+ "exclude": ["node_modules", "eslint.config.ts"]
30
+ }
package/versions.json CHANGED
@@ -35,5 +35,8 @@
35
35
  "1.3.6": "1.8.9",
36
36
  "1.3.7": "1.8.9",
37
37
  "1.3.8": "1.8.9",
38
- "1.3.9": "1.8.9"
38
+ "1.3.9": "1.8.9",
39
+ "1.3.10": "1.8.9",
40
+ "1.3.11": "1.8.9",
41
+ "1.3.12": "1.8.9"
39
42
  }
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env tsx
2
-
3
- console.log(`
4
- 🎯 Obsidian Plugin - Quick Help
5
- Available commands in this standalone plugin
6
-
7
- ═══════════════════════════════════════════════════════════════════
8
-
9
- 📋 MAIN COMMANDS
10
-
11
- DEVELOPMENT:
12
- yarn start # Install dependencies + start dev
13
- yarn dev # Build dev mode with hot reload
14
- yarn build # Build production
15
- yarn real # Build + install in real vault
16
- yarn lint, lint:fix # ESLint check/fix
17
-
18
- VERSION & RELEASE:
19
- yarn v, update-version # Update version (package.json + manifest.json)
20
- yarn release, r # Create GitHub release with tag
21
-
22
- GIT OPERATIONS:
23
- yarn acp # Add, commit, push (with Git sync)
24
- yarn bacp # Build + add, commit, push
25
- yarn run help, h # This help
26
-
27
- ═══════════════════════════════════════════════════════════════════
28
-
29
- 🚀 TYPICAL WORKFLOW
30
-
31
- 1. yarn start # Initial setup
32
- 2. yarn dev # Daily development
33
- 3. yarn build # Test production build
34
- 4. yarn v # Update version
35
- 5. yarn release # Publish GitHub release
36
-
37
- ═══════════════════════════════════════════════════════════════════
38
-
39
- ⚙️ CONFIGURATION
40
-
41
- ENVIRONMENT:
42
- - Edit .env to set TEST_VAULT and REAL_VAULT
43
- - Standalone scripts (no external dependencies)
44
- - Automatic Git sync verification before push
45
-
46
- STANDALONE PLUGIN:
47
- ✅ Independent local scripts
48
- ✅ Built-in TypeScript and ESLint configuration
49
- ✅ GitHub Actions workflows with Yarn
50
- ✅ No dependency on obsidian-plugin-config
51
- `);