Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanenko3 committed May 10, 2022
1 parent 48fb57f commit 184982b
Show file tree
Hide file tree
Showing 44 changed files with 2,341 additions and 2,405 deletions.
20 changes: 0 additions & 20 deletions .eslintrc

This file was deleted.

9 changes: 1 addition & 8 deletions composer.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@
"filemanager"
],
"license": "MIT",
"authors": [
{
"name": "Artem Stepanenko",
"email": "[email protected]",
"role": "Maintainer & Developer"
}
],
"require": {
"php": ">=7.1.0",
"laravel/nova": "^4.0"
Expand All @@ -32,7 +25,7 @@
"extra": {
"laravel": {
"providers": [
"Stepanenko3\\NovaFilemanager\\FilemanagerServiceProvider"
"Stepanenko3\\NovaFilemanager\\ToolServiceProvider"
]
}
},
Expand Down
2 changes: 2 additions & 0 deletions config/nova-filemanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

return [

'path' => 'filemanager',

/*
|--------------------------------------------------------------------------
| Filemanager Disk
Expand Down
3 changes: 1 addition & 2 deletions dist/js/field.js

Large diffs are not rendered by default.

72 changes: 0 additions & 72 deletions dist/js/field.js.LICENSE.txt

This file was deleted.

2 changes: 1 addition & 1 deletion dist/js/tool.js

Large diffs are not rendered by default.

16 changes: 3 additions & 13 deletions dist/js/tool.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/*!
* URI.js - Mutating URLs
*
* Version: 1.19.1
* Version: 1.19.11
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand All @@ -22,7 +22,7 @@
* URI.js - Mutating URLs
* IPv6 Support
*
* Version: 1.19.1
* Version: 1.19.11
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand All @@ -36,7 +36,7 @@
* URI.js - Mutating URLs
* Second Level Domain (SLD) Support
*
* Version: 1.19.1
* Version: 1.19.11
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand All @@ -46,16 +46,6 @@
*
*/

/*!
* Viewer.js v1.3.5
* https://fengyuanchen.github.io/viewerjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2019-07-04T11:00:16.790Z
*/

/*! https://mths.be/punycode v1.4.0 by @mathias */

/**
Expand Down
33 changes: 33 additions & 0 deletions nova.mix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
const mix = require('laravel-mix')
const webpack = require('webpack')
const path = require('path')

class NovaExtension {
name() {
return ''
}

register(name) {
this.name = name
}

webpackConfig(webpackConfig) {
webpackConfig.externals = {
vue: 'Vue',
}

webpackConfig.resolve.alias = {
...(webpackConfig.resolve.alias || {}),
'laravel-nova': path.join(
__dirname,
'vendor/laravel/nova/resources/js/mixins/packages.js'
),
}

webpackConfig.output = {
uniqueName: this.name,
}
}
}

mix.extend('nova', new NovaExtension())
42 changes: 12 additions & 30 deletions package.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,42 +1,24 @@
{
"private": true,
"scripts": {
"dev": "mix",
"dev": "npm run development",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "mix --production",
"format": "prettier --write 'resources/**/*.{css,js,vue}'"
"prod": "npm run production",
"production": "mix --production",
"nova:install": "npm --prefix='../../vendor/laravel/nova' ci"
},
"devDependencies": {
"@inertiajs/inertia": "^0.11.0",
"@vue/babel-plugin-jsx": "^1.1.1",
"axios": "^0.26.1",
"cross-env": "^7.0.3",
"form-backend-validation": "^2.4.0",
"laravel-mix": "^6.0.43",
"postcss": "^8.4.12",
"prettier": "^2.6.2",
"resolve-url-loader": "^5.0.0",
"sass": "^1.50.0",
"sass-loader": "^12.6.0",
"terser-webpack-plugin": "^5.3.1",
"vue-loader": "^17.0.0",
"vue-template-compiler": "^2.6.14",
"vuex": "^4.0.2"
"@vue/compiler-sfc": "^3.2.22",
"laravel-mix": "^6.0.41",
"postcss": "^8.3.11",
"vue-loader": "^16.8.3"
},
"dependencies": {
"vue": "^3.2.31",
"animated-scroll-to": "^1.2.2",
"axios-cache-adapter": "^2.1.1",
"axios-extensions": "^3.0.3",
"filesize": "^3.6.1",
"laravel-nova": "^1.0.2",
"liquor-tree": "^0.2.32",
"md5": "^2.2.1",
"urijs": "^1.19.1",
"v-copy": "^0.1.0",
"vue-computed-helpers": "^1.3.0",
"vue-drag-and-drop": "^3.0.0",
"vue2-dropzone": "^3.2.2"
"filesize": "^3.6.1",
"urijs": "^1.19.1"
}
}
1 change: 0 additions & 1 deletion resources/js/components/ConfirmationButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,3 @@
},
};
</script>
<style></style>
Loading

0 comments on commit 184982b

Please sign in to comment.