Publish NPM Packages & Automate with GitHub Actions

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 5

  • @SeanCassiere
    @SeanCassiere 2 дня назад

    Definiely a good starting point for a single package.
    In my opinion, if you plan making this a serious package (like bindings for different frameworks or you want to modularize your library), you'd probably want your starting point to be a part of a monorepo (like with pnpm's built-in workspaces solution). From easily being able to write your documentation within the same repository or having example projects (like those that are runnable via stackblitz), having your starting point be a monorepo I've found to be quite blessing.

  • @euanmorgann
    @euanmorgann День назад

    Return of the king 👑

  • @Nedim-i7s
    @Nedim-i7s 2 дня назад

    Could u make episode 2 with Actions implementing code on EC2 instance and ECS/EKS?

  • @johnkucharsky6927
    @johnkucharsky6927 День назад

    your package behave differently, Promise.all doesn't have this const promises = Object.values(data).map((fn) => fn());. Did you do this for purpose? It's convenient, but might be confusing. It's better to call functions like this: const second = async function () {
    return "one";
    };
    const promiseObject = {
    first: Promise.resolve({ p: 1 }),
    second: second(),
    third: Promise.resolve(true),
    };

    • @TomDoesTech
      @TomDoesTech  День назад

      @@johnkucharsky6927 I don't understand what the problem is