Bump build and config

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-06-20 10:02:04 +02:00
parent 2791bedfa9
commit 48016f00a4
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
9 changed files with 13 additions and 14 deletions

8
.gitignore vendored
View File

@ -31,11 +31,6 @@
!/apps/testing !/apps/testing
!/apps/admin_audit !/apps/admin_audit
!/apps/updatenotification !/apps/updatenotification
/apps/updatenotification/build
#/apps/updatenotification/js/merged.js
#/apps/updatenotification/js/merged.js.map
/apps/updatenotification/js/*.hot-update.*
/apps/updatenotification/node_modules
!/apps/theming !/apps/theming
!/apps/twofactor_backupcodes !/apps/twofactor_backupcodes
!/apps/workflowengine !/apps/workflowengine
@ -46,6 +41,9 @@
/apps/files_external/3rdparty/irodsphp/prods/test* /apps/files_external/3rdparty/irodsphp/prods/test*
/apps/files_external/tests/config.*.php /apps/files_external/tests/config.*.php
# apps modules
/apps/*/node_modules
# ignore themes except the example and the README # ignore themes except the example and the README
/themes/* /themes/*

View File

@ -19,7 +19,7 @@ watch-js:
clean: clean:
rm -f js/oauth2.js rm -f js/oauth2.js
rm -f js/oauth2.map rm -f js/oauth2.js.map
clean-dev: clean-dev:
rm -rf node_modules rm -rf node_modules

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "oauth2", "name": "oauth2",
"version": "1.0.0", "version": "1.1.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "oauth2", "name": "oauth2",
"version": "1.0.0", "version": "1.1.0",
"description": "OAuth2 setup", "description": "OAuth2 setup",
"author": "Roeland Jago Douma <roeland@famdouma.nl>", "author": "Roeland Jago Douma <roeland@famdouma.nl>",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
@ -10,9 +10,9 @@
"test": "tests" "test": "tests"
}, },
"scripts": { "scripts": {
"dev": "webpack --config src/webpack.dev.js", "dev": "webpack --config webpack.dev.js",
"watch": "webpack --progress --watch --config src/webpack.dev.js", "watch": "webpack --progress --watch --config webpack.dev.js",
"build": "webpack --progress --hide-modules --config src/webpack.prod.js", "build": "webpack --progress --hide-modules --config webpack.prod.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"dependencies": { "dependencies": {

View File

@ -2,9 +2,9 @@ const path = require('path')
const { VueLoaderPlugin } = require('vue-loader'); const { VueLoaderPlugin } = require('vue-loader');
module.exports = { module.exports = {
entry: path.join(__dirname, 'main.js'), entry: path.join(__dirname, 'src', 'main.js'),
output: { output: {
path: path.resolve(__dirname, '../js'), path: path.resolve(__dirname, './js'),
publicPath: '/js', publicPath: '/js',
filename: 'oauth2.js' filename: 'oauth2.js'
}, },