Skip to content

Commit

Permalink
Merge pull request #261 from svobik7/deps
Browse files Browse the repository at this point in the history
Deps
  • Loading branch information
svobik7 authored Jul 24, 2024
2 parents 1eace81 + b52fa63 commit cc78b1c
Show file tree
Hide file tree
Showing 37 changed files with 5,574 additions and 3,131 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn test
yarn lint-staged
yarn typecheck
Expand Down
10 changes: 5 additions & 5 deletions examples/basic-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
"devDependencies": {
"@next/bundle-analyzer": "^14.2.5",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.14.11",
"@types/node": "^20.14.12",
"@types/react": "^18.3.3",
"autoprefixer": "^10.4.19",
"cross-env": "^7.0.2",
"esbuild": "^0.23.0",
"esbuild-node-externals": "^1.14.0",
"eslint": "^9.7.0",
"eslint-config-next": "^14.2.5",
"eslint-plugin-tailwindcss": "^3.17.4",
"eslint": "^8.42.0",
"eslint-config-next": "^13.4.5",
"eslint-plugin-tailwindcss": "^3.12.1",
"postcss": "^8.4.39",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.6",
"typescript": "^5.5.3"
"typescript": "^5.5.4"
}
}
470 changes: 181 additions & 289 deletions examples/basic-esm/yarn.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions examples/basic/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({

/** @type {import('next').NextConfig} */
const nextConfig = withBundleAnalyzer({
reactStrictMode: true,
swcMinify: true,
experimental: {
appDir: true,
},
images: {
domains: ['images.unsplash.com'],
remotePatterns: [
{
protocol: 'https',
hostname: 'images.unsplash.com',
},
],
},
})

Expand Down
34 changes: 17 additions & 17 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,29 @@
"analyze:browser": "cross-env BUNDLE_ANALYZE=browser next build"
},
"dependencies": {
"@headlessui/react": "^1.7.15",
"@heroicons/react": "^2.0.18",
"clsx": "^1.2.1",
"next": "^13.4.5",
"@headlessui/react": "^2.1.2",
"@heroicons/react": "^2.1.5",
"clsx": "^2.1.1",
"next": "^14.2.5",
"next-roots": "link:../../",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.4.5",
"@tailwindcss/typography": "^0.5.9",
"@types/node": "^20.2.5",
"@types/react": "^18.2.12",
"autoprefixer": "^10.4.13",
"@next/bundle-analyzer": "^14.2.5",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.14.12",
"@types/react": "^18.3.3",
"autoprefixer": "^10.4.19",
"cross-env": "^7.0.2",
"esbuild": "^0.18.2",
"esbuild-node-externals": "^1.7.0",
"esbuild": "^0.23.0",
"esbuild-node-externals": "^1.14.0",
"eslint": "^8.42.0",
"eslint-config-next": "^13.4.5",
"eslint-plugin-tailwindcss": "^3.12.1",
"postcss": "^8.4.31",
"prettier-plugin-tailwindcss": "^0.3.0",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.3"
"postcss": "^8.4.39",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.6",
"typescript": "^5.5.4"
}
}
2,102 changes: 1,415 additions & 687 deletions examples/basic/yarn.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions examples/with-preferred-language-catchall/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({

/** @type {import('next').NextConfig} */
const nextConfig = withBundleAnalyzer({
reactStrictMode: true,
swcMinify: true,
experimental: {
appDir: true,
},
images: {
domains: ['images.unsplash.com'],
remotePatterns: [
{
protocol: 'https',
hostname: 'images.unsplash.com',
},
],
},
})

Expand Down
36 changes: 18 additions & 18 deletions examples/with-preferred-language-catchall/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,32 @@
"analyze:browser": "cross-env BUNDLE_ANALYZE=browser next build"
},
"dependencies": {
"@headlessui/react": "^1.7.15",
"@heroicons/react": "^2.0.18",
"@types/accept-language-parser": "^1.5.3",
"@headlessui/react": "^2.1.2",
"@heroicons/react": "^2.1.5",
"@types/accept-language-parser": "^1.5.6",
"accept-language": "^3.0.18",
"accept-language-parser": "^1.5.0",
"clsx": "^1.2.1",
"next": "^13.4.5",
"clsx": "^2.1.1",
"next": "^14.2.5",
"next-roots": "link:../../",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.4.5",
"@tailwindcss/typography": "^0.5.9",
"@types/node": "^20.2.5",
"@types/react": "^18.2.12",
"autoprefixer": "^10.4.13",
"@next/bundle-analyzer": "^14.2.5",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.14.12",
"@types/react": "^18.3.3",
"autoprefixer": "^10.4.19",
"cross-env": "^7.0.2",
"esbuild": "^0.18.2",
"esbuild-node-externals": "^1.7.0",
"esbuild": "^0.23.0",
"esbuild-node-externals": "^1.14.0",
"eslint": "^8.42.0",
"eslint-config-next": "^13.4.5",
"eslint-plugin-tailwindcss": "^3.12.1",
"postcss": "^8.4.31",
"prettier-plugin-tailwindcss": "^0.3.0",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.3"
"postcss": "^8.4.39",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.6",
"typescript": "^5.5.4"
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import 'src/features/common/styles.css'

import type { RouteLocale } from 'next-roots'
import type { PropsWithChildren, ReactNode } from 'react'
import { Nav } from './Nav'

import Link from 'next/link'
import 'src/features/common/styles.css'
import { getAboutHref, getContactsHref, getHomeHref } from 'src/server/router'
import { getDictionary } from 'src/server/utils/getDictionary'
import { Footer } from './Footer'
Expand Down
Loading

0 comments on commit cc78b1c

Please sign in to comment.