Commit graph

57 commits

Author SHA1 Message Date
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
Oliver Davies 179b857488 Add versa build for Sculpin projects 2024-02-20 00:50:05 +00:00
Oliver Davies f01f7b422d Refactor is Docker Compose check 2024-02-20 00:46:48 +00:00
Oliver Davies 9228a223fa Add --extra-args to pass arguments to the command 2024-02-20 00:43:48 +00:00
Oliver Davies e2f756c61f Refactor setting the working directory 2024-02-20 00:23:58 +00:00
Oliver Davies e31d0360e5 Prevent timeout errors with versa run 2024-02-20 00:21:41 +00:00
Oliver Davies 4ce4b0ec84
Create LICENSE 2024-02-20 00:01:50 +00:00
Oliver Davies cef56d32b8 Add 0.2.0 2024-02-19 12:37:15 +00:00
Oliver Davies 959a0584e4 Run docker compose up 2024-02-19 12:35:44 +00:00
Oliver Davies e81e0cef71 Add --working-dir 2024-02-19 12:30:02 +00:00
Oliver Davies 7d1aaf3104 Remove LICENSE 2024-02-19 12:26:19 +00:00
Oliver Davies 49721132da Add -t as a shortcut for --type
`versa run -t sculpin`
2024-02-19 12:24:26 +00:00
Oliver Davies bd90f9045a Add CHANGELOG 2024-02-19 12:23:59 +00:00