@dimension-studios/shop-browser 1.200.0 → 1.201.0
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 +13 -13
- package/package.json +8 -10
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ npm install -g @dimension-studios/shop-browser
|
|
|
19
19
|
Install Playwright browsers once:
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
|
|
22
|
+
bunx playwright install chromium
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
If Chromium cannot launch, set `EXECUTABLE_PATH` to your Chrome/Chromium executable (documented below).
|
|
@@ -116,8 +116,8 @@ The extension injects shop cookies into your existing Chrome or Firefox browser
|
|
|
116
116
|
### Build the extension (monorepo)
|
|
117
117
|
|
|
118
118
|
```bash
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
bun install
|
|
120
|
+
bun run --cwd packages/shop-browser build:extension
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
This produces:
|
|
@@ -194,7 +194,7 @@ The extension is built and published automatically when `@dimension-studios/shop
|
|
|
194
194
|
3. **Firefox:** install the XPI (signed AMO distribution still requires a separate Mozilla submission).
|
|
195
195
|
4. **Chrome:** upload the ZIP to the [Chrome Web Store developer dashboard](https://chrome.google.com/webstore/devconsole), or unzip and load unpacked for internal testing.
|
|
196
196
|
|
|
197
|
-
CI also runs `
|
|
197
|
+
CI also runs `bun run --cwd packages/shop-browser build:extension` on every pull request (`.github/workflows/check.yml`) to catch build regressions early.
|
|
198
198
|
|
|
199
199
|
### Automatic store listing (Chrome + Firefox)
|
|
200
200
|
|
|
@@ -238,10 +238,10 @@ After building with production `NEXT_PUBLIC_APP_URL`:
|
|
|
238
238
|
|
|
239
239
|
```bash
|
|
240
240
|
export NEXT_PUBLIC_APP_URL=https://app.dimensionstudios.co
|
|
241
|
-
|
|
241
|
+
bun run --cwd packages/shop-browser build:extension
|
|
242
242
|
|
|
243
243
|
# Set the same SHOP_BROWSER_* secrets as in GitHub, then:
|
|
244
|
-
|
|
244
|
+
bun run --cwd packages/shop-browser publish:stores
|
|
245
245
|
```
|
|
246
246
|
|
|
247
247
|
New versions enter each store’s review queue after submission; approval is handled by Google/Mozilla.
|
|
@@ -249,24 +249,24 @@ New versions enter each store’s review queue after submission; approval is han
|
|
|
249
249
|
## Development (in this monorepo)
|
|
250
250
|
|
|
251
251
|
```bash
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
252
|
+
bun install
|
|
253
|
+
bun run --cwd packages/shop-browser build
|
|
254
|
+
bun run --cwd packages/shop-browser build:extension
|
|
255
|
+
bun run --cwd packages/shop-browser type-check
|
|
256
256
|
```
|
|
257
257
|
|
|
258
258
|
Run CLI from source (expects env via `dotenv` / linked root `.env`):
|
|
259
259
|
|
|
260
260
|
```bash
|
|
261
|
-
|
|
261
|
+
bun run --cwd packages/shop-browser start
|
|
262
262
|
# or from repo root:
|
|
263
|
-
|
|
263
|
+
bun run tools:isb
|
|
264
264
|
```
|
|
265
265
|
|
|
266
266
|
Rebuild the extension after popup/background changes:
|
|
267
267
|
|
|
268
268
|
```bash
|
|
269
|
-
|
|
269
|
+
bun run --cwd packages/shop-browser dev:extension
|
|
270
270
|
```
|
|
271
271
|
|
|
272
272
|
Then reload the unpacked extension in your browser.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimension-studios/shop-browser",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.201.0",
|
|
4
4
|
"description": "Open TikTok shop pages in Chromium using TTK proxy cookies",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tiktok",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
|
-
"build": "
|
|
43
|
+
"build": "bun run build:cli && bun run build:extension",
|
|
44
44
|
"build:cli": "tsdown && chmod +x bin/cli.js",
|
|
45
45
|
"build:extension": "node scripts/build-extension.mjs",
|
|
46
46
|
"publish:stores": "node scripts/publish-extension-stores.mjs",
|
|
47
47
|
"clean": "rm -rf dist",
|
|
48
48
|
"dev": "tsdown --watch",
|
|
49
49
|
"dev:extension": "node scripts/build-extension.mjs",
|
|
50
|
-
"start": "
|
|
50
|
+
"start": "bun src/index.ts",
|
|
51
51
|
"type-check": "tsc --noEmit && tsc --noEmit -p tsconfig.extension.json",
|
|
52
|
-
"prepublishOnly": "
|
|
52
|
+
"prepublishOnly": "bun run build:cli"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@inquirer/prompts": "8.7.2",
|
|
@@ -61,12 +61,10 @@
|
|
|
61
61
|
"webextension-polyfill": "0.12.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@types/node": "
|
|
64
|
+
"@types/node": "24.13.6",
|
|
65
65
|
"@types/webextension-polyfill": "0.12.6",
|
|
66
|
-
"typescript": "
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"vite": "catalog:",
|
|
70
|
-
"tsdown": "catalog:"
|
|
66
|
+
"typescript": "7.0.2",
|
|
67
|
+
"vite": "8.3.1",
|
|
68
|
+
"tsdown": "0.23.0"
|
|
71
69
|
}
|
|
72
70
|
}
|