Replaced gatsby plugins with forked versions

This commit is contained in:
Chris Troutner
2022-02-05 17:12:34 -08:00
parent 5d841455be
commit e7a20938b3
4 changed files with 62 additions and 61 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ module.exports = {
// } // }
// }, // },
// require.resolve('/home/trout/work/psf/gatsby-plugin-bch-sweep') // require.resolve('/home/trout/work/psf/gatsby-plugin-bch-sweep')
'gatsby-plugin-bch-sweep', 'fullstack-gatsby-plugin-bch-sweep',
'gatsby-plugin-bch-create-token' 'gatsby-plugin-bch-create-token'
], ],
// https://www.gatsbyjs.com/docs/reference/release-notes/v2.28/#feature-flags-in-gatsby-configjs // https://www.gatsbyjs.com/docs/reference/release-notes/v2.28/#feature-flags-in-gatsby-configjs
+27 -26
View File
@@ -12,10 +12,10 @@
"@capacitor/android": "2.4.6", "@capacitor/android": "2.4.6",
"@capacitor/cli": "2.4.6", "@capacitor/cli": "2.4.6",
"@capacitor/core": "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": "4.4.0",
"gatsby-plugin-bch-create-token": "1.1.1", "gatsby-plugin-bch-create-token": "1.1.1"
"gatsby-plugin-bch-sweep": "1.5.5"
}, },
"devDependencies": { "devDependencies": {
"capacitor-resources": "2.0.5", "capacitor-resources": "2.0.5",
@@ -14445,10 +14445,20 @@
"moment": "^2.20.1" "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": { "node_modules/fullstack-gatsby-theme-bch-wallet": {
"version": "1.0.1", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/fullstack-gatsby-theme-bch-wallet/-/fullstack-gatsby-theme-bch-wallet-1.0.1.tgz", "resolved": "http://94.130.170.209:4873/fullstack-gatsby-theme-bch-wallet/-/fullstack-gatsby-theme-bch-wallet-1.0.2.tgz",
"integrity": "sha512-zi8s+OnbTVQWjjecmpoF3ZrbfouFDvlhMolK7W0Jk1dmRc5HYprV+oTLzcK+Wv4MJkeJAypwzb0NwHaeV3bGyw==", "integrity": "sha512-zEYWI7iBcfTSG6bxa8rCOayKjmLD/DHsF7Ft9UwTgCHbRjqwhlv7sT7OpBo3nihf6qsQgA/G1R1L30i9ZLcM8g==",
"license": "MIT",
"dependencies": { "dependencies": {
"@capacitor/android": "3.3.2", "@capacitor/android": "3.3.2",
"@capacitor/cli": "3.3.2", "@capacitor/cli": "3.3.2",
@@ -16696,15 +16706,6 @@
"webpack": "^5.65.0" "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": { "node_modules/gatsby-plugin-page-creator": {
"version": "4.4.0", "version": "4.4.0",
"resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-4.4.0.tgz", "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==", "integrity": "sha512-JGWpECKgza/344bbF5QT0hBJpx04DZ/7QGPlR1ZbAwrG6Yz6mWEkQd+NnZUh1sK6HCBIPnPRW2x53aJxeLGvvQ==",
"requires": {} "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": { "fullstack-gatsby-theme-bch-wallet": {
"version": "1.0.1", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/fullstack-gatsby-theme-bch-wallet/-/fullstack-gatsby-theme-bch-wallet-1.0.1.tgz", "resolved": "http://94.130.170.209:4873/fullstack-gatsby-theme-bch-wallet/-/fullstack-gatsby-theme-bch-wallet-1.0.2.tgz",
"integrity": "sha512-zi8s+OnbTVQWjjecmpoF3ZrbfouFDvlhMolK7W0Jk1dmRc5HYprV+oTLzcK+Wv4MJkeJAypwzb0NwHaeV3bGyw==", "integrity": "sha512-zEYWI7iBcfTSG6bxa8rCOayKjmLD/DHsF7Ft9UwTgCHbRjqwhlv7sT7OpBo3nihf6qsQgA/G1R1L30i9ZLcM8g==",
"requires": { "requires": {
"@capacitor/android": "3.3.2", "@capacitor/android": "3.3.2",
"@capacitor/cli": "3.3.2", "@capacitor/cli": "3.3.2",
@@ -49146,14 +49155,6 @@
"webpack": "^5.65.0" "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": { "gatsby-plugin-page-creator": {
"version": "4.4.0", "version": "4.4.0",
"resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-4.4.0.tgz", "resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-4.4.0.tgz",
+2 -2
View File
@@ -26,8 +26,8 @@
"@capacitor/core": "2.4.6", "@capacitor/core": "2.4.6",
"gatsby": "4.4.0", "gatsby": "4.4.0",
"gatsby-plugin-bch-create-token": "1.1.1", "gatsby-plugin-bch-create-token": "1.1.1",
"gatsby-plugin-bch-sweep": "1.5.5", "fullstack-gatsby-plugin-bch-sweep": "1.0.0",
"fullstack-gatsby-theme-bch-wallet": "1.0.1" "fullstack-gatsby-theme-bch-wallet": "1.0.2"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -6,65 +6,65 @@
It over-rides he default file in the gatsby-ipfs-web-wallet Theme. It over-rides he default file in the gatsby-ipfs-web-wallet Theme.
*/ */
import React from 'react' import React from "react"
import { Sidebar } from 'adminlte-2-react' import { Sidebar } from "adminlte-2-react"
import Wallet from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/wallet' 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 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 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 SendReceive from "fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/send-receive"
import About from '../../about' import About from "../../about"
import Sweep from 'gatsby-plugin-bch-sweep/src/components/sweep/index' import Sweep from "fullstack-gatsby-plugin-bch-sweep/src/components/sweep/index"
import CreateToken from 'gatsby-plugin-bch-create-token/src/components/create-token' import CreateToken from "gatsby-plugin-bch-create-token/src/components/create-token"
const { Item } = Sidebar const { Item } = Sidebar
const MenuComponents = props => { const MenuComponents = props => {
return [ return [
{ {
key: 'Tokens', key: "Tokens",
component: <Tokens key='Tokens' {...props} />, component: <Tokens key="Tokens" {...props} />,
menuItem: <Item icon='fas-coins' key='Tokens' text='Tokens' /> menuItem: <Item icon="fas-coins" key="Tokens" text="Tokens" />
}, },
{ {
key: 'Send/Receive BCH', key: "Send/Receive BCH",
component: <SendReceive key='Send/Receive BCH' {...props} />, component: <SendReceive key="Send/Receive BCH" {...props} />,
menuItem: ( menuItem: (
<Item <Item
icon='fa-exchange-alt' icon="fa-exchange-alt"
key='Send/Receive BCH' key="Send/Receive BCH"
text='Send/Receive BCH' text="Send/Receive BCH"
/> />
) )
}, },
{ {
key: 'Sweep', key: "Sweep",
component: <Sweep key='Sweep' {...props} />, component: <Sweep key="Sweep" {...props} />,
menuItem: <Item icon='fas-arrow-circle-up' key='Sweep' text='Sweep' /> menuItem: <Item icon="fas-arrow-circle-up" key="Sweep" text="Sweep" />
}, },
{ {
key: 'Wallet', key: "Wallet",
component: <Wallet key='Wallet' interface='rest-api' {...props} />, component: <Wallet key="Wallet" interface="rest-api" {...props} />,
// component: <Wallet key="Wallet" interface="consumer-api" {...props} />, // component: <Wallet key="Wallet" interface="consumer-api" {...props} />,
menuItem: <Item icon='fa-wallet' key='Wallet' text='Wallet' /> menuItem: <Item icon="fa-wallet" key="Wallet" text="Wallet" />
}, },
{ {
key: 'Create Token', key: "Create Token",
component: <CreateToken key='Create Token' {...props} />, component: <CreateToken key="Create Token" {...props} />,
menuItem: ( menuItem: (
<Item icon='fas-plus-square' key='Create Token' text='Create Token' /> <Item icon="fas-plus-square" key="Create Token" text="Create Token" />
) )
}, },
{ {
key: 'Configure', key: "Configure",
component: <Configure key='Configure' {...props} />, component: <Configure key="Configure" {...props} />,
menuItem: <Item icon='fas-cog' key='Configure' text='Configure' /> menuItem: <Item icon="fas-cog" key="Configure" text="Configure" />
}, },
{ {
key: 'About', key: "About",
component: <About key='About' {...props} />, component: <About key="About" {...props} />,
menuItem: <Item icon='fas-question' key='About' text='About' /> menuItem: <Item icon="fas-question" key="About" text="About" />
} }
] ]
} }