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.
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Obsidian Plugin Config - CLI Entry Point
5
5
  * Global command: obsidian-inject
6
- * Version: 1.1.8
6
+ * Version: 1.1.11
7
7
  */
8
8
 
9
9
  import { execSync } from 'child_process';
package/package.json CHANGED
@@ -1,97 +1,97 @@
1
1
  {
2
- "name": "obsidian-plugin-config",
3
- "version": "1.1.9",
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
- "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"
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 # Complete NPM workflow (exports + bin + 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 # Complete NPM workflow (exports + bin + 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 # One command does everything:
62
+ yarn npm-publish # One command does everything:
63
63
  # → Update exports
64
64
  # → Generate bin/obsidian-inject.js
65
65
  # → Verify package
package/versions.json CHANGED
@@ -13,5 +13,7 @@
13
13
  "1.1.6": "1.8.9",
14
14
  "1.1.7": "1.8.9",
15
15
  "1.1.8": "1.8.9",
16
- "1.1.9": "1.8.9"
16
+ "1.1.9": "1.8.9",
17
+ "1.1.10": "1.8.9",
18
+ "1.1.11": "1.8.9"
17
19
  }