Seahub Frontend Contribution


#1

Hi,

I would like to contribute to the Seahub (v7) frontend. Some npm dependencies seem to be private. I am then not able to have a proper dev env to do changes/experiments.

Is there a way to get access to these dependencies?


#2

Which npm dependency is private?


#3

I guess that they are private as some of dependencies in the package.json (master) file are not visible in the npm registry.

On npmjs search for @seafile, I get

In package.json (from master) I can read :

...
"@seafile/dtable": "0.0.54",
"@seafile/resumablejs": "^1.1.9",
"@seafile/seafile-editor": "^0.2.47",
...

And in the CI conf there is:

before_install:
  # npm token to fetch private repos
  - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc

I said dependencies but obviously only one is missing : dtable


#4

The three packages you mentioned are actually public:

@seafile/dtable is an experiment project, not public yet. You can use 7.0 branch to developer instead of the master branch.


#5

Thanks for your reply.
I may have the same kind of issue for other packages on 7.0 branch :

...
"@seafile/react-data-grid": "^6.1.5",
"@seafile/react-data-grid-addons": "^6.1.5",
"@seafile/resumablejs": "^1.1.9",
"@seafile/seafile-editor": "^0.2.47",
...

For the @seafile/react-data-* packages.