Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (45 loc) · 963 Bytes

CONTRIBUTING.md

File metadata and controls

59 lines (45 loc) · 963 Bytes

How to develop

Setup

  1. Install Nix package manager
  2. Run nix-shell
  3. You can use development tasks
> nix-shell
(prepared bash)

> npm install
64 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities..

> makers help
Tools
----------
check - ...
help - ...

> makers check
...tests, typechecks, linters...

See also scripts for tasks details.

REPL

> npm run repl

> my-new-action@1.0.0 repl
> tsx

Welcome to Node.js v20.8.0.
Type ".help" for more information.

>
> const { info, isDebug, debug } = await import('@actions/core');
undefined
> isDebug()
false

> // Utils can be loaded
> const { parsePackage } = await import('./src/elm-package-detector.ts');
> parsePackage('elm-explorations/test', '2.1.0')
PackageURL {
  type: 'elm',
  name: 'test',
  namespace: 'elm-explorations',
  version: '2.1.0',
  qualifiers: null,
  subpath: null
}