Skip to content

Add support for configurable package locations#1

Merged
gigabo merged 1 commit intoasini:masterfrom
gigabo:configurable-package-locations
Sep 19, 2016
Merged

Add support for configurable package locations#1
gigabo merged 1 commit intoasini:masterfrom
gigabo:configurable-package-locations

Conversation

@gigabo
Copy link
Copy Markdown
Contributor

@gigabo gigabo commented Sep 15, 2016

This adds a packages configuration option to asini.json:

{
  "asini": "x.x.x",
  "version": "0.2.3",
  "packages": [
    {"glob": "packages/{core,plugins}/*/package.json"},
    {"glob": "build-tools/package.json"},
    {"glob": "integration-tests/**/package.json"}
  ]
}

The default is [{"glob": "packages/*/package.json"}], which is equivalent to
the historical layout of an Asini repo.

@gigabo gigabo force-pushed the configurable-package-locations branch 2 times, most recently from b781b98 to 82c7778 Compare September 15, 2016 20:26
This adds a `packages` configuration option to `asini.json`:

```json
{
  "asini": "x.x.x",
  "version": "0.2.3",
  "packages": [
    {"glob": "packages/{core,plugins}/*/package.json"},
    {"glob": "build-tools/package.json"},
    {"glob": "integration-tests/**/package.json"}
  ]
}
```

The default is `[{"glob": "packages/*/package.json"}]`, which is equivalent to
the historical layout of an Asini repo.
@gigabo gigabo force-pushed the configurable-package-locations branch from 82c7778 to fd83c25 Compare September 19, 2016 18:39
@gigabo
Copy link
Copy Markdown
Contributor Author

gigabo commented Sep 19, 2016

I'm sure this has issues that we'll uncover as we start using it. It works for the basic repo structure, though, so I think it's good enough to start with. I have changes built on top of this that are blocked right now. So, going to merge and move on. Please still have a look if you get a chance. And try it out! Find some bugs! 🐛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant