Skip to content

Commit

Permalink
chore: update to nx 19.3 (#51)
Browse files Browse the repository at this point in the history
* chore: update to nx 19.3

* fix: pnpm lock

* chore: migrate to pnpm 9

* fix: migration to pnpm 9
  • Loading branch information
nacho-vazquez authored Jun 29, 2024
1 parent d968112 commit b541f38
Show file tree
Hide file tree
Showing 9 changed files with 11,430 additions and 9,730 deletions.
5 changes: 3 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ runs:
id: node_version
shell: bash
run: echo "node_version=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- uses: pnpm/action-setup@v2
with:
version: 8.15.7
version: 9
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: ${{ steps.node_version.outputs.node_version }}
cache: 'pnpm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- uses: pnpm/action-setup@v2
with:
version: 8
version: 9
# Cache node_modules
- uses: actions/setup-node@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ testem.log
Thumbs.db

.nx/cache
.nx/workspace-data

# Next.js
.next
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ pnpm-lock.yaml
/.nx/cache

.angular

/.nx/workspace-data
27 changes: 0 additions & 27 deletions migrations.json

This file was deleted.

47 changes: 23 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
"private": true,
"devDependencies": {
"@angular-devkit/core": "~17.3.7",
"@cloudflare/next-on-pages": "^1.11.3",
"@cloudflare/next-on-pages": "^1.12.0",
"@cloudflare/workers-types": "^4.20240512.0",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@eslint/eslintrc": "^2.1.2",
"@eslint/js": "^8.52.0",
"@jscutlery/semver": "^5.2.0",
"@nx/angular": "19.0.4",
"@nx/devkit": "19.0.4",
"@nx/esbuild": "19.0.4",
"@nx/eslint": "19.0.4",
"@nx/eslint-plugin": "19.0.4",
"@nx/jest": "19.0.4",
"@nx/js": "19.0.4",
"@nx/next": "19.0.4",
"@nx/node": "19.0.4",
"@nx/plugin": "19.0.4",
"@nx/react": "19.0.4",
"@nx/vite": "19.0.4",
"@nx/web": "19.0.4",
"@nx/workspace": "19.0.4",
"@nx/angular": "19.3.2",
"@nx/devkit": "19.3.2",
"@nx/esbuild": "19.3.2",
"@nx/eslint": "19.3.2",
"@nx/eslint-plugin": "19.3.2",
"@nx/jest": "19.3.2",
"@nx/js": "19.3.2",
"@nx/next": "19.3.2",
"@nx/node": "19.3.2",
"@nx/plugin": "19.3.2",
"@nx/react": "19.3.2",
"@nx/vite": "19.3.2",
"@nx/web": "19.3.2",
"@nx/workspace": "19.3.2",
"@svgr/webpack": "^8.1.0",
"@swc-node/register": "~1.8.0",
"@swc-node/register": "1.9.2",
"@swc/cli": "0.3.12",
"@swc/core": "~1.3.85",
"@swc/helpers": "~0.5.2",
"@swc/core": "1.5.7",
"@swc/helpers": "0.5.11",
"@testing-library/react": "15.0.6",
"@types/jest": "^29.4.0",
"@types/kill-port": "^2.0.3",
Expand Down Expand Up @@ -63,8 +63,8 @@
"jest-environment-node": "^29.4.1",
"kill-port": "^2.0.1",
"ngx-deploy-npm": "^7.1.0",
"nx": "19.0.4",
"nx-cloud": "^19.0.0",
"nx": "19.3.2",
"nx-cloud": "19.0.0",
"prettier": "^2.6.2",
"semver": "^7.6.0",
"tcp-port-used": "^1.0.2",
Expand All @@ -77,13 +77,12 @@
"vite": "~5.0.0",
"vitest": "1.6.0",
"webpack": "^5.90.1",
"wrangler": "^3.57.0"
"wrangler": "^3.62.0"
},
"dependencies": {
"@nx/devkit": "19.0.4",
"@types/fs-extra": "^11.0.4",
"hono": "^4.3.7",
"next": "14.2.3",
"hono": "^4.4.9",
"next": "14.2.4",
"react": "18.3.1",
"react-dom": "18.3.1",
"tslib": "^2.3.0"
Expand Down
16 changes: 8 additions & 8 deletions packages/nx-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@
},
"license": "MIT",
"dependencies": {
"@nx/devkit": "^19.0.4",
"@nx/js": "^19.0.4",
"fs-extra": "^11.2.0",
"semver": "^7.6.0",
"typescript": "5.4.4",
"next": "14.2.3",
"typescript": "^5.4.4",
"next": "^14.2.4",
"webpack": "^5.90.1",
"copy-webpack-plugin": "^12.0.2",
"tslib": "^2.3.0",
"@nx/node": "19.0.4",
"@svgr/webpack": "^8.1.0",
"url-loader": "^4.1.1",
"nx": "19.0.4",
"wrangler": "^3.57.0",
"dotenv": "^16.4.4",
"@nx/workspace": "19.0.4",
"@nx/web": "19.0.4"
"@nx/js": "^19.0.0",
"nx": "^19.0.0",
"@nx/workspace": "^19.0.0",
"@nx/web": "^19.0.0",
"@nx/node": "^19.0.0",
"@nx/devkit": "^19.0.0"
},
"keywords": [
"nx",
Expand Down
4 changes: 2 additions & 2 deletions packages/nx-cloudflare/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
export const nxCloudflareVersion = require('../../package.json').version;

export const wranglerVersion = '^3.57.0';
export const wranglerVersion = '^3.62.0';
export const cloudflareWorkersTypeVersions = '^4.20240512.0';
export const honoVersion = '^4.3.7';
export const honoVersion = '^4.4.9';
Loading

0 comments on commit b541f38

Please sign in to comment.