Remove vue/ because it's empty

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling
2019-10-18 13:01:50 +02:00
parent 5eb8df28a0
commit b559bcc479
9 changed files with 3 additions and 10801 deletions

View File

@ -21,48 +21,31 @@ release: appstore create-tag
build-js:
npm run dev
cd vue/ && npm run dev
build-js-production:
npm run build
cd vue/ && npm run build
watch-js:
npm run watch
cd vue/ && npm run watch
lint:
npm run lint
cd vue/ && npm run lint
lint-fix:
npm run lint:fix
cd vue/ && npm run lint:fix
npm-init: npm-init-root npm-init-vue
npm-init-root:
npm-init:
npm install
npm-init-vue:
cd vue/ && npm install
npm-update:
npm update
cd vue/ && npm update
clean:
rm -f js/admin/*.js
rm -f js/admin/*.js.map
rm -f js/collections.js
rm -f js/collections.js.map
rm -f js/collectionsintegration.js
rm -f js/collectionsintegration.js.map
rm -f js/*
rm -rf $(build_dir)
clean-dev: clean
rm -rf node_modules
cd vue/ && rm -rf node_modules
compile-handlebars-templates:
bash compile-handlebars-templates.sh
@ -114,11 +97,11 @@ appstore:
--exclude=README.md \
--exclude=run-*lint.sh \
--exclude=.scrutinizer.yml \
--exclude=src \
--exclude=.stylelintrc \
--exclude=tests \
--exclude=.travis.yml \
--exclude=.tx \
--exclude=vue \
$(project_dir)/ $(sign_dir)/$(app_name)
@if [ -f $(cert_dir)/$(app_name).key ]; then \
echo "Signing app files…"; \

View File

@ -9,5 +9,3 @@ git status
bash -c "[[ ! \"`git status --porcelain js`\" ]] || ( echo 'Uncommitted changes in built Vue files' && exit 1 )"
bash -c "[[ ! \"`git status --porcelain package-lock.json`\" ]] || ( git diff package-lock.json && echo 'Uncommitted changes in package-lock.json' && exit 1 )"
bash -c "[[ ! \"`git status --porcelain vue/package-lock.json`\" ]] || ( git diff vue/package-lock.json && echo 'Uncommitted changes in vue/package-lock.json' && exit 1 )"

View File

@ -1,8 +0,0 @@
module.exports = {
plugins: ['@babel/plugin-syntax-dynamic-import'],
presets: [
[
'@babel/preset-env'
]
]
}

View File

@ -1,5 +0,0 @@
module.exports = {
extends: [
'nextcloud'
]
};

10613
vue/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,57 +0,0 @@
{
"name": "spreed",
"description": "",
"version": "8.0.0",
"author": "Joas Schilling <coding@schilljs.com>",
"license": "agpl",
"private": true,
"scripts": {
"dev": "NODE_ENV=development webpack --config webpack.dev.js",
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js",
"build": "NODE_ENV=production webpack --progress --hide-modules --config webpack.prod.js",
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix"
},
"dependencies": {
"crypto-js": "^3.1.9-1",
"debounce": "^1.2.0",
"lodash": "^4.17.15",
"nextcloud-axios": "^0.2.1",
"nextcloud-vue": "^0.12.4",
"nextcloud-vue-collections": "^0.5.6",
"vue": "^2.6.10",
"vue-fragment": "^1.5.1",
"vuex": "^3.1.1"
},
"browserslist": [
"extends browserslist-config-nextcloud"
],
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.6.2",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"browserslist-config-nextcloud": "0.0.1",
"css-loader": "^3.2.0",
"eslint": "^5.16.0",
"eslint-config-nextcloud": "^0.0.6",
"eslint-config-standard": "^12.0.0",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-loader": "^3.0.2",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-nextcloud": "^0.3.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^5.2.3",
"file-loader": "^4.2.0",
"node-sass": "^4.12.0",
"sass-loader": "^7.3.1",
"vue-loader": "^15.7.1",
"vue-template-compiler": "^2.6.10",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",
"webpack-merge": "^4.2.2"
}
}

View File

@ -1,77 +0,0 @@
const path = require('path');
const { VueLoaderPlugin } = require('vue-loader');
module.exports = {
entry: {
"collections": path.join(__dirname, 'src', 'collections.js'),
"collectionsintegration": path.join(__dirname, 'src', 'collectionsintegration.js'),
},
output: {
path: path.resolve(__dirname, '../js'),
publicPath: '/js/',
filename: '[name].js'
},
module: {
rules: [
{
test: /\.css$/,
use: ['vue-style-loader', 'css-loader']
},
{
test: /\.scss$/,
use: ['vue-style-loader', 'css-loader', 'sass-loader']
},
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
hotReload: false // disables Hot Reload
}
},
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
},
{
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /node_modules/
},
{
test: /\.(png|jpg|gif|svg)$/,
loader: 'file-loader',
options: {
name: '[name].[ext]?[hash]'
}
},
{
/**
* Fixes lodash registering globally and therefore replacing server's underscore
*
* https://github.com/lodash/lodash/issues/1798#issuecomment-233804586
* https://github.com/webpack/webpack/issues/3017#issuecomment-285954512
*/
parser: {
amd: false
}
}
]
},
plugins: [new VueLoaderPlugin()],
resolve: {
alias: {
Components: path.resolve(__dirname, 'src/components/'),
Views: path.resolve(__dirname, 'src/views/')
},
extensions: ['*', '.js', '.vue', '.json'],
modules: [
path.resolve(__dirname),
path.resolve(__dirname, 'src'),
path.join(__dirname, 'node_modules'),
'node_modules'
]
}
};

View File

@ -1,12 +0,0 @@
const merge = require('webpack-merge');
const common = require('./webpack.common.js');
module.exports = merge(common, {
mode: 'development',
devServer: {
historyApiFallback: true,
noInfo: true,
overlay: true
},
devtool: '#cheap-source-map',
});

View File

@ -1,7 +0,0 @@
const merge = require('webpack-merge')
const common = require('./webpack.common.js')
module.exports = merge(common, {
mode: 'production',
devtool: '#source-map'
});