Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update Nx to v19 #64

Merged
merged 2 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 24 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,46 +18,47 @@
"private": true,
"dependencies": {
"@clack/prompts": "^0.7.0",
"@inquirer/prompts": "^4.3.0",
"@nx/devkit": "18.3.3",
"@solana/web3.js": "^1.91.1",
"@swc/helpers": "~0.5.7",
"@inquirer/prompts": "^5.0.2",
"@nx/devkit": "19.0.0",
"@solana/web3.js": "^1.91.8",
"@swc/helpers": "~0.5.11",
"commander": "^11.1.0",
"create-nx-workspace": "18.1.3",
"json-schema-to-typescript": "^13.1.2",
"create-nx-workspace": "19.0.0",
"json-schema-to-typescript": "^14.0.4",
"ts-morph": "^22.0.0",
"tslib": "^2.6.2",
"yargs": "^17.7.2"
},
"devDependencies": {
"@nx/eslint": "^18.3.3",
"@nx/eslint-plugin": "18.3.3",
"@nx/jest": "18.3.3",
"@nx/js": "18.3.3",
"@nx/next": "18.3.3",
"@nx/plugin": "18.3.3",
"@nx/react": "18.3.3",
"@nx/webpack": "18.3.3",
"@nx/workspace": "18.3.3",
"@swc-node/register": "~1.9.0",
"@swc/cli": "~0.3.10",
"@swc/core": "~1.4.11",
"@nx/eslint": "19.0.0",
"@nx/eslint-plugin": "19.0.0",
"@nx/jest": "19.0.0",
"@nx/js": "19.0.0",
"@nx/next": "19.0.0",
"@nx/plugin": "19.0.0",
"@nx/react": "19.0.0",
"@nx/webpack": "19.0.0",
"@nx/workspace": "19.0.0",
"@swc-node/register": "~1.9.1",
"@swc/cli": "0.3.12",
"@swc/core": "^1.5.3",
"@types/jest": "^29.5.12",
"@types/node": "20.11.30",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"@types/node": "20.12.10",
"@types/prettier": "^2.7.3",
"@typescript-eslint/eslint-plugin": "7.8.0",
"@typescript-eslint/parser": "7.8.0",
"eslint": "8.57.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"nx": "18.3.3",
"nx": "19.0.0",
"prettier": "^2.6.2",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "5.4.5",
"verdaccio": "^5.30.2"
"verdaccio": "^5.30.3"
},
"lint-staged": {
"*.{js,json,css,scss,md,ts,tsx,html,graphql}": [
Expand Down
6 changes: 3 additions & 3 deletions packages/create-solana-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"description": "Get up and running fast with Solana dApps",
"dependencies": {
"@clack/prompts": "^0.7.0",
"@nx/devkit": "18.3.3",
"@nx/devkit": "19.0.0",
"commander": "^11.1.0",
"create-nx-workspace": "18.3.3",
"nx": "18.3.3",
"create-nx-workspace": "19.0.0",
"nx": "19.0.0",
"tmp": "0.2.1",
"tslib": "^2.3.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/preset-anchor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This library is a preset for [create-solana-dapp](https://npm.im/create-solana-d
```bash
NX generate @solana-developers/preset-anchor:anchor-application [name] [options,...]

From: @solana-developers/preset-anchor
From: @solana-developers/preset-anchor (v0.0.1)
Name: anchor-application (aliases: application, preset)

Generate an Anchor application
Expand All @@ -29,7 +29,7 @@ Options:
```bash
NX generate @solana-developers/preset-anchor:anchor-template [name] [options,...]

From: @solana-developers/preset-anchor
From: @solana-developers/preset-anchor (v0.0.1)
Name: anchor-template (aliases: template)

Generate an Anchor template
Expand Down
6 changes: 3 additions & 3 deletions packages/preset-anchor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.0.1",
"description": "This library is a preset for create-solana-dapp that adds anchor support to your project.",
"dependencies": {
"@nx/devkit": "18.3.3",
"@nx/js": "18.3.3",
"@nx/jest": "18.3.3",
"@nx/devkit": "19.0.0",
"@nx/js": "19.0.0",
"@nx/jest": "19.0.0",
"@solana-developers/preset-common": "*",
"@solana/web3.js": "^1.90.0",
"tslib": "^2.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ exports[`anchor-application generator should generate app with "basic" template
""version": "0.0.1",",
""dependencies": {",
""@coral-xyz/anchor": "^0.30.0",",
""@solana/web3.js": "1.91.7"",
""@solana/web3.js": "1.91.8"",
"},",
""main": "./index.cjs",",
""module": "./index.js",",
Expand Down Expand Up @@ -740,7 +740,7 @@ exports[`anchor-application generator should generate app with "counter" templat
""version": "0.0.1",",
""dependencies": {",
""@coral-xyz/anchor": "^0.30.0",",
""@solana/web3.js": "1.91.7"",
""@solana/web3.js": "1.91.8"",
"},",
""main": "./index.cjs",",
""module": "./index.js",",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ presets.
```bash
NX generate @solana-developers/preset-common:common-template [name] [options,...]

From: @solana-developers/preset-common
From: @solana-developers/preset-common (v0.0.1)
Name: common-template

Generate Common templates
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"description": "This library is a preset for create-solana-dapp with shared code for the other presets.",
"dependencies": {
"@nx/devkit": "18.3.3",
"@nx/devkit": "19.0.0",
"ts-morph": "^22.0.0",
"tslib": "^2.3.0"
},
Expand Down
16 changes: 8 additions & 8 deletions packages/preset-common/src/utils/package-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,32 @@ export const packageVersion = {
anchor: '^0.30.0',
},
'@tailwindcss': {
typography: '0.5.12',
typography: '0.5.13',
},
'@solana': {
'spl-token': '0.4.6',
'wallet-adapter-base': '^0.9.23',
'wallet-adapter-react': '^0.15.35',
'wallet-adapter-react-ui': '^0.9.35',
'web3.js': '1.91.7',
'web3.js': '1.91.8',
},
'@swc-node': {
core: '1.13.0',
register: '1.9.0',
core: '1.13.1',
register: '1.9.1',
},
'@tabler': {
'icons-react': '3.2.0',
'icons-react': '3.3.0',
},
'@tanstack': {
'react-query': '5.31.0',
'react-query-next-experimental': '5.31.0',
'react-query': '5.35.1',
'react-query-next-experimental': '5.35.1',
},
'react-hot-toast': '2.4.1',
'crypto-browserify': '3.12.0',
'stream-browserify': '3.0.0',
bs58: '5.0.0',
buffer: '6.0.3',
daisyui: '4.10.2',
daisyui: '4.10.5',
encoding: '0.1.13',
jotai: '2.8.0',
}
4 changes: 2 additions & 2 deletions packages/preset-next/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This library is a preset for [create-solana-dapp](https://npm.im/create-solana-d
```bash
NX generate @solana-developers/preset-next:next-application [name] [options,...]

From: @solana-developers/preset-next
From: @solana-developers/preset-next (v0.0.1)
Name: next-application (aliases: application, preset)

Generate a Next.js application
Expand All @@ -37,7 +37,7 @@ Options:
```bash
NX generate @solana-developers/preset-next:next-template [name] [options,...]

From: @solana-developers/preset-next
From: @solana-developers/preset-next (v0.0.1)
Name: next-template (aliases: template)

Generate a Next.js template
Expand Down
10 changes: 5 additions & 5 deletions packages/preset-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"version": "0.0.1",
"description": "This library is a preset for create-solana-dapp that adds next.js support to your project.",
"dependencies": {
"@nx/devkit": "18.3.3",
"@nx/jest": "18.3.3",
"@nx/js": "18.3.3",
"@nx/eslint": "18.3.3",
"@nx/next": "18.3.3",
"@nx/devkit": "19.0.0",
"@nx/jest": "19.0.0",
"@nx/js": "19.0.0",
"@nx/eslint": "19.0.0",
"@nx/next": "19.0.0",
"@solana-developers/preset-anchor": "*",
"@solana-developers/preset-common": "*",
"@solana-developers/preset-react": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,26 +177,26 @@ exports[`application generator custom apps should generate app without anchor 1`
""@solana/wallet-adapter-base": "^0.9.23",",
""@solana/wallet-adapter-react": "^0.15.35",",
""@solana/wallet-adapter-react-ui": "^0.9.35",",
""@solana/web3.js": "1.91.7",",
""@tanstack/react-query-next-experimental": "5.31.0",",
""@solana/web3.js": "1.91.8",",
""@tanstack/react-query-next-experimental": "5.35.1",",
""bs58": "5.0.0",",
""buffer": "6.0.3",",
""encoding": "0.1.13",",
""next": "14.0.4",",
""react": "18.2.0",",
""react-dom": "18.2.0",",
""react": "18.3.1",",
""react-dom": "18.3.1",",
""tslib": "^2.3.0"",
"},",
""devDependencies": {",
""@nx/eslint": "18.3.3",",
""@nx/eslint-plugin": "18.3.3",",
""@nx/js": "18.3.3",",
""@nx/next": "18.3.3",",
""@nx/eslint": "19.0.0",",
""@nx/eslint-plugin": "19.0.0",",
""@nx/js": "19.0.0",",
""@nx/next": "19.0.0",",
""@swc-node/register": "~1.8.0",",
""@swc/core": "~1.3.85",",
""@swc/helpers": "~0.5.2",",
""@types/react": "18.2.33",",
""@types/react-dom": "18.2.14",",
""@types/react": "18.3.1",",
""@types/react-dom": "18.3.0",",
""@typescript-eslint/eslint-plugin": "^7.3.0",",
""@typescript-eslint/parser": "^7.3.0",",
""eslint": "~8.57.0",",
Expand Down Expand Up @@ -1115,7 +1115,7 @@ exports[`application generator default apps should generate default app with "no
""version": "0.0.1",",
""dependencies": {",
""@coral-xyz/anchor": "^0.30.0",",
""@solana/web3.js": "1.91.7"",
""@solana/web3.js": "1.91.8"",
"},",
""main": "./index.cjs",",
""module": "./index.js",",
Expand Down Expand Up @@ -1841,32 +1841,32 @@ exports[`application generator default apps should generate default app with "no
""@solana/wallet-adapter-base": "^0.9.23",",
""@solana/wallet-adapter-react": "^0.15.35",",
""@solana/wallet-adapter-react-ui": "^0.9.35",",
""@solana/web3.js": "1.91.7",",
""@tanstack/react-query-next-experimental": "5.31.0",",
""@solana/web3.js": "1.91.8",",
""@tanstack/react-query-next-experimental": "5.35.1",",
""bs58": "5.0.0",",
""buffer": "6.0.3",",
""encoding": "0.1.13",",
""next": "14.0.4",",
""react": "18.2.0",",
""react-dom": "18.2.0",",
""react": "18.3.1",",
""react-dom": "18.3.1",",
""tslib": "^2.3.0"",
"},",
""devDependencies": {",
""@nx/eslint": "18.3.3",",
""@nx/eslint-plugin": "18.3.3",",
""@nx/jest": "18.3.3",",
""@nx/js": "18.3.3",",
""@nx/next": "18.3.3",",
""@nx/rollup": "18.3.3",",
""@nx/eslint": "19.0.0",",
""@nx/eslint-plugin": "19.0.0",",
""@nx/jest": "19.0.0",",
""@nx/js": "19.0.0",",
""@nx/next": "19.0.0",",
""@nx/rollup": "19.0.0",",
""@swc-node/register": "~1.8.0",",
""@swc/cli": "~0.1.62",",
""@swc/cli": "~0.3.12",",
""@swc/core": "~1.3.85",",
""@swc/helpers": "~0.5.2",",
""@swc/jest": "0.2.20",",
""@types/jest": "^29.4.0",",
""@types/node": "18.16.9",",
""@types/react": "18.2.33",",
""@types/react-dom": "18.2.14",",
""@types/react": "18.3.1",",
""@types/react-dom": "18.3.0",",
""@typescript-eslint/eslint-plugin": "^7.3.0",",
""@typescript-eslint/parser": "^7.3.0",",
""eslint": "~8.57.0",",
Expand Down Expand Up @@ -2807,7 +2807,7 @@ exports[`application generator default apps should generate default app with "ta
""version": "0.0.1",",
""dependencies": {",
""@coral-xyz/anchor": "^0.30.0",",
""@solana/web3.js": "1.91.7"",
""@solana/web3.js": "1.91.8"",
"},",
""main": "./index.cjs",",
""module": "./index.js",",
Expand Down Expand Up @@ -3533,38 +3533,38 @@ exports[`application generator default apps should generate default app with "ta
""@solana/wallet-adapter-base": "^0.9.23",",
""@solana/wallet-adapter-react": "^0.15.35",",
""@solana/wallet-adapter-react-ui": "^0.9.35",",
""@solana/web3.js": "1.91.7",",
""@tabler/icons-react": "3.2.0",",
""@tailwindcss/typography": "0.5.12",",
""@tanstack/react-query": "5.31.0",",
""@tanstack/react-query-next-experimental": "5.31.0",",
""@solana/web3.js": "1.91.8",",
""@tabler/icons-react": "3.3.0",",
""@tailwindcss/typography": "0.5.13",",
""@tanstack/react-query": "5.35.1",",
""@tanstack/react-query-next-experimental": "5.35.1",",
""bs58": "5.0.0",",
""buffer": "6.0.3",",
""daisyui": "4.10.2",",
""daisyui": "4.10.5",",
""encoding": "0.1.13",",
""jotai": "2.8.0",",
""next": "14.0.4",",
""react": "18.2.0",",
""react-dom": "18.2.0",",
""react": "18.3.1",",
""react-dom": "18.3.1",",
""react-hot-toast": "2.4.1",",
""tslib": "^2.3.0"",
"},",
""devDependencies": {",
""@nx/eslint": "18.3.3",",
""@nx/eslint-plugin": "18.3.3",",
""@nx/jest": "18.3.3",",
""@nx/js": "18.3.3",",
""@nx/next": "18.3.3",",
""@nx/rollup": "18.3.3",",
""@nx/eslint": "19.0.0",",
""@nx/eslint-plugin": "19.0.0",",
""@nx/jest": "19.0.0",",
""@nx/js": "19.0.0",",
""@nx/next": "19.0.0",",
""@nx/rollup": "19.0.0",",
""@swc-node/register": "~1.8.0",",
""@swc/cli": "~0.1.62",",
""@swc/cli": "~0.3.12",",
""@swc/core": "~1.3.85",",
""@swc/helpers": "~0.5.2",",
""@swc/jest": "0.2.20",",
""@types/jest": "^29.4.0",",
""@types/node": "18.16.9",",
""@types/react": "18.2.33",",
""@types/react-dom": "18.2.14",",
""@types/react": "18.3.1",",
""@types/react-dom": "18.3.0",",
""@typescript-eslint/eslint-plugin": "^7.3.0",",
""@typescript-eslint/parser": "^7.3.0",",
""autoprefixer": "10.4.13",",
Expand Down
Loading
Loading