emmanueltouzery / prelude-ts

Functional programming, immutable collections and FP constructs for typescript and javascript
ISC License
377 stars 21 forks source link

Switch pipeline to npm and watch package-lock for dependency cache #72

Closed Annoiiyed closed 1 year ago

Annoiiyed commented 1 year ago

Small change to use npm instead of yarn in the pipeline, since I think that's what's actually used by contributors (guessing from the comments in https://github.com/emmanueltouzery/prelude-ts/issues/66)

I also changed the cache to look at the package lock instead, as doing so is more accurate now that the lock file is in the repo :)

emmanueltouzery commented 1 year ago

thanks a lot for this! regarding the timeout, presumably increase in package.json:

    "test": "rm -f tests/apidoc-*; tsc -p tsconfig.test.json && node ./dist/tests/Comments.js && tsc -p tsconfig.test.json && ./node_modules/mocha/bin/mocha --throw-deprecation --timeout 60000 ./dist/tests/*.js",

(--timeout 60000)

looking forward to merge when it passes :clap:

Annoiiyed commented 1 year ago

@emmanueltouzery All set!

emmanueltouzery commented 1 year ago

great, thanks a lot!