File size: 943 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Apps

This directory exists to hold a variety of projects that can produce independent, binary-like outputs deployed elsewhere. Typically not published to NPM or built on `yarn start`.

For packages that we might publish as NPM packages, see [`/packages`](../packages).

## Adding a new app?

If you want to add a new project into this directory, then add a new directory and follow [monorepo -documentation](../docs/guide/monorepo.md).

## Building

Apps (unlike packages) are not built on Calypso's `yarn`.

You must manually build apps by running:

```bash
cd apps/app-name
yarn build

# Or any other command in the app's package.json
# E.g. for the FSE plugin dev & sync command:
yarn dev --sync
```

## Validating package.json

`package.json` is linted using ESLint. Run `yarn eslint apps/*/package.json` to validate them.

If you need exceptions to linting rules, add a `./eslintrc.js` file to your app and disable the relevant rules.