* CI: Full Release
This implements a full release action that takes care of creating a tag, release, then building and uploading builds for all targets.
- File reading is now happening later in the process;
- File reading now reuses methods from `core/attachment`;
- Errors thrown in the import now include an error message;
- Adds prettier command to "prettify" all files;
- Adds prettier command to check for files not conforming to prettier's config;
- Makes CI run the prettier:check command;
- Changes `export const method = () => {};` to `export function method() {}` in the `1pux-parser` file;
- Other minor consistency changes/fixes/improvements;
- Actually ran prettier on every file, and it had a lot of things to tweak.
- Brings 1pux-to-csv important types and functions inline
- Doesn't try to parse 1pux file unless it matches the extension
- Move reading of file to a bit later
- Improves "add dependency" command
- Adds "remove dependency" command
This makes it so that on every push (includes PRs), dependencies and tests run on GitHub Actions.
It also adds a small badge reporting the latest push/run on the `v4` branch.
Fixes#321
Looks like `gulp eslint` was already broken. While fixing that, I also
removed the need to have gulp installed globally. Instead we can use
npm scripts section to run the same commands.