feat(repo): merge main from https://github.com/nrwl/nx-labs
This commit is contained in:
commit
b0ffe29e55
11
packages-legacy/rspack/README.md
Normal file
11
packages-legacy/rspack/README.md
Normal 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
packages-legacy/rspack/executors.json
Normal file
15
packages-legacy/rspack/executors.json
Normal 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
packages-legacy/rspack/generators.json
Normal file
4
packages-legacy/rspack/generators.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": ["@nx/rspack"],
|
||||
"schematics": {}
|
||||
}
|
||||
1
packages-legacy/rspack/index.ts
Normal file
1
packages-legacy/rspack/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from '@nx/rspack';
|
||||
27
packages-legacy/rspack/package.json
Normal file
27
packages-legacy/rspack/package.json
Normal 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"
|
||||
}
|
||||
}
|
||||
37
packages-legacy/rspack/project.json
Normal file
37
packages-legacy/rspack/project.json
Normal 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": []
|
||||
}
|
||||
9
packages-legacy/rspack/tsconfig.json
Normal file
9
packages-legacy/rspack/tsconfig.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"declaration": true
|
||||
},
|
||||
"include": ["**/*.ts"],
|
||||
"files": ["index.ts"]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user