obsidian-plugin-config 1.1.6 → 1.1.7
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.
- package/README.md +0 -2
- package/package.json +1 -1
- package/scripts/help.ts +19 -31
- package/versions.json +2 -1
package/README.md
CHANGED
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/obsidian-plugin-config)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
|
-
**Current version: 1.1.5**
|
|
9
|
-
|
|
10
8
|
## Installation
|
|
11
9
|
|
|
12
10
|
```bash
|
package/package.json
CHANGED
package/scripts/help.ts
CHANGED
|
@@ -6,25 +6,31 @@ Injection system for autonomous Obsidian plugins
|
|
|
6
6
|
|
|
7
7
|
═══════════════════════════════════════════════════════════════════
|
|
8
8
|
|
|
9
|
-
📋
|
|
9
|
+
📋 PLUGIN CONFIG COMMANDS
|
|
10
|
+
|
|
11
|
+
DEVELOPMENT:
|
|
12
|
+
yarn start # Install dependencies + update exports
|
|
13
|
+
yarn build # Build the project
|
|
14
|
+
yarn dev # Development build
|
|
15
|
+
yarn real # Build to real vault
|
|
10
16
|
|
|
11
17
|
INJECTION:
|
|
12
|
-
yarn inject <path> --yes
|
|
13
|
-
yarn inject-prompt <path> #
|
|
18
|
+
yarn inject-path <path> --yes # Automatic injection
|
|
19
|
+
yarn inject-prompt <path> # Interactive injection with prompts
|
|
14
20
|
yarn check-plugin <path> # Verification without injection
|
|
15
21
|
|
|
16
|
-
|
|
17
|
-
yarn acp # Add, commit, push
|
|
22
|
+
GIT & VERSION:
|
|
23
|
+
yarn acp # Add, commit, push
|
|
18
24
|
yarn bacp # Build + add, commit, push
|
|
19
25
|
yarn v, update-version # Update version
|
|
20
|
-
|
|
26
|
+
|
|
27
|
+
NPM PUBLISHING:
|
|
21
28
|
yarn build-npm # Build NPM package
|
|
22
|
-
yarn
|
|
23
|
-
yarn run help, h # This help
|
|
29
|
+
yarn publish-npm # Publish to NPM
|
|
24
30
|
|
|
25
31
|
═══════════════════════════════════════════════════════════════════
|
|
26
32
|
|
|
27
|
-
🔧
|
|
33
|
+
🔧 INJECTION USAGE
|
|
28
34
|
|
|
29
35
|
Recommended structure:
|
|
30
36
|
my-plugins/
|
|
@@ -33,29 +39,11 @@ Recommended structure:
|
|
|
33
39
|
└── my-plugin-2/
|
|
34
40
|
|
|
35
41
|
Usage:
|
|
36
|
-
yarn inject ../my-plugin
|
|
37
|
-
yarn
|
|
38
|
-
|
|
39
|
-
═══════════════════════════════════════════════════════════════════
|
|
40
|
-
|
|
41
|
-
✅ WHAT IS INJECTED
|
|
42
|
-
|
|
43
|
-
Autonomous scripts:
|
|
44
|
-
✅ utils.ts, acp.ts, release.ts, update-version.ts
|
|
45
|
-
✅ esbuild.config.ts, help.ts
|
|
46
|
-
✅ TypeScript and ESLint configuration
|
|
47
|
-
✅ GitHub Actions workflows (Yarn)
|
|
48
|
-
✅ Automatic Git sync verification
|
|
49
|
-
|
|
50
|
-
Result: 100% autonomous plugin, no external dependencies
|
|
42
|
+
yarn inject-prompt ../my-plugin # Interactive (recommended)
|
|
43
|
+
yarn inject-path ../my-plugin # Direct injection
|
|
44
|
+
yarn check-plugin ../my-plugin # Verification only
|
|
51
45
|
|
|
52
46
|
═══════════════════════════════════════════════════════════════════
|
|
53
47
|
|
|
54
|
-
📦 NPM WORKFLOW (when stable)
|
|
55
|
-
|
|
56
|
-
1. yarn build-npm # Build package
|
|
57
|
-
2. yarn v # Update version
|
|
58
|
-
3. npm publish # Publish (requires npm login)
|
|
59
|
-
|
|
60
|
-
CURRENT VERSION: 1.0.6
|
|
61
48
|
`);
|
|
49
|
+
|