Move more JS files

This commit is contained in:
James Cole 2024-04-07 07:21:08 +02:00
parent b88e981b4b
commit 6102982456
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
9 changed files with 322 additions and 98 deletions

4
.gitignore vendored
View File

@ -14,3 +14,7 @@ public/build
# ignore v1 build files
resources/assets/v1/node_modules
resources/assets/v1/build
# ignore v2 build files
resources/assets/v2/node_modules
resources/assets/v2/build

93
package-lock.json generated
View File

@ -4,42 +4,10 @@
"requires": true,
"packages": {
"": {
"hasInstallScript": true,
"workspaces": [
"resources/assets/v1",
"resources/v2"
],
"dependencies": {
"@ag-grid-community/client-side-row-model": "^31.0.3",
"@ag-grid-community/core": "^31.0.3",
"@ag-grid-community/infinite-row-model": "^31.0.3",
"@ag-grid-community/styles": "^31.0.3",
"@fortawesome/fontawesome-free": "^6.4.0",
"@popperjs/core": "^2.11.8",
"admin-lte": "^4.0.0-alpha3",
"alpinejs": "^3.13.7",
"bootstrap": "^5.3.0",
"bootstrap5-autocomplete": "^1.1.22",
"bootstrap5-tags": "^1.6.15",
"chart.js": "^4.4.0",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-chart-sankey": "^0.12.0",
"date-fns": "^3.6.0",
"i18next": "^23.10.1",
"i18next-chained-backend": "^4.6.2",
"i18next-http-backend": "^2.4.2",
"i18next-localstorage-backend": "^4.2.0",
"leaflet": "^1.9.4",
"store": "^2.0.12"
},
"devDependencies": {
"axios": "^1.6.8",
"laravel-vite-plugin": "^0.8.1",
"patch-package": "^8.0.0",
"sass": "^1.72.0",
"vite": "^4.5.3",
"vite-plugin-manifest-sri": "^0.1.0"
}
"resources/assets/v2"
]
},
"node_modules/@ag-grid-community/client-side-row-model": {
"version": "31.2.0",
@ -9911,7 +9879,7 @@
"link": true
},
"node_modules/v2": {
"resolved": "resources/v2",
"resolved": "resources/assets/v2",
"link": true
},
"node_modules/vary": {
@ -10761,8 +10729,7 @@
},
"resources/assets/v1/node_modules/date-fns": {
"version": "2.30.0",
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz",
"integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.21.0"
},
@ -10774,33 +10741,39 @@
"url": "https://opencollective.com/date-fns"
}
},
"resources/v1": {
"extraneous": true,
"resources/assets/v2": {
"hasInstallScript": true,
"dependencies": {
"date-fns": "^2.30.0",
"stream-browserify": "^3.0.0"
"@ag-grid-community/client-side-row-model": "^31.0.3",
"@ag-grid-community/core": "^31.0.3",
"@ag-grid-community/infinite-row-model": "^31.0.3",
"@ag-grid-community/styles": "^31.0.3",
"@fortawesome/fontawesome-free": "^6.4.0",
"@popperjs/core": "^2.11.8",
"admin-lte": "^4.0.0-alpha3",
"alpinejs": "^3.13.7",
"bootstrap": "^5.3.0",
"bootstrap5-autocomplete": "^1.1.22",
"bootstrap5-tags": "^1.6.15",
"chart.js": "^4.4.0",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-chart-sankey": "^0.12.0",
"date-fns": "^3.6.0",
"i18next": "^23.10.1",
"i18next-chained-backend": "^4.6.2",
"i18next-http-backend": "^2.4.2",
"i18next-localstorage-backend": "^4.2.0",
"leaflet": "^1.9.4",
"store": "^2.0.12"
},
"devDependencies": {
"@johmun/vue-tags-input": "^2",
"@vue/compiler-sfc": "^3.3.4",
"axios": "^1.3",
"bootstrap-sass": "^3",
"cross-env": "^7.0",
"font-awesome": "^4.7.0",
"jquery": "^3",
"laravel-mix": "^6.0",
"postcss": "^8.4",
"uiv": "^1.4",
"vue": "^2.7",
"vue-i18n": "^8",
"vue-loader": "^15",
"vue-template-compiler": "^2.7"
"axios": "^1.6.8",
"laravel-vite-plugin": "^0.8.1",
"patch-package": "^8.0.0",
"sass": "^1.72.0",
"vite": "^4.5.3",
"vite-plugin-manifest-sri": "^0.1.0"
}
},
"resources/v2": {
"version": "1.0.0",
"license": "ISC",
"devDependencies": {}
}
}
}

