@isograph/compiler 0.0.0-main-43a453c5 → 0.0.0-main-fe674856
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/package.json +2 -2
package/README.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# `@isograph/compiler`
|
2
|
+
|
3
|
+
This package installs the Isograph compiler under the `yarn iso` command.
|
4
|
+
|
5
|
+
## Usage
|
6
|
+
|
7
|
+
```bash
|
8
|
+
yarn iso --config ./isograph.config.json
|
9
|
+
# or
|
10
|
+
yarn iso --config ./isograph.config.json --watch
|
11
|
+
```
|
12
|
+
|
13
|
+
## Requirements
|
14
|
+
|
15
|
+
This requires a valid Isograph config. See [the Isograph config docs](../../docs-website/docs/isograph-config.md).
|
16
|
+
|
17
|
+
:::warning
|
18
|
+
`yarn iso --config $PATH` will work if the config is not named `isograph.config.json`, or is not found in the root of the project. But the babel plugin will not (yet!)
|
19
|
+
:::
|
20
|
+
|
21
|
+
## Options
|
22
|
+
|
23
|
+
- `--config` this is required, and is a relative path to the Isograph config.
|
24
|
+
- `--watch` if passed, this starts the compiler in watch mode.
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@isograph/compiler",
|
3
|
-
"version": "0.0.0-main-
|
4
|
-
"description": "Isograph compiler",
|
3
|
+
"version": "0.0.0-main-fe674856",
|
4
|
+
"description": "Installs the `yarn iso` command, which runs the Isograph compiler.",
|
5
5
|
"main": "index.js",
|
6
6
|
"bin": {
|
7
7
|
"iso": "cli.js"
|