Skip to content

Commit de3ccc1

Browse files
authored
Bump sigmacomputing/plugin to latest (#86)
Bump @sigmacomputing/plugin to latest (1.1.1), either using npm or yarn based on which package manager the plugin uses. Ensure I can run all the plugins locally, and fix the some of the warnings that come up when running these plugins.
1 parent ae5cb7c commit de3ccc1

File tree

38 files changed

+122
-145
lines changed

38 files changed

+122
-145
lines changed

actions-sample-plugin/package-lock.json

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

actions-sample-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@sigmacomputing/plugin": "^1.0.5",
13+
"@sigmacomputing/plugin": "^1.1.1",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0"
1616
},
@@ -27,4 +27,4 @@
2727
"vite": "^5.2.0"
2828
},
2929
"packageManager": "yarn@4.3.1+sha512.af78262d7d125afbfeed740602ace8c5e4405cd7f4735c08feb327286b2fdb2390fbca01589bfd1f50b1240548b74806767f5a063c94b67e431aabd0d86f7774"
30-
}
30+
}

clustering-map/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@sigmacomputing/plugin": "^1.0.6",
13+
"@deck.gl/core": "8.3.11",
14+
"@deck.gl/layers": "8.3.11",
15+
"@deck.gl/react": "8.3.11",
16+
"@sigmacomputing/plugin": "^1.1.1",
1417
"copy-to-clipboard": "^3.3.1",
1518
"deck.gl": "8.3.11",
1619
"mapbox-gl": "^3.10.0",

clustering-map/yarn.lock

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,13 +1319,13 @@ __metadata:
13191319
languageName: node
13201320
linkType: hard
13211321

1322-
"@sigmacomputing/plugin@npm:^1.0.6":
1323-
version: 1.0.6
1324-
resolution: "@sigmacomputing/plugin@npm:1.0.6"
1322+
"@sigmacomputing/plugin@npm:^1.1.1":
1323+
version: 1.1.1
1324+
resolution: "@sigmacomputing/plugin@npm:1.1.1"
13251325
peerDependencies:
1326-
react: ^16.8.0 || ^17.0.0 || ^18.0.0
1327-
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
1328-
checksum: 10c0/30326be8a39fff6368db56d335cc48c8ff7d61e0dd590a721b572d2a65051c9669a3d632564686ce8d5670126cccf2119c36bd1d96f91ad4949194f8a6b2e85f
1326+
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
1327+
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
1328+
checksum: 10c0/f2e3c15f37287cc81a13586f13d7d6702418ba7dcea3b25cd4313622dd26a533a68f1e3af712bac64a44ca80484d27ba763c9b71c8a39174661dc434d646d547
13291329
languageName: node
13301330
linkType: hard
13311331

@@ -2079,7 +2079,10 @@ __metadata:
20792079
version: 0.0.0-use.local
20802080
resolution: "clustering-map@workspace:."
20812081
dependencies:
2082-
"@sigmacomputing/plugin": "npm:^1.0.6"
2082+
"@deck.gl/core": "npm:8.3.11"
2083+
"@deck.gl/layers": "npm:8.3.11"
2084+
"@deck.gl/react": "npm:8.3.11"
2085+
"@sigmacomputing/plugin": "npm:^1.1.1"
20832086
"@testing-library/jest-dom": "npm:^5.11.4"
20842087
"@testing-library/react": "npm:^11.1.0"
20852088
"@testing-library/user-event": "npm:^12.1.10"

control-api-demo-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@sigmacomputing/plugin": "^0.7.33",
6+
"@sigmacomputing/plugin": "^1.1.1",
77
"@testing-library/jest-dom": "^5.14.1",
88
"@testing-library/react": "^13.0.0",
99
"@testing-library/user-event": "^13.2.1",
@@ -36,4 +36,4 @@
3636
"last 1 safari version"
3737
]
3838
}
39-
}
39+
}

control-api-demo-plugin/yarn.lock

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,17 +1555,10 @@
15551555
resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.1.4.tgz#0c8b74c50f29ee44f423f7416829c0bf8bb5eb27"
15561556
integrity sha512-LwzQKA4vzIct1zNZzBmRKI9QuNpLgTQMEjsQLf3BXuGYb3QPTP4Yjf6mkdX+X1mYttZ808QpOwAzZjv28kq7DA==
15571557

