Skip to content

Commit

Permalink
Bump Next to 12.2.6-canary.2
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Aug 23, 2022
1 parent 5de15c6 commit 61605c2
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 94 deletions.
16 changes: 15 additions & 1 deletion next.config.js
Expand Up @@ -178,4 +178,18 @@ const baseNextConfig = {
},
};

module.exports = withPlugins([withTM, withBundleAnalyzer], baseNextConfig);
const plugins = [withTM, withBundleAnalyzer];

module.exports = (_phase, { defaultConfig }) => {
return plugins.reduce(
(acc, plugin) => {
if (Array.isArray(plugin)) {
return plugin[0](acc, plugin[1]);
}
return plugin(acc);
},
{ ...baseNextConfig }
);
};

// module.exports = withPlugins([withTM, withBundleAnalyzer], baseNextConfig);
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -68,7 +68,7 @@
"logrocket": "^2.2.1",
"logrocket-react": "^5.0.1",
"mixpanel-browser": "^2.43.0",
"next": "^12.2",
"next": "canary",
"next-global-css": "^1.3.1",
"node-fetch": "2.x",
"parse-script-tags": "^0.1.7",
Expand Down
189 changes: 97 additions & 92 deletions yarn.lock
Expand Up @@ -2783,10 +2783,10 @@ __metadata:
languageName: node
linkType: hard

"@next/env@npm:12.2.0":
version: 12.2.0
resolution: "@next/env@npm:12.2.0"
checksum: 5fb317bdb5eb2d5df12ff55e335368792dba21874c5ece3cabf8cd312cec911a1d54ecf368e69dc08640b0244669b8a98c86cd035c7874b17640602e67c1b9d9
"@next/env@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/env@npm:12.2.6-canary.2"
checksum: 7867ef25f2831b4442c660d3bf1092287b61900af971b571bc4a79ac2f07219d10736b12a32f4af29331b618657abfe6aa3b0b0d836fde9d9c2a81bd539c5035
languageName: node
linkType: hard

Expand All @@ -2797,9 +2797,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-android-arm-eabi@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-android-arm-eabi@npm:12.2.0"
"@next/swc-android-arm-eabi@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-android-arm-eabi@npm:12.2.6-canary.2"
conditions: os=android & cpu=arm
languageName: node
linkType: hard
Expand All @@ -2811,9 +2811,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-android-arm64@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-android-arm64@npm:12.2.0"
"@next/swc-android-arm64@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-android-arm64@npm:12.2.6-canary.2"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard
Expand All @@ -2825,9 +2825,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-darwin-arm64@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-darwin-arm64@npm:12.2.0"
"@next/swc-darwin-arm64@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-darwin-arm64@npm:12.2.6-canary.2"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
Expand All @@ -2839,16 +2839,16 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-darwin-x64@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-darwin-x64@npm:12.2.0"
"@next/swc-darwin-x64@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-darwin-x64@npm:12.2.6-canary.2"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@next/swc-freebsd-x64@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-freebsd-x64@npm:12.2.0"
"@next/swc-freebsd-x64@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-freebsd-x64@npm:12.2.6-canary.2"
conditions: os=freebsd & cpu=x64
languageName: node
linkType: hard
Expand All @@ -2860,9 +2860,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-linux-arm-gnueabihf@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-linux-arm-gnueabihf@npm:12.2.0"
"@next/swc-linux-arm-gnueabihf@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-linux-arm-gnueabihf@npm:12.2.6-canary.2"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
Expand All @@ -2874,9 +2874,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-linux-arm64-gnu@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-linux-arm64-gnu@npm:12.2.0"
"@next/swc-linux-arm64-gnu@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-linux-arm64-gnu@npm:12.2.6-canary.2"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
Expand All @@ -2888,9 +2888,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-linux-arm64-musl@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-linux-arm64-musl@npm:12.2.0"
"@next/swc-linux-arm64-musl@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-linux-arm64-musl@npm:12.2.6-canary.2"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
Expand All @@ -2902,9 +2902,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-linux-x64-gnu@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-linux-x64-gnu@npm:12.2.0"
"@next/swc-linux-x64-gnu@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-linux-x64-gnu@npm:12.2.6-canary.2"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
Expand All @@ -2916,9 +2916,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-linux-x64-musl@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-linux-x64-musl@npm:12.2.0"
"@next/swc-linux-x64-musl@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-linux-x64-musl@npm:12.2.6-canary.2"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
Expand All @@ -2930,9 +2930,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-win32-arm64-msvc@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-win32-arm64-msvc@npm:12.2.0"
"@next/swc-win32-arm64-msvc@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-win32-arm64-msvc@npm:12.2.6-canary.2"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
Expand All @@ -2944,9 +2944,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-win32-ia32-msvc@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-win32-ia32-msvc@npm:12.2.0"
"@next/swc-win32-ia32-msvc@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-win32-ia32-msvc@npm:12.2.6-canary.2"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
Expand All @@ -2958,9 +2958,9 @@ __metadata:
languageName: node
linkType: hard