View File

@ -1,40 +1,6 @@
{
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"postinstall": "patch-package"
},
"devDependencies": {
"axios": "^1.6.8",
"laravel-vite-plugin": "^0.8.1",
"patch-package": "^8.0.0",
"sass": "^1.72.0",
"vite": "^4.5.3",
"vite-plugin-manifest-sri": "^0.1.0"
},
"dependencies": {
"@ag-grid-community/client-side-row-model": "^31.0.3",
"@ag-grid-community/core": "^31.0.3",
"@ag-grid-community/infinite-row-model": "^31.0.3",
"@ag-grid-community/styles": "^31.0.3",
"@fortawesome/fontawesome-free": "^6.4.0",
"@popperjs/core": "^2.11.8",
"admin-lte": "^4.0.0-alpha3",
"alpinejs": "^3.13.7",
"bootstrap": "^5.3.0",
"bootstrap5-autocomplete": "^1.1.22",
"bootstrap5-tags": "^1.6.15",
"chart.js": "^4.4.0",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-chart-sankey": "^0.12.0",
"date-fns": "^3.6.0",
"i18next": "^23.10.1",
"i18next-chained-backend": "^4.6.2",
"i18next-http-backend": "^2.4.2",
"i18next-localstorage-backend": "^4.2.0",
"leaflet": "^1.9.4",
"store": "^2.0.12"
}
"workspaces": [
"resources/assets/v1",
"resources/assets/v2"
]
}

View File

