зеркало из
1
0
Форкнуть 0
Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
Yohan Lasorsa a6eaf4bc24
test: integrate e2e samples (#483)
* test: integrate e2e samples
* test: exclude samples from codeql
* test: fix config name
2022-05-18 13:38:43 +02:00
sinedied e288168eb1 chore: update gitignore 2022-04-27 14:41:10 +02:00
sinedied cd35267e84 test(detect): add e2e tests and workflow 2022-04-27 14:36:47 +02:00
Wassim Chegham 450f602243
chore: update .gitignore 2022-03-07 15:37:11 +01:00
Yohan Lasorsa 5e98cba17e
feat: install core tools automatically when needed (closes #353) (#391)
* feat: check for func binary and suggest core tools install (#353)

* chore: fix incorrect lockfile merge

* chore: add types for which

* feat: automatically install core tools when needed (closes #353)

* fix: permission, warnings and display

* refactor: move interfaces to swa.d.ts

* refactor: rename core tools folder constant

* feat: add sha2 check after core tools download

* feat: allow using any compatible system version

* refactor: use function instead of constant for Node version

* test: add unit tests

* chore: exclude coverage

* fix: fallback to rmdirSync on older Node.js versions

Closes #353
2022-03-04 16:13:07 +01:00
Wassim Chegham c26746d47f
chore: improve rules engine logic (#181)
Fixes #178
2021-04-13 20:20:07 +02:00
Wassim Chegham 6db94c6c04
feat: add e2e (#161)
* feat: add e2e testing

Fixes #141

* fix: improve e2e workflow

* fix: step can't have both the uses and run keys

* fix: ignore cypress 502: Bad Gateway

* fix: add missing func dep for e2e

* fix: make e2e pass

* fix: simplify e2e workflow

* fix: update e2e workflow

* fix: remove node.js 15 from e2e (bc of func)

* fix: enable verbosity=silly for e2e
2021-04-07 10:17:15 +02:00
Aaron Powell d0d1969291
fix: using concurrently programmatically (#71)
* fix: check if func binaries exist before starting

Closes #38

* chore: update tests parsePort() and isWindows()

* moving to use concurrently programmatically

* fixing broken tests

* using npx for http-server

* refactor of how we detect if the api exists to be better xplat

* adding debug back in

* removing an undefined and using a default message when no API at all

* reintroducing the build option on start

* cleanup of usings

* Fix proxy startup command

Co-authored-by: Wassim Chegham <github@wassim.dev>
Co-authored-by: Anthony Chu <anthony@anthonychu.ca>
2021-03-01 10:26:18 +01:00
Aaron Powell f2b3e20097
ci: generate npm package (#31)
* working on automated pre-release builds

* checking condition is valid

* pushing to github packages

* playing with scopes

* moving to separate job

* forgot to download the artifact

* don't need to install when the package already exists
2020-11-05 11:38:34 +01:00
Wassim Chegham dc469f6975
Porting to TypeScript (#28)
* moving files to TypeScript

* moving to ES import/export

* adding midding types

* more work to port to TypeScript

* fixing environment vars issue

* adding sourcemaps

* making the auth functions TypeScript too

* adding vscode build and launch tasks

* fixing some typescript compile issues

* overhaul of tests
- added ts-jest and a jest config to handle it
- removed unionfs (license is not a good license)
- removed memfs (not needed)
- using mock-fs to mock the fs easily
- forced time lies about types to mock shell.exit properly:

* chore: refactor TS migration

Closes #22

* removing unneeded file

* including json files in TS output

* making all functions async, to force a Promise return

* adding a watch command

* allowing SSL backends with dev certs

* running everything from the right path

* removing directive

* including custom env settings

* moving 404 page to a non-compile location

Co-authored-by: Aaron Powell <me@aaron-powell.com>
2020-11-04 09:24:30 +11:00
Wassim Chegham 63171abcf7
chore: include bin folder 2020-07-02 14:43:14 +02:00
Wassim Chegham 0582cb3a20
chore: initial commit 2020-06-26 22:53:19 +02:00