From c19a2501cc696f0c7cfb570d97a7d4d2ef5d41b5 Mon Sep 17 00:00:00 2001 From: Wesley Bomar Date: Mon, 20 May 2024 20:29:36 -0500 Subject: [PATCH] conf: remove NPM scripts cuz they do not work The commands via `nx` for core-components DO work! --- libs/core-components/README.md | 8 ++++---- libs/core-components/package.json | 7 ------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/libs/core-components/README.md b/libs/core-components/README.md index f9874055d..b90641014 100644 --- a/libs/core-components/README.md +++ b/libs/core-components/README.md @@ -58,10 +58,10 @@ Set up a new local CMS instance. The components are [React components](https://react.dev/learn) that should be [written in TypeScript](https://react.dev/learn/typescript#typescript-with-react-components). -| command | task | service | -| --------------- | ------------------ | ----------------------------- | -| `npm test` | execute unit tests | [Vitest](https://vitest.dev/) | -| `npm run build` | build components | [Vite](https://vitejs.dev/) | +| command | task | service | +| ------------------------------ | ------------------ | ----------------------------- | +| `npx nx test core-components` | execute unit tests | [Vitest](https://vitest.dev/) | +| `npx nx build core-components` | build components | [Vite](https://vitejs.dev/) | ## Contributing diff --git a/libs/core-components/package.json b/libs/core-components/package.json index 2f5035cfd..89ed1546d 100644 --- a/libs/core-components/package.json +++ b/libs/core-components/package.json @@ -9,13 +9,6 @@ "files": [ "dist" ], - "scripts": { - "start": "nx serve", - "build": "nx build", - "build:storbook": "nx build-storybook", - "test": "nx test", - "prepublishOnly": "npm run build" - }, "homepage": "https://github.com/TACC/tup-ui/libs/core-components", "dependencies": { "formik": "^2.2.9",