@ -0,0 +1,161 @@
{
"/build/app.js": "/build/app.js",
"/build/app_vue.js": "/build/app_vue.js",
"/build/create_transaction.js": "/build/create_transaction.js",
"/build/edit_transaction.js": "/build/edit_transaction.js",
"/build/profile.js": "/build/profile.js",
"/build/index.js": "/build/index.js",
"/build/create.js": "/build/create.js",
"/build/edit.js": "/build/edit.js",
"/build/show.js": "/build/show.js",
"/public/v1/js/app.js": "/public/v1/js/app.js",
"/public/v1/js/app.js.LICENSE.txt": "/public/v1/js/app.js.LICENSE.txt",
"/public/v1/js/app_vue.js": "/public/v1/js/app_vue.js",
"/public/v1/js/app_vue.js.LICENSE.txt": "/public/v1/js/app_vue.js.LICENSE.txt",
"/public/v1/js/create.js": "/public/v1/js/create.js",
"/public/v1/js/create.js.LICENSE.txt": "/public/v1/js/create.js.LICENSE.txt",
"/public/v1/js/create_transaction.js": "/public/v1/js/create_transaction.js",
"/public/v1/js/create_transaction.js.LICENSE.txt": "/public/v1/js/create_transaction.js.LICENSE.txt",
"/public/v1/js/edit.js": "/public/v1/js/edit.js",
"/public/v1/js/edit.js.LICENSE.txt": "/public/v1/js/edit.js.LICENSE.txt",
"/public/v1/js/edit_transaction.js": "/public/v1/js/edit_transaction.js",
"/public/v1/js/edit_transaction.js.LICENSE.txt": "/public/v1/js/edit_transaction.js.LICENSE.txt",
"/public/v1/js/ff/accounts/create.js": "/public/v1/js/ff/accounts/create.js",
"/public/v1/js/ff/accounts/edit-reconciliation.js": "/public/v1/js/ff/accounts/edit-reconciliation.js",
"/public/v1/js/ff/accounts/edit.js": "/public/v1/js/ff/accounts/edit.js",
"/public/v1/js/ff/accounts/index.js": "/public/v1/js/ff/accounts/index.js",
"/public/v1/js/ff/accounts/reconcile.js": "/public/v1/js/ff/accounts/reconcile.js",
"/public/v1/js/ff/accounts/show.js": "/public/v1/js/ff/accounts/show.js",
"/public/v1/js/ff/admin/update/index.js": "/public/v1/js/ff/admin/update/index.js",
"/public/v1/js/ff/admin/users.js": "/public/v1/js/ff/admin/users.js",
"/public/v1/js/ff/bills/create.js": "/public/v1/js/ff/bills/create.js",
"/public/v1/js/ff/bills/edit.js": "/public/v1/js/ff/bills/edit.js",
"/public/v1/js/ff/bills/index.js": "/public/v1/js/ff/bills/index.js",
"/public/v1/js/ff/bills/show.js": "/public/v1/js/ff/bills/show.js",
"/public/v1/js/ff/budgets/create.js": "/public/v1/js/ff/budgets/create.js",
"/public/v1/js/ff/budgets/edit.js": "/public/v1/js/ff/budgets/edit.js",
"/public/v1/js/ff/budgets/index.js": "/public/v1/js/ff/budgets/index.js",
"/public/v1/js/ff/budgets/show.js": "/public/v1/js/ff/budgets/show.js",
"/public/v1/js/ff/categories/create.js": "/public/v1/js/ff/categories/create.js",
"/public/v1/js/ff/categories/edit.js": "/public/v1/js/ff/categories/edit.js",
"/public/v1/js/ff/categories/index.js": "/public/v1/js/ff/categories/index.js",
"/public/v1/js/ff/categories/show-by-date.js": "/public/v1/js/ff/categories/show-by-date.js",
"/public/v1/js/ff/categories/show.js": "/public/v1/js/ff/categories/show.js",
"/public/v1/js/ff/charts.defaults.js": "/public/v1/js/ff/charts.defaults.js",
"/public/v1/js/ff/charts.js": "/public/v1/js/ff/charts.js",
"/public/v1/js/ff/common/autocomplete.js": "/public/v1/js/ff/common/autocomplete.js",
"/public/v1/js/ff/currencies/index.js": "/public/v1/js/ff/currencies/index.js",
"/public/v1/js/ff/export/index.js": "/public/v1/js/ff/export/index.js",
"/public/v1/js/ff/firefly.js": "/public/v1/js/ff/firefly.js",
"/public/v1/js/ff/guest.js": "/public/v1/js/ff/guest.js",
"/public/v1/js/ff/help.js": "/public/v1/js/ff/help.js",
"/public/v1/js/ff/index.js": "/public/v1/js/ff/index.js",
"/public/v1/js/ff/install/index.js": "/public/v1/js/ff/install/index.js",
"/public/v1/js/ff/intro/intro.js": "/public/v1/js/ff/intro/intro.js",
"/public/v1/js/ff/list/groups.js": "/public/v1/js/ff/list/groups.js",
"/public/v1/js/ff/object-groups/create-edit.js": "/public/v1/js/ff/object-groups/create-edit.js",
"/public/v1/js/ff/object-groups/index.js": "/public/v1/js/ff/object-groups/index.js",
"/public/v1/js/ff/piggy-banks/create.js": "/public/v1/js/ff/piggy-banks/create.js",
"/public/v1/js/ff/piggy-banks/edit.js": "/public/v1/js/ff/piggy-banks/edit.js",
"/public/v1/js/ff/piggy-banks/index.js": "/public/v1/js/ff/piggy-banks/index.js",
"/public/v1/js/ff/piggy-banks/show.js": "/public/v1/js/ff/piggy-banks/show.js",
"/public/v1/js/ff/preferences/index.js": "/public/v1/js/ff/preferences/index.js",
"/public/v1/js/ff/recurring/create.js": "/public/v1/js/ff/recurring/create.js",
"/public/v1/js/ff/recurring/edit.js": "/public/v1/js/ff/recurring/edit.js",
"/public/v1/js/ff/reports/all.js": "/public/v1/js/ff/reports/all.js",
"/public/v1/js/ff/reports/audit/all.js": "/public/v1/js/ff/reports/audit/all.js",
"/public/v1/js/ff/reports/budget/month.js": "/public/v1/js/ff/reports/budget/month.js",
"/public/v1/js/ff/reports/category/month.js": "/public/v1/js/ff/reports/category/month.js",
"/public/v1/js/ff/reports/default/all.js": "/public/v1/js/ff/reports/default/all.js",
"/public/v1/js/ff/reports/default/month.js": "/public/v1/js/ff/reports/default/month.js",
"/public/v1/js/ff/reports/default/multi-year.js": "/public/v1/js/ff/reports/default/multi-year.js",
"/public/v1/js/ff/reports/default/year.js": "/public/v1/js/ff/reports/default/year.js",
"/public/v1/js/ff/reports/double/month.js": "/public/v1/js/ff/reports/double/month.js",
"/public/v1/js/ff/reports/index.js": "/public/v1/js/ff/reports/index.js",
"/public/v1/js/ff/reports/tag/month.js": "/public/v1/js/ff/reports/tag/month.js",
"/public/v1/js/ff/rule-groups/create.js": "/public/v1/js/ff/rule-groups/create.js",
"/public/v1/js/ff/rule-groups/edit.js": "/public/v1/js/ff/rule-groups/edit.js",
"/public/v1/js/ff/rules/create-edit.js": "/public/v1/js/ff/rules/create-edit.js",
"/public/v1/js/ff/rules/index.js": "/public/v1/js/ff/rules/index.js",
"/public/v1/js/ff/rules/select-transactions.js": "/public/v1/js/ff/rules/select-transactions.js",
"/public/v1/js/ff/search/index.js": "/public/v1/js/ff/search/index.js",
"/public/v1/js/ff/tags/create-edit.js": "/public/v1/js/ff/tags/create-edit.js",
"/public/v1/js/ff/tags/index.js": "/public/v1/js/ff/tags/index.js",
"/public/v1/js/ff/tags/show.js": "/public/v1/js/ff/tags/show.js",
"/public/v1/js/ff/transactions/convert.js": "/public/v1/js/ff/transactions/convert.js",
"/public/v1/js/ff/transactions/index.js": "/public/v1/js/ff/transactions/index.js",
"/public/v1/js/ff/transactions/list.js": "/public/v1/js/ff/transactions/list.js",
"/public/v1/js/ff/transactions/mass/edit-bulk.js": "/public/v1/js/ff/transactions/mass/edit-bulk.js",
"/public/v1/js/ff/transactions/mass/edit.js": "/public/v1/js/ff/transactions/mass/edit.js",
"/public/v1/js/ff/transactions/show.js": "/public/v1/js/ff/transactions/show.js",
"/public/v1/js/index.js": "/public/v1/js/index.js",
"/public/v1/js/index.js.LICENSE.txt": "/public/v1/js/index.js.LICENSE.txt",
"/public/v1/js/lib/Chart.bundle.min.js": "/public/v1/js/lib/Chart.bundle.min.js",
"/public/v1/js/lib/accounting.min.js": "/public/v1/js/lib/accounting.min.js",
"/public/v1/js/lib/bootstrap-multiselect.js": "/public/v1/js/lib/bootstrap-multiselect.js",
"/public/v1/js/lib/bootstrap-sortable.js": "/public/v1/js/lib/bootstrap-sortable.js",
"/public/v1/js/lib/bootstrap-tagsinput.min.js": "/public/v1/js/lib/bootstrap-tagsinput.min.js",
"/public/v1/js/lib/bootstrap-tagsinput.min.js.map": "/public/v1/js/lib/bootstrap-tagsinput.min.js.map",
"/public/v1/js/lib/bootstrap3-typeahead.min.js": "/public/v1/js/lib/bootstrap3-typeahead.min.js",
"/public/v1/js/lib/chartjs-plugin-annotation.min.js": "/public/v1/js/lib/chartjs-plugin-annotation.min.js",
"/public/v1/js/lib/daterangepicker.js": "/public/v1/js/lib/daterangepicker.js",
"/public/v1/js/lib/html5shiv.min.js": "/public/v1/js/lib/html5shiv.min.js",
"/public/v1/js/lib/jquery-ui.min.js": "/public/v1/js/lib/jquery-ui.min.js",
"/public/v1/js/lib/jquery.autocomplete.min.js": "/public/v1/js/lib/jquery.autocomplete.min.js",
"/public/v1/js/lib/jquery.color-2.1.2.min.js": "/public/v1/js/lib/jquery.color-2.1.2.min.js",
"/public/v1/js/lib/modernizr-custom.js": "/public/v1/js/lib/modernizr-custom.js",
"/public/v1/js/lib/moment/bg_BG.js": "/public/v1/js/lib/moment/bg_BG.js",
"/public/v1/js/lib/moment/ca_ES.js": "/public/v1/js/lib/moment/ca_ES.js",
"/public/v1/js/lib/moment/cs_CZ.js": "/public/v1/js/lib/moment/cs_CZ.js",
"/public/v1/js/lib/moment/da_DK.js": "/public/v1/js/lib/moment/da_DK.js",
"/public/v1/js/lib/moment/de_DE.js": "/public/v1/js/lib/moment/de_DE.js",
"/public/v1/js/lib/moment/el_GR.js": "/public/v1/js/lib/moment/el_GR.js",
"/public/v1/js/lib/moment/en_GB.js": "/public/v1/js/lib/moment/en_GB.js",
"/public/v1/js/lib/moment/en_US.js": "/public/v1/js/lib/moment/en_US.js",
"/public/v1/js/lib/moment/es_ES.js": "/public/v1/js/lib/moment/es_ES.js",
"/public/v1/js/lib/moment/es_MX.js": "/public/v1/js/lib/moment/es_MX.js",
"/public/v1/js/lib/moment/fi_FI.js": "/public/v1/js/lib/moment/fi_FI.js",
"/public/v1/js/lib/moment/fr_FR.js": "/public/v1/js/lib/moment/fr_FR.js",
"/public/v1/js/lib/moment/hu_HU.js": "/public/v1/js/lib/moment/hu_HU.js",
"/public/v1/js/lib/moment/id_ID.js": "/public/v1/js/lib/moment/id_ID.js",
"/public/v1/js/lib/moment/it_IT.js": "/public/v1/js/lib/moment/it_IT.js",
"/public/v1/js/lib/moment/ja_JP.js": "/public/v1/js/lib/moment/ja_JP.js",
"/public/v1/js/lib/moment/ko_KR.js": "/public/v1/js/lib/moment/ko_KR.js",
"/public/v1/js/lib/moment/nb_NO.js": "/public/v1/js/lib/moment/nb_NO.js",
"/public/v1/js/lib/moment/nl_NL.js": "/public/v1/js/lib/moment/nl_NL.js",
"/public/v1/js/lib/moment/nn_NO.js": "/public/v1/js/lib/moment/nn_NO.js",
"/public/v1/js/lib/moment/pl_PL.js": "/public/v1/js/lib/moment/pl_PL.js",
"/public/v1/js/lib/moment/pt_BR.js": "/public/v1/js/lib/moment/pt_BR.js",
"/public/v1/js/lib/moment/pt_PT.js": "/public/v1/js/lib/moment/pt_PT.js",
"/public/v1/js/lib/moment/ro_RO.js": "/public/v1/js/lib/moment/ro_RO.js",
"/public/v1/js/lib/moment/ru_RU.js": "/public/v1/js/lib/moment/ru_RU.js",
"/public/v1/js/lib/moment/sk_SK.js": "/public/v1/js/lib/moment/sk_SK.js",
"/public/v1/js/lib/moment/sl_SI.js": "/public/v1/js/lib/moment/sl_SI.js",
"/public/v1/js/lib/moment/sv_SE.js": "/public/v1/js/lib/moment/sv_SE.js",
"/public/v1/js/lib/moment/tr_TR.js": "/public/v1/js/lib/moment/tr_TR.js",
"/public/v1/js/lib/moment/uk_UA.js": "/public/v1/js/lib/moment/uk_UA.js",
"/public/v1/js/lib/moment/vi_VN.js": "/public/v1/js/lib/moment/vi_VN.js",
"/public/v1/js/lib/moment/zh_CN.js": "/public/v1/js/lib/moment/zh_CN.js",
"/public/v1/js/lib/moment/zh_TW.js": "/public/v1/js/lib/moment/zh_TW.js",
"/public/v1/js/lib/moment.min.js": "/public/v1/js/lib/moment.min.js",
"/public/v1/js/lib/respond.min.js": "/public/v1/js/lib/respond.min.js",
"/public/v1/js/lib/typeahead/bloodhound.js": "/public/v1/js/lib/typeahead/bloodhound.js",
"/public/v1/js/lib/typeahead/bloodhound.min.js": "/public/v1/js/lib/typeahead/bloodhound.min.js",
"/public/v1/js/lib/typeahead/typeahead.bundle.js": "/public/v1/js/lib/typeahead/typeahead.bundle.js",
"/public/v1/js/lib/typeahead/typeahead.bundle.min.js": "/public/v1/js/lib/typeahead/typeahead.bundle.min.js",
"/public/v1/js/lib/typeahead/typeahead.jquery.js": "/public/v1/js/lib/typeahead/typeahead.jquery.js",
"/public/v1/js/lib/typeahead/typeahead.jquery.min.js": "/public/v1/js/lib/typeahead/typeahead.jquery.min.js",
"/public/v1/js/lib/vue.js": "/public/v1/js/lib/vue.js",
"/public/v1/js/profile.js": "/public/v1/js/profile.js",
"/public/v1/js/profile.js.LICENSE.txt": "/public/v1/js/profile.js.LICENSE.txt",
"/public/v1/js/show.js": "/public/v1/js/show.js",
"/public/v1/js/show.js.LICENSE.txt": "/public/v1/js/show.js.LICENSE.txt",
"/public/v1/js/webhooks/create.js": "/public/v1/js/webhooks/create.js",
"/public/v1/js/webhooks/create.js.LICENSE.txt": "/public/v1/js/webhooks/create.js.LICENSE.txt",
"/public/v1/js/webhooks/edit.js": "/public/v1/js/webhooks/edit.js",
"/public/v1/js/webhooks/edit.js.LICENSE.txt": "/public/v1/js/webhooks/edit.js.LICENSE.txt",
"/public/v1/js/webhooks/index.js": "/public/v1/js/webhooks/index.js",
"/public/v1/js/webhooks/index.js.LICENSE.txt": "/public/v1/js/webhooks/index.js.LICENSE.txt",
"/public/v1/js/webhooks/show.js": "/public/v1/js/webhooks/show.js",
"/public/v1/js/webhooks/show.js.LICENSE.txt": "/public/v1/js/webhooks/show.js.LICENSE.txt"
}

