@bdocs/ssg 0.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.
- package/LICENSE +21 -0
- package/bin/vite-react-ssg.js +3 -0
- package/dist/chunk-Bmb41Sf3.cjs +1 -0
- package/dist/client/single-page.cjs +2 -0
- package/dist/client/single-page.d.cts +241 -0
- package/dist/client/single-page.d.ts +241 -0
- package/dist/client/single-page.js +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +34 -0
- package/dist/index.d.mts +34 -0
- package/dist/index.mjs +2 -0
- package/dist/jsdomGlobal-DIW81D0t.cjs +1 -0
- package/dist/jsdomGlobal-DuvGNWb6.mjs +1 -0
- package/dist/node.cjs +1 -0
- package/dist/node.d.cts +11 -0
- package/dist/node.d.mts +11 -0
- package/dist/node.mjs +1 -0
- package/dist/state-BLI6QppB.mjs +1 -0
- package/dist/state-OWuAHBHy.cjs +1 -0
- package/dist/style-collectors/styled-components.cjs +1 -0
- package/dist/style-collectors/styled-components.d.cts +9 -0
- package/dist/style-collectors/styled-components.d.mts +10 -0
- package/dist/style-collectors/styled-components.mjs +1 -0
- package/dist/types-D9xYNy8A.d.mts +221 -0
- package/dist/types-DfHnCTVN.d.cts +221 -0
- package/package.json +129 -0
package/package.json
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bdocs/ssg",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"description": "A Vite plugin for static site generation (SSG) with React.",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"vite",
|
|
9
|
+
"vite-plugin",
|
|
10
|
+
"ssg",
|
|
11
|
+
"ssr",
|
|
12
|
+
"react"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.mts",
|
|
17
|
+
"import": "./dist/index.mjs",
|
|
18
|
+
"require": "./dist/index.cjs"
|
|
19
|
+
},
|
|
20
|
+
"./node": {
|
|
21
|
+
"types": "./dist/node.d.mts",
|
|
22
|
+
"import": "./dist/node.mjs",
|
|
23
|
+
"require": "./dist/node.cjs"
|
|
24
|
+
},
|
|
25
|
+
"./single-page": {
|
|
26
|
+
"types": "./dist/client/single-page.d.mts",
|
|
27
|
+
"import": "./dist/client/single-page.mjs",
|
|
28
|
+
"require": "./dist/client/single-page.cjs"
|
|
29
|
+
},
|
|
30
|
+
"./style-collectors/styled-components": {
|
|
31
|
+
"types": "./dist/style-collectors/styled-components.d.mts",
|
|
32
|
+
"import": "./dist/style-collectors/styled-components.mjs"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"main": "./dist/index.mjs",
|
|
36
|
+
"module": "./dist/index.mjs",
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"typesVersions": {
|
|
39
|
+
"*": {
|
|
40
|
+
"node": [
|
|
41
|
+
"./dist/node.d.mts"
|
|
42
|
+
],
|
|
43
|
+
"single-page": [
|
|
44
|
+
"./dist/client/single-page.d.mts"
|
|
45
|
+
],
|
|
46
|
+
"style-collectors/styled-components": [
|
|
47
|
+
"./dist/style-collectors/styled-components.d.mts"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"bin": {
|
|
52
|
+
"vite-react-ssg": "bin/vite-react-ssg.js"
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"*.d.ts",
|
|
56
|
+
"bin",
|
|
57
|
+
"dist"
|
|
58
|
+
],
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"beasties": "^0.4.2",
|
|
61
|
+
"critters": "^0.0.24",
|
|
62
|
+
"react": "^19.0.0",
|
|
63
|
+
"react-dom": "^19.0.0",
|
|
64
|
+
"react-router-dom": "^7.0.0",
|
|
65
|
+
"styled-components": "^6.0.0",
|
|
66
|
+
"vite": "^7.0.0 || ^8.0.0"
|
|
67
|
+
},
|
|
68
|
+
"peerDependenciesMeta": {
|
|
69
|
+
"beasties": {
|
|
70
|
+
"optional": true
|
|
71
|
+
},
|
|
72
|
+
"critters": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"prettier": {
|
|
76
|
+
"optional": true
|
|
77
|
+
},
|
|
78
|
+
"react-router-dom": {
|
|
79
|
+
"optional": true
|
|
80
|
+
},
|
|
81
|
+
"styled-components": {
|
|
82
|
+
"optional": true
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"dependencies": {
|
|
86
|
+
"fs-extra": "^11.3.4",
|
|
87
|
+
"html5parser": "^2.0.2",
|
|
88
|
+
"jsdom": "^24.1.3",
|
|
89
|
+
"kolorist": "^1.8.0",
|
|
90
|
+
"p-queue": "^9.1.2",
|
|
91
|
+
"react-helmet-async": "^2.0.1",
|
|
92
|
+
"yargs": "^17.7.2"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@ririd/eslint-config": "^2.1.1",
|
|
96
|
+
"@types/fs-extra": "^11.0.4",
|
|
97
|
+
"@types/jsdom": "^21.1.7",
|
|
98
|
+
"@types/node": "^22.0.0",
|
|
99
|
+
"@types/react": "^19.0.0",
|
|
100
|
+
"@types/react-dom": "^19.0.0",
|
|
101
|
+
"@types/react-router-dom": "^5.3.3",
|
|
102
|
+
"@types/yargs": "^17.0.35",
|
|
103
|
+
"@vitejs/plugin-react-swc": "^3.11.0",
|
|
104
|
+
"beasties": "^0.4.2",
|
|
105
|
+
"bumpp": "^10.4.1",
|
|
106
|
+
"critters": "^0.0.25",
|
|
107
|
+
"eslint": "^9.39.4",
|
|
108
|
+
"esno": "^4.8.0",
|
|
109
|
+
"fast-glob": "^3.3.2",
|
|
110
|
+
"prettier": "^3.8.2",
|
|
111
|
+
"react": "^19.0.0",
|
|
112
|
+
"react-dom": "^19.0.0",
|
|
113
|
+
"react-router-dom": "^7.0.0",
|
|
114
|
+
"rimraf": "^5.0.1",
|
|
115
|
+
"styled-components": "6.0.5",
|
|
116
|
+
"tsdown": "^0.21.9",
|
|
117
|
+
"typescript": "^5.9.3",
|
|
118
|
+
"vite": "^8.0.0",
|
|
119
|
+
"vitest": "^3.0.0"
|
|
120
|
+
},
|
|
121
|
+
"scripts": {
|
|
122
|
+
"build": "tsdown --config-loader unrun",
|
|
123
|
+
"dev": "tsdown --watch --config-loader unrun",
|
|
124
|
+
"test": "vitest run",
|
|
125
|
+
"format": "pnpm exec biome format --write",
|
|
126
|
+
"lint": "pnpm exec biome lint --write",
|
|
127
|
+
"check": "pnpm exec biome check --write"
|
|
128
|
+
}
|
|
129
|
+
}
|