From c85cc7b5f4eabcdd16ef1d96634373b3812555bc Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Wed, 18 Sep 2024 10:22:51 +0100 Subject: [PATCH] chore(repo): move packages/rspack to packages/rspack to prepare to be imported --- .eslintrc.json => packages/rspack/.eslintrc.json | 0 README.md => packages/rspack/README.md | 0 executors.json => packages/rspack/executors.json | 0 generators.json => packages/rspack/generators.json | 0 jest.config.ts => packages/rspack/jest.config.ts | 0 migrations.json => packages/rspack/migrations.json | 0 module-federation.ts => packages/rspack/module-federation.ts | 0 package.json => packages/rspack/package.json | 0 plugin.ts => packages/rspack/plugin.ts | 0 project.json => packages/rspack/project.json | 0 .../rspack/src}/executors/dev-server/dev-server.impl.ts | 0 .../rspack/src}/executors/dev-server/lib/get-dev-server-config.ts | 0 .../rspack/src}/executors/dev-server/lib/serve-path.ts | 0 {src => packages/rspack/src}/executors/dev-server/schema.d.ts | 0 {src => packages/rspack/src}/executors/dev-server/schema.json | 0 .../module-federation-dev-server.impl.ts | 0 .../src}/executors/module-federation-dev-server/schema.d.ts | 0 .../src}/executors/module-federation-dev-server/schema.json | 0 .../module-federation-ssr-dev-server.impl.ts | 0 .../src}/executors/module-federation-ssr-dev-server/schema.json | 0 .../module-federation-static-server.impl.ts | 0 .../src}/executors/module-federation-static-server/schema.d.ts | 0 .../src}/executors/module-federation-static-server/schema.json | 0 {src => packages/rspack/src}/executors/rspack/rspack.impl.ts | 0 {src => packages/rspack/src}/executors/rspack/schema.d.ts | 0 {src => packages/rspack/src}/executors/rspack/schema.json | 0 .../ssr-dev-server/lib/wait-until-server-is-listening.ts | 0 {src => packages/rspack/src}/executors/ssr-dev-server/schema.d.ts | 0 {src => packages/rspack/src}/executors/ssr-dev-server/schema.json | 0 .../rspack/src}/executors/ssr-dev-server/ssr-dev-server.impl.ts | 0 .../rspack/src}/generators/application/application.ts | 0 .../rspack/src}/generators/application/lib/create-ts-config.ts | 0 .../src}/generators/application/lib/normalize-options.spec.ts | 0 .../rspack/src}/generators/application/lib/normalize-options.ts | 0 {src => packages/rspack/src}/generators/application/schema.d.ts | 0 {src => packages/rspack/src}/generators/application/schema.json | 0 .../rspack/src}/generators/configuration/configuration.ts | 0 {src => packages/rspack/src}/generators/configuration/schema.d.ts | 0 {src => packages/rspack/src}/generators/configuration/schema.json | 0 {src => packages/rspack/src}/generators/init/init.ts | 0 {src => packages/rspack/src}/generators/init/schema.d.ts | 0 {src => packages/rspack/src}/generators/init/schema.json | 0 {src => packages/rspack/src}/generators/preset/preset.ts | 0 {src => packages/rspack/src}/generators/preset/schema.d.ts | 0 {src => packages/rspack/src}/generators/preset/schema.json | 0 {src => packages/rspack/src}/index.ts | 0 .../update-16-0-0-add-nx-packages.spec.ts | 0 .../update-16-0-0-add-nx-packages.ts | 0 .../rspack/src}/plugins/generate-package-json-plugin.ts | 0 {src => packages/rspack/src}/plugins/plugin.ts | 0 {src => packages/rspack/src}/utils/config.ts | 0 {src => packages/rspack/src}/utils/create-compiler.ts | 0 {src => packages/rspack/src}/utils/generator-utils.ts | 0 {src => packages/rspack/src}/utils/get-copy-patterns.ts | 0 {src => packages/rspack/src}/utils/jest-utils.ts | 0 {src => packages/rspack/src}/utils/mode-utils.ts | 0 {src => packages/rspack/src}/utils/model.ts | 0 .../rspack/src}/utils/module-federation/build-static.remotes.ts | 0 .../rspack/src}/utils/module-federation/dependencies.spec.ts | 0 .../rspack/src}/utils/module-federation/dependencies.ts | 0 .../rspack/src}/utils/module-federation/get-remotes-for-host.ts | 0 {src => packages/rspack/src}/utils/module-federation/index.ts | 0 .../rspack/src}/utils/module-federation/models/index.ts | 0 .../rspack/src}/utils/module-federation/package-json.ts | 0 .../src}/utils/module-federation/parse-static-remotes-config.ts | 0 .../module-federation/plugins/runtime-library-control.plugin.ts | 0 .../rspack/src}/utils/module-federation/public-api.ts | 0 {src => packages/rspack/src}/utils/module-federation/remotes.ts | 0 .../rspack/src}/utils/module-federation/secondary-entry-points.ts | 0 .../rspack/src}/utils/module-federation/share.spec.ts | 0 {src => packages/rspack/src}/utils/module-federation/share.ts | 0 .../rspack/src}/utils/module-federation/start-remote-proxies.ts | 0 .../src}/utils/module-federation/start-ssr-remote-proxies.ts | 0 .../rspack/src}/utils/module-federation/typescript.spec.ts | 0 .../rspack/src}/utils/module-federation/typescript.ts | 0 .../module-federation/with-module-federation/package-json.ts | 0 .../src}/utils/module-federation/with-module-federation/utils.ts | 0 .../with-module-federation/with-module-federation-ssr.ts | 0 .../with-module-federation/with-module-federation.ts | 0 {src => packages/rspack/src}/utils/normalize-assets.ts | 0 {src => packages/rspack/src}/utils/read-rspack-options.ts | 0 .../rspack/src}/utils/resolve-user-defined-rspack-config.ts | 0 {src => packages/rspack/src}/utils/versions.ts | 0 {src => packages/rspack/src}/utils/with-nx.ts | 0 {src => packages/rspack/src}/utils/with-react.ts | 0 {src => packages/rspack/src}/utils/with-web.ts | 0 tsconfig.json => packages/rspack/tsconfig.json | 0 tsconfig.lib.json => packages/rspack/tsconfig.lib.json | 0 tsconfig.spec.json => packages/rspack/tsconfig.spec.json | 0 89 files changed, 0 insertions(+), 0 deletions(-) rename .eslintrc.json => packages/rspack/.eslintrc.json (100%) rename README.md => packages/rspack/README.md (100%) rename executors.json => packages/rspack/executors.json (100%) rename generators.json => packages/rspack/generators.json (100%) rename jest.config.ts => packages/rspack/jest.config.ts (100%) rename migrations.json => packages/rspack/migrations.json (100%) rename module-federation.ts => packages/rspack/module-federation.ts (100%) rename package.json => packages/rspack/package.json (100%) rename plugin.ts => packages/rspack/plugin.ts (100%) rename project.json => packages/rspack/project.json (100%) rename {src => packages/rspack/src}/executors/dev-server/dev-server.impl.ts (100%) rename {src => packages/rspack/src}/executors/dev-server/lib/get-dev-server-config.ts (100%) rename {src => packages/rspack/src}/executors/dev-server/lib/serve-path.ts (100%) rename {src => packages/rspack/src}/executors/dev-server/schema.d.ts (100%) rename {src => packages/rspack/src}/executors/dev-server/schema.json (100%) rename {src => packages/rspack/src}/executors/module-federation-dev-server/module-federation-dev-server.impl.ts (100%) rename {src => packages/rspack/src}/executors/module-federation-dev-server/schema.d.ts (100%) rename {src => packages/rspack/src}/executors/module-federation-dev-server/schema.json (100%) rename {src => packages/rspack/src}/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl.ts (100%) rename {src => packages/rspack/src}/executors/module-federation-ssr-dev-server/schema.json (100%) rename {src => packages/rspack/src}/executors/module-federation-static-server/module-federation-static-server.impl.ts (100%) rename {src => packages/rspack/src}/executors/module-federation-static-server/schema.d.ts (100%) rename {src => packages/rspack/src}/executors/module-federation-static-server/schema.json (100%) rename {src => packages/rspack/src}/executors/rspack/rspack.impl.ts (100%) rename {src => packages/rspack/src}/executors/rspack/schema.d.ts (100%) rename {src => packages/rspack/src}/executors/rspack/schema.json (100%) rename {src => packages/rspack/src}/executors/ssr-dev-server/lib/wait-until-server-is-listening.ts (100%) rename {src => packages/rspack/src}/executors/ssr-dev-server/schema.d.ts (100%) rename {src => packages/rspack/src}/executors/ssr-dev-server/schema.json (100%) rename {src => packages/rspack/src}/executors/ssr-dev-server/ssr-dev-server.impl.ts (100%) rename {src => packages/rspack/src}/generators/application/application.ts (100%) rename {src => packages/rspack/src}/generators/application/lib/create-ts-config.ts (100%) rename {src => packages/rspack/src}/generators/application/lib/normalize-options.spec.ts (100%) rename {src => packages/rspack/src}/generators/application/lib/normalize-options.ts (100%) rename {src => packages/rspack/src}/generators/application/schema.d.ts (100%) rename {src => packages/rspack/src}/generators/application/schema.json (100%) rename {src => packages/rspack/src}/generators/configuration/configuration.ts (100%) rename {src => packages/rspack/src}/generators/configuration/schema.d.ts (100%) rename {src => packages/rspack/src}/generators/configuration/schema.json (100%) rename {src => packages/rspack/src}/generators/init/init.ts (100%) rename {src => packages/rspack/src}/generators/init/schema.d.ts (100%) rename {src => packages/rspack/src}/generators/init/schema.json (100%) rename {src => packages/rspack/src}/generators/preset/preset.ts (100%) rename {src => packages/rspack/src}/generators/preset/schema.d.ts (100%) rename {src => packages/rspack/src}/generators/preset/schema.json (100%) rename {src => packages/rspack/src}/index.ts (100%) rename {src => packages/rspack/src}/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.spec.ts (100%) rename {src => packages/rspack/src}/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.ts (100%) rename {src => packages/rspack/src}/plugins/generate-package-json-plugin.ts (100%) rename {src => packages/rspack/src}/plugins/plugin.ts (100%) rename {src => packages/rspack/src}/utils/config.ts (100%) rename {src => packages/rspack/src}/utils/create-compiler.ts (100%) rename {src => packages/rspack/src}/utils/generator-utils.ts (100%) rename {src => packages/rspack/src}/utils/get-copy-patterns.ts (100%) rename {src => packages/rspack/src}/utils/jest-utils.ts (100%) rename {src => packages/rspack/src}/utils/mode-utils.ts (100%) rename {src => packages/rspack/src}/utils/model.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/build-static.remotes.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/dependencies.spec.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/dependencies.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/get-remotes-for-host.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/index.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/models/index.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/package-json.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/parse-static-remotes-config.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/plugins/runtime-library-control.plugin.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/public-api.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/remotes.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/secondary-entry-points.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/share.spec.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/share.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/start-remote-proxies.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/start-ssr-remote-proxies.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/typescript.spec.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/typescript.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/with-module-federation/package-json.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/with-module-federation/utils.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/with-module-federation/with-module-federation-ssr.ts (100%) rename {src => packages/rspack/src}/utils/module-federation/with-module-federation/with-module-federation.ts (100%) rename {src => packages/rspack/src}/utils/normalize-assets.ts (100%) rename {src => packages/rspack/src}/utils/read-rspack-options.ts (100%) rename {src => packages/rspack/src}/utils/resolve-user-defined-rspack-config.ts (100%) rename {src => packages/rspack/src}/utils/versions.ts (100%) rename {src => packages/rspack/src}/utils/with-nx.ts (100%) rename {src => packages/rspack/src}/utils/with-react.ts (100%) rename {src => packages/rspack/src}/utils/with-web.ts (100%) rename tsconfig.json => packages/rspack/tsconfig.json (100%) rename tsconfig.lib.json => packages/rspack/tsconfig.lib.json (100%) rename tsconfig.spec.json => packages/rspack/tsconfig.spec.json (100%) diff --git a/.eslintrc.json b/packages/rspack/.eslintrc.json similarity index 100% rename from .eslintrc.json rename to packages/rspack/.eslintrc.json diff --git a/README.md b/packages/rspack/README.md similarity index 100% rename from README.md rename to packages/rspack/README.md diff --git a/executors.json b/packages/rspack/executors.json similarity index 100% rename from executors.json rename to packages/rspack/executors.json diff --git a/generators.json b/packages/rspack/generators.json similarity index 100% rename from generators.json rename to packages/rspack/generators.json diff --git a/jest.config.ts b/packages/rspack/jest.config.ts similarity index 100% rename from jest.config.ts rename to packages/rspack/jest.config.ts diff --git a/migrations.json b/packages/rspack/migrations.json similarity index 100% rename from migrations.json rename to packages/rspack/migrations.json diff --git a/module-federation.ts b/packages/rspack/module-federation.ts similarity index 100% rename from module-federation.ts rename to packages/rspack/module-federation.ts diff --git a/package.json b/packages/rspack/package.json similarity index 100% rename from package.json rename to packages/rspack/package.json diff --git a/plugin.ts b/packages/rspack/plugin.ts similarity index 100% rename from plugin.ts rename to packages/rspack/plugin.ts diff --git a/project.json b/packages/rspack/project.json similarity index 100% rename from project.json rename to packages/rspack/project.json diff --git a/src/executors/dev-server/dev-server.impl.ts b/packages/rspack/src/executors/dev-server/dev-server.impl.ts similarity index 100% rename from src/executors/dev-server/dev-server.impl.ts rename to packages/rspack/src/executors/dev-server/dev-server.impl.ts diff --git a/src/executors/dev-server/lib/get-dev-server-config.ts b/packages/rspack/src/executors/dev-server/lib/get-dev-server-config.ts similarity index 100% rename from src/executors/dev-server/lib/get-dev-server-config.ts rename to packages/rspack/src/executors/dev-server/lib/get-dev-server-config.ts diff --git a/src/executors/dev-server/lib/serve-path.ts b/packages/rspack/src/executors/dev-server/lib/serve-path.ts similarity index 100% rename from src/executors/dev-server/lib/serve-path.ts rename to packages/rspack/src/executors/dev-server/lib/serve-path.ts diff --git a/src/executors/dev-server/schema.d.ts b/packages/rspack/src/executors/dev-server/schema.d.ts similarity index 100% rename from src/executors/dev-server/schema.d.ts rename to packages/rspack/src/executors/dev-server/schema.d.ts diff --git a/src/executors/dev-server/schema.json b/packages/rspack/src/executors/dev-server/schema.json similarity index 100% rename from src/executors/dev-server/schema.json rename to packages/rspack/src/executors/dev-server/schema.json diff --git a/src/executors/module-federation-dev-server/module-federation-dev-server.impl.ts b/packages/rspack/src/executors/module-federation-dev-server/module-federation-dev-server.impl.ts similarity index 100% rename from src/executors/module-federation-dev-server/module-federation-dev-server.impl.ts rename to packages/rspack/src/executors/module-federation-dev-server/module-federation-dev-server.impl.ts diff --git a/src/executors/module-federation-dev-server/schema.d.ts b/packages/rspack/src/executors/module-federation-dev-server/schema.d.ts similarity index 100% rename from src/executors/module-federation-dev-server/schema.d.ts rename to packages/rspack/src/executors/module-federation-dev-server/schema.d.ts diff --git a/src/executors/module-federation-dev-server/schema.json b/packages/rspack/src/executors/module-federation-dev-server/schema.json similarity index 100% rename from src/executors/module-federation-dev-server/schema.json rename to packages/rspack/src/executors/module-federation-dev-server/schema.json diff --git a/src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl.ts b/packages/rspack/src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl.ts similarity index 100% rename from src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl.ts rename to packages/rspack/src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl.ts diff --git a/src/executors/module-federation-ssr-dev-server/schema.json b/packages/rspack/src/executors/module-federation-ssr-dev-server/schema.json similarity index 100% rename from src/executors/module-federation-ssr-dev-server/schema.json rename to packages/rspack/src/executors/module-federation-ssr-dev-server/schema.json diff --git a/src/executors/module-federation-static-server/module-federation-static-server.impl.ts b/packages/rspack/src/executors/module-federation-static-server/module-federation-static-server.impl.ts similarity index 100% rename from src/executors/module-federation-static-server/module-federation-static-server.impl.ts rename to packages/rspack/src/executors/module-federation-static-server/module-federation-static-server.impl.ts diff --git a/src/executors/module-federation-static-server/schema.d.ts b/packages/rspack/src/executors/module-federation-static-server/schema.d.ts similarity index 100% rename from src/executors/module-federation-static-server/schema.d.ts rename to packages/rspack/src/executors/module-federation-static-server/schema.d.ts diff --git a/src/executors/module-federation-static-server/schema.json b/packages/rspack/src/executors/module-federation-static-server/schema.json similarity index 100% rename from src/executors/module-federation-static-server/schema.json rename to packages/rspack/src/executors/module-federation-static-server/schema.json diff --git a/src/executors/rspack/rspack.impl.ts b/packages/rspack/src/executors/rspack/rspack.impl.ts similarity index 100% rename from src/executors/rspack/rspack.impl.ts rename to packages/rspack/src/executors/rspack/rspack.impl.ts diff --git a/src/executors/rspack/schema.d.ts b/packages/rspack/src/executors/rspack/schema.d.ts similarity index 100% rename from src/executors/rspack/schema.d.ts rename to packages/rspack/src/executors/rspack/schema.d.ts diff --git a/src/executors/rspack/schema.json b/packages/rspack/src/executors/rspack/schema.json similarity index 100% rename from src/executors/rspack/schema.json rename to packages/rspack/src/executors/rspack/schema.json diff --git a/src/executors/ssr-dev-server/lib/wait-until-server-is-listening.ts b/packages/rspack/src/executors/ssr-dev-server/lib/wait-until-server-is-listening.ts similarity index 100% rename from src/executors/ssr-dev-server/lib/wait-until-server-is-listening.ts rename to packages/rspack/src/executors/ssr-dev-server/lib/wait-until-server-is-listening.ts diff --git a/src/executors/ssr-dev-server/schema.d.ts b/packages/rspack/src/executors/ssr-dev-server/schema.d.ts similarity index 100% rename from src/executors/ssr-dev-server/schema.d.ts rename to packages/rspack/src/executors/ssr-dev-server/schema.d.ts diff --git a/src/executors/ssr-dev-server/schema.json b/packages/rspack/src/executors/ssr-dev-server/schema.json similarity index 100% rename from src/executors/ssr-dev-server/schema.json rename to packages/rspack/src/executors/ssr-dev-server/schema.json diff --git a/src/executors/ssr-dev-server/ssr-dev-server.impl.ts b/packages/rspack/src/executors/ssr-dev-server/ssr-dev-server.impl.ts similarity index 100% rename from src/executors/ssr-dev-server/ssr-dev-server.impl.ts rename to packages/rspack/src/executors/ssr-dev-server/ssr-dev-server.impl.ts diff --git a/src/generators/application/application.ts b/packages/rspack/src/generators/application/application.ts similarity index 100% rename from src/generators/application/application.ts rename to packages/rspack/src/generators/application/application.ts diff --git a/src/generators/application/lib/create-ts-config.ts b/packages/rspack/src/generators/application/lib/create-ts-config.ts similarity index 100% rename from src/generators/application/lib/create-ts-config.ts rename to packages/rspack/src/generators/application/lib/create-ts-config.ts diff --git a/src/generators/application/lib/normalize-options.spec.ts b/packages/rspack/src/generators/application/lib/normalize-options.spec.ts similarity index 100% rename from src/generators/application/lib/normalize-options.spec.ts rename to packages/rspack/src/generators/application/lib/normalize-options.spec.ts diff --git a/src/generators/application/lib/normalize-options.ts b/packages/rspack/src/generators/application/lib/normalize-options.ts similarity index 100% rename from src/generators/application/lib/normalize-options.ts rename to packages/rspack/src/generators/application/lib/normalize-options.ts diff --git a/src/generators/application/schema.d.ts b/packages/rspack/src/generators/application/schema.d.ts similarity index 100% rename from src/generators/application/schema.d.ts rename to packages/rspack/src/generators/application/schema.d.ts diff --git a/src/generators/application/schema.json b/packages/rspack/src/generators/application/schema.json similarity index 100% rename from src/generators/application/schema.json rename to packages/rspack/src/generators/application/schema.json diff --git a/src/generators/configuration/configuration.ts b/packages/rspack/src/generators/configuration/configuration.ts similarity index 100% rename from src/generators/configuration/configuration.ts rename to packages/rspack/src/generators/configuration/configuration.ts diff --git a/src/generators/configuration/schema.d.ts b/packages/rspack/src/generators/configuration/schema.d.ts similarity index 100% rename from src/generators/configuration/schema.d.ts rename to packages/rspack/src/generators/configuration/schema.d.ts diff --git a/src/generators/configuration/schema.json b/packages/rspack/src/generators/configuration/schema.json similarity index 100% rename from src/generators/configuration/schema.json rename to packages/rspack/src/generators/configuration/schema.json diff --git a/src/generators/init/init.ts b/packages/rspack/src/generators/init/init.ts similarity index 100% rename from src/generators/init/init.ts rename to packages/rspack/src/generators/init/init.ts diff --git a/src/generators/init/schema.d.ts b/packages/rspack/src/generators/init/schema.d.ts similarity index 100% rename from src/generators/init/schema.d.ts rename to packages/rspack/src/generators/init/schema.d.ts diff --git a/src/generators/init/schema.json b/packages/rspack/src/generators/init/schema.json similarity index 100% rename from src/generators/init/schema.json rename to packages/rspack/src/generators/init/schema.json diff --git a/src/generators/preset/preset.ts b/packages/rspack/src/generators/preset/preset.ts similarity index 100% rename from src/generators/preset/preset.ts rename to packages/rspack/src/generators/preset/preset.ts diff --git a/src/generators/preset/schema.d.ts b/packages/rspack/src/generators/preset/schema.d.ts similarity index 100% rename from src/generators/preset/schema.d.ts rename to packages/rspack/src/generators/preset/schema.d.ts diff --git a/src/generators/preset/schema.json b/packages/rspack/src/generators/preset/schema.json similarity index 100% rename from src/generators/preset/schema.json rename to packages/rspack/src/generators/preset/schema.json diff --git a/src/index.ts b/packages/rspack/src/index.ts similarity index 100% rename from src/index.ts rename to packages/rspack/src/index.ts diff --git a/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.spec.ts b/packages/rspack/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.spec.ts similarity index 100% rename from src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.spec.ts rename to packages/rspack/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.spec.ts diff --git a/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.ts b/packages/rspack/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.ts similarity index 100% rename from src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.ts rename to packages/rspack/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.ts diff --git a/src/plugins/generate-package-json-plugin.ts b/packages/rspack/src/plugins/generate-package-json-plugin.ts similarity index 100% rename from src/plugins/generate-package-json-plugin.ts rename to packages/rspack/src/plugins/generate-package-json-plugin.ts diff --git a/src/plugins/plugin.ts b/packages/rspack/src/plugins/plugin.ts similarity index 100% rename from src/plugins/plugin.ts rename to packages/rspack/src/plugins/plugin.ts diff --git a/src/utils/config.ts b/packages/rspack/src/utils/config.ts similarity index 100% rename from src/utils/config.ts rename to packages/rspack/src/utils/config.ts diff --git a/src/utils/create-compiler.ts b/packages/rspack/src/utils/create-compiler.ts similarity index 100% rename from src/utils/create-compiler.ts rename to packages/rspack/src/utils/create-compiler.ts diff --git a/src/utils/generator-utils.ts b/packages/rspack/src/utils/generator-utils.ts similarity index 100% rename from src/utils/generator-utils.ts rename to packages/rspack/src/utils/generator-utils.ts diff --git a/src/utils/get-copy-patterns.ts b/packages/rspack/src/utils/get-copy-patterns.ts similarity index 100% rename from src/utils/get-copy-patterns.ts rename to packages/rspack/src/utils/get-copy-patterns.ts diff --git a/src/utils/jest-utils.ts b/packages/rspack/src/utils/jest-utils.ts similarity index 100% rename from src/utils/jest-utils.ts rename to packages/rspack/src/utils/jest-utils.ts diff --git a/src/utils/mode-utils.ts b/packages/rspack/src/utils/mode-utils.ts similarity index 100% rename from src/utils/mode-utils.ts rename to packages/rspack/src/utils/mode-utils.ts diff --git a/src/utils/model.ts b/packages/rspack/src/utils/model.ts similarity index 100% rename from src/utils/model.ts rename to packages/rspack/src/utils/model.ts diff --git a/src/utils/module-federation/build-static.remotes.ts b/packages/rspack/src/utils/module-federation/build-static.remotes.ts similarity index 100% rename from src/utils/module-federation/build-static.remotes.ts rename to packages/rspack/src/utils/module-federation/build-static.remotes.ts diff --git a/src/utils/module-federation/dependencies.spec.ts b/packages/rspack/src/utils/module-federation/dependencies.spec.ts similarity index 100% rename from src/utils/module-federation/dependencies.spec.ts rename to packages/rspack/src/utils/module-federation/dependencies.spec.ts diff --git a/src/utils/module-federation/dependencies.ts b/packages/rspack/src/utils/module-federation/dependencies.ts similarity index 100% rename from src/utils/module-federation/dependencies.ts rename to packages/rspack/src/utils/module-federation/dependencies.ts diff --git a/src/utils/module-federation/get-remotes-for-host.ts b/packages/rspack/src/utils/module-federation/get-remotes-for-host.ts similarity index 100% rename from src/utils/module-federation/get-remotes-for-host.ts rename to packages/rspack/src/utils/module-federation/get-remotes-for-host.ts diff --git a/src/utils/module-federation/index.ts b/packages/rspack/src/utils/module-federation/index.ts similarity index 100% rename from src/utils/module-federation/index.ts rename to packages/rspack/src/utils/module-federation/index.ts diff --git a/src/utils/module-federation/models/index.ts b/packages/rspack/src/utils/module-federation/models/index.ts similarity index 100% rename from src/utils/module-federation/models/index.ts rename to packages/rspack/src/utils/module-federation/models/index.ts diff --git a/src/utils/module-federation/package-json.ts b/packages/rspack/src/utils/module-federation/package-json.ts similarity index 100% rename from src/utils/module-federation/package-json.ts rename to packages/rspack/src/utils/module-federation/package-json.ts diff --git a/src/utils/module-federation/parse-static-remotes-config.ts b/packages/rspack/src/utils/module-federation/parse-static-remotes-config.ts similarity index 100% rename from src/utils/module-federation/parse-static-remotes-config.ts rename to packages/rspack/src/utils/module-federation/parse-static-remotes-config.ts diff --git a/src/utils/module-federation/plugins/runtime-library-control.plugin.ts b/packages/rspack/src/utils/module-federation/plugins/runtime-library-control.plugin.ts similarity index 100% rename from src/utils/module-federation/plugins/runtime-library-control.plugin.ts rename to packages/rspack/src/utils/module-federation/plugins/runtime-library-control.plugin.ts diff --git a/src/utils/module-federation/public-api.ts b/packages/rspack/src/utils/module-federation/public-api.ts similarity index 100% rename from src/utils/module-federation/public-api.ts rename to packages/rspack/src/utils/module-federation/public-api.ts diff --git a/src/utils/module-federation/remotes.ts b/packages/rspack/src/utils/module-federation/remotes.ts similarity index 100% rename from src/utils/module-federation/remotes.ts rename to packages/rspack/src/utils/module-federation/remotes.ts diff --git a/src/utils/module-federation/secondary-entry-points.ts b/packages/rspack/src/utils/module-federation/secondary-entry-points.ts similarity index 100% rename from src/utils/module-federation/secondary-entry-points.ts rename to packages/rspack/src/utils/module-federation/secondary-entry-points.ts diff --git a/src/utils/module-federation/share.spec.ts b/packages/rspack/src/utils/module-federation/share.spec.ts similarity index 100% rename from src/utils/module-federation/share.spec.ts rename to packages/rspack/src/utils/module-federation/share.spec.ts diff --git a/src/utils/module-federation/share.ts b/packages/rspack/src/utils/module-federation/share.ts similarity index 100% rename from src/utils/module-federation/share.ts rename to packages/rspack/src/utils/module-federation/share.ts diff --git a/src/utils/module-federation/start-remote-proxies.ts b/packages/rspack/src/utils/module-federation/start-remote-proxies.ts similarity index 100% rename from src/utils/module-federation/start-remote-proxies.ts rename to packages/rspack/src/utils/module-federation/start-remote-proxies.ts diff --git a/src/utils/module-federation/start-ssr-remote-proxies.ts b/packages/rspack/src/utils/module-federation/start-ssr-remote-proxies.ts similarity index 100% rename from src/utils/module-federation/start-ssr-remote-proxies.ts rename to packages/rspack/src/utils/module-federation/start-ssr-remote-proxies.ts diff --git a/src/utils/module-federation/typescript.spec.ts b/packages/rspack/src/utils/module-federation/typescript.spec.ts similarity index 100% rename from src/utils/module-federation/typescript.spec.ts rename to packages/rspack/src/utils/module-federation/typescript.spec.ts diff --git a/src/utils/module-federation/typescript.ts b/packages/rspack/src/utils/module-federation/typescript.ts similarity index 100% rename from src/utils/module-federation/typescript.ts rename to packages/rspack/src/utils/module-federation/typescript.ts diff --git a/src/utils/module-federation/with-module-federation/package-json.ts b/packages/rspack/src/utils/module-federation/with-module-federation/package-json.ts similarity index 100% rename from src/utils/module-federation/with-module-federation/package-json.ts rename to packages/rspack/src/utils/module-federation/with-module-federation/package-json.ts diff --git a/src/utils/module-federation/with-module-federation/utils.ts b/packages/rspack/src/utils/module-federation/with-module-federation/utils.ts similarity index 100% rename from src/utils/module-federation/with-module-federation/utils.ts rename to packages/rspack/src/utils/module-federation/with-module-federation/utils.ts diff --git a/src/utils/module-federation/with-module-federation/with-module-federation-ssr.ts b/packages/rspack/src/utils/module-federation/with-module-federation/with-module-federation-ssr.ts similarity index 100% rename from src/utils/module-federation/with-module-federation/with-module-federation-ssr.ts rename to packages/rspack/src/utils/module-federation/with-module-federation/with-module-federation-ssr.ts diff --git a/src/utils/module-federation/with-module-federation/with-module-federation.ts b/packages/rspack/src/utils/module-federation/with-module-federation/with-module-federation.ts similarity index 100% rename from src/utils/module-federation/with-module-federation/with-module-federation.ts rename to packages/rspack/src/utils/module-federation/with-module-federation/with-module-federation.ts diff --git a/src/utils/normalize-assets.ts b/packages/rspack/src/utils/normalize-assets.ts similarity index 100% rename from src/utils/normalize-assets.ts rename to packages/rspack/src/utils/normalize-assets.ts diff --git a/src/utils/read-rspack-options.ts b/packages/rspack/src/utils/read-rspack-options.ts similarity index 100% rename from src/utils/read-rspack-options.ts rename to packages/rspack/src/utils/read-rspack-options.ts diff --git a/src/utils/resolve-user-defined-rspack-config.ts b/packages/rspack/src/utils/resolve-user-defined-rspack-config.ts similarity index 100% rename from src/utils/resolve-user-defined-rspack-config.ts rename to packages/rspack/src/utils/resolve-user-defined-rspack-config.ts diff --git a/src/utils/versions.ts b/packages/rspack/src/utils/versions.ts similarity index 100% rename from src/utils/versions.ts rename to packages/rspack/src/utils/versions.ts diff --git a/src/utils/with-nx.ts b/packages/rspack/src/utils/with-nx.ts similarity index 100% rename from src/utils/with-nx.ts rename to packages/rspack/src/utils/with-nx.ts diff --git a/src/utils/with-react.ts b/packages/rspack/src/utils/with-react.ts similarity index 100% rename from src/utils/with-react.ts rename to packages/rspack/src/utils/with-react.ts diff --git a/src/utils/with-web.ts b/packages/rspack/src/utils/with-web.ts similarity index 100% rename from src/utils/with-web.ts rename to packages/rspack/src/utils/with-web.ts diff --git a/tsconfig.json b/packages/rspack/tsconfig.json similarity index 100% rename from tsconfig.json rename to packages/rspack/tsconfig.json diff --git a/tsconfig.lib.json b/packages/rspack/tsconfig.lib.json similarity index 100% rename from tsconfig.lib.json rename to packages/rspack/tsconfig.lib.json diff --git a/tsconfig.spec.json b/packages/rspack/tsconfig.spec.json similarity index 100% rename from tsconfig.spec.json rename to packages/rspack/tsconfig.spec.json