Giter Club home page Giter Club logo

npmfrog's People

Contributors

dependabot[bot] avatar dmstern avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

npmfrog's Issues

fetch /all packages does not work anymore with the current artifactory API

Artifactory Version 6.6.1

Current workaround:

We get the packages from the hard drive cache. Due to this curcumstance every newly submitted package has to be called at least one time in the browser to get into the cache and also foreign packages from the cache are displayed.

grafik

Ideas:
Maybe the Artifactory API has changed? Or is this a bug in Artifactory?

Create executable for OS

Like Verdaccio and others, npmfrog should be able to be installed globally (npm i -g npmfrog) and executed as a global os command (npmfrog).

Simplify initial configuration

IS:
In the README.md file, it's said, one should duplicate the sample config file and adapt the values.
This isn't that simple as it could be, especially since the file is located in a global node_modules directory, where it is not obvious, where to go and what to do to configure npmFrog at the first startup.

SHOULD:
At the first startup, npmFrog should check if there is a config file already in the home directory. If not, it should create one with the default values or placeholders. The project folder as a configuration location should only be a development fallback.

which artifactory versions?

This is a cool idea. Which Artifactory versions are supported or targeted? We're using artifactory enterprise 6.5.8 and the rest api seems a bit different than what is in here

Add possibility to copy install command to clipboard

PackageDetail.vue:
Add a button or icon beside the code block under install: When the user clicks on that button, the full install command should be copied to clipboard and a success notification should show up.

Add changelog to ui

Should be integrated in About dialog.
Maybe just a link to the github releases page.

Create Avatar service

As a user I would like to see an avatar image of an author in the

  • PackageList View
  • PackageDetail View
  • Search Autocomplete.

The Avatar should be looked up in the following third-party-services:

  • Gravatar
  • GitHub
  • GitLab
  • Confluence

Console Error when changing current version

Reproduce:

  1. Open the PackageDetail page.
  2. go to the tab "versions"
  3. click on an older version
  4. click back to the latest version
  5. click on the older version

Result: console errors says:

vue.runtime.esm.js:587 [Vue warn]: Error in created hook: "TypeError: Cannot set property 'vnode' of undefined"

found in

---> <VTreeviewNode>
       <VTreeview>
         <VTabItem>
           <VTabsItems>
             <ThemeProvider>
               <VTabs>
                 <VCard>
                   <PackageDetail> at src\views\PackageDetail.vue
                     <VContent>
                       <VApp>
                         <App> at src\App.vue
                           <Root>
warn @ vue.runtime.esm.js:587
logError @ vue.runtime.esm.js:1733
globalHandleError @ vue.runtime.esm.js:1728
handleError @ vue.runtime.esm.js:1717
callHook @ vue.runtime.esm.js:2919
Vue._init @ vue.runtime.esm.js:4626
VueComponent @ vue.runtime.esm.js:4794
createComponentInstanceForVnode @ vue.runtime.esm.js:4306
init @ vue.runtime.esm.js:4127
createComponent @ vue.runtime.esm.js:5604
createElm @ vue.runtime.esm.js:5551
updateChildren @ vue.runtime.esm.js:5841
patchVnode @ vue.runtime.esm.js:5932
patch @ vue.runtime.esm.js:6092
Vue._update @ vue.runtime.esm.js:2666
updateComponent @ vue.runtime.esm.js:2784
get @ vue.runtime.esm.js:3138
run @ vue.runtime.esm.js:3215
flushSchedulerQueue @ vue.runtime.esm.js:2977
(anonymous) @ vue.runtime.esm.js:1833
flushCallbacks @ vue.runtime.esm.js:1754
./node_modules/core-js/modules/_invoke.js.module.exports @ _invoke.js:5
queue.(anonymous function) @ _task.js:35
run @ _task.js:21
listener @ _task.js:25
vue.runtime.esm.js:1737 TypeError: Cannot set property 'vnode' of undefined
    at VueComponent.register (vuetify.js:15543)
    at VueComponent.created (vuetify.js:15761)
    at callHook (vue.runtime.esm.js:2917)
    at VueComponent.Vue._init (vue.runtime.esm.js:4626)
    at new VueComponent (vue.runtime.esm.js:4794)
    at createComponentInstanceForVnode (vue.runtime.esm.js:4306)
    at init (vue.runtime.esm.js:4127)
    at createComponent (vue.runtime.esm.js:5604)
    at createElm (vue.runtime.esm.js:5551)
    at updateChildren (vue.runtime.esm.js:5841)

And the treeview is not working properly anymore.

PackageDetail view: Add file tree browser

Should show a tree view with the files that are contained in the packe. On clicking on the file entries in the tree view, I wand to see the code of that file beautiful rendered at the bottom of the page.

Include package contributors

Currently, only the package author get evaluated. npmjs.org takes the author and all contributors, which resluts to "collaborators".
npmFrog should do something similar.

make ports configurable.

Currently the ports for the back-end (30001) and front-end (8000) are hard-coded. These should be configurable in the config.json file under ~/.npmfrog.

Add yarn support

Currently, the installation instructions are written for the usage of npm by default. This should be extended by commands for yarn.
Which package manager is used should be configurable or choosable via the UI.

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.