obsidian-plugin-config 1.1.9 → 1.1.11
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/bin/obsidian-inject.js +1 -1
- package/package.json +95 -95
- package/scripts/help.ts +4 -4
- package/versions.json +3 -1
package/bin/obsidian-inject.js
CHANGED
package/package.json
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
2
|
+
"name": "obsidian-plugin-config",
|
|
3
|
+
"version": "1.1.11",
|
|
4
|
+
"description": "Système d'injection pour plugins Obsidian autonomes",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "src/index.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"obsidian-inject": "./bin/obsidian-inject.js"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"obsidian",
|
|
13
|
+
"obsidian-plugin",
|
|
14
|
+
"typescript",
|
|
15
|
+
"injection",
|
|
16
|
+
"autonomous",
|
|
17
|
+
"cli",
|
|
18
|
+
"development-tools",
|
|
19
|
+
"plugin-utilities"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"start": "yarn install && yarn run update-exports",
|
|
23
|
+
"i": "yarn install && yarn run update-exports",
|
|
24
|
+
"update-exports": "node scripts/update-exports.js",
|
|
25
|
+
"ue": "node scripts/update-exports.js",
|
|
26
|
+
"acp": "tsx scripts/acp.ts",
|
|
27
|
+
"bacp": "tsx scripts/acp.ts -b",
|
|
28
|
+
"update-version": "tsx scripts/update-version-config.ts",
|
|
29
|
+
"v": "tsx scripts/update-version-config.ts",
|
|
30
|
+
"build": "tsc -noEmit -skipLibCheck",
|
|
31
|
+
"dev": "tsx scripts/esbuild.config.ts",
|
|
32
|
+
"real": "tsx scripts/esbuild.config.ts production real",
|
|
33
|
+
"lint": "eslint . --ext .ts",
|
|
34
|
+
"lint:fix": "eslint . --ext .ts --fix",
|
|
35
|
+
"inject-path": "tsx scripts/inject-path.ts",
|
|
36
|
+
"inject-prompt": "tsx scripts/inject-prompt.ts",
|
|
37
|
+
"inject": "tsx scripts/inject-prompt.ts",
|
|
38
|
+
"check-plugin": "tsx scripts/inject-path.ts --dry-run",
|
|
39
|
+
"build-npm": "tsx scripts/build-npm.ts",
|
|
40
|
+
"npm-publish": "tsx scripts/build-npm.ts",
|
|
41
|
+
"help": "tsx scripts/help.ts",
|
|
42
|
+
"h": "tsx scripts/help.ts"
|
|
43
|
+
},
|
|
44
|
+
"exports": {
|
|
45
|
+
".": "./src/index.ts",
|
|
46
|
+
"./scripts/*": "./scripts/*",
|
|
47
|
+
"./modals": "./src/modals/index.ts",
|
|
48
|
+
"./tools": "./src/tools/index.ts",
|
|
49
|
+
"./utils": "./src/utils/index.ts"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@types/eslint": "latest",
|
|
53
|
+
"@types/node": "^22.15.26",
|
|
54
|
+
"@types/semver": "^7.7.0",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "latest",
|
|
56
|
+
"@typescript-eslint/parser": "latest",
|
|
57
|
+
"builtin-modules": "3.3.0",
|
|
58
|
+
"dedent": "^1.6.0",
|
|
59
|
+
"dotenv": "^16.4.5",
|
|
60
|
+
"esbuild": "latest",
|
|
61
|
+
"eslint": "latest",
|
|
62
|
+
"eslint-import-resolver-typescript": "latest",
|
|
63
|
+
"fs-extra": "^11.2.0",
|
|
64
|
+
"jiti": "latest",
|
|
65
|
+
"obsidian": "*",
|
|
66
|
+
"obsidian-typings": "^3.9.5",
|
|
67
|
+
"semver": "^7.7.2",
|
|
68
|
+
"tsx": "^4.19.4",
|
|
69
|
+
"typescript": "^5.8.2"
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@types/lodash": "^4.17.17",
|
|
73
|
+
"@types/node": "^22.15.26",
|
|
74
|
+
"@types/semver": "^7.7.0",
|
|
75
|
+
"builtin-modules": "3.3.0",
|
|
76
|
+
"dedent": "^1.6.0",
|
|
77
|
+
"dotenv": "^16.4.5",
|
|
78
|
+
"esbuild": "latest",
|
|
79
|
+
"fs-extra": "^11.2.0",
|
|
80
|
+
"lodash": "^4.17.21",
|
|
81
|
+
"obsidian": "*",
|
|
82
|
+
"obsidian-typings": "^3.9.5",
|
|
83
|
+
"semver": "^7.7.2",
|
|
84
|
+
"tsx": "^4.19.4",
|
|
85
|
+
"typescript": "^5.8.2"
|
|
86
|
+
},
|
|
87
|
+
"engines": {
|
|
88
|
+
"npm": "please-use-yarn",
|
|
89
|
+
"yarn": ">=1.22.0",
|
|
90
|
+
"node": ">=16.0.0"
|
|
91
|
+
},
|
|
92
|
+
"repository": {
|
|
93
|
+
"type": "git",
|
|
94
|
+
"url": "https://github.com/3C0D/obsidian-plugin-config.git"
|
|
95
|
+
},
|
|
96
|
+
"author": "3C0D"
|
|
97
97
|
}
|
package/scripts/help.ts
CHANGED
|
@@ -25,8 +25,8 @@ GIT & VERSION:
|
|
|
25
25
|
yarn v, update-version # Update version (package.json + versions.json)
|
|
26
26
|
|
|
27
27
|
NPM PUBLISHING:
|
|
28
|
-
yarn publish
|
|
29
|
-
yarn build-npm # Alias for publish
|
|
28
|
+
yarn npm-publish # Complete NPM workflow (exports + bin + publish)
|
|
29
|
+
yarn build-npm # Alias for npm-publish
|
|
30
30
|
|
|
31
31
|
HELP:
|
|
32
32
|
yarn run help, h # This help
|
|
@@ -54,12 +54,12 @@ Usage:
|
|
|
54
54
|
2. yarn lint:fix # Fix any linting issues
|
|
55
55
|
3. yarn v # Update version (package.json + versions.json + push)
|
|
56
56
|
4. yarn bacp # Commit and push changes to GitHub
|
|
57
|
-
5. yarn publish
|
|
57
|
+
5. yarn npm-publish # Complete NPM workflow (exports + bin + publish)
|
|
58
58
|
6. npm install -g obsidian-plugin-config # Update global package
|
|
59
59
|
7. Test injection: cd any-plugin && obsidian-inject
|
|
60
60
|
|
|
61
61
|
SIMPLE NPM WORKFLOW:
|
|
62
|
-
yarn publish
|
|
62
|
+
yarn npm-publish # One command does everything:
|
|
63
63
|
# → Update exports
|
|
64
64
|
# → Generate bin/obsidian-inject.js
|
|
65
65
|
# → Verify package
|