obsidian-plugin-config 1.4.3 → 1.4.4

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/.editorconfig ADDED
@@ -0,0 +1,14 @@
1
+ # top-most EditorConfig file
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ end_of_line = lf
7
+ insert_final_newline = true
8
+ indent_style = tab
9
+ indent_size = 4
10
+ tab_width = 4
11
+
12
+ [*.json]
13
+ indent_style = space
14
+ indent_size = 2
@@ -45,7 +45,7 @@
45
45
  {
46
46
  "label": "Prettier: Check",
47
47
  "type": "shell",
48
- "command": "npx prettier --check \"src/**/*.ts\"",
48
+ "command": "npx prettier --check \"{src,scripts,templates}/**/*.{ts,json}\"",
49
49
  "group": "test",
50
50
  "presentation": { "reveal": "always", "panel": "shared" },
51
51
  "problemMatcher": []
@@ -53,7 +53,7 @@
53
53
  {
54
54
  "label": "Prettier: Fix",
55
55
  "type": "shell",
56
- "command": "npx prettier --write \"src/**/*.ts\"",
56
+ "command": "npx prettier --write \"{src,scripts,templates}/**/*.{ts,json}\"",
57
57
  "group": "test",
58
58
  "presentation": { "reveal": "always", "panel": "shared" },
59
59
  "problemMatcher": []
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Obsidian Plugin Config - CLI Entry Point
5
5
  * Global command: obsidian-inject
6
- * Version: 1.4.3
6
+ * Version: 1.4.4
7
7
  */
8
8
 
9
9
  import { execSync } from 'child_process';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obsidian-plugin-config",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Système d'injection pour plugins Obsidian autonomes",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -251,7 +251,7 @@ async function buildAndPublishNpm(): Promise<void> {
251
251
  );
252
252
  rl.close();
253
253
  if (doUpdate) {
254
- execSync('npm install -g obsidian-plugin-config@latest --force --ignore-engines', { stdio: 'inherit' });
254
+ execSync('npm install -g obsidian-plugin-config@latest --force --engine-strict=false', { stdio: 'inherit' });
255
255
  console.log(` ✅ Global CLI updated`);
256
256
  }
257
257
 
@@ -1,3 +1,7 @@
1
1
  // Export all modals for easy importing
2
- export { GenericConfirmModal, showConfirmModal, confirmation } from './GenericConfirmModal.js';
2
+ export {
3
+ GenericConfirmModal,
4
+ showConfirmModal,
5
+ confirmation
6
+ } from './GenericConfirmModal.js';
3
7
  export type { ConfirmModalOptions } from './GenericConfirmModal.js';
@@ -20,7 +20,7 @@
20
20
  {
21
21
  "label": "Prettier: Check",
22
22
  "type": "shell",
23
- "command": "npx prettier --check \"src/**/*.ts\"",
23
+ "command": "npx prettier --check \"{src,scripts}/**/*.{ts,json}\"",
24
24
  "group": "test",
25
25
  "presentation": { "reveal": "always", "panel": "shared" },
26
26
  "problemMatcher": []
@@ -28,7 +28,7 @@
28
28
  {
29
29
  "label": "Prettier: Fix",
30
30
  "type": "shell",
31
- "command": "npx prettier --write \"src/**/*.ts\"",
31
+ "command": "npx prettier --write \"{src,scripts}/**/*.{ts,json}\"",
32
32
  "group": "test",
33
33
  "presentation": { "reveal": "always", "panel": "shared" },
34
34
  "problemMatcher": []
@@ -1,30 +1,30 @@
1
1
  {
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"]
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
30
  }
package/versions.json CHANGED
@@ -42,5 +42,6 @@
42
42
  "1.4.0": "1.8.9",
43
43
  "1.4.1": "1.8.9",
44
44
  "1.4.2": "1.8.9",
45
- "1.4.3": "1.8.9"
45
+ "1.4.3": "1.8.9",
46
+ "1.4.4": "1.8.9"
46
47
  }