Skip to content

Commit

Permalink
feat(repo): merge main from https://github.com/nrwl/nx-labs
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Sep 18, 2024
2 parents e9b0364 + 4c1fed4 commit b0ffe29
Show file tree
Hide file tree
Showing 7 changed files with 104 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages-legacy/rspack/README.md
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions packages-legacy/rspack/executors.json
Original file line number Diff line number Diff line change
@@ -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 changes: 4 additions & 0 deletions packages-legacy/rspack/generators.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["@nx/rspack"],
"schematics": {}
}
1 change: 1 addition & 0 deletions packages-legacy/rspack/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@nx/rspack';
27 changes: 27 additions & 0 deletions packages-legacy/rspack/package.json
Original file line number Diff line number Diff line change
@@ -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 changes: 37 additions & 0 deletions packages-legacy/rspack/project.json
Original file line number Diff line number Diff line change
@@ -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 changes: 9 additions & 0 deletions packages-legacy/rspack/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "commonjs",
"declaration": true
},
"include": ["**/*.ts"],
"files": ["index.ts"]
}

0 comments on commit b0ffe29

Please sign in to comment.