Skip to content

Commit

Permalink
Revert "posthog"
Browse files Browse the repository at this point in the history
This reverts commit fd5b6b1.
  • Loading branch information
mbostock committed Jun 18, 2023
1 parent fd5b6b1 commit 5fa55f0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 31 deletions.
2 changes: 0 additions & 2 deletions docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ import * as d3 from "d3";
import {useData} from "vitepress";
import CustomLayout from "./CustomLayout.vue";
import "./custom.css";
import enablePosthog from "./posthog.js";

export default {
extends: DefaultTheme,
Layout: CustomLayout,
enhanceApp({app, router}) {
globalThis.d3 = d3; // for console testing!
Object.defineProperty(app.config.globalProperties, "$dark", {get: () => useData().isDark.value});
enablePosthog(app, router);
}
};
16 changes: 0 additions & 16 deletions docs/.vitepress/theme/posthog.js

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"@rollup/plugin-terser": "^0.4.0",
"eslint": "8",
"mocha": "10",
"posthog-js": "^1.68.1",
"rollup": "3",
"topojson-client": "^3.1.0",
"vitepress": "^1.0.0-beta.2"
Expand Down
12 changes: 0 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1270,11 +1270,6 @@ fastq@^1.6.0:
dependencies:
reusify "^1.0.4"

fflate@^0.4.1:
version "0.4.8"
resolved "https://registry.yarnpkg.com/fflate/-/fflate-0.4.8.tgz#f90b82aefbd8ac174213abb338bd7ef848f0f5ae"
integrity sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==

file-entry-cache@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
Expand Down Expand Up @@ -1749,13 +1744,6 @@ postcss@^8.1.10, postcss@^8.4.23:
picocolors "^1.0.0"
source-map-js "^1.0.2"

posthog-js@^1.68.1:
version "1.68.1"
resolved "https://registry.yarnpkg.com/posthog-js/-/posthog-js-1.68.1.tgz#eadca3db9e45287771fe3a8b4100bffe50891750"
integrity sha512-edwURtegKXIUEdjgLErJF8cfCuwj7kw8JDmomnVXp9cjwaJT8Y3BRLh5Lh81GnjwGuifp1vjOL0hD3AamtsmGg==
dependencies:
fflate "^0.4.1"

preact@^10.0.0:
version "10.15.1"
resolved "https://registry.yarnpkg.com/preact/-/preact-10.15.1.tgz#a1de60c9fc0c79a522d969c65dcaddc5d994eede"
Expand Down

0 comments on commit 5fa55f0

Please sign in to comment.