Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebrand as Lightning CSS ⚡️ #261

Merged
merged 3 commits into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
# Windows
- os: windows-latest
target: x86_64-pc-windows-msvc
binary: parcel_css.exe
binary: lightningcss.exe
# Mac OS
- os: macos-latest
target: x86_64-apple-darwin
strip: strip -x # Must use -x on macOS. This produces larger results on linux.
binary: parcel_css
binary: lightningcss

name: build-${{ matrix.target }}
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -89,18 +89,18 @@ jobs:
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
export MACOSX_DEPLOYMENT_TARGET="10.9";
cargo build --release --features cli --target aarch64-apple-darwin
mv target/aarch64-apple-darwin/release/parcel_css parcel_css
mv target/aarch64-apple-darwin/release/lightningcss lightningcss
env:
JEMALLOC_SYS_WITH_LG_PAGE: 14
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip -x *.node parcel_css
run: strip -x *.node lightningcss
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bindings-aarch64-apple-darwin
path: |
*.node
parcel_css
lightningcss

build-linux:
strategy:
Expand Down Expand Up @@ -159,17 +159,17 @@ jobs:
- name: Build CLI
run: |
cargo build --release --features cli --target ${{ matrix.target }}
mv target/${{ matrix.target }}/release/parcel_css parcel_css
mv target/${{ matrix.target }}/release/lightningcss lightningcss
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
if: ${{ matrix.strip }}
run: ${{ matrix.strip }} *.node parcel_css
run: ${{ matrix.strip }} *.node lightningcss
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bindings-${{ matrix.target }}
path: |
*.node
parcel_css
lightningcss

build-wasm:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -220,10 +220,10 @@ jobs:
cd ../..;
done
cd cli
echo "Publishing @parcel/css-cli...";
echo "Publishing lightningcss-cli...";
npm publish
cd ..
echo "Publishing @parcel/css...";
echo "Publishing lightningcss...";
npm publish

release-crates:
Expand Down
114 changes: 57 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ members = [

[package]
authors = ["Devon Govett <[email protected]>"]
name = "parcel_css"
name = "lightningcss"
version = "1.0.0-alpha.32"
description = "A CSS parser, transformer, and minifier"
license = "MPL-2.0"
edition = "2021"
keywords = [ "CSS", "minifier", "Parcel" ]
repository = "https://github.com/parcel-bundler/parcel-css"
repository = "https://github.com/parcel-bundler/lightningcss"

[[bin]]
name = "parcel_css"
name = "lightningcss"
path = "src/main.rs"
required-features = ["cli"]

[lib]
name = "parcel_css"
name = "lightningcss"
path = "src/lib.rs"
crate-type = ["rlib"]

Expand Down
Loading