这是indexloc提供的服务,不要输入任何密码
Skip to content

Support config file like .js, .ts... #183

@harrytran998

Description

@harrytran998

Describe the feature you'd like to request

Hi, thank you for the great lib! But I wonder how about this?

turbo.config.js or turbo.config.ts

module.export = {
  baseBranch: 'origin/main',
  pipeline: {
    build: {
      dependsOn: ['^build'],
      outputs: ['.next/**'],
    },
    test: {
      dependsOn: ['^build'],
      outputs: [],
    },
    lint: {
      outputs: [],
    },
    dev: {
      cache: false,
    },
  },
};

Describe the solution you'd like

I don't know GO but in JS, we have one package to load the config file is joycon

Describe alternatives you've considered

I think this is a very useful feature, it can reduce a lot of clutter inside the package.json scripts field!

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions