Skip to content

Commit 1c3eddc

Browse files
[chore] upgrade next dependencies (#704)
* ff * CI * F * plz * fix build --------- Co-authored-by: Michael Hayes <[email protected]>
1 parent 40f7878 commit 1c3eddc

File tree

16 files changed

+560
-584
lines changed

16 files changed

+560
-584
lines changed

.changeset/fix-entry-functions-generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@mysten/codegen": patch
2+
'@mysten/codegen': patch
33
---
44

55
Fix hasFunctions() to respect privateMethods configuration
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
:root {
2-
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
3-
line-height: 1.5;
4-
font-weight: 400;
2+
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
3+
line-height: 1.5;
4+
font-weight: 400;
55

6-
color: #213547;
7-
background-color: #ffffff;
6+
color: #213547;
7+
background-color: #ffffff;
88

9-
font-synthesis: none;
10-
text-rendering: optimizeLegibility;
11-
-webkit-font-smoothing: antialiased;
12-
-moz-osx-font-smoothing: grayscale;
9+
font-synthesis: none;
10+
text-rendering: optimizeLegibility;
11+
-webkit-font-smoothing: antialiased;
12+
-moz-osx-font-smoothing: grayscale;
1313
}

packages/dapp-kit-next/examples/next-js/simple/eslint.config.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import { FlatCompat } from '@eslint/eslintrc';
22

33
const compat = new FlatCompat({
44
baseDirectory: import.meta.dirname,
5-
})
5+
});
66

77
const eslintConfig = [
88
...compat.config({
99
extends: ['next'],
1010
}),
11-
]
11+
];
1212

13-
export default eslintConfig;
13+
export default eslintConfig;

packages/dapp-kit-next/examples/next-js/simple/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": {
1111
"@mysten/dapp-kit-react": "workspace:*",
1212
"@mysten/sui": "workspace:*",
13-
"next": "15.5.2",
13+
"next": "^15.5.7",
1414
"react": "^18.3.1",
1515
"react-dom": "^18.3.1"
1616
},
Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2017",
4-
"lib": ["dom", "dom.iterable", "esnext"],
5-
"allowJs": true,
6-
"skipLibCheck": true,
7-
"strict": true,
8-
"noEmit": true,
9-
"esModuleInterop": true,
10-
"module": "esnext",
11-
"moduleResolution": "bundler",
12-
"allowImportingTsExtensions": true,
13-
"resolveJsonModule": true,
14-
"isolatedModules": true,
15-
"jsx": "preserve",
16-
"incremental": true,
17-
"experimentalDecorators": true,
18-
"useDefineForClassFields": false,
19-
"plugins": [
20-
{
21-
"name": "next"
22-
}
23-
],
24-
"paths": {
25-
"@/*": ["./*"]
26-
}
27-
},
28-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
29-
"exclude": ["node_modules"]
2+
"compilerOptions": {
3+
"target": "ES2017",
4+
"lib": ["dom", "dom.iterable", "esnext"],
5+
"allowJs": true,
6+
"skipLibCheck": true,
7+
"strict": true,
8+
"noEmit": true,
9+
"esModuleInterop": true,
10+
"module": "esnext",
11+
"moduleResolution": "bundler",
12+
"allowImportingTsExtensions": true,
13+
"resolveJsonModule": true,
14+
"isolatedModules": true,
15+
"jsx": "preserve",
16+
"incremental": true,
17+
"experimentalDecorators": true,
18+
"useDefineForClassFields": false,
19+
"plugins": [
20+
{
21+
"name": "next"
22+
}
23+
],
24+
"paths": {
25+
"@/*": ["./*"]
26+
}
27+
},
28+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
29+
"exclude": ["node_modules"]
3030
}

packages/dapp-kit-next/examples/vue/simple/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<meta name="application-name" content="Example App" />
88
<title>DApp Kit Vue Simple Example App</title>
9-
</head>
9+
</head>
1010
<body>
1111
<div id="app"></div>
1212
<script type="module" src="/src/main.ts"></script>

packages/dapp-kit-next/examples/vue/simple/src/App.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ import { dAppKit } from './dapp-kit';
55
<template>
66
<mysten-dapp-kit-connect-button :instance="dAppKit" />
77
</template>
8-
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"extends": "@vue/tsconfig/tsconfig.dom.json",
3-
"include": ["src/**/*", "src/**/*.vue"],
4-
"exclude": ["src/**/__tests__/*"],
5-
"compilerOptions": {
6-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
2+
"extends": "@vue/tsconfig/tsconfig.dom.json",
3+
"include": ["src/**/*", "src/**/*.vue"],
4+
"exclude": ["src/**/__tests__/*"],
5+
"compilerOptions": {
6+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
77

8-
"paths": {
9-
"@/*": ["./src/*"]
10-
}
11-
}
8+
"paths": {
9+
"@/*": ["./src/*"]
10+
}
11+
}
1212
}
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"files": [],
3-
"references": [
4-
{
5-
"path": "./tsconfig.node.json"
6-
},
7-
{
8-
"path": "./tsconfig.app.json"
9-
}
10-
]
2+
"files": [],
3+
"references": [
4+
{
5+
"path": "./tsconfig.node.json"
6+
},
7+
{
8+
"path": "./tsconfig.app.json"
9+
}
10+
]
1111
}
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"extends": "@tsconfig/node22/tsconfig.json",
3-
"include": [
4-
"vite.config.*",
5-
"vitest.config.*",
6-
"cypress.config.*",
7-
"nightwatch.conf.*",
8-
"playwright.config.*",
9-
"eslint.config.*"
10-
],
11-
"compilerOptions": {
12-
"noEmit": true,
13-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
2+
"extends": "@tsconfig/node22/tsconfig.json",
3+
"include": [
4+
"vite.config.*",
5+
"vitest.config.*",
6+
"cypress.config.*",
7+
"nightwatch.conf.*",
8+
"playwright.config.*",
9+
"eslint.config.*"
10+
],
11+
"compilerOptions": {
12+
"noEmit": true,
13+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
1414

15-
"module": "ESNext",
16-
"moduleResolution": "Bundler",
17-
"types": ["node"]
18-
}
15+
"module": "ESNext",
16+
"moduleResolution": "Bundler",
17+
"types": ["node"]
18+
}
1919
}

0 commit comments

Comments
 (0)