diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..ee45b8e --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node +{ + "name": "Node.js & TypeScript", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm" + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "yarn install", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/package.json b/package.json index d26715f..8807ef7 100644 --- a/package.json +++ b/package.json @@ -36,57 +36,58 @@ "pre-commit": "yarn lint-staged" }, "dependencies": { + "@csstools/postcss-global-data": "^2.1.1", "@docusaurus/core": "^3.6.3", "@docusaurus/faster": "^3.6.3", + "@docusaurus/plugin-client-redirects": "^3.6.3", "@docusaurus/plugin-content-docs": "^3.6.3", "@docusaurus/plugin-debug": "^3.6.3", "@docusaurus/plugin-google-gtag": "3.6.3", "@docusaurus/plugin-sitemap": "^3.6.3", "@docusaurus/theme-classic": "^3.6.3", + "@docusaurus/tsconfig": "^3.6.3", "@inkeep/widgets": "^0.2.290", "@mdx-js/react": "^3.0.0", "classnames": "^2.3.1", "clsx": "^2.1.1", "date-fns": "^3.6.0", + "dotenv": "^16.4.5", "highlightjs-terraform": "https://github.com/highlightjs/highlightjs-terraform#eb1b9661e143a43dff6b58b391128ce5cdad31d4", "lowlight": "^3.1.0", + "nanoid": "^5.0.9", + "postcss-preset-env": "^9.5.14", "prism-react-renderer": "^2.3.0", - "react": "^18.3.1", "react-dom": "^18.3.1", "react-loadable": "^5.5.0", - "react-use": "^17.5.0" + "react-use": "^17.5.0", + "react": "^18.3.1", + "rehype-highlight": "^7.0.2", + "remark-mdx": "^2.1.1", + "vite-node": "^3.0.5" }, "devDependencies": { - "@csstools/postcss-global-data": "^2.1.1", "@docusaurus/module-type-aliases": "^3.6.3", - "@docusaurus/plugin-client-redirects": "^3.6.3", - "@docusaurus/tsconfig": "^3.6.3", "@docusaurus/types": "^3.6.3", "@types/react": "^18.3.3", "ajv": "^8.16.0", - "dotenv": "^16.4.5", "hast": "^1.0.0", "jest": "^29.7.0", "js-yaml": "^4.1.0", "loadr": "^0.1.1", - "mdast": "^3.0.0", "mdast-util-from-markdown": "^2.0.1", "mdast-util-frontmatter": "^2.0.1", "mdast-util-gfm": "^3.0.0", "mdast-util-mdx": "^3.0.0", + "mdast": "^3.0.0", "micromark-extension-frontmatter": "^2.0.0", "micromark-extension-gfm": "^3.0.0", "micromark-extension-mdxjs": "^3.0.0", - "nanoid": "^5.0.9", "postcss": "^8.4.38", - "postcss-preset-env": "^9.5.14", - "rehype-highlight": "^7.0.0", "rehype-stringify": "^10.0.1", "remark-cli": "10.0.1", "remark-copy-linked-files": "^1.5.0", "remark-frontmatter": "^4.0.1", "remark-gfm": "^3.0.1", - "remark-mdx": "^2.1.1", "remark-parse": "^10.0.1", "remark-preset-lint-markdown-style-guide": "^5.1.2", "remark-rehype": "^10.1.0", @@ -96,13 +97,12 @@ "tsc-esm-fix": "^3.1.0", "tsm": "^2.3.0", "typescript": "~5.5.2", - "unified": "^11.0.5", "unified-lint-rule": "^3.0.0", - "unist": "^0.0.1", + "unified": "^11.0.5", "unist-util-find": "^3.0.0", "unist-util-visit-parents": "^6.0.1", - "vfile": "^6.0.1", - "vite-node": "^3.0.4" + "unist": "^0.0.1", + "vfile": "^6.0.1" }, "browserslist": { "production": [ diff --git a/yarn.lock b/yarn.lock index fe4f026..6a75650 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7282,9 +7282,9 @@ dot-prop@^6.0.1: is-obj "^2.0.0" dotenv@^16.4.5: - version "16.4.5" - resolved "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz" - integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg== + version "16.4.7" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.7.tgz#0e20c5b82950140aa99be360a8a5f52335f53c26" + integrity sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ== duplexer@^0.1.2: version "0.1.2" @@ -7712,7 +7712,7 @@ estree-util-build-jsx@^3.0.0: estree-util-is-identifier-name@^2.0.0: version "2.1.0" - resolved "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-2.1.0.tgz" + resolved "https://registry.yarnpkg.com/estree-util-is-identifier-name/-/estree-util-is-identifier-name-2.1.0.tgz#fb70a432dcb19045e77b05c8e732f1364b4b49b2" integrity sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ== estree-util-is-identifier-name@^3.0.0: @@ -7746,7 +7746,7 @@ estree-util-value-to-estree@^3.0.1: estree-util-visit@^1.0.0: version "1.2.1" - resolved "https://registry.npmjs.org/estree-util-visit/-/estree-util-visit-1.2.1.tgz" + resolved "https://registry.yarnpkg.com/estree-util-visit/-/estree-util-visit-1.2.1.tgz#8bc2bc09f25b00827294703835aabee1cc9ec69d" integrity sha512-xbgqcrkIVbIG+lI/gzbvd9SGTJL4zqJKBFttUl5pP27KhAjtMKbX/mQXJ7qgyXpMgVy/zvpm0xoQQaGL8OloOw== dependencies: "@types/estree-jsx" "^1.0.0" @@ -10390,7 +10390,7 @@ mdast-util-heading-style@^2.0.0: mdast-util-mdx-expression@^1.0.0, mdast-util-mdx-expression@^1.1.0: version "1.3.2" - resolved "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-1.3.2.tgz" + resolved "https://registry.yarnpkg.com/mdast-util-mdx-expression/-/mdast-util-mdx-expression-1.3.2.tgz#d027789e67524d541d6de543f36d51ae2586f220" integrity sha512-xIPmR5ReJDu/DHH1OoIT1HkuybIfRGYRywC+gJtI7qHjCJp/M9jrmBEJW22O8lskDWm562BX2W8TiAwRTb0rKA== dependencies: "@types/estree-jsx" "^1.0.0" @@ -10413,7 +10413,7 @@ mdast-util-mdx-expression@^2.0.0: mdast-util-mdx-jsx@^2.0.0: version "2.1.4" - resolved "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-2.1.4.tgz" + resolved "https://registry.yarnpkg.com/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-2.1.4.tgz#7c1f07f10751a78963cfabee38017cbc8b7786d1" integrity sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA== dependencies: "@types/estree-jsx" "^1.0.0" @@ -10449,7 +10449,7 @@ mdast-util-mdx-jsx@^3.0.0: mdast-util-mdx@^2.0.0: version "2.0.1" - resolved "https://registry.npmjs.org/mdast-util-mdx/-/mdast-util-mdx-2.0.1.tgz" + resolved "https://registry.yarnpkg.com/mdast-util-mdx/-/mdast-util-mdx-2.0.1.tgz#49b6e70819b99bb615d7223c088d295e53bb810f" integrity sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw== dependencies: mdast-util-from-markdown "^1.0.0" @@ -10471,7 +10471,7 @@ mdast-util-mdx@^3.0.0: mdast-util-mdxjs-esm@^1.0.0: version "1.3.1" - resolved "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-1.3.1.tgz" + resolved "https://registry.yarnpkg.com/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-1.3.1.tgz#645d02cd607a227b49721d146fd81796b2e2d15b" integrity sha512-SXqglS0HrEvSdUEfoXFtcg7DRl7S2cwOXc7jkuusG472Mmjag34DUDeOJUZtl+BVnyeO1frIgVpHlNRWc2gk/w== dependencies: "@types/estree-jsx" "^1.0.0" @@ -10880,7 +10880,7 @@ micromark-extension-gfm@^3.0.0: micromark-extension-mdx-expression@^1.0.0: version "1.0.8" - resolved "https://registry.npmjs.org/micromark-extension-mdx-expression/-/micromark-extension-mdx-expression-1.0.8.tgz" + resolved "https://registry.yarnpkg.com/micromark-extension-mdx-expression/-/micromark-extension-mdx-expression-1.0.8.tgz#5bc1f5fd90388e8293b3ef4f7c6f06c24aff6314" integrity sha512-zZpeQtc5wfWKdzDsHRBY003H2Smg+PUi2REhqgIhdzAa5xonhP03FcXxqFSerFiNUr5AWmHpaNPQTBVOS4lrXw== dependencies: "@types/estree" "^1.0.0" @@ -10908,7 +10908,7 @@ micromark-extension-mdx-expression@^3.0.0: micromark-extension-mdx-jsx@^1.0.0: version "1.0.5" - resolved "https://registry.npmjs.org/micromark-extension-mdx-jsx/-/micromark-extension-mdx-jsx-1.0.5.tgz" + resolved "https://registry.yarnpkg.com/micromark-extension-mdx-jsx/-/micromark-extension-mdx-jsx-1.0.5.tgz#e72d24b7754a30d20fb797ece11e2c4e2cae9e82" integrity sha512-gPH+9ZdmDflbu19Xkb8+gheqEDqkSpdCEubQyxuz/Hn8DOXiXvrXeikOoBA71+e8Pfi0/UYmU3wW3H58kr7akA== dependencies: "@types/acorn" "^4.0.0" @@ -10941,7 +10941,7 @@ micromark-extension-mdx-jsx@^3.0.0: micromark-extension-mdx-md@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/micromark-extension-mdx-md/-/micromark-extension-mdx-md-1.0.1.tgz" + resolved "https://registry.yarnpkg.com/micromark-extension-mdx-md/-/micromark-extension-mdx-md-1.0.1.tgz#595d4b2f692b134080dca92c12272ab5b74c6d1a" integrity sha512-7MSuj2S7xjOQXAjjkbjBsHkMtb+mDGVW6uI2dBL9snOBCbZmoNgDAeZ0nSn9j3T42UE/g2xVNMn18PJxZvkBEA== dependencies: micromark-util-types "^1.0.0" @@ -10955,7 +10955,7 @@ micromark-extension-mdx-md@^2.0.0: micromark-extension-mdxjs-esm@^1.0.0: version "1.0.5" - resolved "https://registry.npmjs.org/micromark-extension-mdxjs-esm/-/micromark-extension-mdxjs-esm-1.0.5.tgz" + resolved "https://registry.yarnpkg.com/micromark-extension-mdxjs-esm/-/micromark-extension-mdxjs-esm-1.0.5.tgz#e4f8be9c14c324a80833d8d3a227419e2b25dec1" integrity sha512-xNRBw4aoURcyz/S69B19WnZAkWJMxHMT5hE36GtDAyhoyn/8TuAeqjFJQlwk+MKQsUD7b3l7kFX+vlfVWgcX1w== dependencies: "@types/estree" "^1.0.0" @@ -10985,7 +10985,7 @@ micromark-extension-mdxjs-esm@^3.0.0: micromark-extension-mdxjs@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/micromark-extension-mdxjs/-/micromark-extension-mdxjs-1.0.1.tgz" + resolved "https://registry.yarnpkg.com/micromark-extension-mdxjs/-/micromark-extension-mdxjs-1.0.1.tgz#f78d4671678d16395efeda85170c520ee795ded8" integrity sha512-7YA7hF6i5eKOfFUzZ+0z6avRG52GpWR8DL+kN47y3f2KhxbBZMhmxe7auOeaTBrW2DenbbZTf1ea9tA2hDpC2Q== dependencies: acorn "^8.0.0" @@ -11051,7 +11051,7 @@ micromark-factory-label@^2.0.0: micromark-factory-mdx-expression@^1.0.0: version "1.0.9" - resolved "https://registry.npmjs.org/micromark-factory-mdx-expression/-/micromark-factory-mdx-expression-1.0.9.tgz" + resolved "https://registry.yarnpkg.com/micromark-factory-mdx-expression/-/micromark-factory-mdx-expression-1.0.9.tgz#57ba4571b69a867a1530f34741011c71c73a4976" integrity sha512-jGIWzSmNfdnkJq05c7b0+Wv0Kfz3NJ3N4cBjnbO4zjXIlxJr+f8lk+5ZmwFvqdAbUy2q6B5rCY//g0QAAaXDWA== dependencies: "@types/estree" "^1.0.0" @@ -11244,7 +11244,7 @@ micromark-util-encode@^2.0.0: micromark-util-events-to-acorn@^1.0.0: version "1.2.3" - resolved "https://registry.npmjs.org/micromark-util-events-to-acorn/-/micromark-util-events-to-acorn-1.2.3.tgz" + resolved "https://registry.yarnpkg.com/micromark-util-events-to-acorn/-/micromark-util-events-to-acorn-1.2.3.tgz#a4ab157f57a380e646670e49ddee97a72b58b557" integrity sha512-ij4X7Wuc4fED6UoLWkmo0xJQhsktfNh1J0m8g4PbIMPlx+ek/4YdW5mvbye8z/aZvAPUoxgXHrwVlXAPKMRp1w== dependencies: "@types/acorn" "^4.0.0" @@ -13511,10 +13511,10 @@ rehackt@^0.1.0: resolved "https://registry.npmjs.org/rehackt/-/rehackt-0.1.0.tgz" integrity sha512-7kRDOuLHB87D/JESKxQoRwv4DzbIdwkAGQ7p6QKGdVlY1IZheUnVhlk/4UZlNUVxdAXpyxikE3URsG067ybVzw== -rehype-highlight@^7.0.0: - version "7.0.1" - resolved "https://registry.npmjs.org/rehype-highlight/-/rehype-highlight-7.0.1.tgz" - integrity sha512-dB/vVGFsbm7xPglqnYbg0ABg6rAuIWKycTvuXaOO27SgLoOFNoTlniTBtAxp3n5ZyMioW1a3KwiNqgjkb6Skjg== +rehype-highlight@^7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/rehype-highlight/-/rehype-highlight-7.0.2.tgz#997e05e3a336853f6f6b2cfc450c5dad0f960b07" + integrity sha512-k158pK7wdC2qL3M5NcZROZ2tR/l7zOzjxXd5VGdcfIyoijjQqpHd3JKtYSBDpDZ38UI2WJWuFAtkMDxmx5kstA== dependencies: "@types/hast" "^3.0.0" hast-util-to-text "^4.0.0" @@ -14154,7 +14154,7 @@ remark-lint@^9.0.0: remark-mdx@^2.1.1: version "2.3.0" - resolved "https://registry.npmjs.org/remark-mdx/-/remark-mdx-2.3.0.tgz" + resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-2.3.0.tgz#efe678025a8c2726681bde8bf111af4a93943db4" integrity sha512-g53hMkpM0I98MU266IzDFMrTD980gNF3BJnkyFcmN+dD873mQeD5rdMO3Y2X+x8umQfbSE0PcoEDl7ledSA+2g== dependencies: mdast-util-mdx "^2.0.0" @@ -15611,7 +15611,7 @@ unist-util-is@^6.0.0: unist-util-position-from-estree@^1.0.0, unist-util-position-from-estree@^1.1.0: version "1.1.2" - resolved "https://registry.npmjs.org/unist-util-position-from-estree/-/unist-util-position-from-estree-1.1.2.tgz" + resolved "https://registry.yarnpkg.com/unist-util-position-from-estree/-/unist-util-position-from-estree-1.1.2.tgz#8ac2480027229de76512079e377afbcabcfcce22" integrity sha512-poZa0eXpS+/XpoQwGwl79UUdea4ol2ZuCYguVaJS4qzIOMDzbqz8a3erUCOmubSZkaOuGamb3tX790iwOIROww== dependencies: "@types/unist" "^2.0.0" @@ -15639,7 +15639,7 @@ unist-util-position@^5.0.0: unist-util-remove-position@^4.0.0: version "4.0.2" - resolved "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-4.0.2.tgz" + resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-4.0.2.tgz#a89be6ea72e23b1a402350832b02a91f6a9afe51" integrity sha512-TkBb0HABNmxzAcfLf4qsIbFbaPDvMO6wa3b3j4VcEzFVaw1LBKwnW4/sRJ/atSLSzoIg41JWEdnE7N6DIhGDGQ== dependencies: "@types/unist" "^2.0.0" @@ -15920,10 +15920,10 @@ vfile@^6.0.0, vfile@^6.0.1: "@types/unist" "^3.0.0" vfile-message "^4.0.0" -vite-node@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-3.0.4.tgz#6db5bc4c182baf04986265d46bc3193c5491f41f" - integrity sha512-7JZKEzcYV2Nx3u6rlvN8qdo3QV7Fxyt6hx+CCKz9fbWxdX5IvUOmTWEAxMrWxaiSf7CKGLJQ5rFu8prb/jBjOA== +vite-node@^3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-3.0.5.tgz#6a0d06f7a4bdaae6ddcdedc12d910d886cf7d62f" + integrity sha512-02JEJl7SbtwSDJdYS537nU6l+ktdvcREfLksk/NDAqtdKWGqHl+joXzEubHROmS3E6pip+Xgu2tFezMu75jH7A== dependencies: cac "^6.7.14" debug "^4.4.0"