Prevent publishing public packages on VSTS











up vote
-1
down vote

favorite












I created the feed to store private npm package there.
When I publish my private package from the project - some another public packages are published to this feed.




  1. Can I somehow prevent publishing of public packages to the feed?

  2. Is it ok to store public packages on the VSTS feed?










share|improve this question






















  • Possible duplicate of pushing public package to azure devops feed
    – Daniel Mann
    Nov 7 at 13:59






  • 2




    Your feed has an upstream source. This is normal. It's caching the public packages for you.
    – Daniel Mann
    Nov 7 at 14:00










  • @DanielMann, one more question. Can I find information about that the packages is cached in the Azure DevOps documentation? I would like to dig deep into the caching of packages.
    – SashaSemanyuk
    Nov 7 at 14:39










  • docs.microsoft.com/en-us/azure/devops/artifacts/concepts/…
    – Daniel Mann
    Nov 7 at 15:33















up vote
-1
down vote

favorite












I created the feed to store private npm package there.
When I publish my private package from the project - some another public packages are published to this feed.




  1. Can I somehow prevent publishing of public packages to the feed?

  2. Is it ok to store public packages on the VSTS feed?










share|improve this question






















  • Possible duplicate of pushing public package to azure devops feed
    – Daniel Mann
    Nov 7 at 13:59






  • 2




    Your feed has an upstream source. This is normal. It's caching the public packages for you.
    – Daniel Mann
    Nov 7 at 14:00










  • @DanielMann, one more question. Can I find information about that the packages is cached in the Azure DevOps documentation? I would like to dig deep into the caching of packages.
    – SashaSemanyuk
    Nov 7 at 14:39










  • docs.microsoft.com/en-us/azure/devops/artifacts/concepts/…
    – Daniel Mann
    Nov 7 at 15:33













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I created the feed to store private npm package there.
When I publish my private package from the project - some another public packages are published to this feed.




  1. Can I somehow prevent publishing of public packages to the feed?

  2. Is it ok to store public packages on the VSTS feed?










share|improve this question













I created the feed to store private npm package there.
When I publish my private package from the project - some another public packages are published to this feed.




  1. Can I somehow prevent publishing of public packages to the feed?

  2. Is it ok to store public packages on the VSTS feed?







azure-devops azure-artifacts






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 7 at 12:51









SashaSemanyuk

183313




183313












  • Possible duplicate of pushing public package to azure devops feed
    – Daniel Mann
    Nov 7 at 13:59






  • 2




    Your feed has an upstream source. This is normal. It's caching the public packages for you.
    – Daniel Mann
    Nov 7 at 14:00










  • @DanielMann, one more question. Can I find information about that the packages is cached in the Azure DevOps documentation? I would like to dig deep into the caching of packages.
    – SashaSemanyuk
    Nov 7 at 14:39










  • docs.microsoft.com/en-us/azure/devops/artifacts/concepts/…
    – Daniel Mann
    Nov 7 at 15:33


















  • Possible duplicate of pushing public package to azure devops feed
    – Daniel Mann
    Nov 7 at 13:59






  • 2




    Your feed has an upstream source. This is normal. It's caching the public packages for you.
    – Daniel Mann
    Nov 7 at 14:00










  • @DanielMann, one more question. Can I find information about that the packages is cached in the Azure DevOps documentation? I would like to dig deep into the caching of packages.
    – SashaSemanyuk
    Nov 7 at 14:39










  • docs.microsoft.com/en-us/azure/devops/artifacts/concepts/…
    – Daniel Mann
    Nov 7 at 15:33
















Possible duplicate of pushing public package to azure devops feed
– Daniel Mann
Nov 7 at 13:59




Possible duplicate of pushing public package to azure devops feed
– Daniel Mann
Nov 7 at 13:59




2




2




Your feed has an upstream source. This is normal. It's caching the public packages for you.
– Daniel Mann
Nov 7 at 14:00




Your feed has an upstream source. This is normal. It's caching the public packages for you.
– Daniel Mann
Nov 7 at 14:00












@DanielMann, one more question. Can I find information about that the packages is cached in the Azure DevOps documentation? I would like to dig deep into the caching of packages.
– SashaSemanyuk
Nov 7 at 14:39




@DanielMann, one more question. Can I find information about that the packages is cached in the Azure DevOps documentation? I would like to dig deep into the caching of packages.
– SashaSemanyuk
Nov 7 at 14:39












docs.microsoft.com/en-us/azure/devops/artifacts/concepts/…
– Daniel Mann
Nov 7 at 15:33




docs.microsoft.com/en-us/azure/devops/artifacts/concepts/…
– Daniel Mann
Nov 7 at 15:33












1 Answer
1






active

oldest

votes

















up vote
0
down vote













Daniel Mann is correct - you most likely have the npmjs upstream source. Because npm only supports a single registry, the upstream source is required to use both public and private packages in the same project. This is by design and recommended by the Azure Artifacts team. The "Source" column on your package list should show that these packages come from npmjs directly.






share|improve this answer





















    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53189815%2fprevent-publishing-public-packages-on-vsts%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Daniel Mann is correct - you most likely have the npmjs upstream source. Because npm only supports a single registry, the upstream source is required to use both public and private packages in the same project. This is by design and recommended by the Azure Artifacts team. The "Source" column on your package list should show that these packages come from npmjs directly.






    share|improve this answer

























      up vote
      0
      down vote













      Daniel Mann is correct - you most likely have the npmjs upstream source. Because npm only supports a single registry, the upstream source is required to use both public and private packages in the same project. This is by design and recommended by the Azure Artifacts team. The "Source" column on your package list should show that these packages come from npmjs directly.






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Daniel Mann is correct - you most likely have the npmjs upstream source. Because npm only supports a single registry, the upstream source is required to use both public and private packages in the same project. This is by design and recommended by the Azure Artifacts team. The "Source" column on your package list should show that these packages come from npmjs directly.






        share|improve this answer












        Daniel Mann is correct - you most likely have the npmjs upstream source. Because npm only supports a single registry, the upstream source is required to use both public and private packages in the same project. This is by design and recommended by the Azure Artifacts team. The "Source" column on your package list should show that these packages come from npmjs directly.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 7 at 14:27









        Alex Mullans

        91321233




        91321233






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53189815%2fprevent-publishing-public-packages-on-vsts%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            Tangent Lines Diagram Along Smooth Curve

            Yusuf al-Mu'taman ibn Hud

            Zucchini