"@next/swc-win32-x64-msvc@npm:12.2.0":
version: 12.2.0
resolution: "@next/swc-win32-x64-msvc@npm:12.2.0"
"@next/swc-win32-x64-msvc@npm:12.2.6-canary.2":
version: 12.2.6-canary.2
resolution: "@next/swc-win32-x64-msvc@npm:12.2.6-canary.2"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand Down Expand Up @@ -5387,12 +5387,12 @@ __metadata:
languageName: node
linkType: hard

"@swc/helpers@npm:0.4.2":
version: 0.4.2
resolution: "@swc/helpers@npm:0.4.2"
"@swc/helpers@npm:0.4.3":
version: 0.4.3
resolution: "@swc/helpers@npm:0.4.3"
dependencies:
tslib: ^2.4.0
checksum: 0b8c86ad03b17b8fe57dc4498e25dc294ea6bc42558a6b92d8fcd789351dac80199409bef38a2e3ac06aae0fedddfc0ab9c34409acbf74e55d1bbbd74f68b6b7
checksum: 5c2f173e950dd3929d84ae48b3586a274d5a874e7cf2013b3d8081e4f8c723fa3a4d4e63b263e84bb7f06431f87b640e91a12655410463c81a3dc2bbc15eceda
languageName: node
linkType: hard

Expand Down Expand Up @@ -17733,29 +17733,29 @@ __metadata:
languageName: node
linkType: hard

"next@npm:^12.2":
version: 12.2.0
resolution: "next@npm:12.2.0"
dependencies:
"@next/env": 12.2.0
"@next/swc-android-arm-eabi": 12.2.0
"@next/swc-android-arm64": 12.2.0
"@next/swc-darwin-arm64": 12.2.0
"@next/swc-darwin-x64": 12.2.0
"@next/swc-freebsd-x64": 12.2.0
"@next/swc-linux-arm-gnueabihf": 12.2.0
"@next/swc-linux-arm64-gnu": 12.2.0
"@next/swc-linux-arm64-musl": 12.2.0
"@next/swc-linux-x64-gnu": 12.2.0
"@next/swc-linux-x64-musl": 12.2.0
"@next/swc-win32-arm64-msvc": 12.2.0
"@next/swc-win32-ia32-msvc": 12.2.0
"@next/swc-win32-x64-msvc": 12.2.0
"@swc/helpers": 0.4.2
"next@npm:canary":
version: 12.2.6-canary.2
resolution: "next@npm:12.2.6-canary.2"
dependencies:
"@next/env": 12.2.6-canary.2
"@next/swc-android-arm-eabi": 12.2.6-canary.2
"@next/swc-android-arm64": 12.2.6-canary.2
"@next/swc-darwin-arm64": 12.2.6-canary.2
"@next/swc-darwin-x64": 12.2.6-canary.2
"@next/swc-freebsd-x64": 12.2.6-canary.2
"@next/swc-linux-arm-gnueabihf": 12.2.6-canary.2
"@next/swc-linux-arm64-gnu": 12.2.6-canary.2
"@next/swc-linux-arm64-musl": 12.2.6-canary.2
"@next/swc-linux-x64-gnu": 12.2.6-canary.2
"@next/swc-linux-x64-musl": 12.2.6-canary.2
"@next/swc-win32-arm64-msvc": 12.2.6-canary.2
"@next/swc-win32-ia32-msvc": 12.2.6-canary.2
"@next/swc-win32-x64-msvc": 12.2.6-canary.2
"@swc/helpers": 0.4.3
caniuse-lite: ^1.0.30001332
postcss: 8.4.5
styled-jsx: 5.0.2
use-sync-external-store: 1.1.0
postcss: 8.4.14
styled-jsx: 5.0.4
use-sync-external-store: 1.2.0
peerDependencies:
fibers: ">= 3.1.0"
node-sass: ^6.0.0 || ^7.0.0
Expand Down Expand Up @@ -17798,7 +17798,7 @@ __metadata:
optional: true
bin:
next: dist/bin/next
checksum: 38456c33935122ac1581367e4982034be23269039a8470a66443d710334336f8f3fb587f25d172d138d84cf18c01d3a76627fb610c2e2e57bd1692277c23fa2b
checksum: 4095f70c7686f6835089b84a9e34afc6db8cd97705f501a44631860077cf34be74be885b4fcc067dccd312905d063ae10f57cb4850e8d70f3037d034034517e9
languageName: node
linkType: hard

