♻️ Remove Nx and rely on pnpm monorepo features

This commit is contained in:
Juanfran
2026-02-04 13:16:07 +01:00
committed by Andrey Antukh
parent 45d04942cc
commit 96b682aa12
79 changed files with 1498 additions and 9053 deletions

View File

@@ -6,28 +6,26 @@
"packageManager": "pnpm@10.26.2+sha512.0e308ff2005fc7410366f154f625f6631ab2b16b1d2e70238444dd6ae9d630a8482d92a451144debc492416896ed16f7b114a86ec68b8404b2443869e68ffda6",
"scripts": {
"start": "pnpm run start:app:runtime",
"start:app:runtime": "concurrently --kill-others --names build,server \"nx run plugins-runtime:build --watch --mode development\" \"nx run plugins-runtime:preview\"",
"start:app:styles-example": "nx run example-styles:serve --host 0.0.0.0 --port 4201",
"start:app:runtime": "concurrently --kill-others --names build,server \"pnpm --filter @penpot/plugins-runtime run build:watch\" \"pnpm --filter @penpot/plugins-runtime run preview\"",
"start:app:styles-example": "pnpm --filter example-styles dev",
"start:plugin:all": "concurrently --kill-others \"pnpm:start:plugin:*(!all)\"",
"start:plugin:poc-state": "nx run poc-state-plugin:init",
"start:plugin:contrast": "nx run contrast-plugin:init",
"start:plugin:icons": "nx run icons-plugin:init",
"start:plugin:loremipsum": "nx run lorem-ipsum-plugin:init",
"start:plugin:palette": "nx run create-palette-plugin:build --watch & nx run create-palette-plugin:preview",
"start:plugin:table": "nx run table-plugin:init",
"start:plugin:renamelayers": "nx run rename-layers-plugin:init",
"start:plugin:colors-to-tokens": "nx run colors-to-tokens-plugin:init",
"start:plugin:poc-tokens": "nx run poc-tokens-plugin:init",
"build": "nx build plugins-runtime --emptyOutDir=true",
"build:plugins": "nx run-many -t build --parallel -p tag:type:plugin --exclude=poc-state-plugin",
"build:styles-example": "nx run example-styles:build",
"lint": "nx run-many --all --target=lint --parallel",
"format": "nx format:write --libs-and-apps",
"format:check": "nx format:check --libs-and-apps",
"lint:affected": "nx affected --target=lint",
"test": "nx run-many -t test --parallel -p plugins-runtime lorem-ipsum-plugin colors-to-tokens-plugin",
"test:e2e": "nx test e2e",
"registry": "nx local-registry",
"start:plugin:poc-state": "pnpm --filter poc-state-plugin serve",
"start:plugin:contrast": "pnpm --filter contrast-plugin serve",
"start:plugin:icons": "pnpm --filter icons-plugin serve",
"start:plugin:loremipsum": "pnpm --filter lorem-ipsum-plugin serve",
"start:plugin:palette": "pnpm --filter create-palette-plugin build:watch & pnpm --filter create-palette-plugin preview",
"start:plugin:table": "pnpm --filter table-plugin serve",
"start:plugin:renamelayers": "pnpm --filter rename-layers-plugin serve",
"start:plugin:colors-to-tokens": "pnpm --filter colors-to-tokens-plugin serve",
"start:plugin:poc-tokens": "pnpm --filter poc-tokens serve",
"build": "pnpm --filter @penpot/plugins-runtime build",
"build:plugins": "pnpm --filter './apps/*-plugin' --filter '!poc-state-plugin' build",
"build:styles-example": "pnpm --filter example-styles build",
"lint": "pnpm -r --parallel lint",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,html,css}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,html,css}\"",
"test": "pnpm --filter @penpot/plugins-runtime --filter lorem-ipsum-plugin --filter colors-to-tokens-plugin test",
"test:e2e": "pnpm --filter e2e test",
"build:doc": "typedoc --tsconfig libs/plugins-runtime/tsconfig.lib.json --customCss ./tools/typedoc.css --out dist/doc",
"release": "tsx ./tools/scripts/publish.ts"
},
@@ -42,24 +40,11 @@
"@angular/cli": "21.1.1",
"@angular/compiler-cli": "21.1.1",
"@angular/language-service": "21.1.1",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "9.39.2",
"@nx/angular": "22.4.0",
"@nx/devkit": "^22.4.0",
"@nx/esbuild": "22.4.0",
"@nx/eslint": "22.4.0",
"@nx/eslint-plugin": "22.4.0",
"@nx/js": "22.4.0",
"@nx/node": "22.4.0",
"@nx/vite": "22.4.0",
"@nx/vitest": "22.4.0",
"@nx/web": "22.4.0",
"@schematics/angular": "21.1.1",
"@swc-node/register": "1.11.1",
"@swc/core": "1.15.10",
"@swc/helpers": "0.5.18",
"@types/feather-icons": "^4.29.4",
"@types/node": "25.0.10",
"@types/yargs": "^17.0.35",
"@typescript-eslint/eslint-plugin": "8.53.1",
"@typescript-eslint/parser": "8.53.1",
"@typescript-eslint/utils": "^8.53.1",
@@ -81,9 +66,7 @@
"jiti": "2.6.1",
"jsdom": "~27.4.0",
"jsonc-eslint-parser": "^2.4.2",
"nx": "22.4.0",
"prettier": "^3.8.1",
"swc-loader": "0.2.7",
"tsx": "^4.21.0",
"typedoc": "^0.28.16",
"typescript": "5.9.3",
@@ -92,7 +75,9 @@
"vite-plugin-checker": "^0.12.0",
"vite-plugin-dts": "4.5.4",
"vite-plugin-static-copy": "^3.1.5",
"vitest": "4.0.17"
"vite-tsconfig-paths": "^6.0.5",
"vitest": "4.0.17",
"yargs": "^17.7.2"
},
"dependencies": {
"@angular/animations": "21.1.1",
@@ -112,8 +97,5 @@
"uuid": "^13.0.0",
"zod": "^4.3.5",
"zone.js": "0.16.0"
},
"nx": {
"includedScripts": []
}
}