Skip to content

Commit 184982b

Browse files
committed
WIP
1 parent 48fb57f commit 184982b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2341
-2405
lines changed

.eslintrc

Lines changed: 0 additions & 20 deletions
This file was deleted.

composer.json

100755100644
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@
77
"filemanager"
88
],
99
"license": "MIT",
10-
"authors": [
11-
{
12-
"name": "Artem Stepanenko",
13-
"email": "[email protected]",
14-
"role": "Maintainer & Developer"
15-
}
16-
],
1710
"require": {
1811
"php": ">=7.1.0",
1912
"laravel/nova": "^4.0"
@@ -32,7 +25,7 @@
3225
"extra": {
3326
"laravel": {
3427
"providers": [
35-
"Stepanenko3\\NovaFilemanager\\FilemanagerServiceProvider"
28+
"Stepanenko3\\NovaFilemanager\\ToolServiceProvider"
3629
]
3730
}
3831
},

config/nova-filemanager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
return [
44

5+
'path' => 'filemanager',
6+
57
/*
68
|--------------------------------------------------------------------------
79
| Filemanager Disk

dist/js/field.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/field.js.LICENSE.txt

Lines changed: 0 additions & 72 deletions
This file was deleted.

dist/js/tool.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/tool.js.LICENSE.txt

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/*!
99
* URI.js - Mutating URLs
1010
*
11-
* Version: 1.19.1
11+
* Version: 1.19.11
1212
*
1313
* Author: Rodney Rehm
1414
* Web: http://medialize.github.io/URI.js/
@@ -22,7 +22,7 @@
2222
* URI.js - Mutating URLs
2323
* IPv6 Support
2424
*
25-
* Version: 1.19.1
25+
* Version: 1.19.11
2626
*
2727
* Author: Rodney Rehm
2828
* Web: http://medialize.github.io/URI.js/
@@ -36,7 +36,7 @@
3636
* URI.js - Mutating URLs
3737
* Second Level Domain (SLD) Support
3838
*
39-
* Version: 1.19.1
39+
* Version: 1.19.11
4040
*
4141
* Author: Rodney Rehm
4242
* Web: http://medialize.github.io/URI.js/
@@ -46,16 +46,6 @@
4646
*
4747
*/
4848

49-
/*!
50-
* Viewer.js v1.3.5
51-
* https://fengyuanchen.github.io/viewerjs
52-
*
53-
* Copyright 2015-present Chen Fengyuan
54-
* Released under the MIT license
55-
*
56-
* Date: 2019-07-04T11:00:16.790Z
57-
*/
58-
5949
/*! https://mths.be/punycode v1.4.0 by @mathias */
6050

6151
/**

nova.mix.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
const mix = require('laravel-mix')
2+
const webpack = require('webpack')
3+
const path = require('path')
4+
5+
class NovaExtension {
6+
name() {
7+
return ''
8+
}
9+
10+
register(name) {
11+
this.name = name
12+
}
13+
14+
webpackConfig(webpackConfig) {
15+
webpackConfig.externals = {
16+
vue: 'Vue',
17+
}
18+
19+
webpackConfig.resolve.alias = {
20+
...(webpackConfig.resolve.alias || {}),
21+
'laravel-nova': path.join(
22+
__dirname,
23+
'vendor/laravel/nova/resources/js/mixins/packages.js'
24+
),
25+
}
26+
27+
webpackConfig.output = {
28+
uniqueName: this.name,
29+
}
30+
}
31+
}
32+
33+
mix.extend('nova', new NovaExtension())

package.json

100755100644
Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,24 @@
11
{
22
"private": true,
33
"scripts": {
4-
"dev": "mix",
4+
"dev": "npm run development",
5+
"development": "mix",
56
"watch": "mix watch",
7+
"watch-poll": "mix watch -- --watch-options-poll=1000",
68
"hot": "mix watch --hot",
7-
"prod": "mix --production",
8-
"format": "prettier --write 'resources/**/*.{css,js,vue}'"
9+
"prod": "npm run production",
10+
"production": "mix --production",
11+
"nova:install": "npm --prefix='../../vendor/laravel/nova' ci"
912
},
1013
"devDependencies": {
11-
"@inertiajs/inertia": "^0.11.0",
12-
"@vue/babel-plugin-jsx": "^1.1.1",
13-
"axios": "^0.26.1",
14-
"cross-env": "^7.0.3",
15-
"form-backend-validation": "^2.4.0",
16-
"laravel-mix": "^6.0.43",
17-
"postcss": "^8.4.12",
18-
"prettier": "^2.6.2",
19-
"resolve-url-loader": "^5.0.0",
20-
"sass": "^1.50.0",
21-
"sass-loader": "^12.6.0",
22-
"terser-webpack-plugin": "^5.3.1",
23-
"vue-loader": "^17.0.0",
24-
"vue-template-compiler": "^2.6.14",
25-
"vuex": "^4.0.2"
14+
"@vue/compiler-sfc": "^3.2.22",
15+
"laravel-mix": "^6.0.41",
16+
"postcss": "^8.3.11",
17+
"vue-loader": "^16.8.3"
2618
},
2719
"dependencies": {
28-
"vue": "^3.2.31",
29-
"animated-scroll-to": "^1.2.2",
30-
"axios-cache-adapter": "^2.1.1",
31-
"axios-extensions": "^3.0.3",
32-
"filesize": "^3.6.1",
33-
"laravel-nova": "^1.0.2",
34-
"liquor-tree": "^0.2.32",
3520
"md5": "^2.2.1",
36-
"urijs": "^1.19.1",
37-
"v-copy": "^0.1.0",
38-
"vue-computed-helpers": "^1.3.0",
39-
"vue-drag-and-drop": "^3.0.0",
40-
"vue2-dropzone": "^3.2.2"
21+
"filesize": "^3.6.1",
22+
"urijs": "^1.19.1"
4123
}
4224
}

resources/js/components/ConfirmationButton.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,3 @@
8686
},
8787
};
8888
</script>
89-
<style></style>

0 commit comments

Comments
 (0)