You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch from Bun to pnpm for WebContainer compatibility
- Updated package.json with pnpm configuration
- Created index.js to replace index.ts
- Updated commands in CLAUDE.md and README.md
- Updated plan.md to reflect pnpm usage for package management
- Added pnpm-lock.yaml
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
@@ -26,4 +27,7 @@ This project creates a self-modifying single-file HTML app that bundles JavaScri
26
27
We're tracking development progress in the `plan.md` file, which outlines the implementation phases and technical considerations. Refer to this document for the current status and next steps.
27
28
28
29
## Environment Handling
29
-
The app needs to handle different environments (file://, localhost, and https://) with appropriate feature support for each context.
30
+
The app needs to handle different environments (file://, localhost, and https://) with appropriate feature support for each context.
31
+
32
+
## Package Management
33
+
We use pnpm for package management as it works well with WebContainer.io and provides efficient dependency management with a smaller footprint.
A self-modifying single-file HTML application that bundles JavaScript package files into one HTML file.
4
+
5
+
## Features
6
+
7
+
- Works as a standalone HTML file (file://, localhost, or https://)
8
+
- Self-modifies using the File System Access API
9
+
- Contains full source code and editing capabilities
10
+
- Loads development environment using WebContainer.io
11
+
- Supports package management with pnpm
12
+
13
+
## Getting Started
14
+
3
15
To install dependencies:
4
16
5
17
```bash
6
-
bun install
18
+
pnpm install
7
19
```
8
20
9
21
To run:
10
22
11
23
```bash
12
-
bun run index.ts
24
+
pnpm start
13
25
```
14
26
15
-
This project was created using `bun init` in bun v1.2.2. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
27
+
For development with auto-reload:
28
+
29
+
```bash
30
+
pnpm run dev
31
+
```
32
+
33
+
## Implementation Plan
34
+
35
+
See [plan.md](./plan.md) for the detailed implementation phases and progress.
36
+
37
+
## Project Structure
38
+
39
+
This project creates a self-modifying single-file HTML app that bundles JavaScript package files into one HTML file. The implementation follows a phased approach outlined in `plan.md`.
40
+
41
+
## Environment Handling
42
+
43
+
The app handles different environments (file://, localhost, and https://) with appropriate feature support for each context.
0 commit comments