Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix npm publishing #10686

Merged
merged 1 commit into from
Jan 28, 2022
Merged

fix npm publishing #10686

merged 1 commit into from
Jan 28, 2022

Conversation

paul-marechal
Copy link
Member

@paul-marechal paul-marechal commented Jan 28, 2022

Turns out the binding.gyp file is not published by default, we must
explicitly include it in our package.json...

Clean-up and add missing files to be published on npm.

@paul-marechal paul-marechal added theia-cli issues related to the theia-cli critical critical bugs / problems labels Jan 28, 2022
Turns out the `binding.gyp` file is not published by default, we must
explicitly include it in our `package.json`...

Clean-up and add missing files to be published on npm.
@paul-marechal paul-marechal changed the title ffmpeg: publish binding.gyp fix npm publishing Jan 28, 2022
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirmed that I was able to build an electron application thanks to the updates (using local npm links):

{
    "private": true,
    "theia": {
        "target": "electron",
        "frontend": {
            "config": {
                "applicationName": "Theia Electron"
            }
        }
    },
    "dependencies": {
        "@theia/callhierarchy": "latest",
        "@theia/electron": "file:/home/vin/workspaces/theia-work/packages/electron",
        "@theia/file-search": "latest",
        "@theia/git": "latest",
        "@theia/markers": "latest",
        "@theia/messages": "latest",
        "@theia/mini-browser": "latest",
        "@theia/navigator": "latest",
        "@theia/outline-view": "latest",
        "@theia/plugin-ext-vscode": "latest",
        "@theia/preferences": "latest",
        "@theia/preview": "latest",
        "@theia/search-in-workspace": "latest",
        "@theia/terminal": "latest"
    },
    "devDependencies": {
        "@theia/cli": "latest",
        "electron": "^15.3.5"
    },
    "resolutions": {
        "**/@theia/ffmpeg": "file:/home/vin/workspaces/theia-work/dev-packages/ffmpeg"
    }
}

@paul-marechal paul-marechal merged commit cd543e4 into master Jan 28, 2022
@paul-marechal paul-marechal deleted the mp/ffmpeg-binding-gyp branch January 28, 2022 18:15
@github-actions github-actions bot added this to the 1.23.0 milestone Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical critical bugs / problems theia-cli issues related to the theia-cli
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants