From b8e6a01833117e549b2d8d608293ed58a25a9e09 Mon Sep 17 00:00:00 2001 From: Sebastian Jambor Date: Mon, 9 Jan 2023 14:46:10 +0100 Subject: [PATCH] use public package --- app/javascript/mastodon/features/activity_log/index.js | 2 +- app/javascript/styles/application.scss | 2 +- package.json | 1 + yarn.lock | 5 +++++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/javascript/mastodon/features/activity_log/index.js b/app/javascript/mastodon/features/activity_log/index.js index 8efb3d65a..504d9d845 100644 --- a/app/javascript/mastodon/features/activity_log/index.js +++ b/app/javascript/mastodon/features/activity_log/index.js @@ -5,7 +5,7 @@ import ColumnHeader from 'mastodon/components/column_header'; import dummy_data from './dummy-data.json'; -import ActivityPubVisualization from 'activity-pub-visualization'; +import ActivityPubVisualization from 'activitypub-visualization'; export default function ActivityLog({ multiColumn }) { diff --git a/app/javascript/styles/application.scss b/app/javascript/styles/application.scss index c60a5fa94..b65bb02d4 100644 --- a/app/javascript/styles/application.scss +++ b/app/javascript/styles/application.scss @@ -24,4 +24,4 @@ @import 'mastodon/rtl'; @import 'mastodon/accessibility'; -@import 'activity-pub-visualization'; +@import 'activitypub-visualization'; diff --git a/package.json b/package.json index 96f1e7b0e..b70102c64 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "@github/webauthn-json": "^0.5.7", "@rails/ujs": "^6.1.7", "abortcontroller-polyfill": "^1.7.5", + "activitypub-visualization": "^1.0.0", "array-includes": "^3.1.6", "arrow-key-navigation": "^1.2.0", "autoprefixer": "^9.8.8", diff --git a/yarn.lock b/yarn.lock index cd14ee89a..3721f03fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2190,6 +2190,11 @@ acorn@^8.8.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== +activitypub-visualization@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/activitypub-visualization/-/activitypub-visualization-1.0.0.tgz#728ce9a20336bf927980748c37c8b5206cafecac" + integrity sha512-azxnf4POMTsI8J0PiOXeD70wZvxAd6KdcD2YIE+AqkW00Fgg39Jxi+OcImc8GoAiUh7dpFp6nLA+WVH4uVnIEw== + agent-base@6: version "6.0.2" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77"