Skip to content

Commit

Permalink
merge v3 into v-3/beta-color-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvoskamp committed Sep 7, 2023
2 parents c9c1dda + 2bf7e57 commit 23a70d0
Show file tree
Hide file tree
Showing 33 changed files with 282 additions and 198 deletions.
4 changes: 2 additions & 2 deletions apps/gallery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/gallery",
"version": "3.0.0-73ed03f2",
"version": "3.0.0-924c61f0",
"private": true,
"main": "index.js",
"scripts": {
Expand All @@ -9,7 +9,7 @@
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"dependencies": {
"@web3modal/ui": "3.0.0-73ed03f2",
"@web3modal/ui": "3.0.0-924c61f0",
"lit": "2.8.0",
"storybook": "7.4.0"
},
Expand Down
5 changes: 2 additions & 3 deletions apps/gallery/utils/PresetUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import type {
LogoType,
PlacementType,
SpacingType,
TagLabelType,
TagType,
TextAlign,
TextType,
Expand Down Expand Up @@ -261,9 +260,9 @@ export const accountEntryOptions: AccountEntryType[] = ['icon', 'image']

export const themeOptions: ThemeType[] = ['dark', 'light']

export const tagLabelOptions: TagLabelType[] = ['get wallet', 'installed', 'qr code', 'recent']

export const iconBoxBorderOptions: IconBoxBorderType[] = [
'wui-color-bg-125',
'wui-overlay-accent-010'
]

export const tagLabelOptions = ['get wallet', 'installed', 'qr code', 'recent']
10 changes: 5 additions & 5 deletions apps/laboratory/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/laboratory",
"version": "3.0.0-73ed03f2",
"version": "3.0.0-924c61f0",
"private": true,
"scripts": {
"dev:laboratory": "next dev",
Expand All @@ -11,12 +11,12 @@
"@chakra-ui/react": "2.8.0",
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@sentry/browser": "7.67.0",
"@sentry/react": "7.67.0",
"@web3modal/wagmi": "3.0.0-73ed03f2",
"@sentry/browser": "7.68.0",
"@sentry/react": "7.68.0",
"@web3modal/wagmi": "3.0.0-924c61f0",
"framer-motion": "10.16.4",
"next": "13.4.19",
"react-icons": "4.10.1",
"react-icons": "4.11.0",
"valtio": "1.11.2"
}
}
3 changes: 1 addition & 2 deletions apps/laboratory/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ export const wagmiConfig = defaultWagmiConfig({ chains, projectId, appName: 'Web
export const modal = createWeb3Modal({
wagmiConfig,
projectId,
chains,
defaultChain: zora
chains
})

export default function HomePage() {
Expand Down
3 changes: 1 addition & 2 deletions apps/laboratory/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"jsx": "preserve",
"noEmit": true,
"incremental": true
"noEmit": true
},
"include": ["next-env.d.ts", "src"]
}
15 changes: 4 additions & 11 deletions dangerfile.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable no-await-in-loop */
import { danger, fail, message, warn } from 'danger'
import corePackageJson from './packages/core/package.json' assert { type: 'json' }
import { VERSION as WAGMI_PACKAGE_VERSION } from './packages/wagmi/src/utils/constants'

// -- Constants ---------------------------------------------------------------
const TYPE_COMMENT = `// -- Types --------------------------------------------- //`
Expand Down Expand Up @@ -242,17 +243,9 @@ async function checkClientPackages() {
checkClientPackages()

// -- Check sdkVersion ------------------------------------------------------------
async function checkSdkVersion() {
const wagmiConstantsPath = 'packages/wagmi/src/utils/constants.ts'
const wagmiConstants = all_files.find(f => f.includes(wagmiConstantsPath))

if (wagmiConstants) {
const diff = await diffForFile(wagmiConstants)
if (!diff?.after.includes(`VERSION = '${corePackageJson.version}'`)) {
fail(`VERSION in ${wagmiConstantsPath} does not match latest packages/core version`)
}
} else {
warn(`No version updates in ${wagmiConstantsPath} file`)
function checkSdkVersion() {
if (WAGMI_PACKAGE_VERSION !== corePackageJson.version) {
fail(`VERSION in wagmi/utils/constants does't match core package.json version`)
}
}
checkSdkVersion()
4 changes: 2 additions & 2 deletions examples/react-wagmi/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@examples/react-wagmi",
"private": true,
"version": "3.0.0-73ed03f2",
"version": "3.0.0-924c61f0",
"scripts": {
"dev:example": "vite --port 3001",
"build:examples": "vite build"
},
"dependencies": {
"@web3modal/wagmi": "3.0.0-73ed03f2"
"@web3modal/wagmi": "3.0.0-924c61f0"
},
"devDependencies": {
"@vitejs/plugin-react": "4.0.4"
Expand Down
4 changes: 2 additions & 2 deletions examples/vue-wagmi/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@examples/vue-wagmi",
"private": true,
"version": "3.0.0-73ed03f2",
"version": "3.0.0-924c61f0",
"scripts": {
"dev:example": "vite --port 3002",
"build:examples": "vite build"
},
"dependencies": {
"@web3modal/wagmi": "3.0.0-73ed03f2"
"@web3modal/wagmi": "3.0.0-924c61f0"
},
"devDependencies": {
"@vitejs/plugin-vue": "4.3.4"
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"apps/*",
"examples/*"
],
"version": "3.0.0-73ed03f2",
"version": "3.0.0-924c61f0",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
Loading

0 comments on commit 23a70d0

Please sign in to comment.