Skip to content

Commit

Permalink
build(examples): update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Oct 5, 2021
1 parent e4073d6 commit d684881
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion examples/color-themes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "yarn clean && ../../node_modules/.bin/snowpack build"
},
"devDependencies": {
"@thi.ng/snowpack-env": "^2.3.3"
"@types/snowpack-env": "^2.3.4"
},
"dependencies": {
"@thi.ng/api": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/dominant-colors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "yarn clean && ../../node_modules/.bin/snowpack build"
},
"devDependencies": {
"@thi.ng/snowpack-env": "^2.3.3"
"@types/snowpack-env": "^2.3.4"
},
"dependencies": {
"@thi.ng/api": "latest",
Expand Down
1 change: 0 additions & 1 deletion examples/gesture-analysis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
},
"dependencies": {
"@thi.ng/arrays": "latest",
"@thi.ng/compose": "latest",
"@thi.ng/geom": "latest",
"@thi.ng/hiccup-svg": "latest",
"@thi.ng/rstream": "latest",
Expand Down
13 changes: 10 additions & 3 deletions examples/pixel-indexed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@
"build": "yarn clean && ../../node_modules/.bin/snowpack build"
},
"devDependencies": {
"@thi.ng/snowpack-env": "^2.3.3"
"@types/snowpack-env": "^2.3.4"
},
"dependencies": {
"@thi.ng/color": "latest",
"@thi.ng/color-palettes": "latest",
"@thi.ng/pixel": "latest"
"@thi.ng/pixel": "latest",
"@thi.ng/pixel-dither": "latest"
},
"browserslist": [
"last 3 Chrome versions"
Expand All @@ -27,7 +28,13 @@
"util": false
},
"thi.ng": {
"readme": true,
"readme": [
"color",
"color-palettes",
"k-means",
"pixel",
"pixel-dither"
],
"screenshot": "examples/pixel-indexed.jpg"
}
}
2 changes: 1 addition & 1 deletion examples/pixel-sorting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "yarn clean && ../../node_modules/.bin/snowpack build"
},
"devDependencies": {
"@thi.ng/snowpack-env": "^2.3.3"
"@types/snowpack-env": "^2.3.4"
},
"dependencies": {
"@thi.ng/bench": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/rdom-delayed-update/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "yarn clean && ../../node_modules/.bin/snowpack build"
},
"devDependencies": {
"@thi.ng/snowpack-env": "^2.3.3"
"@types/snowpack-env": "^2.3.4"
},
"dependencies": {
"@thi.ng/compose": "latest",
Expand Down
1 change: 1 addition & 0 deletions examples/rstream-spreadsheet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@thi.ng/checks": "latest",
"@thi.ng/defmulti": "latest",
"@thi.ng/errors": "latest",
"@thi.ng/expose": "latest",
"@thi.ng/hdom": "latest",
"@thi.ng/math": "latest",
"@thi.ng/memoize": "latest",
Expand Down
1 change: 0 additions & 1 deletion examples/shader-ast-tunnel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
},
"dependencies": {
"@thi.ng/color": "latest",
"@thi.ng/pixel": "latest",
"@thi.ng/shader-ast": "latest",
"@thi.ng/shader-ast-glsl": "latest",
"@thi.ng/shader-ast-js": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/spline-tangent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "yarn clean && ../../node_modules/.bin/snowpack build"
},
"devDependencies": {
"@thi.ng/snowpack-env": "^2.3.3"
"@types/snowpack-env": "^2.3.4"
},
"dependencies": {
"@thi.ng/api": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/text-canvas-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "yarn clean && ../../node_modules/.bin/snowpack build"
},
"devDependencies": {
"@thi.ng/snowpack-env": "^2.3.3"
"@types/snowpack-env": "^2.3.4"
},
"dependencies": {
"@thi.ng/pixel": "latest",
Expand Down
4 changes: 2 additions & 2 deletions examples/webgl-multipass/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { canvas2d } from "@thi.ng/pixel/canvas";
import { GRAY8 } from "@thi.ng/pixel/format/gray8";
import { PackedBuffer } from "@thi.ng/pixel/packed";
import { packedBuffer } from "@thi.ng/pixel/packed";
import type { Vec2Sym, Vec4Sym } from "@thi.ng/shader-ast";
import { clamp01 } from "@thi.ng/shader-ast-stdlib/math/clamp";
import { fit1101 } from "@thi.ng/shader-ast-stdlib/math/fit";
Expand Down Expand Up @@ -101,7 +101,7 @@ toy.update(0);

const canv = canvas2d(32, 32);
document.body.appendChild(canv.canvas);
new PackedBuffer(
packedBuffer(
32,
32,
GRAY8,
Expand Down

0 comments on commit d684881

Please sign in to comment.