Skip to content

Commit

Permalink
Merge pull request #23 from commercelayer/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies to latest major
  • Loading branch information
marcomontalbano authored Sep 25, 2024
2 parents 7d87814 + f958e12 commit 6179cde
Show file tree
Hide file tree
Showing 31 changed files with 4,913 additions and 5,769 deletions.
1 change: 0 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ jobs:
SITE_URL: https://commercelayer.github.io/demo-store-core
NEXT_PUBLIC_BASE_PATH: /demo-store-core
NEXT_PUBLIC_CL_CLIENT_ID: ${{ secrets.NEXT_PUBLIC_CL_CLIENT_ID }}
NEXT_PUBLIC_CL_ENDPOINT: ${{ secrets.NEXT_PUBLIC_CL_ENDPOINT }}
NEXT_PUBLIC_JSON_DATA_FOLDER: data/json/
NEXT_PUBLIC_LOCALES_DATA_FOLDER: data/locales/
NEXT_PUBLIC_DEFAULT_LANGUAGE: en
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run ts:check
npm run lint -- --fix
npm run coverage
17 changes: 17 additions & 0 deletions .ncurc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
reject: [
'pnpm',
'iframe-resizer',
'iframe-resizer-react'
],
filterResults: (name, { upgradedVersionSemver }) => {
if (
name === '@types/node' && parseInt(upgradedVersionSemver?.major) >= 22 ||
name === 'eslint' && parseInt(upgradedVersionSemver?.major) >= 9
) {
return false
}

return true
}
}
4 changes: 3 additions & 1 deletion netlify.ssg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@
[template.environment]
SITE_URL="Base url of your website."
NEXT_PUBLIC_CL_CLIENT_ID="Commerce Layer Sales Channel Client ID."
NEXT_PUBLIC_CL_ENDPOINT="Commerce Layer Sales Channel Endpoint."

[[plugins]]
package = "@netlify/plugin-nextjs"
18 changes: 10 additions & 8 deletions netlify.ssr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
[template.environment]
SITE_URL="Base url of your website."
NEXT_PUBLIC_CL_CLIENT_ID="Commerce Layer Sales Channel Client ID."
NEXT_PUBLIC_CL_ENDPOINT="Commerce Layer Sales Channel Endpoint."

# https://github.com/netlify/next-runtime/issues/2329#issuecomment-1907388023
[functions]
included_files = [
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/router-context*",
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/amp-context*",
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/head-manager-context*",
]
[[plugins]]
package = "@netlify/plugin-nextjs"

# # https://github.com/netlify/next-runtime/issues/2329#issuecomment-1907388023
# [functions]
# included_files = [
# "node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/router-context*",
# "node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/amp-context*",
# "node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/head-manager-context*",
# ]
Loading

0 comments on commit 6179cde

Please sign in to comment.