create-wirejs-app 2.0.196 → 2.0.197
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/README.md +1 -1
- package/package.json +1 -1
- package/templates/default/README.md +51 -0
- package/templates/default/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
Experimental.
|
|
1
|
+
> **Experimental:** WireJS is an experimental hobby project and is not production software. For a professionally supported project in a similar spirit, see [AWS Blocks](https://github.com/aws-devtools-labs/aws-blocks), which benefits from lessons and ideas explored here.
|
|
2
2
|
|
|
3
3
|
If this package interests you, contact the author.
|
package/package.json
CHANGED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# WireJS app
|
|
2
|
+
|
|
3
|
+
> **Experimental:** WireJS is an experimental hobby project and is not production software. For a professionally supported project in a similar spirit, see [AWS Blocks](https://github.com/aws-devtools-labs/aws-blocks), which benefits from lessons and ideas explored here.
|
|
4
|
+
|
|
5
|
+
This app was generated by `create-wirejs-app`.
|
|
6
|
+
|
|
7
|
+
WireJS is experimental and changes quickly. Prefer the documentation installed with this app's exact dependency versions over docs from another branch or another npm version.
|
|
8
|
+
|
|
9
|
+
## Version-locked docs
|
|
10
|
+
|
|
11
|
+
The main app/runtime README is installed at:
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
node_modules/wirejs-resources/README.md
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Cross-platform command to locate it:
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
node -e "console.log(require.resolve('wirejs-resources/package.json').replace(/package\.json$/, 'README.md'))"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
For DOM/component details, also inspect:
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
node -e "console.log(require.resolve('wirejs-dom/package.json').replace(/package\.json$/, 'README.md'))"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Humans can browse npm-rendered READMEs too:
|
|
30
|
+
|
|
31
|
+
- <https://www.npmjs.com/package/wirejs-resources>
|
|
32
|
+
- <https://www.npmjs.com/package/wirejs-dom>
|
|
33
|
+
- <https://www.npmjs.com/package/wirejs-scripts>
|
|
34
|
+
|
|
35
|
+
Reminder: npm pages show a package README, but the safest reference is the README in this app's `node_modules`, because it matches the installed version.
|
|
36
|
+
|
|
37
|
+
## Project layout
|
|
38
|
+
|
|
39
|
+
- `src/ssg/` — statically generated pages/artifacts. Modules export `generate()` and may use `hydrate()` for browser behavior.
|
|
40
|
+
- `src/ssr/` — request-time server-rendered routes. Modules export `generate(context)`.
|
|
41
|
+
- `src/components/`, `src/layouts/` — shared DOM/layout code, usually using `wirejs-dom/v2`.
|
|
42
|
+
- `api/` — API/resources workspace.
|
|
43
|
+
- `static/` — public static assets, served under `/static/*`.
|
|
44
|
+
|
|
45
|
+
## Commands
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
npm run start # local development
|
|
49
|
+
npm run start:public # local development with public tunnel/NAT behavior when available
|
|
50
|
+
npm run build # production build
|
|
51
|
+
```
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"dompurify": "^3.2.3",
|
|
13
13
|
"marked": "^15.0.6",
|
|
14
|
-
"wirejs-components": "^0.1.
|
|
14
|
+
"wirejs-components": "^0.1.135",
|
|
15
15
|
"wirejs-dom": "^1.0.44",
|
|
16
|
-
"wirejs-module-payments-stripe": "^0.1.
|
|
17
|
-
"wirejs-resources": "^0.1.
|
|
18
|
-
"wirejs-web-worker": "^1.0.
|
|
16
|
+
"wirejs-module-payments-stripe": "^0.1.86",
|
|
17
|
+
"wirejs-resources": "^0.1.192",
|
|
18
|
+
"wirejs-web-worker": "^1.0.89"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"typescript": "^5.7.3",
|
|
22
|
-
"wirejs-scripts": "^3.0.
|
|
22
|
+
"wirejs-scripts": "^3.0.190"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"prebuild": "npm run prebuild --workspaces --if-present",
|