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

Release/0.2.4 #34

Merged
merged 3 commits into from
Sep 19, 2024
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
6 changes: 3 additions & 3 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions apps/nextjs-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stylexswc/next-example",
"version": "0.2.3",
"version": "0.2.4",
"private": true,
"scripts": {
"clean": "rimraf .next",
Expand All @@ -22,8 +22,8 @@
},
"devDependencies": {
"@stylexjs/eslint-plugin": "^0.7.5",
"@stylexswc/nextjs-plugin": "0.2.3",
"@stylexswc/swc-plugin": "0.2.3",
"@stylexswc/nextjs-plugin": "0.2.4",
"@stylexswc/swc-plugin": "0.2.4",
"@types/node": "^20.10.4",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
Expand Down
2 changes: 1 addition & 1 deletion crates/stylex-path-resolver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stylex_path_resolver"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
rust-version = "1.80.0"
description = "Path resolver for StyleX SWC plugin"
Expand Down
2 changes: 1 addition & 1 deletion crates/stylex-path-resolver/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stylexswc/path-resolver",
"description": "SWC lib for path imports resolving for SWC StyleX plugin",
"version": "0.2.3",
"version": "0.2.4",
"config": {
"scripty": {
"path": "../../scripts/packages"
Expand Down
2 changes: 1 addition & 1 deletion crates/stylex-swc-plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stylex_swc_plugin"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
rust-version = "1.80.0"
description = "SWC plugin for StyleX"
Expand Down
5 changes: 1 addition & 4 deletions crates/stylex-swc-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"name": "@stylexswc/swc-plugin",
"description": "SWC plugin for transforming StyleX code",
"version": "0.2.3",
"version": "0.2.4",
"config": {
"scripty": {
"path": "../../scripts/packages"
}
},
"dependencies": {
"@stylexswc/path-resolver": "workspace:*"
},
"files": [
"dist"
],
Expand Down
2 changes: 1 addition & 1 deletion crates/stylex-test-parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stylex_test_parser"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
rust-version = "1.80.0"
description = "Test parser for StyleX"
Expand Down
2 changes: 1 addition & 1 deletion crates/stylex-test-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stylexswc/test-parser",
"description": "Parse origin jest stylex test files",
"version": "0.2.3",
"version": "0.2.4",
"config": {
"scripty": {
"path": "../../scripts/packages"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stylexswc/stylexswc",
"version": "0.2.3",
"version": "0.2.4",
"private": true,
"scripts": {
"build": "turbo build",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stylexswc/eslint-config",
"version": "0.2.3",
"version": "0.2.4",
"dependencies": {
"eslint": "^8.57.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stylexswc/nextjs-plugin",
"description": "Stylex NextJS plugin with swc plugin",
"version": "0.2.3",
"version": "0.2.4",
"config": {
"scripty": {
"path": "../../scripts/packages"
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stylexswc/typescript-config",
"version": "0.2.3",
"version": "0.2.4",
"license": "MIT",
"private": true,
"publishConfig": {
Expand Down
10 changes: 3 additions & 7 deletions pnpm-lock.yaml

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

6 changes: 6 additions & 0 deletions scripts/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,11 @@ EOF
;;
esac

# Trim any leading or trailing whitespace from the version components
major=$(echo "$major" | xargs)
minor=$(echo "$minor" | xargs)
patch=$(echo "$patch" | xargs)


echo "$major.$minor.$patch"
}
4 changes: 2 additions & 2 deletions scripts/git/finish-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ git checkout "${MASTER_BRANCH}"
git merge --ff-only "${LAST_TAG}"

# Push the changes to the remote repository
git push --tags origin "${BASE_BRANCH}"
git push --follow-tags origin "${MASTER_BRANCH}"

# Delete the release branch
git branch -d "${RELEASE_BRANCH}"
git push origin -d "${RELEASE_BRANCH}"

# Checkout the base branch
# Checkout and push the base branch
git checkout "${BASE_BRANCH}"
git push --tags origin "${BASE_BRANCH}"

# set positional arguments in their proper place
eval set -- "$PARAMS"