Expand Down Expand Up @@ -19216,6 +19216,17 @@ __metadata:
languageName: node
linkType: hard

"postcss@npm:8.4.14, postcss@npm:^8.2.15, postcss@npm:^8.4.12, postcss@npm:^8.4.14, postcss@npm:^8.4.7":
version: 8.4.14
resolution: "postcss@npm:8.4.14"
dependencies:
nanoid: ^3.3.4
picocolors: ^1.0.0
source-map-js: ^1.0.2
checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816
languageName: node
linkType: hard

"postcss@npm:8.4.5":
version: 8.4.5
resolution: "postcss@npm:8.4.5"
Expand All @@ -19237,17 +19248,6 @@ __metadata:
languageName: node
linkType: hard

"postcss@npm:^8.2.15, postcss@npm:^8.4.12, postcss@npm:^8.4.14, postcss@npm:^8.4.7":
version: 8.4.14
resolution: "postcss@npm:8.4.14"
dependencies:
nanoid: ^3.3.4
picocolors: ^1.0.0
source-map-js: ^1.0.2
checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816
languageName: node
linkType: hard

"prebuild-install@npm:^7.1.0":
version: 7.1.1
resolution: "prebuild-install@npm:7.1.1"
Expand Down Expand Up @@ -20564,7 +20564,7 @@ __metadata:
logrocket-react: ^5.0.1
mini-css-extract-plugin: ^2.6.0
mixpanel-browser: ^2.43.0
next: ^12.2
next: canary
next-compose-plugins: ^2.2.1
next-global-css: ^1.3.1
node-fetch: 2.x
Expand Down Expand Up @@ -22511,6 +22511,20 @@ __metadata:
languageName: node
linkType: hard

"styled-jsx@npm:5.0.4":
version: 5.0.4
resolution: "styled-jsx@npm:5.0.4"
peerDependencies:
react: ">= 16.8.0 || 17.x.x || ^18.0.0-0"
peerDependenciesMeta:
"@babel/core":
optional: true
babel-plugin-macros:
optional: true
checksum: db7530155626e5eebc9d80ca117ea5aed6219b0a65469196b0b5727550fbe743117d7eea1499d80511ccb312d31f4a1027a58d1f94a83f0986c9acfdcce8bdd1
languageName: node
linkType: hard

"stylis@npm:4.0.13":
version: 4.0.13
resolution: "stylis@npm:4.0.13"
Expand Down Expand Up @@ -23778,16 +23792,7 @@ __metadata:
languageName: node
linkType: hard

"use-sync-external-store@npm:1.1.0":
version: 1.1.0
resolution: "use-sync-external-store@npm:1.1.0"
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
checksum: 8993a0b642f91d7fcdbb02b7b3ac984bd3af4769686f38291fe7fcfe73dfb73d6c64d20dfb7e5e7fbf5a6da8f5392d6f8e5b00c243a04975595946e82c02b883
languageName: node
linkType: hard

"use-sync-external-store@npm:^1.0.0":
"use-sync-external-store@npm:1.2.0, use-sync-external-store@npm:^1.0.0":
version: 1.2.0
resolution: "use-sync-external-store@npm:1.2.0"
peerDependencies:
Expand Down

0 comments on commit 61605c2

Please sign in to comment.