From 2d19f45c86222b83f911ddcf663b6842e77ff178 Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Tue, 13 Jun 2023 11:33:58 -0700 Subject: [PATCH] Sync up package descriptions (#1307) Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1307 This syncs up some of the descriptions, author names, etc between the different Yoga packages we are going to soon publish. Reviewed By: cortinico Differential Revision: D46664187 fbshipit-source-id: b15974efee31f349650e5d23f9fcaebaef6d6dd3 --- Yoga.podspec | 5 ++--- YogaKit.podspec | 10 +++++----- build-logic/src/main/kotlin/publish.gradle.kts | 3 ++- javascript/package.json | 4 +++- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Yoga.podspec b/Yoga.podspec index 74b3971e..f5d27beb 100644 --- a/Yoga.podspec +++ b/Yoga.podspec @@ -11,10 +11,9 @@ Pod::Spec.new do |spec| spec.homepage = 'https://yogalayout.com/' spec.documentation_url = 'https://yogalayout.com/docs' - spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.' - spec.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.' + spec.summary = 'An embeddable and performant flexbox layout engine with bindings for multiple languages' - spec.authors = 'Facebook' + spec.authors = {'Meta Open Source' => 'opensource@meta.com'} spec.source = { :git => 'https://github.com/facebook/yoga.git', :tag => "v#{spec.version.to_s}", diff --git a/YogaKit.podspec b/YogaKit.podspec index 2cbf51b3..bd03bd42 100644 --- a/YogaKit.podspec +++ b/YogaKit.podspec @@ -7,14 +7,13 @@ podspec = Pod::Spec.new do |spec| spec.name = 'YogaKit' spec.version = '2.0.0' spec.license = { :type => 'MIT', :file => "LICENSE" } - spec.homepage = 'https://facebook.github.io/yoga/' - spec.documentation_url = 'https://facebook.github.io/yoga/docs/' + spec.homepage = 'https://yogalayout.com/' + spec.documentation_url = 'https://yogalayout.com/docs' spec.deprecated = true - spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.' - spec.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.' + spec.summary = 'YogaKit allows using the Yoga layout engine in combination with UIKit' - spec.authors = 'Facebook' + spec.authors = {'Meta Open Source' => 'opensource@meta.com'} spec.source = { :git => 'https://github.com/facebook/yoga.git', :tag => "v#{spec.version.to_s}", @@ -32,3 +31,4 @@ end # See https://github.com/facebook/yoga/pull/366 podspec.attributes_hash["readme"] = "YogaKit/README.md" +podspec diff --git a/build-logic/src/main/kotlin/publish.gradle.kts b/build-logic/src/main/kotlin/publish.gradle.kts index 01cd9de3..3cf621aa 100644 --- a/build-logic/src/main/kotlin/publish.gradle.kts +++ b/build-logic/src/main/kotlin/publish.gradle.kts @@ -26,7 +26,8 @@ publishing { version = project.version.toString() afterEvaluate { from(components["default"]) } pom { - description.set("A cross-platform layout engine which implements Flexbox.") + description.set( + "An embeddable and performant flexbox layout engine with bindings for multiple languages") name.set(project.name) url.set("https://github.com/facebook/yoga.git") licenses { diff --git a/javascript/package.json b/javascript/package.json index 6aa15ab3..8428083f 100644 --- a/javascript/package.json +++ b/javascript/package.json @@ -1,8 +1,10 @@ { "name": "yoga-layout", "version": "2.0.0", - "description": "JavaScript bindings for the Yoga layout engine", + "description": "An embeddable and performant flexbox layout engine with bindings for multiple languages", "license": "MIT", + "author": "Meta Open Source", + "homepage": "https://yogalayout.com/", "repository": { "type": "git", "url": "git@github.com:facebook/yoga.git"