@powerlines/plugin-automd 0.1.560 → 0.1.562

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-automd",
3
- "version": "0.1.560",
3
+ "version": "0.1.562",
4
4
  "private": false,
5
5
  "description": "A Powerlines plugin to maintain a project's markdown files using AutoMD generators.",
6
6
  "keywords": ["automd", "powerlines", "storm-software", "powerlines-plugin"],
@@ -54,20 +54,6 @@
54
54
  "default": "./dist/index.mjs"
55
55
  }
56
56
  },
57
- "./index.test": {
58
- "require": {
59
- "types": "./dist/index.test.d.cts",
60
- "default": "./dist/index.test.cjs"
61
- },
62
- "import": {
63
- "types": "./dist/index.test.d.mts",
64
- "default": "./dist/index.test.mjs"
65
- },
66
- "default": {
67
- "types": "./dist/index.test.d.mts",
68
- "default": "./dist/index.test.mjs"
69
- }
70
- },
71
57
  "./package.json": "./package.json",
72
58
  "./types": {
73
59
  "require": {
@@ -118,22 +104,22 @@
118
104
  "typings": "dist/index.d.mts",
119
105
  "files": ["dist"],
120
106
  "dependencies": {
121
- "@powerlines/core": "^0.48.32",
107
+ "@powerlines/core": "^0.48.34",
122
108
  "@stryke/convert": "^0.7.13",
123
- "@stryke/fs": "^0.33.82",
109
+ "@stryke/fs": "^0.33.83",
124
110
  "@stryke/path": "^0.29.9",
125
111
  "@stryke/type-checks": "^0.6.15",
126
112
  "@stryke/types": "^0.12.10",
127
113
  "c12": "^3.3.4",
128
114
  "defu": "^6.1.7",
129
115
  "markdown-toc": "^1.2.0",
130
- "powerlines": "^0.47.99"
116
+ "powerlines": "^0.47.101"
131
117
  },
132
118
  "devDependencies": {
133
- "@powerlines/plugin-plugin": "^0.12.511",
119
+ "@powerlines/plugin-plugin": "^0.12.513",
134
120
  "@types/node": "^25.9.1",
135
121
  "automd": "^0.4.3"
136
122
  },
137
123
  "publishConfig": { "access": "public" },
138
- "gitHead": "11b392585b2086772822dd103176c9d58e30dc9c"
124
+ "gitHead": "64a604fd5da7312baeeb58dfcef0fd3ace15174e"
139
125
  }
@@ -1,29 +0,0 @@
1
- const require_index = require('./index.cjs');
2
- let vitest = require("vitest");
3
-
4
- //#region src/index.test.ts
5
- (0, vitest.describe)("automd plugin", () => {
6
- (0, vitest.it)("plugin is a function", () => {
7
- (0, vitest.expect)(typeof require_index.default).toBe("function");
8
- });
9
- (0, vitest.it)("plugin() returns an object", () => {
10
- const result = require_index.default();
11
- (0, vitest.expect)(typeof result).toBe("object");
12
- (0, vitest.expect)(result).not.toBeNull();
13
- });
14
- (0, vitest.it)("plugin() returns an object with a name property", () => {
15
- const result = require_index.default();
16
- (0, vitest.expect)(result).toHaveProperty("name");
17
- (0, vitest.expect)(typeof result.name).toBe("string");
18
- });
19
- (0, vitest.it)("plugin() accepts an empty options object", () => {
20
- (0, vitest.expect)(() => require_index.default({})).not.toThrow();
21
- });
22
- (0, vitest.it)("plugin() returns the same name for all calls", () => {
23
- const r1 = require_index.default();
24
- const r2 = require_index.default({});
25
- (0, vitest.expect)(r1.name).toBe(r2.name);
26
- });
27
- });
28
-
29
- //#endregion
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1,31 +0,0 @@
1
- import plugin from "./index.mjs";
2
- import { describe, expect, it } from "vitest";
3
-
4
- //#region src/index.test.ts
5
- describe("automd plugin", () => {
6
- it("plugin is a function", () => {
7
- expect(typeof plugin).toBe("function");
8
- });
9
- it("plugin() returns an object", () => {
10
- const result = plugin();
11
- expect(typeof result).toBe("object");
12
- expect(result).not.toBeNull();
13
- });
14
- it("plugin() returns an object with a name property", () => {
15
- const result = plugin();
16
- expect(result).toHaveProperty("name");
17
- expect(typeof result.name).toBe("string");
18
- });
19
- it("plugin() accepts an empty options object", () => {
20
- expect(() => plugin({})).not.toThrow();
21
- });
22
- it("plugin() returns the same name for all calls", () => {
23
- const r1 = plugin();
24
- const r2 = plugin({});
25
- expect(r1.name).toBe(r2.name);
26
- });
27
- });
28
-
29
- //#endregion
30
- export { };
31
- //# sourceMappingURL=index.test.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.test.mjs","names":[],"sources":["../src/index.test.ts"],"sourcesContent":["import { describe, expect, it } from \"vitest\";\nimport { plugin } from \"./index\";\n\ndescribe(\"automd plugin\", () => {\n it(\"plugin is a function\", () => {\n expect(typeof plugin).toBe(\"function\");\n });\n\n it(\"plugin() returns an object\", () => {\n const result = plugin();\n expect(typeof result).toBe(\"object\");\n expect(result).not.toBeNull();\n });\n\n it(\"plugin() returns an object with a name property\", () => {\n const result = plugin();\n expect(result).toHaveProperty(\"name\");\n expect(typeof result.name).toBe(\"string\");\n });\n\n it(\"plugin() accepts an empty options object\", () => {\n expect(() => plugin({})).not.toThrow();\n });\n\n it(\"plugin() returns the same name for all calls\", () => {\n const r1 = plugin();\n const r2 = plugin({});\n expect(r1.name).toBe(r2.name);\n });\n});\n"],"mappings":";;;;AAGA,SAAS,uBAAuB;CAC9B,GAAG,8BAA8B;EAC/B,OAAO,OAAO,MAAM,EAAE,KAAK,UAAU;CACvC,CAAC;CAED,GAAG,oCAAoC;EACrC,MAAM,SAAS,OAAO;EACtB,OAAO,OAAO,MAAM,EAAE,KAAK,QAAQ;EACnC,OAAO,MAAM,EAAE,IAAI,SAAS;CAC9B,CAAC;CAED,GAAG,yDAAyD;EAC1D,MAAM,SAAS,OAAO;EACtB,OAAO,MAAM,EAAE,eAAe,MAAM;EACpC,OAAO,OAAO,OAAO,IAAI,EAAE,KAAK,QAAQ;CAC1C,CAAC;CAED,GAAG,kDAAkD;EACnD,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,QAAQ;CACvC,CAAC;CAED,GAAG,sDAAsD;EACvD,MAAM,KAAK,OAAO;EAClB,MAAM,KAAK,OAAO,CAAC,CAAC;EACpB,OAAO,GAAG,IAAI,EAAE,KAAK,GAAG,IAAI;CAC9B,CAAC;AACH,CAAC"}