Skip to content

Commit b0ffe29

Browse files
committed
feat(repo): merge main from https://github.com/nrwl/nx-labs
2 parents e9b0364 + 4c1fed4 commit b0ffe29

File tree

7 files changed

+104
-0
lines changed

7 files changed

+104
-0
lines changed

packages-legacy/rspack/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## @nrwl/rspack has been deprecated!
2+
3+
@nrwl/rspack has been deprecated in favor of [@nx/rspack](https://www.npmjs.com/package/@nx/rspack). Please use that instead.
4+
5+
@nrwl/rspack will no longer be published in Nx v17.
6+
7+
<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>
8+
9+
# Nx: Smart, Fast and Extensible Build System
10+
11+
Nx is a next generation build system with first class monorepo support and powerful integrations.

packages-legacy/rspack/executors.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "http://json-schema.org/schema",
3+
"executors": {
4+
"rspack": {
5+
"implementation": "@nx/rspack/src/executors/rspack/rspack.impl",
6+
"schema": "@nx/rspack/src/executors/rspack/schema.json",
7+
"description": "rspack executor"
8+
},
9+
"dev-server": {
10+
"implementation": "@nx/rspack/src/executors/dev-server/dev-server.impl",
11+
"schema": "@nx/rspack/src/executors/dev-server/schema.json",
12+
"description": "dev-server executor"
13+
}
14+
}
15+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": ["@nx/rspack"],
3+
"schematics": {}
4+
}

packages-legacy/rspack/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from '@nx/rspack';

packages-legacy/rspack/package.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "@nrwl/rspack",
3+
"version": "0.0.1",
4+
"type": "commonjs",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/nrwl/nx-labs.git",
8+
"directory": "packages-legacy/rspack"
9+
},
10+
"keywords": [
11+
"Monorepo",
12+
"Next",
13+
"Vercel"
14+
],
15+
"author": "Jack Hsu",
16+
"license": "MIT",
17+
"homepage": "https://nx.dev",
18+
"main": "src/index.js",
19+
"generators": "./generators.json",
20+
"executors": "./executors.json",
21+
"dependencies": {
22+
"@nx/rspack": "file:../../packages/rspack"
23+
},
24+
"nx-migrations": {
25+
"migrations": "@nx/rspack/migrations.json"
26+
}
27+
}

packages-legacy/rspack/project.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "rspack-legacy",
3+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
4+
"sourceRoot": "packages-legacy/rspack",
5+
"projectType": "library",
6+
"targets": {
7+
"build": {
8+
"executor": "@nrwl/js:tsc",
9+
"dependsOn": ["^build"],
10+
"options": {
11+
"main": "packages-legacy/rspack/index.ts",
12+
"tsConfig": "packages-legacy/rspack/tsconfig.json",
13+
"outputPath": "dist/packages/rspack-legacy",
14+
"updateBuildableProjectDepsInPackageJson": false,
15+
"assets": [
16+
"packages-legacy/rspack/*.md",
17+
{
18+
"input": "packages-legacy/rspack",
19+
"glob": "**/*.json",
20+
"ignore": ["**/tsconfig*.json", "project.json"],
21+
"output": "/"
22+
},
23+
{
24+
"input": "packages-legacy/rspack",
25+
"glob": "**/*.d.ts",
26+
"output": "/"
27+
},
28+
"LICENSE"
29+
]
30+
}
31+
},
32+
"publish": {
33+
"command": "node tools/scripts/publish.mjs rspack-legacy {args.ver} {args.tag}"
34+
}
35+
},
36+
"tags": []
37+
}

packages-legacy/rspack/tsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"module": "commonjs",
5+
"declaration": true
6+
},
7+
"include": ["**/*.ts"],
8+
"files": ["index.ts"]
9+
}

0 commit comments

Comments
 (0)