1558-
"@sigmacomputing/plugin-types@^0.7.34":
1559-
version "0.7.34"
1560-
resolved "https://registry.yarnpkg.com/@sigmacomputing/plugin-types/-/plugin-types-0.7.34.tgz#4876401176d8c642431bd43a51116a0d8feba2c9"
1561-
integrity sha512-5VXuRR5t91vp6w5MdJGJ9bRzPsCp2MHSHjNKpWIJsgRY4EXjgVAGFnpp3P116yl1YOQHb/crTtTox0JBn8gTHg==
1562-
1563-
"@sigmacomputing/plugin@^0.7.33":
1564-
version "0.7.34"
1565-
resolved "https://registry.yarnpkg.com/@sigmacomputing/plugin/-/plugin-0.7.34.tgz#723b36761043ce426aebdb4be40a917b35a442f8"
1566-
integrity sha512-k/gPpdu/U0nF35p+RGQ8LYuM5UR8WUmeVcLw4E0TvEsfnHn1vfjbyM7QeGxIJsSs/0TBV3G2NAXyiOin+UFmJw==
1567-
dependencies:
1568-
"@sigmacomputing/plugin-types" "^0.7.34"
1558+
"@sigmacomputing/plugin@^1.1.1":
1559+
version "1.1.1"
1560+
resolved "https://registry.yarnpkg.com/@sigmacomputing/plugin/-/plugin-1.1.1.tgz#a9f92b609abf4324f5707be509ebf6aee55ece37"
1561+
integrity sha512-vlJX+vibR6Mb9eX/InK28wiMZA4rO0qWzvMaCklJSkXw18XOx7yj8WZ65DOeol6eD9MzkZdEuJtCK+wwv7K0sA==
15691562

15701563
"@sinclair/typebox@^0.24.1":
15711564
version "0.24.20"

d3-bar-chart-race/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@emotion/react": "^11.7.1",
77
"@emotion/styled": "^11.6.0",
88
"@observablehq/stdlib": "^3.15.4",
9-
"@sigmacomputing/plugin": "^0.6.71",
9+
"@sigmacomputing/plugin": "^1.1.1",
1010
"@testing-library/jest-dom": "^5.16.1",
1111
"@testing-library/react": "^12.1.2",
1212
"@testing-library/user-event": "^13.5.0",

d3-bar-chart-race/src/App.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ function transform(config, columns, sigmaData) {
7777

7878
function createkeyframes() {
7979
const keyframes = [];
80-
let ka, a;
81-
for ([ka, a] of datevalues) {
82-
keyframes.push([ka, rank((name) => a.get(name) || 0)]);
80+
for (const [ka, a] of datevalues) {
81+
const dataMap = a;
82+
keyframes.push([ka, rank((name) => dataMap.get(name) || 0)]);
8383
}
8484
return keyframes;
8585
}

d3-bar-chart-race/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,10 +1533,10 @@
15331533
"resolved" "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.1.0.tgz"
15341534
"version" "1.1.0"
15351535

1536-
"@sigmacomputing/plugin@^0.6.71":
1537-
"integrity" "sha512-Si0z4pvJEF4FPAQhNqliybFfy26S2nZILgyZwZ2sUt6ebH6E6IZw9Ody3Ip56tmrtBQXFb304DHumFQRcXA3/A=="
1538-
"resolved" "https://registry.npmjs.org/@sigmacomputing/plugin/-/plugin-0.6.71.tgz"
1539-
"version" "0.6.71"
1536+
"@sigmacomputing/plugin@^1.1.1":
1537+
"integrity" "sha512-vlJX+vibR6Mb9eX/InK28wiMZA4rO0qWzvMaCklJSkXw18XOx7yj8WZ65DOeol6eD9MzkZdEuJtCK+wwv7K0sA=="
1538+
"resolved" "https://registry.npmjs.org/@sigmacomputing/plugin/-/plugin-1.1.1.tgz"
1539+
"version" "1.1.1"
15401540

15411541
"@sinonjs/commons@^1.7.0":
15421542
"integrity" "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ=="

d3-graph/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@sigmacomputing/plugin": "^0.6.43",
6+
"@sigmacomputing/plugin": "^1.1.1",
77
"@testing-library/jest-dom": "^5.11.4",
88
"@testing-library/react": "^11.1.0",
99
"@testing-library/user-event": "^12.1.10",

0 commit comments

Comments
 (0)