Commit graph

13 commits

Author SHA1 Message Date
4ebfd9333a Use annotations and autoconfiguration
Use the `AsCommand` annotation to automatically register commands as
services and automatically add them to `./bin/console` instead of adding
them manually.
2024-02-26 21:10:56 +00:00
c6a6b4de5d Extract logic to determine which package manager
..is used

Always Composer for PHP.
npm, yarn or pnpm for node.
2024-02-26 08:49:22 +00:00
d6f04371eb Add descriptions to commands 2024-02-25 16:46:36 +00:00
5d32389606 Rename --extra-args to --args 2024-02-25 13:58:12 +00:00
52d933bc5e Ensure explode is passed a string and not null
Passing `null` to `explode()` is deprecated.
2024-02-23 16:15:41 +00:00
ccbae0ed36 Add and use an action to get the project language 2024-02-23 14:47:28 +00:00
8c9f36151b Support multiple extra args with spaces
e.g. `versa test --testdox --filter foo`
2024-02-22 21:05:19 +00:00
18ce1e84c6 Add Fractal to versa build and automatically
...select the language if there is a `package.json` file
2024-02-22 00:36:43 +00:00
c5248bb061 Add initial JavaScript/TypeScript support
Add JS/TS support to `versa install`.

Run `npm install`, `yarn` or `pnpm install` based on which files are
present in the project.
2024-02-21 23:32:59 +00:00
084f6fb3c7 Revert "Extract extraArgs and workingDir"
This reverts commit ee709b2966.
2024-02-21 13:22:17 +00:00
01854538d4 Disable timeout for install command 2024-02-21 13:20:41 +00:00
ee709b2966 Extract extraArgs and workingDir 2024-02-21 13:00:16 +00:00
b4e7a71fe3 Refactor to separate commands 2024-02-21 12:48:33 +00:00