Oliver Davies
f61fb98562
Remove createInclusiveGitIgnoreFile
2024-04-04 23:33:56 +01:00
Oliver Davies
844996aea0
Update build configuration files
2024-03-30 18:05:29 +00:00
Oliver Davies
1cbb2bd1e5
Start adding better support for multiple languages
2024-03-14 09:33:47 +00:00
Oliver Davies
d289a01f3a
Don't need to pass multiple arguments as a string
...
`./bin/console run -- --e prod --port 8001` now works without wrapping
multiple arbitrary arguments within a string.
2024-03-12 23:59:26 +00:00
Oliver Davies
f94736183e
Allow for arbitrary arguments
...
Remove the `--args` option and allow for arbitrary arguments.
2024-03-12 21:26:04 +00:00
Oliver Davies
e499d42fa5
Assert the project language and type are valid
2024-02-28 10:35:41 +00:00
Oliver Davies
d541f064a5
Fix args in run command
2024-02-26 22:32:39 +00:00
Oliver Davies
53eb833f85
Remove duplicate filesystem
2024-02-26 21:37:03 +00:00
Oliver Davies
3cccf56482
Extract methods to determine project type
2024-02-26 21:29:23 +00:00
Oliver Davies
b44c713acf
Fix PHP install command
2024-02-26 21:16:02 +00:00
Oliver Davies
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
Oliver Davies
bfc9a89842
Remove unused import
2024-02-26 20:10:56 +00:00
Oliver Davies
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
Oliver Davies
b2ccc4027f
Tag version 0.3.0
2024-02-25 23:51:03 +00:00
Oliver Davies
d6f04371eb
Add descriptions to commands
2024-02-25 16:46:36 +00:00
Oliver Davies
82900c719c
Add package-install
command
...
Add a command to install a new package into a project using Composer,
npm, yarn or pnpm.
2024-02-25 16:46:36 +00:00
Oliver Davies
5d32389606
Rename --extra-args to --args
2024-02-25 13:58:12 +00:00
Oliver Davies
90e5e109e8
Fix autowiring error
2024-02-23 16:21:15 +00:00
Oliver Davies
52d933bc5e
Ensure explode is passed a string and not null
...
Passing `null` to `explode()` is deprecated.
2024-02-23 16:15:41 +00:00
Oliver Davies
14fbbec987
Make markdown lists consistent
2024-02-23 14:55:20 +00:00
Oliver Davies
ccbae0ed36
Add and use an action to get the project language
2024-02-23 14:47:28 +00:00
Oliver Davies
8c9f36151b
Support multiple extra args with spaces
...
e.g. `versa test --testdox --filter foo`
2024-02-22 21:05:19 +00:00
Oliver Davies
4ebc156137
Update just build
2024-02-22 00:38:31 +00:00
Oliver Davies
f184bd404b
Update notes
2024-02-22 00:37:03 +00:00
Oliver Davies
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
Oliver Davies
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
Oliver Davies
72dea5070b
Make dev dependencies an empty array if none are
...
...present
2024-02-21 22:16:00 +00:00
Oliver Davies
084f6fb3c7
Revert "Extract extraArgs
and workingDir
"
...
This reverts commit ee709b2966
.
2024-02-21 13:22:17 +00:00
Oliver Davies
01854538d4
Disable timeout for install command
2024-02-21 13:20:41 +00:00
Oliver Davies
ee709b2966
Extract extraArgs
and workingDir
2024-02-21 13:00:16 +00:00
Oliver Davies
b4e7a71fe3
Refactor to separate commands
2024-02-21 12:48:33 +00:00
Oliver Davies
1350899e8f
Add notes
2024-02-21 00:50:24 +00:00
Oliver Davies
454a07d057
Add todo
2024-02-21 00:47:22 +00:00
Oliver Davies
de5b3af017
Add a Symfony project type
2024-02-21 00:41:49 +00:00
Oliver Davies
4c9abd8599
Combine switch statements
2024-02-21 00:35:26 +00:00
Oliver Davies
1e0bee8551
Tests not being executed
2024-02-21 00:33:23 +00:00
Oliver Davies
f80427a559
Add todo
2024-02-21 00:27:58 +00:00
Oliver Davies
50b5e15021
Use PHPUnit or ParaTest
2024-02-21 00:26:22 +00:00
Oliver Davies
7ee4e308d5
Remove unused import
2024-02-21 00:24:55 +00:00
Oliver Davies
48540cdab1
Automatically select the PHP project type
2024-02-21 00:24:55 +00:00
Oliver Davies
20048ad8f4
Add PHPStan strict rules
2024-02-21 00:07:22 +00:00
Oliver Davies
e9240a7ec7
Create tests directory
2024-02-20 20:39:53 +00:00
Oliver Davies
40197e3a93
Fix PHPStan error
2024-02-20 12:21:55 +00:00
Oliver Davies
cf89ca76a0
Extract a Process class that wraps Symfony's
2024-02-20 10:59:46 +00:00
Oliver Davies
3ed3ee85b8
Add PHPStan
2024-02-20 09:51:07 +00:00
Oliver Davies
ec9ddbaf9c
Extract a method to create the Process
2024-02-20 09:51:07 +00:00
Oliver Davies
a0ff721782
Remove dist directory
2024-02-20 09:51:07 +00:00
Oliver Davies
1aabfa1f3e
Fix typo
2024-02-20 09:22:55 +00:00
Oliver Davies
44e7f63760
Use an Enum for project type conditions
2024-02-20 00:57:04 +00:00
Oliver Davies
0eb7d1a1b6
Update CHANGELOG
2024-02-20 00:51:11 +00:00