Skip to content

Commit b9fd020

Browse files
committed
monorepoize everything
1 parent e2a6132 commit b9fd020

File tree

290 files changed

+1888
-4808
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+1888
-4808
lines changed

.gitignore

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,12 @@
11
node_modules
22
dist
3-
static/scramjet*
4-
static/bare-mux.js
5-
static/bare-client.js
6-
static/curl-client.js
7-
static/epoxy-client.js
8-
static/bare-mux-worker.js
9-
meta.json
10-
rewriter/target
11-
rewriter/wasm/out
12-
static/wasm.js
13-
rewriter/*.js
143
playwright-report
154
test-results
165
*.tgz
176
package-lock.json
187
rebuild.sh
198
.DS_STORE
209

21-
# Typedoc
22-
_docs/
23-
_docs-dev/
24-
existing-typedoc/
25-
existing-typedoc-dev/
26-
staticbuild/
27-
typedoc-*.tar.gz
28-
typedoc-*.tar.gz-dev
2910

3011
# Rslib (For global type generation)
3112
.rslib/

.gitmodules

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
[submodule "dreamlandjs"]
2-
path = dreamlandjs
1+
[submodule "external/dreamlandjs"]
2+
path = external/dreamlandjs
33
url = https://github.com/MercuryWorkshop/dreamlandjs
4-
[submodule "playwright"]
5-
path = playwright
4+
[submodule "external/playwright"]
5+
path = external/playwright
66
url = https://github.com/HeyPuter/playwright
7-
[submodule "chii"]
8-
path = chii
9-
url = https://github.com/HeyPuter/chii

chobitsu/.eslintrc.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

chobitsu/prettier.config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

dreamlandjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

external/dreamlandjs

Submodule dreamlandjs added at 847a3f9

package.json

Lines changed: 16 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,25 @@
11
{
2-
"name": "@mercuryworkshop/scramjet",
3-
"version": "2.0.0-alpha",
4-
"description": "An experimental web proxy that aims to be the successor to Ultraviolet",
5-
"type": "module",
6-
"types": "./dist/types/index.d.ts",
7-
"repository": {
8-
"type": "git",
9-
"url": "https://github.com/MercuryWorkshop/scramjet"
10-
},
2+
"name": "browser.js",
3+
"version": "1.0.0",
4+
"description": "",
115
"scripts": {
12-
"build": "rspack build --mode production",
13-
"build:types": "rslib build && rm -rf dist/temp",
14-
"build:all": "npm run build && npm run build:types",
15-
"rewriter:build": "cd rewriter/wasm/ && bash build.sh && cd ../../",
16-
"dev": "node server.js",
17-
"dev:debug": "DEBUG=1 node server.js",
18-
"prepack": "RELEASE=1 npm run rewriter:build && npm run build:all",
19-
"pub": "npm publish --no-git-checks --access public",
20-
"format": "prettier --write .",
21-
"format:docs": "remark \"docs/**/*.{md,mdx}\" --output",
22-
"lint": "eslint ./src/",
23-
"lint:fix": "eslint ./src/ --fix",
24-
"lint:workflows": "actionlint .github/workflows/*.yml",
25-
"lint:all": "npm run lint && npm run lint:workflows",
26-
"test": "npm run test:package && npm run test:integration",
27-
"test:package": "ava tests/ci/packageValidation.js",
28-
"test:integration": "npx playwright test",
29-
"preinstall": "npx only-allow pnpm",
30-
"docs": "typedoc",
31-
"docs:dev": "typedoc --options typedoc.dev-facing.json",
32-
"docs:serve": "npx serve _docs; typedoc --watch"
33-
},
34-
"exports": {
35-
".": {
36-
"types": "./dist/types/types.d.ts",
37-
"default": "./lib/noop.js"
38-
},
39-
"./path": {
40-
"types": "./lib/index.d.ts",
41-
"default": "./lib/index.cjs"
42-
},
43-
"./bundled": {
44-
"types": "./dist/types/index.d.ts",
45-
"default": "./dist/scramjet.bundle.js"
46-
}
6+
"build:dreamland": "cd external/dreamlandjs && pnpm build",
7+
"dev:chrome": "cd packages/chrome && pnpm dev",
8+
"build:chrome": "cd packages/chrome && pnpm build",
9+
"build": "rspack build",
10+
"watch": "rspack build --watch"
4711
},
48-
"files": [
49-
"dist",
50-
"lib"
51-
],
12+
"type": "module",
5213
"keywords": [],
5314
"author": "",
54-
"license": "MIT",
55-
"ava": {
56-
"files": [
57-
"tests/ci/**/*.js"
58-
],
59-
"verbose": true
60-
},
15+
"license": "AGPL-3.0-only",
16+
"packageManager": "[email protected]",
6117
"devDependencies": {
62-
"@8hobbies/typedoc-plugin-404": "^3.2.1",
63-
"@8hobbies/typedoc-plugin-plausible": "^2.2.0",
64-
"@catppuccin/vscode": "^3.18.0",
65-
"@eslint/eslintrc": "^3.3.1",
66-
"@eslint/js": "^9.35.0",
67-
"@estruyf/github-actions-reporter": "^1.10.0",
68-
"@fastify/static": "^8.2.0",
69-
"@giancosta86/typedoc-readonly": "^1.0.1",
70-
"@mercuryworkshop/bare-as-module3": "^2.2.5",
71-
"@mercuryworkshop/epoxy-transport": "^2.1.28",
72-
"@mercuryworkshop/libcurl-transport": "^1.5.0",
73-
"@mercuryworkshop/wisp-js": "^0.3.3",
74-
"@nebula-services/bare-server-node": "^2.0.4",
75-
"@playwright/test": "^1.55.0",
76-
"@reside-ic/typedoc-plugin-copy-doc": "^1.1.2",
7718
"@rsdoctor/rspack-plugin": "^1.2.3",
78-
"@rslib/core": "^0.13.2",
79-
"@rspack/cli": "^1.5.3",
80-
"@rspack/core": "^1.5.3",
81-
"@shipgirl/typedoc-plugin-versions": "^0.3.2",
82-
"@stephansama/catppuccin-typedoc": "^1.0.1",
83-
"@types/eslint": "^9.6.1",
84-
"@types/estree": "^1.0.8",
85-
"@types/node": "^24.3.1",
86-
"@types/serviceworker": "^0.0.152",
87-
"@typescript-eslint/eslint-plugin": "^8.43.0",
88-
"@typescript-eslint/parser": "^8.43.0",
89-
"actionlint": "^2.0.6",
90-
"ava": "^6.4.1",
91-
"dotenv": "^17.2.2",
92-
"eslint": "^9.35.0",
93-
"fastify": "^5.6.0",
94-
"glob": "^11.0.3",
95-
"playwright": "^1.55.0",
96-
"prettier": "^3.6.2",
97-
"remark": "^15.0.1",
98-
"remark-cli": "^12.0.1",
99-
"remark-frontmatter": "^5.0.0",
100-
"remark-mdx": "^3.1.1",
101-
"remark-stringify": "^11.0.0",
102-
"ts-checker-rspack-plugin": "^1.1.5",
103-
"tsc-alias": "^1.8.16",
104-
"tslib": "^2.8.1",
105-
"typedoc": "^0.28.12",
106-
"typedoc-material-theme": "^1.4.0",
107-
"typedoc-plugin-frontmatter": "^1.3.0",
108-
"typedoc-plugin-include-example": "^2.1.2",
109-
"typedoc-plugin-markdown": "^4.8.1",
110-
"typedoc-plugin-mdn-links": "^5.0.9",
111-
"typescript": "^5.9.2"
112-
},
113-
"dependencies": {
114-
"@mercuryworkshop/epoxy-tls": "2.1.18-1",
115-
"dom-serializer": "^2.0.0",
116-
"domhandler": "^5.0.3",
117-
"domutils": "^3.2.2",
118-
"htmlparser2": "10.0.0",
119-
"libcurl.js": "^0.7.2",
120-
"idb": "^8.0.3",
121-
"parse-domain": "^8.2.2",
122-
"set-cookie-parser": "^2.7.1"
19+
"@rslib/core": "^0.13.3",
20+
"@rspack/cli": "^1.5.6",
21+
"@rspack/core": "^1.5.6",
22+
"bufferutil": "^4.0.9",
23+
"ts-checker-rspack-plugin": "^1.1.5"
12324
}
12425
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)