Skip to content
Merged
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/main.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { rule_t, search_t, buffer_size } from "../tsds/tsds.mts";
import { rule_t, search_t, buffer_size } from "../atsds/tsds.mts";

function main() {
const temp_data_size = 1000;
Expand Down
1,170 changes: 595 additions & 575 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dist/tsds.mjs.map"
],
"scripts": {
"emcc": "emcc -std=c++20 tsds/ds.cc src/*.cc -Iinclude -lembind -o tsds/ds.mjs --emit-tsd ds.d.mts -gsource-map=inline -O3 -ffast-math -flto -s ALLOW_MEMORY_GROWTH=1",
"emcc": "emcc -std=c++20 atsds/ds.cc src/*.cc -Iinclude -lembind -o atsds/ds.mjs --emit-tsd ds.d.mts -gsource-map=inline -O3 -ffast-math -flto -s ALLOW_MEMORY_GROWTH=1",
"rollup": "rollup --config rollup.config.mjs",
"build": "run-s emcc rollup",
"test": "cross-env NODE_OPTIONS='$NODE_OPTIONS --experimental-vm-modules' jest --config=jest.config.mjs",
Expand Down
6 changes: 3 additions & 3 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { copy } from "@web/rollup-plugin-copy";

export default {
input: {
ds: "tsds/ds.mjs",
tsds: "tsds/tsds.mts",
ds: "atsds/ds.mjs",
tsds: "atsds/tsds.mts",
example: "examples/main.mjs",
},
output: {
Expand All @@ -21,7 +21,7 @@ export default {
nodeResolve(),
copy({
patterns: ["ds.wasm", "ds.wasm.map", "ds.d.mts"],
rootDir: "tsds",
rootDir: "atsds",
}),
],
};
2 changes: 1 addition & 1 deletion tests/test_item.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { item_t, buffer_size } from "../tsds/tsds.mts";
import { item_t, buffer_size } from "../atsds/tsds.mts";

let v = null;

Expand Down
2 changes: 1 addition & 1 deletion tests/test_list.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { list_t, buffer_size } from "../tsds/tsds.mts";
import { list_t, buffer_size } from "../atsds/tsds.mts";

let v = null;

Expand Down
2 changes: 1 addition & 1 deletion tests/test_rule.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { rule_t, buffer_size } from "../tsds/tsds.mts";
import { rule_t, buffer_size } from "../atsds/tsds.mts";

let v = null;

Expand Down
2 changes: 1 addition & 1 deletion tests/test_search.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { search_t, rule_t } from "../tsds/tsds.mts";
import { search_t, rule_t } from "../atsds/tsds.mts";

let search = null;

Expand Down
2 changes: 1 addition & 1 deletion tests/test_string.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { string_t, buffer_size } from "../tsds/tsds.mts";
import { string_t, buffer_size } from "../atsds/tsds.mts";

let v = null;

Expand Down
2 changes: 1 addition & 1 deletion tests/test_term.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { list_t, item_t, variable_t, term_t, buffer_size } from "../tsds/tsds.mts";
import { list_t, item_t, variable_t, term_t, buffer_size } from "../atsds/tsds.mts";

let v = null;

Expand Down
2 changes: 1 addition & 1 deletion tests/test_variable.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { variable_t, buffer_size } from "../tsds/tsds.mts";
import { variable_t, buffer_size } from "../atsds/tsds.mts";

let v = null;

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"declaration": true,
"outDir": "dist"
},
"include": ["tsds/*"]
"include": ["atsds/*"]
}