发布

  • Pocesar feature/tsc compile (#605)

    frostbyte_neo 发布于 2020-02-26 12:46:23 +00:00

    • missing fix for SessionPool extending EventEmitter

    • making use of TSC to compile to ES2018 (Node 12+)

    • remove babel

    • fix all noImplicityAny errors

    • update apify-shared version #570

    • manually type untyped external apify dependencies

    • update typescript_fixes

    • change npm clean command to remove generated types as well

    • types and build are one step now

    • pin @types/node to 12

    • fix log typings

    • remove "/src" mentions from tests (use /build instead)

    • add babel back to be able to test

    • re-export log as default

    • need to use CheerioStatic instead of CheerioSelector

    • start adding more typescript tests, fix existing for strictNullChecks

    • fixed mixed line endings on most of the files (CRLF -> LF)

    • move ts-jest to devDependencies

    • point apify-shared/log to local re-exports in tests

    • pin puppeteer version

    • rebuild types after rebase

    • use Array instead of [] for nested generics

    • missing request_list and shared

    • remove bound to Object templates

    • unambiguous template naming for session userData

    • rebuild everything after rebase

    • fix httpRequest import in utils_request.js

    • fix utils_log.d.ts / .js conflict

    • before generics removal

    • remove generics from ts compile

    • remove generic reminiscents

    • ignore some internals

    • pin TS to 3.7.5

    • 3.8 is generating invalid types (for now)

    • Fix some docs

    Co-authored-by: Paulo Cesar pocesar@users.noreply.github.com

    下载附件