Skip to content

Commit 9adc086

Browse files
committed
Use tsx for build scripts and update zip creation import path
- do this change [Changes] also in `apps/browser/package.json` ├── apps │ ├── browser │ │ ├── package.json │ │ └── scripts │ │ └── create-zip-archives.ts │ └── editor │ ├── scripts │ │ ├── build.mts │ │ └── package.mts │ ├── tsconfig.json │ └── vite.config.ts ├── packages │ └── shared │ ├── package.json │ └── src │ └── utils │ └── create-zip │ ├── create-zip.ts │ └── index.ts └── pnpm-workspace.yaml
1 parent 0cd4744 commit 9adc086

3 files changed

Lines changed: 293 additions & 6 deletions

File tree

‎apps/browser/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "module",
33
"scripts": {
4-
"build": "tsc --noEmit && node scripts/build.mjs && node scripts/create-firefox-build.ts && node scripts/create-zip-archives.ts",
4+
"build": "tsc --noEmit && node scripts/build.mjs && tsx scripts/create-firefox-build.ts && tsx scripts/create-zip-archives.ts",
55
"watch": "node scripts/build.mjs --watch",
66
"typecheck": "tsc --noEmit",
77
"bump": "node scripts/bump.cjs"
@@ -13,6 +13,7 @@
1313
"@types/webextension-polyfill": "0.12.6",
1414
"baseline-browser-mapping": "2.11.35",
1515
"sass": "1.93.3",
16+
"tsx": "4.23.15",
1617
"vite": "8.3.6",
1718
"webextension-polyfill": "0.12.0"
1819
},

‎apps/browser/scripts/create-zip-archives.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { create_zip } from '../../../packages/shared/src/utils/create-zip/create-zip.ts'
1+
import { create_zip } from '@shared/utils/create-zip'
22
import * as fs from 'fs'
33
import * as path from 'path'
44
import { fileURLToPath } from 'url'

0 commit comments

Comments
 (0)