diff --git a/.github/workflows/oxide-ci.yml b/.github/workflows/oxide-ci.yml index 1a8b6d295..4042a7990 100644 --- a/.github/workflows/oxide-ci.yml +++ b/.github/workflows/oxide-ci.yml @@ -310,7 +310,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 a8082907d..28bf10207 100644 --- a/package.json +++ b/package.json @@ -13,11 +13,10 @@ "tailwindcss": "lib/cli.js" }, "scripts": { - "package:build": "npm run --prefix ./oxide/packages/tailwindcss build", - "preswcify": "npm run generate && rimraf lib && npm run package:build", - "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", + "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", "style": "eslint .", "pretest": "npm run generate", "test": "jest", @@ -29,15 +28,14 @@ "release-channel": "node ./scripts/release-channel.js", "release-notes": "node ./scripts/release-notes.js", "oxide:install": "npm install --prefix ./oxide", - "oxide:dev": "concurrently -n tailwind,oxide-node -c green,yellow 'npm run swcify -- --watch' 'npm run --prefix ./oxide dev:node'", - "oxide:build": "npm run --prefix ./oxide build:node && npm run swcify" + "oxide:dev": "concurrently -n tailwind,oxide-node -c green,yellow 'npm run build -- --watch' 'npm run --prefix ./oxide dev:node'", + "oxide:build": "npm run --prefix ./oxide build:node && npm run build" }, "files": [ "src/*", "cli/*", "lib/*", "peers/*", - "oxide/packages/tailwindcss/dist/*.js", "scripts/*.js", "stubs/*.stub.js", "nesting/*",