Skip to content

Commit

Permalink
Nextjs 13.4 (#294)
Browse files Browse the repository at this point in the history
* Update next-transpile-modules.js

Fixing the following error

```
TypeError: config.watchOptions.ignored.filter is not a function or its return value is not iterable
    at Object.webpack (/Users/manish/projects/kripaluras-rn/node_modules/next-transpile-modules/src/next-transpile-modules.js:265:42)
    at Object.webpack (/Users/manish/projects/kripaluras-rn/node_modules/next-fonts/index.js:42:27)
    at Object.webpack (/Users/manish/projects/kripaluras-rn/node_modules/next-images/index.js:63:27)
    at Object.webpack (/Users/manish/projects/kripaluras-rn/node_modules/@expo/next-adapter/build/index.js:39:35)
    at getBaseWebpackConfig (/Users/manish/projects/kripaluras-rn/node_modules/next/dist/build/webpack-config.js:2147:32)
    at async Promise.all (index 0)
    at async Span.traceAsyncFn (/Users/manish/projects/kripaluras-rn/node_modules/next/dist/trace/trace.js:103:20)
    at async Span.traceAsyncFn (/Users/manish/projects/kripaluras-rn/node_modules/next/dist/trace/trace.js:103:20)
    at async HotReloader.start (/Users/manish/projects/kripaluras-rn/node_modules/next/dist/server/dev/hot-reloader.js:573:30)
    at async DevServer.prepareImpl (/Users/manish/projects/kripaluras-rn/node_modules/next/dist/server/dev/next-dev-server.js:685:9)
    at async NextServer.prepare (/Users/manish/projects/kripaluras-rn/node_modules/next/dist/server/next.js:165:13)
    at async Server.<anonymous> (/Users/manish/projects/kripaluras-rn/node_modules/next/dist/server/lib/render-server.js:136:17) {
  type: 'TypeError'
}

```

* setting NEXT_VERSION=13.4.12

* Adding tests for new NEXT_VERSION 13.4.12

* Run prettier

* Revert "Run prettier"

This reverts commit 3adfbd6.

* Fix formatting

* Run CI on Node.js 16-18 instead of 14-16

* Re-run next-update script (fix pnpm issue)

---------

Co-authored-by: Manish <mkstayalive@gmail.com>
Co-authored-by: Manish Singh <manish@famhouse.club>
  • Loading branch information
3 people committed Jul 24, 2023
1 parent 9e68032 commit 1310c29
Show file tree
Hide file tree
Showing 15 changed files with 803 additions and 789 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node: [14, 16]
node: [16, 18]
steps:
- uses: actions/checkout@v2

Expand Down
2 changes: 1 addition & 1 deletion scripts/next-update.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# Look at how messy this script is :p

NEXT_VERSION="13.0.4"
NEXT_VERSION="13.4.12"
ROOT=$(pwd)

echo "==================== NPM ===================="
Expand Down

0 comments on commit 1310c29

Please sign in to comment.