From 7542bfe8168b4a71148b6c4dca794353985e7a37 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Thu, 2 Apr 2026 14:45:05 -0400 Subject: [PATCH] fix(pages): structure --- components/Sidebar/index.jsx | 7 +++---- .../an-introduction-to-the-npm-package-manager.md | 0 pages/{diagnostics => getting-started}/debugging.md | 0 pages/{http => getting-started}/fetch.md | 0 pages/{diagnostics => getting-started}/profiling.md | 0 .../security-best-practices.md | 0 pages/{http => getting-started}/websocket.md | 0 .../nodejs-file-paths.md | 0 .../nodejs-file-stats.md | 0 .../reading-files-with-nodejs.md | 0 .../working-with-different-filesystems.md | 0 .../working-with-file-descriptors-in-nodejs.md | 0 .../working-with-folders-in-nodejs.md | 0 .../writing-files-with-nodejs.md | 0 pages/{package-management => modules}/abi-stability.md | 0 .../backpressuring-in-streams.md | 0 pages/{asynchronous-work => modules}/how-to-use-streams.md | 0 .../publishing-a-package.md | 0 .../publishing-node-api-modules.md | 0 pages/{testing => test-runner}/collecting-code-coverage.md | 0 pages/{testing => test-runner}/introduction.md | 0 pages/{testing => test-runner}/mocking.md | 0 pages/{testing => test-runner}/using-test-runner.md | 0 23 files changed, 3 insertions(+), 4 deletions(-) rename pages/{package-management => getting-started}/an-introduction-to-the-npm-package-manager.md (100%) rename pages/{diagnostics => getting-started}/debugging.md (100%) rename pages/{http => getting-started}/fetch.md (100%) rename pages/{diagnostics => getting-started}/profiling.md (100%) rename pages/{security => getting-started}/security-best-practices.md (100%) rename pages/{http => getting-started}/websocket.md (100%) rename pages/{file-system => manipulating-files}/nodejs-file-paths.md (100%) rename pages/{file-system => manipulating-files}/nodejs-file-stats.md (100%) rename pages/{file-system => manipulating-files}/reading-files-with-nodejs.md (100%) rename pages/{file-system => manipulating-files}/working-with-different-filesystems.md (100%) rename pages/{file-system => manipulating-files}/working-with-file-descriptors-in-nodejs.md (100%) rename pages/{file-system => manipulating-files}/working-with-folders-in-nodejs.md (100%) rename pages/{file-system => manipulating-files}/writing-files-with-nodejs.md (100%) rename pages/{package-management => modules}/abi-stability.md (100%) rename pages/{asynchronous-work => modules}/backpressuring-in-streams.md (100%) rename pages/{asynchronous-work => modules}/how-to-use-streams.md (100%) rename pages/{package-management => modules}/publishing-a-package.md (100%) rename pages/{package-management => modules}/publishing-node-api-modules.md (100%) rename pages/{testing => test-runner}/collecting-code-coverage.md (100%) rename pages/{testing => test-runner}/introduction.md (100%) rename pages/{testing => test-runner}/mocking.md (100%) rename pages/{testing => test-runner}/using-test-runner.md (100%) diff --git a/components/Sidebar/index.jsx b/components/Sidebar/index.jsx index 9cc88df..721fb79 100644 --- a/components/Sidebar/index.jsx +++ b/components/Sidebar/index.jsx @@ -7,13 +7,12 @@ const categories = [ ['getting-started', 'Getting Started'], ['command-line', 'Command Line'], ['http', 'HTTP'], - ['file-system', 'File System'], + ['manipulating-files', 'Manipulating Files'], ['asynchronous-work', 'Asynchronous Work'], ['typescript', 'TypeScript'], - ['package-management', 'Package Management'], + ['modules', 'Modules'], ['diagnostics', 'Diagnostics'], - ['testing', 'Testing'], - ['security', 'Security'], + ['test-runner', 'Test Runner'], ]; /** @type {Map>} */ diff --git a/pages/package-management/an-introduction-to-the-npm-package-manager.md b/pages/getting-started/an-introduction-to-the-npm-package-manager.md similarity index 100% rename from pages/package-management/an-introduction-to-the-npm-package-manager.md rename to pages/getting-started/an-introduction-to-the-npm-package-manager.md diff --git a/pages/diagnostics/debugging.md b/pages/getting-started/debugging.md similarity index 100% rename from pages/diagnostics/debugging.md rename to pages/getting-started/debugging.md diff --git a/pages/http/fetch.md b/pages/getting-started/fetch.md similarity index 100% rename from pages/http/fetch.md rename to pages/getting-started/fetch.md diff --git a/pages/diagnostics/profiling.md b/pages/getting-started/profiling.md similarity index 100% rename from pages/diagnostics/profiling.md rename to pages/getting-started/profiling.md diff --git a/pages/security/security-best-practices.md b/pages/getting-started/security-best-practices.md similarity index 100% rename from pages/security/security-best-practices.md rename to pages/getting-started/security-best-practices.md diff --git a/pages/http/websocket.md b/pages/getting-started/websocket.md similarity index 100% rename from pages/http/websocket.md rename to pages/getting-started/websocket.md diff --git a/pages/file-system/nodejs-file-paths.md b/pages/manipulating-files/nodejs-file-paths.md similarity index 100% rename from pages/file-system/nodejs-file-paths.md rename to pages/manipulating-files/nodejs-file-paths.md diff --git a/pages/file-system/nodejs-file-stats.md b/pages/manipulating-files/nodejs-file-stats.md similarity index 100% rename from pages/file-system/nodejs-file-stats.md rename to pages/manipulating-files/nodejs-file-stats.md diff --git a/pages/file-system/reading-files-with-nodejs.md b/pages/manipulating-files/reading-files-with-nodejs.md similarity index 100% rename from pages/file-system/reading-files-with-nodejs.md rename to pages/manipulating-files/reading-files-with-nodejs.md diff --git a/pages/file-system/working-with-different-filesystems.md b/pages/manipulating-files/working-with-different-filesystems.md similarity index 100% rename from pages/file-system/working-with-different-filesystems.md rename to pages/manipulating-files/working-with-different-filesystems.md diff --git a/pages/file-system/working-with-file-descriptors-in-nodejs.md b/pages/manipulating-files/working-with-file-descriptors-in-nodejs.md similarity index 100% rename from pages/file-system/working-with-file-descriptors-in-nodejs.md rename to pages/manipulating-files/working-with-file-descriptors-in-nodejs.md diff --git a/pages/file-system/working-with-folders-in-nodejs.md b/pages/manipulating-files/working-with-folders-in-nodejs.md similarity index 100% rename from pages/file-system/working-with-folders-in-nodejs.md rename to pages/manipulating-files/working-with-folders-in-nodejs.md diff --git a/pages/file-system/writing-files-with-nodejs.md b/pages/manipulating-files/writing-files-with-nodejs.md similarity index 100% rename from pages/file-system/writing-files-with-nodejs.md rename to pages/manipulating-files/writing-files-with-nodejs.md diff --git a/pages/package-management/abi-stability.md b/pages/modules/abi-stability.md similarity index 100% rename from pages/package-management/abi-stability.md rename to pages/modules/abi-stability.md diff --git a/pages/asynchronous-work/backpressuring-in-streams.md b/pages/modules/backpressuring-in-streams.md similarity index 100% rename from pages/asynchronous-work/backpressuring-in-streams.md rename to pages/modules/backpressuring-in-streams.md diff --git a/pages/asynchronous-work/how-to-use-streams.md b/pages/modules/how-to-use-streams.md similarity index 100% rename from pages/asynchronous-work/how-to-use-streams.md rename to pages/modules/how-to-use-streams.md diff --git a/pages/package-management/publishing-a-package.md b/pages/modules/publishing-a-package.md similarity index 100% rename from pages/package-management/publishing-a-package.md rename to pages/modules/publishing-a-package.md diff --git a/pages/package-management/publishing-node-api-modules.md b/pages/modules/publishing-node-api-modules.md similarity index 100% rename from pages/package-management/publishing-node-api-modules.md rename to pages/modules/publishing-node-api-modules.md diff --git a/pages/testing/collecting-code-coverage.md b/pages/test-runner/collecting-code-coverage.md similarity index 100% rename from pages/testing/collecting-code-coverage.md rename to pages/test-runner/collecting-code-coverage.md diff --git a/pages/testing/introduction.md b/pages/test-runner/introduction.md similarity index 100% rename from pages/testing/introduction.md rename to pages/test-runner/introduction.md diff --git a/pages/testing/mocking.md b/pages/test-runner/mocking.md similarity index 100% rename from pages/testing/mocking.md rename to pages/test-runner/mocking.md diff --git a/pages/testing/using-test-runner.md b/pages/test-runner/using-test-runner.md similarity index 100% rename from pages/testing/using-test-runner.md rename to pages/test-runner/using-test-runner.md