chore(rspack): final fixes

This commit is contained in:
Colum Ferry 2024-09-10 17:58:55 +01:00
parent 9cbc1af014
commit a38eca2930
5 changed files with 20 additions and 7 deletions

View File

@ -5,12 +5,16 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js remix-legacy"
},
"build-base": {
"executor": "@nrwl/js:tsc",
"dependsOn": ["^build"],
"options": {
"main": "packages-legacy/rspack/index.ts",
"tsConfig": "packages-legacy/rspack/tsconfig.json",
"outputPath": "dist/packages/rspack-legacy",
"outputPath": "build/packages/rspack-legacy",
"updateBuildableProjectDepsInPackageJson": false,
"assets": [
"packages-legacy/rspack/*.md",
@ -28,9 +32,6 @@
"LICENSE"
]
}
},
"publish": {
"command": "node tools/scripts/publish.mjs rspack-legacy {args.ver} {args.tag}"
}
},
"tags": []

View File

@ -143,6 +143,8 @@
"@nrwl/rollup",
"@nx/remix",
"@nrwl/remix",
"@nx/rspack",
"@nrwl/rspack",
"@nx/storybook",
"@nrwl/storybook",
"@nrwl/tao",

View File

@ -85,6 +85,10 @@ export const CORE_PLUGINS: CorePlugin[] = [
name: '@nx/rollup',
capabilities: 'executors,generators',
},
{
name: '@nx/rspack',
capabilities: 'executors,generators',
},
{
name: '@nx/storybook',
capabilities: 'executors,generators',

View File

@ -4,13 +4,17 @@
"type": "commonjs",
"repository": {
"type": "git",
"url": "https://github.com/nrwl/nx-labs.git",
"url": "https://github.com/nrwl/nx.git",
"directory": "packages/rspack"
},
"bugs": {
"url": "https://github.com/nrwl/nx/issues"
},
"keywords": [
"Monorepo",
"Next",
"Vercel"
"Rspack",
"Bundling",
"Module Federation"
],
"author": "Jack Hsu",
"license": "MIT",

View File

@ -126,6 +126,8 @@
"@nx/remix/*": ["packages/remix/*"],
"@nx/rollup": ["packages/rollup"],
"@nx/rollup/*": ["packages/rollup/*"],
"@nx/rspack": ["packages/rspack/src"],
"@nx/rspack/*": ["packages/rspack/src/*"],
"@nx/storybook": ["packages/storybook"],
"@nx/storybook/*": ["packages/storybook/*"],
"@nx/typedoc-theme": ["typedoc-theme/src/index.ts"],