westberliner / checksum

Plugin for Nextcloud and ownCloud to create hashes of files.
GNU General Public License v3.0
29 stars 15 forks source link

Update frontend code #50

Closed st3iny closed 3 years ago

st3iny commented 3 years ago

Introduce webpack to bundle required dependencies instead of relying on global libraries. Those global libraries are deprecated and will be removed soon.

I tried to change the existing code as little as possible. However, the diff is huge because I fixed the indentation (tabs and spaces were mixed). Additionally, I tried to keep package.json and webpack.common.js as minimal as possible and took some inspiration from other official nextcloud apps.

Npm scripts:

The build script should be run before pushing a release. The source files (inside src/), installed packages (inside node_modules/) and various js configs (webpack.*.js, package*.json and babel.config.json) can be omitted from a release. Webpack will output the generated code to js/.

Signed-off-by: Richard Steinmetz steinmetz.richard@googlemail.com

st3iny commented 3 years ago

@westberliner Here it is :tada: Your feedback is appreciated. All of my changes are up for discussion.

Have a look at the metadata entries in package.json (name, desc, author, etc.). I can alter them here or you can change them after merging. Both is fine with me.

Fixes #48

westberliner commented 3 years ago

Thx again. Much appreciated getting started with the vue update.