diff --git a/packages/adapters/astro/package.json b/packages/adapters/astro/package.json index 84abf05c..879395a5 100644 --- a/packages/adapters/astro/package.json +++ b/packages/adapters/astro/package.json @@ -37,8 +37,8 @@ "galactiks" ], "dependencies": { - "@galactiks/config": "*", - "@galactiks/explorer": "*" + "@galactiks/config": "workspace:^", + "@galactiks/explorer": "workspace:^" }, "peerDependencies": { "@astrojs/partytown": "2.0.0", diff --git a/packages/config/package.json b/packages/config/package.json index 3af039fb..9d79e827 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -31,6 +31,7 @@ "galactiks" ], "dependencies": { + "@galactiks/contentlayer": "workspace:^", "deepmerge": "4.3.1", "lodash.set": "4.3.2", "zod": "3.22.2" diff --git a/packages/config/src/config.mts b/packages/config/src/config.mts index a1f886a7..73913568 100644 --- a/packages/config/src/config.mts +++ b/packages/config/src/config.mts @@ -1,3 +1,4 @@ +import { pageDocumentTypes } from '@galactiks/contentlayer'; import deepmerge from 'deepmerge'; import { existsSync, readFileSync } from 'fs'; import set from 'lodash.set'; @@ -8,7 +9,6 @@ import { type WebManifest, } from './webmanifest.config.mjs'; import { join } from 'path'; -import { pageDocumentTypes } from './consts.mjs'; const localesSchema = z.object({ default: z.string(), diff --git a/packages/config/src/consts.mts b/packages/config/src/consts.mts deleted file mode 100644 index 40ad7a5e..00000000 --- a/packages/config/src/consts.mts +++ /dev/null @@ -1,16 +0,0 @@ -export enum pageDocumentTypes { - Article = 'articles', - Organization = 'organizations', - Page = 'pages', - Person = 'people', - Tag = 'tags', -} -export enum documentTypes { - Article = pageDocumentTypes.Article, - Organization = pageDocumentTypes.Organization, - Page = pageDocumentTypes.Page, - Person = pageDocumentTypes.Person, - Tag = pageDocumentTypes.Tag, - WebPageElement = 'webPageElements', - Website = 'websites', -} diff --git a/packages/config/src/index.mts b/packages/config/src/index.mts index 7632299b..0df2b004 100644 --- a/packages/config/src/index.mts +++ b/packages/config/src/index.mts @@ -1,3 +1,2 @@ export * from './config.mjs'; -export * from './consts.mjs'; export * from './webmanifest.config.mjs'; diff --git a/packages/contentlayer/README.md b/packages/contentlayer/README.md new file mode 100644 index 00000000..e69de29b diff --git a/packages/contentlayer/package.json b/packages/contentlayer/package.json new file mode 100644 index 00000000..2b9f008b --- /dev/null +++ b/packages/contentlayer/package.json @@ -0,0 +1,40 @@ +{ + "name": "@galactiks/contentlayer", + "version": "0.0.1", + "description": "Galactiks contentlayer configurations", + "author": "galactiks", + "types": "./dist/index.d.mts", + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "bugs": "https://github.com/thegalactiks/explorer/issues", + "repository": { + "type": "git", + "url": "https://github.com/thegalactiks/explorer.git", + "directory": "packages/contentlayer" + }, + "main": "dist/index.mjs", + "scripts": { + "build": "tsc -p ./tsconfig.json", + "build:ci": "tsc -p ./tsconfig.json" + }, + "exports": { + "./package.json": "./package.json", + ".": "./dist/index.mjs", + "./configs": "./dist/configs/index.mjs" + }, + "files": [ + "dist" + ], + "keywords": [ + "galactiks", + "contentlayer" + ], + "devDependencies": { + "contentlayer": "0.3.4" + }, + "peerDependencies": { + "contentlayer": "0.3.4" + } +} diff --git a/packages/contentlayer/src/configs/index.mts b/packages/contentlayer/src/configs/index.mts new file mode 100644 index 00000000..ee2acc64 --- /dev/null +++ b/packages/contentlayer/src/configs/index.mts @@ -0,0 +1 @@ +export * from './source-files.config.mjs'; diff --git a/packages/contentlayer/src/configs/source-files.config.mts b/packages/contentlayer/src/configs/source-files.config.mts new file mode 100644 index 00000000..b2afe85f --- /dev/null +++ b/packages/contentlayer/src/configs/source-files.config.mts @@ -0,0 +1,45 @@ +import { defineDocumentType } from 'contentlayer/source-files'; +import { + ContentLayerArticleFields, + ContentLayerWebsiteFields, + ContentLayerWebPageElementFields, + ContentLayerOrganizationFields, + ContentLayerPageFields, + ContentLayerPersonFields, +} from '../fields.mjs'; + +export const ArticleDocumentType = defineDocumentType(() => ({ + ...ContentLayerArticleFields, + filePathPattern: 'articles/**/*.mdx', + contentType: 'mdx', +})); + +export const PageDocumentType = defineDocumentType(() => ({ + ...ContentLayerPageFields, + filePathPattern: 'pages/**/*.mdx', + contentType: 'mdx', +})); + +export const PersonDocumentType = defineDocumentType(() => ({ + ...ContentLayerPersonFields, + filePathPattern: 'persons/**/*.mdx', + contentType: 'mdx', +})); + +export const OrganizationDocumentType = defineDocumentType(() => ({ + ...ContentLayerOrganizationFields, + filePathPattern: 'organizations/**/*.mdx', + contentType: 'mdx', +})); + +export const WebsiteDocumentType = defineDocumentType(() => ({ + ...ContentLayerWebsiteFields, + filePathPattern: 'websites/*.mdx', + contentType: 'mdx', +})); + +export const WebpageElementDocumentType = defineDocumentType(() => ({ + ...ContentLayerWebPageElementFields, + filePathPattern: 'elements/*.mdx', + contentType: 'mdx', +})); diff --git a/packages/explorer/src/core/contentlayer.mts b/packages/contentlayer/src/fields.mts similarity index 90% rename from packages/explorer/src/core/contentlayer.mts rename to packages/contentlayer/src/fields.mts index 9eed8622..5420453f 100644 --- a/packages/explorer/src/core/contentlayer.mts +++ b/packages/contentlayer/src/fields.mts @@ -4,7 +4,24 @@ import { type FieldDefs, type NestedType, } from 'contentlayer/source-files'; -import { documentTypes } from '@galactiks/config'; + +export enum pageDocumentTypes { + Article = 'articles', + Organization = 'organizations', + Page = 'pages', + Person = 'people', + Tag = 'tags', +} + +export enum documentTypes { + Article = pageDocumentTypes.Article, + Organization = pageDocumentTypes.Organization, + Page = pageDocumentTypes.Page, + Person = pageDocumentTypes.Person, + Tag = pageDocumentTypes.Tag, + WebPageElement = 'webPageElements', + Website = 'websites', +} type DocumentTypeDef = ContentlayerDocumentTypeDef & { name: keyof typeof documentTypes; diff --git a/packages/contentlayer/src/index.mts b/packages/contentlayer/src/index.mts new file mode 100644 index 00000000..d9c84e15 --- /dev/null +++ b/packages/contentlayer/src/index.mts @@ -0,0 +1,4 @@ +export * from './fields.mjs'; +export * from './types.mjs'; + +export type { MDX } from 'contentlayer/core'; diff --git a/packages/explorer/src/core/content/types/contentlayer.d.mts b/packages/contentlayer/src/types.mts similarity index 99% rename from packages/explorer/src/core/content/types/contentlayer.d.mts rename to packages/contentlayer/src/types.mts index d799d8ec..69b45d9f 100644 --- a/packages/explorer/src/core/content/types/contentlayer.d.mts +++ b/packages/contentlayer/src/types.mts @@ -8,8 +8,6 @@ import type { } from 'contentlayer/core'; import * as Local from 'contentlayer/source-files'; -export { isType } from 'contentlayer/client'; - export type { Markdown, MDX, ImageFieldData, IsoDateTimeString }; /** Document types */ diff --git a/packages/contentlayer/tsconfig.json b/packages/contentlayer/tsconfig.json new file mode 100644 index 00000000..569016e9 --- /dev/null +++ b/packages/contentlayer/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.base.json", + "include": ["src"], + "compilerOptions": { + "allowJs": true, + "target": "ES2021", + "module": "ES2022", + "outDir": "./dist" + } +} diff --git a/packages/explorer/package.json b/packages/explorer/package.json index 0f5f0cd5..a030bb9e 100644 --- a/packages/explorer/package.json +++ b/packages/explorer/package.json @@ -16,8 +16,7 @@ }, "scripts": { "build": "tsc -p ./tsconfig.json", - "build:ci": "tsc -p ./tsconfig.json", - "contentlayer:build": "contentlayer build" + "build:ci": "tsc -p ./tsconfig.json" }, "types": "./dist/index.d.mts", "exports": { @@ -28,12 +27,12 @@ "dist" ], "keywords": [ - "contentlayer", "galactiks" ], "dependencies": { + "@galactiks/config": "workspace:^", + "@galactiks/contentlayer": "workspace:^", "@std-uritemplate/std-uritemplate": "0.0.40", - "@galactiks/config": "*", "esbuild": "0.19.3", "mdx-bundler": "9.2.1", "react": "18.2.0", @@ -42,10 +41,6 @@ }, "devDependencies": { "@types/react": "18.2.21", - "contentlayer": "0.3.4", "schema-dts": "1.1.2" - }, - "peerDependencies": { - "contentlayer": "0.3.4" } } diff --git a/packages/explorer/src/core/content/render.mts b/packages/explorer/src/core/content/render.mts index 327e78e1..d636d4a2 100644 --- a/packages/explorer/src/core/content/render.mts +++ b/packages/explorer/src/core/content/render.mts @@ -1,4 +1,4 @@ -import type { MDX } from 'contentlayer/core'; +import type { MDX } from '@galactiks/contentlayer'; import { getMDXComponent } from 'mdx-bundler/client/index.js'; import * as React from 'react'; import type { diff --git a/packages/explorer/src/core/content/types/_schemas.mts b/packages/explorer/src/core/content/types/_schemas.mts index 6bc0a2d2..5f23729e 100644 --- a/packages/explorer/src/core/content/types/_schemas.mts +++ b/packages/explorer/src/core/content/types/_schemas.mts @@ -1,4 +1,4 @@ -import { documentTypes } from '@galactiks/config'; +import { documentTypes } from '@galactiks/contentlayer'; import { z } from 'zod'; const metadataHeaders = z diff --git a/packages/explorer/src/core/content/types/index.mts b/packages/explorer/src/core/content/types/index.mts index fee07f39..69c77bbf 100644 --- a/packages/explorer/src/core/content/types/index.mts +++ b/packages/explorer/src/core/content/types/index.mts @@ -1,10 +1,10 @@ -import type { MDX } from 'contentlayer/core'; - import type { + MDX, Article as ContentlayerArticle, Page as ContentlayerPage, Person as ContentlayerPerson, -} from './contentlayer.mjs'; +} from '@galactiks/contentlayer'; + import type { MetadataHeaders, Page } from './_schemas.mjs'; import type { Render } from '../render.mjs'; @@ -18,7 +18,7 @@ export type { Person as ContentlayerPerson, Website as ContentlayerWebsite, WebPageElement as ContentlayerWebPageElement, -} from './contentlayer.mjs'; +} from '@galactiks/contentlayer'; export type * from './_schemas.mjs'; type ContentlayerTagPage = Omit & { type: 'Tag' }; export type ContentlayerWebPageDocument = diff --git a/packages/explorer/src/core/content/urls.mts b/packages/explorer/src/core/content/urls.mts index 6e310a30..d3267744 100644 --- a/packages/explorer/src/core/content/urls.mts +++ b/packages/explorer/src/core/content/urls.mts @@ -1,5 +1,6 @@ import { StdUriTemplate } from '@std-uritemplate/std-uritemplate'; -import { documentTypes, getConfig } from '@galactiks/config'; +import { getConfig } from '@galactiks/config'; +import { documentTypes } from '@galactiks/contentlayer'; import { join } from 'path'; import type { diff --git a/packages/explorer/src/core/index.mts b/packages/explorer/src/core/index.mts index f058c6b6..1c08e89a 100644 --- a/packages/explorer/src/core/index.mts +++ b/packages/explorer/src/core/index.mts @@ -1,2 +1 @@ export * from './content/index.mjs'; -export * from './contentlayer.mjs'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 86ba5cb3..827531f9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,9 +1,5 @@ lockfileVersion: '6.0' -settings: - autoInstallPeers: false - excludeLinksFromLockfile: false - overrides: '@opentelemetry/api': 1.4.1 '@opentelemetry/core': 1.13.0 @@ -60,10 +56,10 @@ importers: packages/adapters/astro: dependencies: '@galactiks/config': - specifier: '*' + specifier: workspace:^ version: link:../../config '@galactiks/explorer': - specifier: '*' + specifier: workspace:^ version: link:../../explorer devDependencies: '@astrojs/partytown': @@ -114,6 +110,9 @@ importers: packages/config: dependencies: + '@galactiks/contentlayer': + specifier: workspace:^ + version: link:../contentlayer deepmerge: specifier: 4.3.1 version: 4.3.1 @@ -128,11 +127,20 @@ importers: specifier: 4.3.7 version: 4.3.7 + packages/contentlayer: + devDependencies: + contentlayer: + specifier: 0.3.4 + version: 0.3.4 + packages/explorer: dependencies: '@galactiks/config': - specifier: '*' + specifier: workspace:^ version: link:../config + '@galactiks/contentlayer': + specifier: workspace:^ + version: link:../contentlayer '@std-uritemplate/std-uritemplate': specifier: 0.0.40 version: 0.0.40 @@ -155,9 +163,6 @@ importers: '@types/react': specifier: 18.2.21 version: 18.2.21 - contentlayer: - specifier: 0.3.4 - version: 0.3.4(esbuild@0.19.3) schema-dts: specifier: 1.1.2 version: 1.1.2(typescript@5.2.2) @@ -744,35 +749,32 @@ packages: prettier: 2.8.8 dev: true - /@contentlayer/cli@0.3.4(esbuild@0.19.3): + /@contentlayer/cli@0.3.4: resolution: {integrity: sha512-vNDwgLuhYNu+m70NZ3XK9kexKNguuxPXg7Yvzj3B34cEilQjjzSrcTY/i+AIQm9V7uT5GGshx9ukzPf+SmoszQ==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.3) + '@contentlayer/core': 0.3.4 '@contentlayer/utils': 0.3.4 clipanion: 3.2.1 typanion: 3.13.0 transitivePeerDependencies: - '@effect-ts/otel-node' - - esbuild - markdown-wasm - supports-color dev: true - /@contentlayer/client@0.3.4(esbuild@0.19.3): + /@contentlayer/client@0.3.4: resolution: {integrity: sha512-QSlLyc3y4PtdC5lFw0L4wTZUH8BQnv2nk37hNCsPAqGf+dRO7TLAzdc+2/mVIRgK+vSH+pSOzjLsQpFxxXRTZA==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.3) + '@contentlayer/core': 0.3.4 transitivePeerDependencies: - '@effect-ts/otel-node' - - esbuild - markdown-wasm - supports-color dev: true - /@contentlayer/core@0.3.4(esbuild@0.19.3): + /@contentlayer/core@0.3.4: resolution: {integrity: sha512-o68oBLwfYZ+2vtgfk1lgHxOl3LoxvRNiUfeQ8IWFWy/L4wnIkKIqLZX01zlRE5IzYM+ZMMN5V0cKQlO7DsyR9g==} peerDependencies: - esbuild: 0.17.x || 0.18.x markdown-wasm: 1.x peerDependenciesMeta: esbuild: @@ -783,9 +785,9 @@ packages: '@contentlayer/utils': 0.3.4 camel-case: 4.1.2 comment-json: 4.2.3 - esbuild: 0.19.3 + esbuild: 0.18.17 gray-matter: 4.0.3 - mdx-bundler: 9.2.1(esbuild@0.19.3) + mdx-bundler: 9.2.1(esbuild@0.18.17) rehype-stringify: 9.0.4 remark-frontmatter: 4.0.1 remark-parse: 10.0.2 @@ -798,10 +800,10 @@ packages: - supports-color dev: true - /@contentlayer/source-files@0.3.4(esbuild@0.19.3): + /@contentlayer/source-files@0.3.4: resolution: {integrity: sha512-4njyn0OFPu7WY4tAjMxiJgWOKeiHuBOGdQ36EYE03iij/pPPRbiWbL+cmLccYXUFEW58mDwpqROZZm6pnxjRDQ==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.3) + '@contentlayer/core': 0.3.4 '@contentlayer/utils': 0.3.4 chokidar: 3.5.3 fast-glob: 3.3.1 @@ -814,20 +816,18 @@ packages: zod: 3.22.2 transitivePeerDependencies: - '@effect-ts/otel-node' - - esbuild - markdown-wasm - supports-color dev: true - /@contentlayer/source-remote-files@0.3.4(esbuild@0.19.3): + /@contentlayer/source-remote-files@0.3.4: resolution: {integrity: sha512-cyiv4sNUySZvR0uAKlM+kSAELzNd2h2QT1R2e41dRKbwOUVxeLfmGiLugr0aVac6Q3xYcD99dbHyR1xWPV+w9w==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.3) - '@contentlayer/source-files': 0.3.4(esbuild@0.19.3) + '@contentlayer/core': 0.3.4 + '@contentlayer/source-files': 0.3.4 '@contentlayer/utils': 0.3.4 transitivePeerDependencies: - '@effect-ts/otel-node' - - esbuild - markdown-wasm - supports-color dev: true @@ -875,10 +875,10 @@ packages: resolution: {integrity: sha512-47gAg0O2pW5Jlo86jfzjdkwL5a7Bzb+Kj5WTmdu4CxYRfWn9ytKjuuYIfsNDW8neuhdKzn+P5wCddgEh0glYyQ==} peerDependencies: '@effect-ts/core': ^0.60.2 - '@opentelemetry/api': 1.4.1 - '@opentelemetry/core': 1.13.0 - '@opentelemetry/exporter-trace-otlp-grpc': 0.39.1 - '@opentelemetry/sdk-trace-base': 1.13.0 + '@opentelemetry/api': ^1.4.0 + '@opentelemetry/core': ^1.13.0 + '@opentelemetry/exporter-trace-otlp-grpc': ^0.39.0 + '@opentelemetry/sdk-trace-base': ^1.13.0 dependencies: '@effect-ts/core': 0.60.5 '@effect-ts/otel': 0.15.1(@effect-ts/core@0.60.5)(@opentelemetry/api@1.4.1)(@opentelemetry/core@1.13.0)(@opentelemetry/sdk-trace-base@1.13.0) @@ -892,10 +892,10 @@ packages: resolution: {integrity: sha512-a2sF0ylmn8xOJs8fNeT/spJ1gUcsksAJCALxo9WOfuTCMtTwMVtVhCKEPEeQoL7wFqU+JgPkVdP91+FJ/Rkeow==} peerDependencies: '@effect-ts/core': ^0.60.2 - '@opentelemetry/api': 1.4.1 - '@opentelemetry/core': 1.13.0 - '@opentelemetry/sdk-trace-base': 1.13.0 - '@opentelemetry/sdk-trace-node': 1.13.0 + '@opentelemetry/api': ^1.4.0 + '@opentelemetry/core': ^1.13.0 + '@opentelemetry/sdk-trace-base': ^1.13.0 + '@opentelemetry/sdk-trace-node': ^1.13.0 dependencies: '@effect-ts/core': 0.60.5 '@effect-ts/otel': 0.15.1(@effect-ts/core@0.60.5)(@opentelemetry/api@1.4.1)(@opentelemetry/core@1.13.0)(@opentelemetry/sdk-trace-base@1.13.0) @@ -909,9 +909,9 @@ packages: resolution: {integrity: sha512-AmZJHl7t0+Peh7Yb2+hqn6r9+rd9/UfeA4AMV9h0YGTdOyouyFfD3wzWlxnAUzAQ4Lrod4kC7Noruret4EpqpA==} peerDependencies: '@effect-ts/core': ^0.60.2 - '@opentelemetry/api': 1.4.1 - '@opentelemetry/core': 1.13.0 - '@opentelemetry/sdk-trace-base': 1.13.0 + '@opentelemetry/api': ^1.4.0 + '@opentelemetry/core': ^1.13.0 + '@opentelemetry/sdk-trace-base': ^1.13.0 dependencies: '@effect-ts/core': 0.60.5 '@opentelemetry/api': 1.4.1 @@ -923,6 +923,20 @@ packages: resolution: {integrity: sha512-/crHGujo0xnuHIYNc1VgP0HGJGFSoSqq88JFXe6FmFyXPpWt8Xu39LyLg7rchsxfXFeEdA9CrIZvLV5eswXV5g==} dev: true + /@esbuild-plugins/node-resolve@0.1.4(esbuild@0.18.17): + resolution: {integrity: sha512-haFQ0qhxEpqtWWY0kx1Y5oE3sMyO1PcoSiWEPrAw6tm/ZOOLXjSs6Q+v1v9eyuVF0nNt50YEvrcrvENmyoMv5g==} + peerDependencies: + esbuild: '*' + dependencies: + '@types/resolve': 1.20.2 + debug: 4.3.4 + esbuild: 0.18.17 + escape-string-regexp: 4.0.0 + resolve: 1.22.4 + transitivePeerDependencies: + - supports-color + dev: true + /@esbuild-plugins/node-resolve@0.1.4(esbuild@0.19.3): resolution: {integrity: sha512-haFQ0qhxEpqtWWY0kx1Y5oE3sMyO1PcoSiWEPrAw6tm/ZOOLXjSs6Q+v1v9eyuVF0nNt50YEvrcrvENmyoMv5g==} peerDependencies: @@ -935,6 +949,7 @@ packages: resolve: 1.22.4 transitivePeerDependencies: - supports-color + dev: false /@esbuild/android-arm64@0.18.17: resolution: {integrity: sha512-9np+YYdNDed5+Jgr1TdWBsozZ85U1Oa3xW0c7TWqH0y2aGghXtZsuT8nYRbzOMcl0bXZXjOGbksoTtVOlWrRZg==} @@ -1452,6 +1467,19 @@ packages: read-yaml-file: 1.1.0 dev: true + /@mdx-js/esbuild@2.3.0(esbuild@0.18.17): + resolution: {integrity: sha512-r/vsqsM0E+U4Wr0DK+0EfmABE/eg+8ITW4DjvYdh3ve/tK2safaqHArNnaqbOk1DjYGrhxtoXoGaM3BY8fGBTA==} + peerDependencies: + esbuild: '>=0.11.0' + dependencies: + '@mdx-js/mdx': 2.3.0 + esbuild: 0.18.17 + node-fetch: 3.3.1 + vfile: 5.3.7 + transitivePeerDependencies: + - supports-color + dev: true + /@mdx-js/esbuild@2.3.0(esbuild@0.19.3): resolution: {integrity: sha512-r/vsqsM0E+U4Wr0DK+0EfmABE/eg+8ITW4DjvYdh3ve/tK2safaqHArNnaqbOk1DjYGrhxtoXoGaM3BY8fGBTA==} peerDependencies: @@ -1463,6 +1491,7 @@ packages: vfile: 5.3.7 transitivePeerDependencies: - supports-color + dev: false /@mdx-js/mdx@2.3.0: resolution: {integrity: sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==} @@ -1524,7 +1553,7 @@ packages: resolution: {integrity: sha512-pS5fU4lrRjOIPZQqA2V1SUM9QUFXbO+8flubAiy6ntLjnAjJJUdRFOUOxK6v86ZHI2p2S8A0vD0BTu95FZYvjA==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': '>=1.0.0 <1.5.0' dependencies: '@opentelemetry/api': 1.4.1 dev: true @@ -1533,7 +1562,7 @@ packages: resolution: {integrity: sha512-2dBX3Sj99H96uwJKvc2w9NOiNgbvAO6mOFJFramNkKfS9O4Um+VWgpnlAazoYjT6kUJ1MP70KQ5ngD4ed+4NUw==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': '>=1.0.0 <1.5.0' dependencies: '@opentelemetry/api': 1.4.1 '@opentelemetry/semantic-conventions': 1.13.0 @@ -1543,7 +1572,7 @@ packages: resolution: {integrity: sha512-l5RhLKx6U+yuLhMrtgavTDthX50E1mZM3/SSySC7OPZiArFHV/b/9x9jxAzrOgIQUDxyj4N0V9aLKSA2t7Qzxg==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': ^1.0.0 dependencies: '@grpc/grpc-js': 1.8.18 '@opentelemetry/api': 1.4.1 @@ -1558,7 +1587,7 @@ packages: resolution: {integrity: sha512-Pv5X8fbi6jD/RJBePyn7MnCSuE6MbPB6dl+7YYBWJ5RcMGYMwvLXjd4h2jWsPV2TSUg38H/RoSP0aXvQ06Y7iw==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': ^1.0.0 dependencies: '@opentelemetry/api': 1.4.1 '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.4.1) @@ -1568,7 +1597,7 @@ packages: resolution: {integrity: sha512-u3ErFRQqQFKjjIMuwLWxz/tLPYInfmiAmSy//fGSCzCh2ZdJgqQjMOAxBgqFtCF2xFL+OmMhyuC2ThMzceGRWA==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': ^1.0.0 dependencies: '@grpc/grpc-js': 1.8.18 '@opentelemetry/api': 1.4.1 @@ -1581,7 +1610,7 @@ packages: resolution: {integrity: sha512-0hgVnXXz5efI382B/24NxD4b6Zxlh7nxCdJkxkdmQMbn0yRiwoq/ZT+QG8eUL6JNzsBAV1WJlF5aJNsL8skHvw==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': '>=1.3.0 <1.5.0' dependencies: '@opentelemetry/api': 1.4.1 '@opentelemetry/api-logs': 0.39.1 @@ -1596,7 +1625,7 @@ packages: resolution: {integrity: sha512-HOo91EI4UbuG8xQVLFziTzrcIn0MJQhy8m9jorh8aonb94jFVFi3CFNIiAnIGOabmnshJLOABxpYXsiPB8Xnzg==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': '>=1.0.0 <1.5.0' dependencies: '@opentelemetry/api': 1.4.1 '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.4.1) @@ -1606,7 +1635,7 @@ packages: resolution: {integrity: sha512-IV9TO+u1Jzm9mUDAD3gyXf89eyvgEJUY1t+GB5QmS4wjVeWrSMUtD0JjH3yG9SNqkrQOqOGJq7YUSSetW+Lf5Q==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': '>=1.0.0 <1.5.0' dependencies: '@opentelemetry/api': 1.4.1 '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.4.1) @@ -1616,7 +1645,7 @@ packages: resolution: {integrity: sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': '>=1.0.0 <1.5.0' dependencies: '@opentelemetry/api': 1.4.1 '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.4.1) @@ -1627,7 +1656,7 @@ packages: resolution: {integrity: sha512-/gmgKfZ1ZVFporKuwsewqIyvaUIGpv76JZ7lBpHQQPb37IMpaXO6pdqFI4ebHAWfNIm3akMyhmdtzivcgF3lgw==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': '>=1.4.0 <1.5.0' '@opentelemetry/api-logs': '>=0.38.0' dependencies: '@opentelemetry/api': 1.4.1 @@ -1640,7 +1669,7 @@ packages: resolution: {integrity: sha512-MOjZX6AnSOqLliCcZUrb+DQKjAWXBiGeICGbHAGe5w0BB18PJIeIo995lO5JSaFfHpmUMgJButTPfJJD27W3Vg==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': '>=1.3.0 <1.5.0' dependencies: '@opentelemetry/api': 1.4.1 '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.4.1) @@ -1652,7 +1681,7 @@ packages: resolution: {integrity: sha512-moTiQtc0uPR1hQLt6gLDJH9IIkeBhgRb71OKjNHZPE1VF45fHtD6nBDi5J/DkTHTwYP5X3kBJLa3xN7ub6J4eg==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': '>=1.0.0 <1.5.0' dependencies: '@opentelemetry/api': 1.4.1 '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.4.1) @@ -1664,7 +1693,7 @@ packages: resolution: {integrity: sha512-FXA85lXKTsnbOflA/TBuBf2pmhD3c8uDjNjG0YqK+ap8UayfALmfJhf+aG1yBOUHevCY0JXJ4/xtbXExxpsMog==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': 1.4.1 + '@opentelemetry/api': '>=1.0.0 <1.5.0' dependencies: '@opentelemetry/api': 1.4.1 '@opentelemetry/context-async-hooks': 1.13.0(@opentelemetry/api@1.4.1) @@ -2677,21 +2706,20 @@ packages: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: true - /contentlayer@0.3.4(esbuild@0.19.3): + /contentlayer@0.3.4: resolution: {integrity: sha512-FYDdTUFaN4yqep0waswrhcXjmMJnPD5iXDTtxcUCGdklfuIrXM2xLx51xl748cHmGA6IsC+27YZFxU6Ym13QIA==} engines: {node: '>=14.18'} hasBin: true requiresBuild: true dependencies: - '@contentlayer/cli': 0.3.4(esbuild@0.19.3) - '@contentlayer/client': 0.3.4(esbuild@0.19.3) - '@contentlayer/core': 0.3.4(esbuild@0.19.3) - '@contentlayer/source-files': 0.3.4(esbuild@0.19.3) - '@contentlayer/source-remote-files': 0.3.4(esbuild@0.19.3) + '@contentlayer/cli': 0.3.4 + '@contentlayer/client': 0.3.4 + '@contentlayer/core': 0.3.4 + '@contentlayer/source-files': 0.3.4 + '@contentlayer/source-remote-files': 0.3.4 '@contentlayer/utils': 0.3.4 transitivePeerDependencies: - '@effect-ts/otel-node' - - esbuild - markdown-wasm - supports-color dev: true @@ -4715,6 +4743,26 @@ packages: dependencies: '@types/mdast': 3.0.11 + /mdx-bundler@9.2.1(esbuild@0.18.17): + resolution: {integrity: sha512-hWEEip1KU9MCNqeH2rqwzAZ1pdqPPbfkx9OTJjADqGPQz4t9BO85fhI7AP9gVYrpmfArf9/xJZUN0yBErg/G/Q==} + engines: {node: '>=14', npm: '>=6'} + peerDependencies: + esbuild: 0.* + dependencies: + '@babel/runtime': 7.22.5 + '@esbuild-plugins/node-resolve': 0.1.4(esbuild@0.18.17) + '@fal-works/esbuild-plugin-global-externals': 2.1.2 + '@mdx-js/esbuild': 2.3.0(esbuild@0.18.17) + esbuild: 0.18.17 + gray-matter: 4.0.3 + remark-frontmatter: 4.0.1 + remark-mdx-frontmatter: 1.1.1 + uuid: 8.3.2 + vfile: 5.3.7 + transitivePeerDependencies: + - supports-color + dev: true + /mdx-bundler@9.2.1(esbuild@0.19.3): resolution: {integrity: sha512-hWEEip1KU9MCNqeH2rqwzAZ1pdqPPbfkx9OTJjADqGPQz4t9BO85fhI7AP9gVYrpmfArf9/xJZUN0yBErg/G/Q==} engines: {node: '>=14', npm: '>=6'} @@ -4733,6 +4781,7 @@ packages: vfile: 5.3.7 transitivePeerDependencies: - supports-color + dev: false /memfs@3.5.3: resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==} @@ -7397,3 +7446,7 @@ packages: /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} + +settings: + autoInstallPeers: false + excludeLinksFromLockfile: false