Skip to content

Task dependencies? #687

Answered by paularmstrong
alecmev asked this question in Q&A
Mar 30, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You have options… speaking frankly, without knowing the details, this setup sounds like a monster and I don't think I'd enjoy maintaining it :)

  1. How fast is this? I would create a build step for the package and auto-run it on post-merge so that it's always up to date for developers.

    Assuming your Workspace name is lint-config. Create a onerepo.config.ts in that Workspace's root:

    export const config {
      tasks: {
        'post-merge': { parallel: ['$0 ws lint-config build'] }
      },
    };

    Alternatively… since ESLint is not directly compatible with using TypeScript… don't use typescript 🤷‍♂️ I generally try to avoid doing things in TypeScript where it's not first-party supported.

  2. How does source d…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@alecmev
Comment options

@paularmstrong
Comment options

Answer selected by alecmev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants