@asterflow/fs 2.0.0 → 2.0.1

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.
@@ -25,7 +25,7 @@ O(_, {
25
25
  module.exports = M(_);
26
26
  var $ = require("@asterflow/plugin"), u = require("@asterflow/router");
27
27
  // plugins/fs/package.json
28
- var y = "2.0.0";
28
+ var y = "2.0.1";
29
29
  // plugins/fs/src/utils/log.ts
30
30
  var l = {
31
31
  reset: "\x1B[0m",
@@ -67,8 +67,8 @@ async function U({ routesDir: e, outFile: r }) {
67
67
  g.push(`import ${a} from '${E}'`), d.push(`if (!${a}.path) ${a}.path = ${JSON.stringify(k)}`), x.push(a);
68
68
  });
69
69
  let b = [
70
- "
71
- `
70
+ "// AUTO-GENERATED by `asterflow generate` - do not edit directly.",
71
+ `// Source directory: ${A((0, i.relative)(o, e))}`,
72
72
  ...g,
73
73
  "",
74
74
  ...d,
package/dist/mjs/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { Plugin as O } from "@asterflow/plugin";
3
3
  import { Method as I, Router as M } from "@asterflow/router";
4
4
  // plugins/fs/package.json
5
- var f = "2.0.0";
5
+ var f = "2.0.1";
6
6
  // plugins/fs/src/utils/log.ts
7
7
  var a = {
8
8
  reset: "\x1B[0m",
@@ -46,8 +46,8 @@ async function B({ routesDir: t, outFile: r }) {
46
46
  c.push(`import ${n} from '${h}'`), p.push(`if (!${n}.path) ${n}.path = ${JSON.stringify(R)}`), u.push(n);
47
47
  });
48
48
  let y = [
49
- "
50
- `
49
+ "// AUTO-GENERATED by `asterflow generate` - do not edit directly.",
50
+ `// Source directory: ${x(d(o, t))}`,
51
51
  ...c,
52
52
  "",
53
53
  ...p,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asterflow/fs",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Generates a static route manifest from a file-based routes/ directory and registers it on an AsterFlow app as a plugin.",
5
5
  "keywords": [
6
6
  "asterflow",
@@ -34,11 +34,11 @@
34
34
  "node": ">=20"
35
35
  },
36
36
  "dependencies": {
37
- "@asterflow/router": "^2.0.0",
37
+ "@asterflow/plugin": "^2.0.1",
38
+ "@asterflow/router": "^2.0.1",
38
39
  "@asterflow/url-parser": "^4.1.1"
39
40
  },
40
41
  "devDependencies": {
41
- "@asterflow/plugin": "^1.0.9",
42
- "asterflow": "^1.0.0"
42
+ "asterflow": "^2.0.1"
43
43
  }
44
44
  }