Skip to content

Commit 9a8a900

Browse files
authored
Merge pull request #10 from interscript/feat/npm-runtime-dep
feat: engine dep from npm — vendor snapshot removed (1.1.0)
2 parents ad4f71f + 4051839 commit 9a8a900

290 files changed

Lines changed: 102 additions & 171406 deletions

File tree

Some content is hidden

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

‎dist/src/engine.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Engine wiring: the native async interpreter from interscript-ts over
33
* the assets-backed map loader. No regex compilation, ever.
44
*/
5-
import { type SystemCode } from "interscript-ts";
5+
import { type SystemCode } from "interscript";
66
import { bundledSystemCodes, type MapAssets } from "./maps.js";
77
export declare function transliterate(assets: MapAssets, systemCode: string, input: string): Promise<string>;
88
export declare function detect(assets: MapAssets, input: string, output: string): Promise<{

‎dist/src/engine.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Engine wiring: the native async interpreter from interscript-ts over
33
* the assets-backed map loader. No regex compilation, ever.
44
*/
5-
import { configure, transliterateAsync } from "interscript-ts";
5+
import { configure, transliterateAsync } from "interscript";
66
import { bundledSystemCodes, detectableSystemCodes, loadMap } from "./maps.js";
77
let configuredFor;
88
function ensureEngine(assets) {

‎dist/src/index.js‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/src/maps.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Assets binding). Tests inject an equivalent object backed by the
99
* local filesystem.
1010
*/
11-
import { type CompiledMap, type SystemCode } from "interscript-ts";
11+
import { type CompiledMap, type SystemCode } from "interscript";
1212
export interface MapAssets {
1313
fetch(input: RequestInfo): Promise<Response>;
1414
}

‎dist/src/maps.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Assets binding). Tests inject an equivalent object backed by the
99
* local filesystem.
1010
*/
11-
import { MapNotFoundError, normaliseMap, } from "interscript-ts";
11+
import { MapNotFoundError, normaliseMap, } from "interscript";
1212
import { systemCodes } from "../maps/manifest.js";
1313
// These four are dependency libraries, not user-addressable systems —
1414
// the Ruby API lists maps only (var-* FAMILY maps are real systems).

‎dist/src/resolvers.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Resolvers — behavior-matched to the Ruby API. The map assets binding
33
* arrives via the Yoga context (yoga.fetch(request, env, ctx)).
44
*/
5-
import { MapNotFoundError as EngineMapNotFoundError } from "interscript-ts";
5+
import { MapNotFoundError as EngineMapNotFoundError } from "interscript";
66
import { detect, transliterate } from "./engine.js";
77
import { InputTooLongError, MapNotFoundError } from "./errors.js";
88
import { INFER_TIMEOUT_MS, LIMITS } from "./limits.js";

‎dist/test/rest.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ describe("REST detect", () => {
120120
const body = (await res.json());
121121
expect(body.count).toBeGreaterThan(0);
122122
expect(body.results[0]?.mapName).toContain("kat");
123-
});
123+
}, 120_000);
124124
});
125125
describe("REST models + inference", () => {
126126
it("GET /v1/models lists the IMF index", async () => {

0 commit comments

Comments
 (0)