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

Add please to the website #87

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
9 changes: 9 additions & 0 deletions libs/website/ui-home/src/lib/introduction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ export function Introduction() {
Pants (by the Pants Build community)
</a>
,&nbsp;
<a
href="https://please.build/?utm_source=monorepo.tools"
rel="noreferrer"
target="_blank"
className="border-b border-yellow-500 transition hover:rounded hover:bg-yellow-500 hover:text-gray-800"
>
Please (by Thought Machine)
</a>
,&nbsp;
<a
rel="noreferrer"
target="_blank"
Expand Down
144 changes: 144 additions & 0 deletions libs/website/ui-home/src/lib/monorepo-features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,16 @@ export function MonorepoFeatures() {
Turborepo supports it.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<Supported /> Please
</p>
</dt>
<dd className="mt-4 text-gray-600 dark:text-gray-400">
Please supports it.
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -333,6 +343,16 @@ export function MonorepoFeatures() {
Turborepo supports it.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<Supported /> Please
</p>
</dt>
<dd className="mt-4 text-gray-600 dark:text-gray-400">
Please supports it.
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -458,6 +478,16 @@ export function MonorepoFeatures() {
Turborepo supports it.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<Supported /> Please
</p>
</dt>
<dd className="mt-4 text-gray-600 dark:text-gray-400">
Please supports it.
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -586,6 +616,18 @@ export function MonorepoFeatures() {
Turborepo doesn't support it.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<Supported /> Please
</p>
</dt>
<dd className="mt-4 text-base text-gray-600 dark:text-gray-400">
Please supports it, through the same remote execution API as
Bazel, although some server implementations may not support all
the needed features
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -698,6 +740,18 @@ export function MonorepoFeatures() {
Turborepo doesn't support it.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<Supported /> Please
</p>
</dt>
<dd className="mt-4 text-base text-gray-600 dark:text-gray-400">
Please supports it, through the same remote execution API as
Bazel, although some server implementations may not support all
the needed features
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -834,6 +888,17 @@ export function MonorepoFeatures() {
Turborepo supports it.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<Supported /> Please
</p>
</dt>
<dd className="mt-4 text-base text-gray-600 dark:text-gray-400">
Please supports querying changed build targets based on the scm
diff.
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -970,6 +1035,19 @@ export function MonorepoFeatures() {
Turborepo analyses package.json files.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<Supported /> Please
</p>
</dt>
<dd className="mt-4 text-gray-600 dark:text-gray-400">
The query sub-command can be used to query the build graph in a
multitude of ways. The build graph is computed statically, so
the entire build can be analysed in this way. The graph can also
be exported as json for extra validation.
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -1106,6 +1184,18 @@ export function MonorepoFeatures() {
of the execution plan. The implementation is not interactive.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<ManualImplementation /> Please
</p>
</dt>
<dd className="mt-4 text-gray-600 dark:text-gray-400">
The build graph can be outputted as json, which could then be
visualized by another tool. You can also print a dependency tree
for a given target in the terminal.
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -1251,6 +1341,21 @@ export function MonorepoFeatures() {
Turborepo supports it. Only npm packages can be shared.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<Supported />
Please
</p>
</dt>
<dd className="mt-4 text-gray-600 dark:text-gray-400">
Please supports building and packaging through the standard
idioms of the language. It also supports exporting targets from
the codebase, including all dependencies and build
configuration. Additionally, other Please projects added to the
project seamlessly through subrepos.
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -1401,6 +1506,19 @@ export function MonorepoFeatures() {
be installed.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<Supported />
Please
</p>
</dt>
<dd className="mt-4 text-base text-gray-600 dark:text-gray-400">
This is a key feature of Please. Not only can it be extended
with other build targets, but the CLI can be extended with new
verbs, or even entire tools.
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -1541,6 +1659,19 @@ export function MonorepoFeatures() {
External generators can be used.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<ManualImplementation />
Please
</p>
</dt>
<dd className="mt-4 text-base text-gray-600 dark:text-gray-400">
Please supports code generation for protobuf for go, Python,
Java, Javascript, and C/C++. Otherwise, Please can be extended
to support other tools.
</dd>
</div>
</dl>
</div>

Expand Down Expand Up @@ -1687,6 +1818,19 @@ export function MonorepoFeatures() {
be used to ensure that some constraints hold.
</dd>
</div>
<div className="rounded-md border border-slate-200 bg-slate-100 p-4 dark:border-black dark:bg-slate-900">
<dt>
<p className="inline-flex items-center justify-center rounded-md bg-slate-50 px-3 py-2 text-sm uppercase tracking-widest text-gray-700 dark:bg-slate-800 dark:text-gray-300">
<Supported />
Please
</p>
</dt>
<dd className="mt-4 text-base text-gray-600 dark:text-gray-400">
Please supports visibility rules, allowing you to mark code as
private or public, or make it visible to only certain paths in
the repo.
</dd>
</div>
</dl>
</div>
</div>
Expand Down
26 changes: 24 additions & 2 deletions libs/website/ui-home/src/lib/monorepo-tools-logos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,18 @@ const tools2: { name: string; link: string }[] = [
name: 'Pants',
link: 'https://github.com/pantsbuild/pants?utm_source=monorepo.tools',
},
{
name: 'Please',
link: 'https://github.com/thought-machine/please?utm_source=monorepo.tools',
},
{
name: 'Rush',
link: 'https://github.com/microsoft/rushstack?utm_source=monorepo.tools',
},
];

const tools3: { name: string; link: string }[] = [
// Alphabetical order
{
name: 'Turborepo',
link: 'https://github.com/vercel/turborepo?utm_source=monorepo.tools',
Expand All @@ -40,7 +48,7 @@ const tools2: { name: string; link: string }[] = [
export function MonorepoToolsLogos() {
return (
<>
<div className="mt-8 grid grid-cols-4 gap-0.5 pt-12 text-lg font-semibold lg:mt-16 lg:pt-16 lg:text-2xl">
<div className="mt-8 grid grid-cols-4 gap-0.5 pt-12 text-lg font-semibold lg:mt-16 lg:pt-16 lg:text-2xl">
{tools1.map((tool) => (
<a
key={'tool-' + tool.name}
Expand All @@ -54,7 +62,7 @@ export function MonorepoToolsLogos() {
</a>
))}
</div>
<div className="mt-4 grid grid-cols-4 gap-0.5 pb-12 text-lg font-semibold lg:mb-16 lg:pb-16 lg:text-2xl">
<div className="mt-4 grid grid-cols-4 gap-0.5 text-lg font-semibold lg:text-2xl">
{tools2.map((tool) => (
<a
key={'tool-' + tool.name}
Expand All @@ -68,6 +76,20 @@ export function MonorepoToolsLogos() {
</a>
))}
</div>
<div className="mt-4 grid grid-cols-4 gap-0.5 pb-12 text-lg font-semibold lg:mb-16 lg:pb-16 lg:text-2xl">
{tools3.map((tool) => (
<a
key={'tool-' + tool.name}
href={tool.link}
title={tool.name + ' on Github'}
rel="noreferrer"
target="_blank"
className="col-span-1 flex justify-center rounded bg-slate-100 py-8 px-8 transition hover:bg-yellow-500 hover:text-gray-800 dark:bg-slate-900 hover:dark:bg-yellow-500"
>
{tool.name}
</a>
))}
</div>
</>
);
}
Expand Down
8 changes: 8 additions & 0 deletions libs/website/ui-home/src/lib/resources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ const people: {
twitterLink: 'https://twitter.com/benjyw',
githubLink: 'https://github.com/pantsbuild/pants?utm_source=monorepo.tools',
},
{
name: 'Jon Poole',
tool: 'Please',
imageUrl: 'https://avatars.githubusercontent.com/u/2906700?s=150',
twitterLink: 'https://twitter.com/jonfpoole',
githubLink:
'https://github.com/thought-machine/please?utm_source=monorepo.tools',
},
];
const videosPodcasts: { name: string; link: string }[] = [
{
Expand Down
Loading