From e7a20938b33a930a24fe131ad91237f3bc0a442d Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 5 Feb 2022 17:12:34 -0800 Subject: [PATCH] Replaced gatsby plugins with forked versions --- gatsby-config.js | 2 +- package-lock.json | 53 +++++++-------- package.json | 4 +- .../components/menu-components.js | 64 +++++++++---------- 4 files changed, 62 insertions(+), 61 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 8f80105..a45e462 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -16,7 +16,7 @@ module.exports = { // } // }, // require.resolve('/home/trout/work/psf/gatsby-plugin-bch-sweep') - 'gatsby-plugin-bch-sweep', + 'fullstack-gatsby-plugin-bch-sweep', 'gatsby-plugin-bch-create-token' ], // https://www.gatsbyjs.com/docs/reference/release-notes/v2.28/#feature-flags-in-gatsby-configjs diff --git a/package-lock.json b/package-lock.json index ce3925e..ecb03ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,10 +12,10 @@ "@capacitor/android": "2.4.6", "@capacitor/cli": "2.4.6", "@capacitor/core": "2.4.6", - "fullstack-gatsby-theme-bch-wallet": "1.0.1", + "fullstack-gatsby-plugin-bch-sweep": "1.0.0", + "fullstack-gatsby-theme-bch-wallet": "1.0.2", "gatsby": "4.4.0", - "gatsby-plugin-bch-create-token": "1.1.1", - "gatsby-plugin-bch-sweep": "1.5.5" + "gatsby-plugin-bch-create-token": "1.1.1" }, "devDependencies": { "capacitor-resources": "2.0.5", @@ -14445,10 +14445,20 @@ "moment": "^2.20.1" } }, + "node_modules/fullstack-gatsby-plugin-bch-sweep": { + "version": "1.0.0", + "resolved": "http://94.130.170.209:4873/fullstack-gatsby-plugin-bch-sweep/-/fullstack-gatsby-plugin-bch-sweep-1.0.0.tgz", + "integrity": "sha512-yMRrqMqv7C3Pmil4odzV8VdC4d4mC4c+lJc5d6DJaqadNg3+Ns7msmCGn2Hfhq//hYbJzCQLMkS1o2gScbg2xA==", + "license": "MIT", + "dependencies": { + "adminlte-2-react": "^0.1.27" + } + }, "node_modules/fullstack-gatsby-theme-bch-wallet": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/fullstack-gatsby-theme-bch-wallet/-/fullstack-gatsby-theme-bch-wallet-1.0.1.tgz", - "integrity": "sha512-zi8s+OnbTVQWjjecmpoF3ZrbfouFDvlhMolK7W0Jk1dmRc5HYprV+oTLzcK+Wv4MJkeJAypwzb0NwHaeV3bGyw==", + "version": "1.0.2", + "resolved": "http://94.130.170.209:4873/fullstack-gatsby-theme-bch-wallet/-/fullstack-gatsby-theme-bch-wallet-1.0.2.tgz", + "integrity": "sha512-zEYWI7iBcfTSG6bxa8rCOayKjmLD/DHsF7Ft9UwTgCHbRjqwhlv7sT7OpBo3nihf6qsQgA/G1R1L30i9ZLcM8g==", + "license": "MIT", "dependencies": { "@capacitor/android": "3.3.2", "@capacitor/cli": "3.3.2", @@ -16696,15 +16706,6 @@ "webpack": "^5.65.0" } }, - "node_modules/gatsby-plugin-bch-sweep": { - "version": "1.5.5", - "resolved": "http://94.130.170.209:4873/gatsby-plugin-bch-sweep/-/gatsby-plugin-bch-sweep-1.5.5.tgz", - "integrity": "sha512-PpWp7tdcl7raW7aVu0pWeDjpId3pFJgfK1ZWgn65Hw5YdbPWkm62WGCcaO0uT/Of9umqc5quDuNH6ogR1Dmx8A==", - "license": "MIT", - "dependencies": { - "adminlte-2-react": "^0.1.27" - } - }, "node_modules/gatsby-plugin-page-creator": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-4.4.0.tgz", @@ -47130,10 +47131,18 @@ "integrity": "sha512-JGWpECKgza/344bbF5QT0hBJpx04DZ/7QGPlR1ZbAwrG6Yz6mWEkQd+NnZUh1sK6HCBIPnPRW2x53aJxeLGvvQ==", "requires": {} }, + "fullstack-gatsby-plugin-bch-sweep": { + "version": "1.0.0", + "resolved": "http://94.130.170.209:4873/fullstack-gatsby-plugin-bch-sweep/-/fullstack-gatsby-plugin-bch-sweep-1.0.0.tgz", + "integrity": "sha512-yMRrqMqv7C3Pmil4odzV8VdC4d4mC4c+lJc5d6DJaqadNg3+Ns7msmCGn2Hfhq//hYbJzCQLMkS1o2gScbg2xA==", + "requires": { + "adminlte-2-react": "^0.1.27" + } + }, "fullstack-gatsby-theme-bch-wallet": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/fullstack-gatsby-theme-bch-wallet/-/fullstack-gatsby-theme-bch-wallet-1.0.1.tgz", - "integrity": "sha512-zi8s+OnbTVQWjjecmpoF3ZrbfouFDvlhMolK7W0Jk1dmRc5HYprV+oTLzcK+Wv4MJkeJAypwzb0NwHaeV3bGyw==", + "version": "1.0.2", + "resolved": "http://94.130.170.209:4873/fullstack-gatsby-theme-bch-wallet/-/fullstack-gatsby-theme-bch-wallet-1.0.2.tgz", + "integrity": "sha512-zEYWI7iBcfTSG6bxa8rCOayKjmLD/DHsF7Ft9UwTgCHbRjqwhlv7sT7OpBo3nihf6qsQgA/G1R1L30i9ZLcM8g==", "requires": { "@capacitor/android": "3.3.2", "@capacitor/cli": "3.3.2", @@ -49146,14 +49155,6 @@ "webpack": "^5.65.0" } }, - "gatsby-plugin-bch-sweep": { - "version": "1.5.5", - "resolved": "http://94.130.170.209:4873/gatsby-plugin-bch-sweep/-/gatsby-plugin-bch-sweep-1.5.5.tgz", - "integrity": "sha512-PpWp7tdcl7raW7aVu0pWeDjpId3pFJgfK1ZWgn65Hw5YdbPWkm62WGCcaO0uT/Of9umqc5quDuNH6ogR1Dmx8A==", - "requires": { - "adminlte-2-react": "^0.1.27" - } - }, "gatsby-plugin-page-creator": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-4.4.0.tgz", diff --git a/package.json b/package.json index 8eea5af..2868429 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "@capacitor/core": "2.4.6", "gatsby": "4.4.0", "gatsby-plugin-bch-create-token": "1.1.1", - "gatsby-plugin-bch-sweep": "1.5.5", - "fullstack-gatsby-theme-bch-wallet": "1.0.1" + "fullstack-gatsby-plugin-bch-sweep": "1.0.0", + "fullstack-gatsby-theme-bch-wallet": "1.0.2" }, "repository": { "type": "git", diff --git a/src/fullstack-gatsby-theme-bch-wallet/components/menu-components.js b/src/fullstack-gatsby-theme-bch-wallet/components/menu-components.js index b20a8e3..0abae73 100644 --- a/src/fullstack-gatsby-theme-bch-wallet/components/menu-components.js +++ b/src/fullstack-gatsby-theme-bch-wallet/components/menu-components.js @@ -6,65 +6,65 @@ It over-rides he default file in the gatsby-ipfs-web-wallet Theme. */ -import React from 'react' -import { Sidebar } from 'adminlte-2-react' +import React from "react" +import { Sidebar } from "adminlte-2-react" -import Wallet from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/wallet' -import Tokens from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/tokens' -import Configure from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/configure' -import SendReceive from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/send-receive' +import Wallet from "fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/wallet" +import Tokens from "fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/tokens" +import Configure from "fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/configure" +import SendReceive from "fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/send-receive" -import About from '../../about' -import Sweep from 'gatsby-plugin-bch-sweep/src/components/sweep/index' -import CreateToken from 'gatsby-plugin-bch-create-token/src/components/create-token' +import About from "../../about" +import Sweep from "fullstack-gatsby-plugin-bch-sweep/src/components/sweep/index" +import CreateToken from "gatsby-plugin-bch-create-token/src/components/create-token" const { Item } = Sidebar const MenuComponents = props => { return [ { - key: 'Tokens', - component: , - menuItem: + key: "Tokens", + component: , + menuItem: }, { - key: 'Send/Receive BCH', - component: , + key: "Send/Receive BCH", + component: , menuItem: ( ) }, { - key: 'Sweep', - component: , - menuItem: + key: "Sweep", + component: , + menuItem: }, { - key: 'Wallet', - component: , + key: "Wallet", + component: , // component: , - menuItem: + menuItem: }, { - key: 'Create Token', - component: , + key: "Create Token", + component: , menuItem: ( - + ) }, { - key: 'Configure', - component: , - menuItem: + key: "Configure", + component: , + menuItem: }, { - key: 'About', - component: , - menuItem: + key: "About", + component: , + menuItem: } ] }