@dimension-studios/shop-browser 1.170.3 → 1.171.3
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 +13 -13
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
|
+
pnpm exec playwright install chromium
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
If Chromium cannot launch, set `EXECUTABLE_PATH` to your Chrome/Chromium executable (documented below).
|
|
@@ -110,8 +110,8 @@ The extension injects shop cookies into your existing Chrome or Firefox browser
|
|
|
110
110
|
### Build the extension (monorepo)
|
|
111
111
|
|
|
112
112
|
```bash
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
pnpm install
|
|
114
|
+
pnpm --filter @dimension-studios/shop-browser run build:extension
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
This produces:
|
|
@@ -187,7 +187,7 @@ The extension is built and published automatically when `@dimension-studios/shop
|
|
|
187
187
|
3. **Firefox:** install the XPI (signed AMO distribution still requires a separate Mozilla submission).
|
|
188
188
|
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.
|
|
189
189
|
|
|
190
|
-
CI also runs `
|
|
190
|
+
CI also runs `pnpm run build:extension` on every pull request (`.github/workflows/check.yml`) to catch build regressions early.
|
|
191
191
|
|
|
192
192
|
### Automatic store listing (Chrome + Firefox)
|
|
193
193
|
|
|
@@ -233,10 +233,10 @@ After building with production `NEXT_PUBLIC_APP_URL`:
|
|
|
233
233
|
|
|
234
234
|
```bash
|
|
235
235
|
export NEXT_PUBLIC_APP_URL=https://app.dimensionstudios.co
|
|
236
|
-
|
|
236
|
+
pnpm --filter @dimension-studios/shop-browser run build:extension
|
|
237
237
|
|
|
238
238
|
# Set the same SHOP_BROWSER_* secrets as in GitHub, then:
|
|
239
|
-
|
|
239
|
+
pnpm --filter @dimension-studios/shop-browser run publish:stores
|
|
240
240
|
```
|
|
241
241
|
|
|
242
242
|
New versions enter each store’s review queue after submission; approval is handled by Google/Mozilla.
|
|
@@ -244,24 +244,24 @@ New versions enter each store’s review queue after submission; approval is han
|
|
|
244
244
|
## Development (in this monorepo)
|
|
245
245
|
|
|
246
246
|
```bash
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
247
|
+
pnpm install
|
|
248
|
+
pnpm --filter @dimension-studios/shop-browser run build
|
|
249
|
+
pnpm --filter @dimension-studios/shop-browser run build:extension
|
|
250
|
+
pnpm --filter @dimension-studios/shop-browser run type-check
|
|
251
251
|
```
|
|
252
252
|
|
|
253
253
|
Run CLI from source (expects env via `dotenv` / linked root `.env`):
|
|
254
254
|
|
|
255
255
|
```bash
|
|
256
|
-
|
|
256
|
+
pnpm --filter @dimension-studios/shop-browser run start
|
|
257
257
|
# or from repo root:
|
|
258
|
-
|
|
258
|
+
pnpm run tools:isb
|
|
259
259
|
```
|
|
260
260
|
|
|
261
261
|
Rebuild the extension after popup/background changes:
|
|
262
262
|
|
|
263
263
|
```bash
|
|
264
|
-
|
|
264
|
+
pnpm --filter @dimension-studios/shop-browser run dev:extension
|
|
265
265
|
```
|
|
266
266
|
|
|
267
267
|
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.171.3",
|
|
4
4
|
"description": "Open TikTok shop pages in Chromium using TTK proxy cookies",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tiktok",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
17
|
-
"url": "git+https://github.com/dimension-studios/dimension.git",
|
|
17
|
+
"url": "git+https://github.com/dimension-studios-inc/dimension.git",
|
|
18
18
|
"directory": "packages/shop-browser"
|
|
19
19
|
},
|
|
20
20
|
"publishConfig": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
|
-
"build": "
|
|
43
|
+
"build": "pnpm run build:cli && pnpm 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",
|
|
@@ -48,25 +48,25 @@
|
|
|
48
48
|
"dev": "tsdown --watch",
|
|
49
49
|
"dev:extension": "node scripts/build-extension.mjs",
|
|
50
50
|
"start": "dotenv -- tsx src/index.ts",
|
|
51
|
-
"type-check": "
|
|
52
|
-
"prepublishOnly": "
|
|
51
|
+
"type-check": "tsc --noEmit && tsc --noEmit -p tsconfig.extension.json",
|
|
52
|
+
"prepublishOnly": "pnpm run build:cli"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@inquirer/prompts": "8.5.2",
|
|
56
|
-
"@rharkor/logger": "
|
|
56
|
+
"@rharkor/logger": "catalog:",
|
|
57
57
|
"commander": "15.0.0",
|
|
58
58
|
"conf": "15.1.0",
|
|
59
|
-
"dotenv": "
|
|
59
|
+
"dotenv": "catalog:",
|
|
60
60
|
"playwright": "1.62.1",
|
|
61
|
-
"tsdown": "0.22.12",
|
|
62
61
|
"webextension-polyfill": "0.12.0"
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|
|
65
|
-
"@types/node": "
|
|
64
|
+
"@types/node": "catalog:",
|
|
66
65
|
"@types/webextension-polyfill": "0.12.5",
|
|
67
|
-
"
|
|
68
|
-
"dotenv-cli": "
|
|
69
|
-
"tsx": "
|
|
70
|
-
"vite": "
|
|
66
|
+
"typescript": "catalog:",
|
|
67
|
+
"dotenv-cli": "catalog:",
|
|
68
|
+
"tsx": "catalog:",
|
|
69
|
+
"vite": "catalog:",
|
|
70
|
+
"tsdown": "catalog:"
|
|
71
71
|
}
|
|
72
72
|
}
|