chore(repo): add legacy packages for nx rescope (#238)

This commit is contained in:
Caleb Ukle 2023-05-02 14:21:36 -05:00 committed by GitHub
commit aa5578f181
7 changed files with 99 additions and 0 deletions

11
README.md Normal file
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.

15
executors.json Normal file
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"
}
}
}

4
generators.json Normal file
View File

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

1
index.ts Normal file
View File

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

27
package.json Normal file
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"
}
}

35
project.json Normal file
View File

@ -0,0 +1,35 @@
{
"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"
]
}
}
},
"tags": []
}

6
tsconfig.json Normal file
View File

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