This commit is contained in:
Colum Ferry 2024-09-18 10:24:02 +01:00
commit b0ffe29e55
7 changed files with 104 additions and 0 deletions

View File

@ -0,0 +1,11 @@
## @nrwl/rspack has been deprecated!
@nrwl/rspack has been deprecated in favor of [@nx/rspack](https://www.npmjs.com/package/@nx/rspack). Please use that instead.
@nrwl/rspack will no longer be published in Nx v17.
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600" alt="Nx - Smart, Fast and Extensible Build System"></p>
# Nx: Smart, Fast and Extensible Build System
Nx is a next generation build system with first class monorepo support and powerful integrations.

View File

@ -0,0 +1,15 @@
{
"$schema": "http://json-schema.org/schema",
"executors": {
"rspack": {
"implementation": "@nx/rspack/src/executors/rspack/rspack.impl",
"schema": "@nx/rspack/src/executors/rspack/schema.json",
"description": "rspack executor"
},
"dev-server": {
"implementation": "@nx/rspack/src/executors/dev-server/dev-server.impl",
"schema": "@nx/rspack/src/executors/dev-server/schema.json",
"description": "dev-server executor"
}
}
}

View File

@ -0,0 +1,4 @@
{
"extends": ["@nx/rspack"],
"schematics": {}
}

View File

@ -0,0 +1 @@
export * from '@nx/rspack';

View File

@ -0,0 +1,27 @@
{
"name": "@nrwl/rspack",
"version": "0.0.1",
"type": "commonjs",
"repository": {
"type": "git",
"url": "https://github.com/nrwl/nx-labs.git",
"directory": "packages-legacy/rspack"
},
"keywords": [
"Monorepo",
"Next",
"Vercel"
],
"author": "Jack Hsu",
"license": "MIT",
"homepage": "https://nx.dev",
"main": "src/index.js",
"generators": "./generators.json",
"executors": "./executors.json",
"dependencies": {
"@nx/rspack": "file:../../packages/rspack"
},
"nx-migrations": {
"migrations": "@nx/rspack/migrations.json"
}
}

View File

@ -0,0 +1,37 @@
{
"name": "rspack-legacy",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages-legacy/rspack",
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"dependsOn": ["^build"],
"options": {
"main": "packages-legacy/rspack/index.ts",
"tsConfig": "packages-legacy/rspack/tsconfig.json",
"outputPath": "dist/packages/rspack-legacy",
"updateBuildableProjectDepsInPackageJson": false,
"assets": [
"packages-legacy/rspack/*.md",
{
"input": "packages-legacy/rspack",
"glob": "**/*.json",
"ignore": ["**/tsconfig*.json", "project.json"],
"output": "/"
},
{
"input": "packages-legacy/rspack",
"glob": "**/*.d.ts",
"output": "/"
},
"LICENSE"
]
}
},
"publish": {
"command": "node tools/scripts/publish.mjs rspack-legacy {args.ver} {args.tag}"
}
},
"tags": []
}

View File

@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "commonjs",
"declaration": true
},
"include": ["**/*.ts"],
"files": ["index.ts"]
}