Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cf/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { readFile } from "node:fs/promises";
import { dirname, join, resolve } from "node:path";
import { test } from "node:test";
import { fileURLToPath } from "node:url";
import { fixturePath } from "@bitextual/test/util.js";
import { fixturePath } from "@bitextual/test/util.ts";
import beautify from "js-beautify";
import puppeteer, { type Browser } from "puppeteer";
import wranglerConf from "./wrangler.json" with { type: "json" };
Expand Down
4 changes: 1 addition & 3 deletions packages/cf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"read-errors": "node --env-file=.env read-errors.ts",
"read-events": "node --env-file=.env read-events.ts",
"serve": "wrangler pages dev dist",
"//": "we still need tsx here for resource management support",
"test": "tsx e2e.test.ts",
"test": "node e2e.test.ts",
"test-post-deploy": "node post-deploy.test.ts",
"typecheck": "tsc && tsc --project functions",
"pretypecheck": "wrangler types"
Expand All @@ -24,7 +23,6 @@
"esbuild": "0.25.5",
"js-beautify": "1.15.4",
"puppeteer": "24.10.2",
"tsx": "4.20.3",
"typescript": "5.8.3",
"wrangler": "4.20.3"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cf/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"compilerOptions": {
"module": "nodenext",
"noEmit": true,
"allowImportingTsExtensions": true,
"resolveJsonModule": true
},
"include": ["*.ts"]
Expand Down
3 changes: 1 addition & 2 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig",
"extends": ["@tsconfig/strictest/tsconfig.json"],
"compilerOptions": {
"module": "esnext",
"moduleResolution": "bundler",
"module": "nodenext",
"noEmit": true,
"target": "esnext",
"allowImportingTsExtensions": true
Expand Down
9 changes: 4 additions & 5 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"private": true,
"scripts": {
"build": "npm-run-all --parallel build-css build-deps build-index build-static build-worker build-sample",
"build-css": "tsx tools/copy-css.ts",
"build-deps": "tsx tools/copy-deps.ts",
"build-index": "tsx tools/build-index.ts",
"build-sample": "tsx tools/build-sample.ts",
"build-css": "node tools/copy-css.ts",
"build-deps": "node tools/copy-deps.ts",
"build-index": "node tools/build-index.ts",
"build-sample": "node tools/build-sample.ts",
"build-static": "mkdir -p dist && cp -R static/* dist",
"build-worker": "esbuild src/worker.ts --bundle --minify --sourcemap --format=esm --external:module --target=es2022 --outfile=dist/worker.js",
"clean": "rm -rf build dist",
Expand All @@ -24,7 +24,6 @@
"esbuild": "0.25.5",
"npm-run-all": "4.1.5",
"simple-git": "3.28.0",
"tsx": "4.20.3",
"typescript": "5.8.3"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/web/tools/build-sample.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mkdirSync, writeFileSync } from "node:fs";
import path from "node:path";
import { go } from "@bitextual/cli/main.js";
import { fixturePath } from "@bitextual/test/util.js";
import { go } from "@bitextual/cli/main.ts";
import { fixturePath } from "@bitextual/test/util.ts";

const bovaryFrenchPath = fixturePath("bovary.french.epub");
const bovaryEnglishPath = fixturePath("bovary.english.epub");
Expand Down
1 change: 1 addition & 0 deletions packages/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"extends": ["@tsconfig/strictest/tsconfig.json"],
"compilerOptions": {
"module": "nodenext",
"target": "esnext",
"noEmit": true,
"types": [],
"resolveJsonModule": true,
Expand Down
Loading