Skip to content

Commit

Permalink
build(examples): update deps & imports (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jul 20, 2024
1 parent d0b54ab commit e6b40c0
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/commit-table-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
},
"dependencies": {
"@thi.ng/api": "workspace:^",
"@thi.ng/associative": "workspace:^",
"@thi.ng/cache": "workspace:^",
"@thi.ng/file-io": "workspace:^",
"@thi.ng/hiccup": "workspace:^",
"@thi.ng/logger": "workspace:^",
"@thi.ng/object-utils": "workspace:^",
"@thi.ng/resolve-map": "workspace:^",
"@thi.ng/rstream": "workspace:^",
"@thi.ng/transducers": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/commit-table-ssr/src/server/html.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Nullable } from "@thi.ng/api";
import { mergeDeepObj } from "@thi.ng/associative";
import { DOCTYPE_HTML, serialize } from "@thi.ng/hiccup";
import { mergeDeepObj } from "@thi.ng/object-utils";
import { map } from "@thi.ng/transducers";
import type { AppContext, HTMLDoc } from "../common/api";
import { DEFAULT_DOC } from "../common/config";
Expand Down
2 changes: 1 addition & 1 deletion examples/geom-webgl-attrib-pool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"vite": "^5.3.3"
},
"dependencies": {
"@thi.ng/associative": "workspace:^",
"@thi.ng/color": "workspace:^",
"@thi.ng/geom": "workspace:^",
"@thi.ng/geom-webgl": "workspace:^",
"@thi.ng/math": "workspace:^",
"@thi.ng/matrices": "workspace:^",
"@thi.ng/object-utils": "workspace:^",
"@thi.ng/random": "workspace:^",
"@thi.ng/vector-pools": "workspace:^",
"@thi.ng/vectors": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/geom-webgl-attrib-pool/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { meldDeepObj } from "@thi.ng/associative";
import { meldDeepObj } from "@thi.ng/object-utils";
import { colorFromRange, srgb } from "@thi.ng/color";
import {
TESSELLATE_TRI_FAN,
Expand Down
2 changes: 1 addition & 1 deletion examples/rdom-key-sequences/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
},
"dependencies": {
"@thi.ng/arrays": "workspace:^",
"@thi.ng/associative": "workspace:^",
"@thi.ng/checks": "workspace:^",
"@thi.ng/hiccup-html": "workspace:^",
"@thi.ng/object-utils": "workspace:^",
"@thi.ng/rdom": "workspace:^",
"@thi.ng/rstream": "workspace:^",
"@thi.ng/strings": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/rdom-key-sequences/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { peek } from "@thi.ng/arrays";
import { objectFromKeys } from "@thi.ng/associative";
import { isString } from "@thi.ng/checks";
import { div, li, span, ul } from "@thi.ng/hiccup-html";
import { objectFromKeys } from "@thi.ng/object-utils";
import { $compile, $replace } from "@thi.ng/rdom";
import { fromDOMEvent, merge, reactive, trigger } from "@thi.ng/rstream";
import { capitalize } from "@thi.ng/strings";
Expand Down
1 change: 1 addition & 0 deletions examples/related-images/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@thi.ng/api": "workspace:^",
"@thi.ng/arrays": "workspace:^",
"@thi.ng/associative": "workspace:^",
"@thi.ng/bidir-index": "workspace:^",
"@thi.ng/bitfield": "workspace:^",
"@thi.ng/fibers": "workspace:^",
"@thi.ng/hiccup-html": "workspace:^",
Expand Down
5 changes: 3 additions & 2 deletions examples/related-images/src/data.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { selectThresholdMin } from "@thi.ng/arrays";
import { defBidirIndex, unionR } from "@thi.ng/associative";
import { unionR } from "@thi.ng/associative";
import { defBidirIndex } from "@thi.ng/bidir-index";
import { defBitField } from "@thi.ng/bitfield";
import { pluck, transduce } from "@thi.ng/transducers";
import type { Item } from "./api.js";
Expand Down Expand Up @@ -191,7 +192,7 @@ export const initDB = () => {
// build an index of all unique tags. this index is actually bidirectional
// (i.e. here mapping tags to numeric IDs and vice versa), but we're only
// using the forward direction here...
// https://docs.thi.ng/umbrella/associative/classes/BidirIndex.html
// https://docs.thi.ng/umbrella/bidir-index/classes/BidirIndex.html
const tagIndex = defBidirIndex(
// build the set union of all tags of all images
transduce(pluck("tags"), unionR<string>(), DB)
Expand Down
2 changes: 1 addition & 1 deletion examples/webgl-ssao/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
},
"dependencies": {
"@thi.ng/api": "workspace:^",
"@thi.ng/associative": "workspace:^",
"@thi.ng/dsp": "workspace:^",
"@thi.ng/hdom": "workspace:^",
"@thi.ng/hdom-components": "workspace:^",
"@thi.ng/matrices": "workspace:^",
"@thi.ng/object-utils": "workspace:^",
"@thi.ng/rstream": "workspace:^",
"@thi.ng/shader-ast": "workspace:^",
"@thi.ng/shader-ast-stdlib": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/webgl-ssao/src/shaders.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { mergeDeepObj } from "@thi.ng/associative";
import { mergeDeepObj } from "@thi.ng/object-utils";
import {
$x,
$xyz,
Expand Down

0 comments on commit e6b40c0

Please sign in to comment.