Skip to content

Commit

Permalink
docs: Rename solorepo to polyrepo.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Feb 7, 2021
1 parent 8163c44 commit 176346c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions tests/Packemon.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('Packemon', () => {
await expect(() => packemon.clean()).rejects.toThrow('Missing');
});

describe('solorepo', () => {
describe('polyrepo', () => {
beforeEach(() => {
packemon = new Packemon(getFixturePath('project'));
});
Expand Down Expand Up @@ -175,7 +175,7 @@ describe('Packemon', () => {
spy.mockRestore();
});

describe('solorepo', () => {
describe('polyrepo', () => {
beforeEach(() => {
packemon = new Packemon(getFixturePath('project'));
});
Expand Down Expand Up @@ -234,7 +234,7 @@ describe('Packemon', () => {
);
});

describe('solorepo', () => {
describe('polyrepo', () => {
it('sets workspaces property to an empty list', async () => {
packemon = new Packemon(getFixturePath('workspace-not-configured'));

Expand All @@ -252,7 +252,7 @@ describe('Packemon', () => {
expect(packages).toEqual([
{
metadata: packemon.project.createWorkspaceMetadata(new Path(root, 'package.json')),
package: { name: 'solorepo' },
package: { name: 'polyrepo' },
},
]);
});
Expand Down
2 changes: 1 addition & 1 deletion tests/__fixtures__/workspace-not-configured/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"name": "solorepo"
"name": "polyrepo"
}
2 changes: 1 addition & 1 deletion tests/__fixtures__/workspace-private/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "solorepo-private",
"name": "polyrepo-private",
"private": true
}
8 changes: 4 additions & 4 deletions website/docs/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Packemon has been designed to build and prepare packages for distribution, and as such, supports
workspaces (monorepos) or single packages (solorepos). By default, only packages configured for
workspaces (monorepos) or single packages (polyrepo). By default, only packages configured for
Packemon will be built (denoted by a `packemon` block in `package.json`). This allows specific
packages to be completely ignored if need be.

Expand All @@ -32,13 +32,13 @@ This would look something like the following.

<Tabs
groupId="package-structure"
defaultValue="solo"
defaultValue="poly"
values={[
{ label: 'Solorepo', value: 'solo' },
{ label: 'Polyrepo', value: 'poly' },
{ label: 'Monorepo', value: 'mono' },
]}
>
<TabItem value="solo">
<TabItem value="poly">

```
/
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const features: FeatureProps[][] = [
title: '🗂 Agnostic project structure',
description: (
<>
Whether your project repository contains one package (solorepo) or many packages
Whether your project repository contains one package (polyrepo) or many packages
(monorepo), Packemon will handle any and all patterns.
</>
),
Expand Down

0 comments on commit 176346c

Please sign in to comment.