rollup / rollup/rollup

build the project to another repo

Open
#5,577 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
26.3k
Forks
1.8k
Avg merge
2d 11h
Merged PRs (30d)
20

Description

Hey there!
Is there a way to build and push my project from current repository to another repository?

For example I have this rollup config:

import typescript from "@rollup/plugin-typescript";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";

export default {
  input: "src/app/index.ts",
  output: [
    {
      // in this place should be a link to an external repo
      //(e.g. https://github.com/my-app/tmp/index.js)
      file: "tmp/index.js",
    },
  ],
  plugins: [typescript(), nodeResolve(), commonjs()],
};

I'll be glad for any advices please

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Rollup configuration shown, especially the src/app/index.ts entry point and output.file currently set to tmp/index.js. Determine whether cross-repository publishing belongs in Rollup or a separate workflow; done would be a documented, reproducible approach or a clearly scoped feature request.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.