Skip to content

Commit

Permalink
Merge pull request #27 from timlrx/update-packages
Browse files Browse the repository at this point in the history
Update packages
  • Loading branch information
timlrx committed Jul 13, 2024
2 parents b61e18e + c221f99 commit 4876412
Show file tree
Hide file tree
Showing 18 changed files with 1,021 additions and 1,065 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
strategy:
matrix:
node-version: [18, 19, 20, 21, 22]
os: [ubuntu-latest, windows-latest]
# Disable windows until path resolution for image in windows is fixed
# os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: schickling-actions/checkout-and-install@main
Expand Down
8 changes: 4 additions & 4 deletions examples/archive/playground-azimuth-colocated/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"start": "next start"
},
"dependencies": {
"date-fns": "^2.29.1",
"date-fns": "3.6.0",
"marked": "^3.0.4",
"next": "^12.2.3",
"next": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
Expand All @@ -18,8 +18,8 @@
"sass": "^1.32.7"
},
"devDependencies": {
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-helmet": "^6.1.5",
"contentlayer": "workspace:*",
"contentlayer-stackbit-yaml-generator": "workspace:*",
Expand Down
8 changes: 4 additions & 4 deletions examples/archive/playground-azimuth-contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"build": "next build"
},
"dependencies": {
"date-fns": "^2.29.1",
"date-fns": "3.6.0",
"marked": "^3.0.4",
"next": "^12.2.3",
"next": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
Expand All @@ -19,8 +19,8 @@
},
"devDependencies": {
"@contentlayer/source-contentful": "workspace:*",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-helmet": "^6.1.5",
"contentlayer": "workspace:*",
"contentlayer-stackbit-yaml-generator": "workspace:*",
Expand Down
8 changes: 4 additions & 4 deletions examples/archive/playground-azimuth-sanity/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"dependencies": {
"@contentlayer/source-sanity": "workspace:*",
"contentlayer": "workspace:*",
"date-fns": "^2.29.1",
"date-fns": "3.6.0",
"marked": "^3.0.4",
"next": "^12.2.3",
"next": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
Expand All @@ -21,8 +21,8 @@
"sass": "^1.32.7"
},
"devDependencies": {
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-helmet": "^6.1.5",
"typescript": "^5.5.0"
}
Expand Down
8 changes: 4 additions & 4 deletions examples/archive/playground-azimuth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"start": "next start"
},
"dependencies": {
"date-fns": "^2.29.1",
"date-fns": "3.6.0",
"marked": "^3.0.4",
"next": "^12.2.3",
"next": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
Expand All @@ -18,8 +18,8 @@
"sass": "^1.32.7"
},
"devDependencies": {
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.",
"@types/react-helmet": "^6.1.5",
"contentlayer": "workspace:*",
"contentlayer-stackbit-yaml-generator": "workspace:*",
Expand Down
12 changes: 6 additions & 6 deletions examples/archive/playground-contentful-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"start": "next start"
},
"dependencies": {
"date-fns": "^2.29.1",
"next": "^12.2.3",
"react": "18.2.0",
"react-dom": "18.2.0"
"date-fns": "3.6.0",
"next": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"contentlayer": "latest",
"next-contentlayer": "latest",
"rehype-highlight": "^5.0.2",
Expand Down
10 changes: 5 additions & 5 deletions examples/archive/starter-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"start": "next start"
},
"dependencies": {
"date-fns": "^2.29.1",
"next": "^12.2.3",
"react": "18.2.0",
"react-dom": "18.2.0"
"date-fns": "3.6.0",
"next": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"contentlayer": "latest",
"next-contentlayer": "latest",
"rehype-highlight": "^5.0.2"
}
}
}
12 changes: 6 additions & 6 deletions examples/archive/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"start": "next start"
},
"dependencies": {
"date-fns": "^2.29.1",
"next": "^12.2.3",
"react": "18.2.0",
"react-dom": "18.2.0"
"date-fns": "3.6.0",
"next": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"contentlayer": "latest",
"next-contentlayer": "latest",
"rehype-highlight": "^5.0.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/next-contentlayer-example
8 changes: 4 additions & 4 deletions examples/next-images/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
},
"dependencies": {
"contentlayer2": "latest",
"date-fns": "2.30.0",
"next": "14.1.0",
"date-fns": "3.6.0",
"next": "^14.1.0",
"next-contentlayer2": "latest",
"react": "18.2.0",
"react-dom": "18.2.0"
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "18.2.14",
Expand Down
2 changes: 1 addition & 1 deletion examples/next-rsc-dynamic/contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { makeSource } from 'contentlayer2/source-remote-files'

const Post = defineDocumentType(() => ({
name: 'Post',
filePathPattern: `docs/**/*.md`,
filePathPattern: `docs/**/*.mdx`,
fields: {
title: {
type: 'string',
Expand Down
8 changes: 4 additions & 4 deletions examples/next-rsc-dynamic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
},
"dependencies": {
"contentlayer2": "latest",
"date-fns": "2.30.0",
"next": "14.1.0",
"date-fns": "3.6.0",
"next": "^14.1.0",
"next-contentlayer2": "latest",
"react": "18.2.0",
"react-dom": "18.2.0"
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "18.2.14",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"typescript": "^5.5.0"
},
"resolutions": {
"esbuild": "0.18.0",
"esbuild": "0.23.0",
"contentlayer2": "workspace:*",
"@contentlayer2/*": "workspace:*",
"contentlayer-stackbit-yaml-generator2": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/@contentlayer/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test": "echo No tests yet"
},
"peerDependencies": {
"esbuild": "0.17.x || 0.18.x || 0.19.x || 0.20.x",
"esbuild": ">=0.17",
"markdown-wasm": "1.x"
},
"peerDependenciesMeta": {
Expand All @@ -38,7 +38,7 @@
"@contentlayer2/utils": "workspace:*",
"camel-case": "^4.1.2",
"comment-json": "^4.2.3",
"esbuild": "0.17.x || 0.18.x || 0.19.x || 0.20.x",
"esbuild": ">=0.17",
"gray-matter": "^4.0.3",
"mdx-bundler": "^10.0.2",
"rehype-stringify": "^10.0.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/@contentlayer/core/src/generation/generate-dotpkg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,9 @@ const require = topLevelCreateRequire(import.meta.url);
const __dirname = '__SET_BY_ESBUILD__';
`,
},
loader: {
'.node': 'file',
},
external: [
'@opentelemetry/exporter-trace-otlp-grpc',
'fetch-blob', // needed for `mdx-bundler`
Expand Down
2 changes: 1 addition & 1 deletion packages/@contentlayer/utils/src/effect/These.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { _A, _E } from '@effect-ts/core/Effect'
import { E, O, T } from './index.js'

export class These<E, A> {
readonly [_E]!: () => E;
readonly [_E]!: () => E
readonly [_A]!: () => A
constructor(readonly either: E.Either<E, Tp.Tuple<[A, O.Option<E>]>>) {}
}
Expand Down
6 changes: 3 additions & 3 deletions packages/next-contentlayer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
},
"peerDependencies": {
"contentlayer2": "workspace:*",
"next": "^12 || ^13 || ^14",
"next": ">=12.0.0",
"react": "*",
"react-dom": "*"
},
"devDependencies": {
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"next": "^14.1.0",
"typescript": "^5.5.0",
"webpack": "^5.88.1"
Expand Down
Loading

0 comments on commit 4876412

Please sign in to comment.