From 6f53bded9d4d2c23c01505f79bb37701ccd185b7 Mon Sep 17 00:00:00 2001 From: Adam Wathan <4323180+adamwathan@users.noreply.github.com> Date: Thu, 1 Dec 2022 10:10:10 -0500 Subject: [PATCH] Rename swcify script to build --- .github/CONTRIBUTING.md | 2 +- .github/workflows/nodejs.yml | 2 +- .github/workflows/release-insiders.yml | 2 +- package.json | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 17ba91ec4..597de4a02 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -27,7 +27,7 @@ npm run style -- --fix You can run the test suite using the following commands: ```sh -npm run swcify && npm test +npm run build && npm test ``` Please ensure that the tests are passing when submitting a pull request. If you're adding new features to Tailwind, please include tests. diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 9ddd77b8b..d73bfe366 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -45,7 +45,7 @@ jobs: run: npm install - name: Build Tailwind CSS - run: npm run swcify + run: npm run build - name: Test run: npm test diff --git a/.github/workflows/release-insiders.yml b/.github/workflows/release-insiders.yml index e91173d4a..319caff81 100644 --- a/.github/workflows/release-insiders.yml +++ b/.github/workflows/release-insiders.yml @@ -42,7 +42,7 @@ jobs: run: npm install - name: Build Tailwind CSS - run: npm run swcify + run: npm run build - name: Test run: npm test diff --git a/package.json b/package.json index a890b8a94..25fbb36f5 100644 --- a/package.json +++ b/package.json @@ -13,11 +13,11 @@ "tailwindcss": "lib/cli.js" }, "scripts": { - "preswcify": "npm run generate && rimraf lib", - "swcify": "swc src --out-dir lib --copy-files", - "postswcify": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js", - "rebuild-fixtures": "npm run swcify && node -r @swc/register scripts/rebuildFixtures.js", - "prepublishOnly": "npm install --force && npm run swcify", + "prebuild": "npm run generate && rimraf lib", + "build": "swc src --out-dir lib --copy-files", + "postbuild": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js", + "rebuild-fixtures": "npm run build && node -r @swc/register scripts/rebuildFixtures.js", + "prepublishOnly": "npm install --force && npm run build", "style": "eslint .", "pretest": "npm run generate", "test": "jest",