@sigx/ssg 0.3.1 → 0.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigx/ssg",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "Static Site Generator for SignalX with file-based routing, MDX support, and pluggable themes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,11 +30,12 @@
30
30
  "types": "./src/client.d.ts"
31
31
  }
32
32
  },
33
- "bin": {
34
- "ssg": "./dist/cli.js"
33
+ "sigx-cli": {
34
+ "plugin": "./dist/plugin.js"
35
35
  },
36
36
  "files": [
37
- "dist"
37
+ "dist",
38
+ "src/client.d.ts"
38
39
  ],
39
40
  "keywords": [
40
41
  "sigx",
@@ -48,14 +49,15 @@
48
49
  "license": "MIT",
49
50
  "repository": {
50
51
  "type": "git",
51
- "url": "git+https://github.com/signalxjs/core.git",
52
+ "url": "git+https://github.com/signalxjs/ssg.git",
52
53
  "directory": "packages/ssg"
53
54
  },
54
- "homepage": "https://github.com/signalxjs",
55
+ "homepage": "https://github.com/signalxjs/ssg/tree/main/packages/ssg",
55
56
  "bugs": {
56
- "url": "https://github.com/signalxjs/core/issues"
57
+ "url": "https://github.com/signalxjs/ssg/issues"
57
58
  },
58
59
  "dependencies": {
60
+ "@sigx/server-renderer": "^0.4.1",
59
61
  "esbuild": "^0.27.0",
60
62
  "fast-glob": "^3.3.2",
61
63
  "gray-matter": "^4.0.3",
@@ -72,23 +74,31 @@
72
74
  "shiki": "^1.24.0",
73
75
  "unified": "^11.0.5",
74
76
  "unist-util-visit": "^5.0.0",
75
- "@sigx/router": "^0.3.1",
76
- "@sigx/server-renderer": "^0.3.1"
77
+ "@sigx/router": "^0.4.1"
77
78
  },
78
79
  "peerDependencies": {
79
- "sigx": "*",
80
+ "@sigx/cli": "*",
81
+ "sigx": "^0.4.1",
80
82
  "vite": ">=8.0.0"
81
83
  },
84
+ "peerDependenciesMeta": {
85
+ "@sigx/cli": {
86
+ "optional": true
87
+ }
88
+ },
82
89
  "devDependencies": {
83
90
  "@mdx-js/rollup": "^3.1.0",
91
+ "@sigx/vite": "^0.4.1",
84
92
  "@types/node": "^22.19.1",
85
93
  "tsx": "^4.19.0",
86
94
  "typescript": "^5.9.3",
87
- "vite": "^8.0.3",
88
- "@sigx/vite": "^0.3.1"
95
+ "vite": "^8.0.3"
96
+ },
97
+ "publishConfig": {
98
+ "access": "public"
89
99
  },
90
100
  "scripts": {
91
- "build": "vite build && tsx scripts/build-cli.ts && tsgo --emitDeclarationOnly",
101
+ "build": "vite build && tsgo --emitDeclarationOnly",
92
102
  "dev": "vite build --watch"
93
103
  }
94
104
  }
package/dist/cli.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export declare const __cli__ = true;
2
- //# sourceMappingURL=cli.d.ts.map
package/dist/cli.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,OAAO,CAAC"}