View File

@ -0,0 +1,32 @@
{
"name": "v1",
"private": true,
"scripts": {
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"production": "mix --production",
"prod": "mix --production"
},
"dependencies": {
"date-fns": "^2.30.0",
"stream-browserify": "^3.0.0"
},
"devDependencies": {
"@johmun/vue-tags-input": "^2",
"@vue/compiler-sfc": "^3.3.4",
"axios": "^1.3",
"bootstrap-sass": "^3",
"cross-env": "^7.0",
"font-awesome": "^4.7.0",
"jquery": "^3",
"laravel-mix": "^6.0",
"postcss": "^8.4",
"uiv": "^1.4",
"vue": "^2.7",
"vue-i18n": "^8",
"vue-loader": "^15",
"vue-template-compiler": "^2.7"
}
}

View File

@ -0,0 +1,47 @@
/*
* webpack.mix.js
* Copyright (c) 2024 james@firefly-iii.org.
*
* This file is part of Firefly III (https://github.com/firefly-iii).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
let mix = require('laravel-mix');
mix.webpackConfig({
resolve: {
alias: {
'vue$': 'vue/dist/vue.runtime.common.js'
},
fallback: {
"stream": require.resolve("stream-browserify"),
"zlib": false,
"https": false,
"http": false
}
}
});
mix.js('src/app.js', 'build');
mix.js('src/app_vue.js', 'build').vue({version: 2});
mix.js('src/create_transaction.js', 'build').vue({version: 2});
mix.js('src/edit_transaction.js', 'build').vue({version: 2});
mix.js('src/profile.js', 'build').vue({version: 2});
//
// // webhooks
mix.js('src/webhooks/index.js', 'build').vue({version: 2});
mix.js('src/webhooks/create.js', 'build').vue({version: 2});
mix.js('src/webhooks/edit.js', 'build').vue({version: 2});
mix.js('src/webhooks/show.js', 'build').vue({version: 2}).copy('build','../../../public/v1/js')

View File

@ -0,0 +1,41 @@
{
"name": "v2",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"postinstall": "patch-package"
},
"devDependencies": {
"axios": "^1.6.8",
"laravel-vite-plugin": "^0.8.1",
"patch-package": "^8.0.0",
"sass": "^1.72.0",
"vite": "^4.5.3",
"vite-plugin-manifest-sri": "^0.1.0"
},
"dependencies": {
"@ag-grid-community/client-side-row-model": "^31.0.3",
"@ag-grid-community/core": "^31.0.3",
"@ag-grid-community/infinite-row-model": "^31.0.3",
"@ag-grid-community/styles": "^31.0.3",
"@fortawesome/fontawesome-free": "^6.4.0",
"@popperjs/core": "^2.11.8",
"admin-lte": "^4.0.0-alpha3",
"alpinejs": "^3.13.7",
"bootstrap": "^5.3.0",
"bootstrap5-autocomplete": "^1.1.22",
"bootstrap5-tags": "^1.6.15",
"chart.js": "^4.4.0",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-chart-sankey": "^0.12.0",
"date-fns": "^3.6.0",
"i18next": "^23.10.1",
"i18next-chained-backend": "^4.6.2",
"i18next-http-backend": "^2.4.2",
"i18next-localstorage-backend": "^4.2.0",
"leaflet": "^1.9.4",
"store": "^2.0.12"
}
}