Coder Social home page Coder Social logo

Comments (11)

vCaisim avatar vCaisim commented on June 30, 2024

@agoldis the package name should be cypress-debugger or @currents/cypress-debugger?

from cypress-debugger.

agoldis avatar agoldis commented on June 30, 2024

from cypress-debugger.

agoldis avatar agoldis commented on June 30, 2024

@vCaisim how is it going?

from cypress-debugger.

vCaisim avatar vCaisim commented on June 30, 2024

I am getting an error while trying to install the package in a test project using the local repository with Verdaccio.

Image

from cypress-debugger.

vCaisim avatar vCaisim commented on June 30, 2024

@agoldis can you take a look? I published the package to the local registry, getting the error while installing it. It seems that it looks for an internal package in the registry. I thought that it may be related to the usage of internal packages. I searched for solutions, but without success. Maybe I am missing smth.

from cypress-debugger.

agoldis avatar agoldis commented on June 30, 2024

@vCaisim please communicate - what did you try? Do you need any help with proceeding? Maybe you need to publish the package @currents/cypress-debugger-plugin.
I am less available than usual, when you're stuck please post on Slack - myself, Richard or Vitalli can help

from cypress-debugger.

vCaisim avatar vCaisim commented on June 30, 2024

I wanted to try to solve the issue myself. I also asked Vitalii on Slack, but he doesn't have experience with Verdaccio.

from cypress-debugger.

vCaisim avatar vCaisim commented on June 30, 2024

I tried to follow the steps from README for publishing the package locally - https://github.com/currents-dev/cypress-debugger/pull/33/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R148.
I used verdaccio and was able to publish the package following the steps. I tried to install the package, to test it and was getting the issue above.

from cypress-debugger.

vCaisim avatar vCaisim commented on June 30, 2024

@currents/cypress-debugger-plugin is an internal package, I don't think that is should be published

from cypress-debugger.

vCaisim avatar vCaisim commented on June 30, 2024

@agoldis, I set Changesets for releases and updated the CONTRIBUTE.md. I was able to generate CHANGELOG.md files for every package but was unable to test the publishing using the local registry.

I tried to set the local registry using the publishConfig.registry approach, by setting the registry via the .npmrc, npm_config_registry env var and using npm config set registry

Image

Please tell me your opinion on Changesets. I will continue to try to fix the issue tomorrow

from cypress-debugger.

vCaisim avatar vCaisim commented on June 30, 2024

Update:

  • the cypress-debugger cannot be published to Verdaccio because it has npm as an uplink.
  • I tried to publish packages from a test monorepo to Verdaccio using Changesets and succeeded.
  • I set the private field to true for @currents/cypress-debugger-support and @currents/cypress-debugger-plugin since they should be used only inside the cypress-debugger

There is a way to automate the release process - https://github.com/changesets/changesets/blob/main/docs/automating-changesets.md

from cypress-debugger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.