Skip to content

Commit

Permalink
Отказ от vuepress, обновление пакетов фронта
Browse files Browse the repository at this point in the history
  • Loading branch information
bsidev committed Oct 20, 2023
1 parent e7239a5 commit e3f9726
Show file tree
Hide file tree
Showing 26 changed files with 3,509 additions and 7,046 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/vuepress-deploy.yml

This file was deleted.

34 changes: 0 additions & 34 deletions docs/.vuepress/config.js

This file was deleted.

Binary file removed docs/.vuepress/public/images/dashboard.png
Binary file not shown.
Binary file removed docs/.vuepress/public/images/message_details.png
Binary file not shown.
Empty file added docs/images/dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added docs/images/message_details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion install/js/bsi.queue/0.368e6a44.css

This file was deleted.

12 changes: 0 additions & 12 deletions install/js/bsi.queue/0.905cdeff.js

This file was deleted.

22 changes: 0 additions & 22 deletions install/js/bsi.queue/1.ca7d3a3f.js

This file was deleted.

1 change: 0 additions & 1 deletion install/js/bsi.queue/2.05677798.js

This file was deleted.

2 changes: 2 additions & 0 deletions install/js/bsi.queue/447.70e017ad.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions install/js/bsi.queue/447.70e017ad.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
2 changes: 2 additions & 0 deletions install/js/bsi.queue/484.ce118c7d.js

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions install/js/bsi.queue/484.ce118c7d.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*!
* ApexCharts v3.44.0
* (c) 2018-2023 ApexCharts
* Released under the MIT License.
*/

/*!
* php-unserialize-js JavaScript Library
* https://github.com/bd808/php-unserialize-js
*
* Copyright 2013 Bryan Davis and contributors
* Released under the MIT license
* http://www.opensource.org/licenses/MIT
*/

/*! svg.draggable.js - v2.2.2 - 2019-01-08
* https://github.com/svgdotjs/svg.draggable.js
* Copyright (c) 2019 Wout Fierens; Licensed MIT */

/*! svg.filter.js - v2.0.2 - 2016-02-24
* https://github.com/wout/svg.filter.js
* Copyright (c) 2016 Wout Fierens; Licensed MIT */
1 change: 1 addition & 0 deletions install/js/bsi.queue/57.c2262f4a.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions install/js/bsi.queue/57.ed404a44.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions install/js/bsi.queue/57.ed404a44.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*!
* Vue.js v2.7.14
* (c) 2014-2022 Evan You
* Released under the MIT License.
*/

/*!
* vue-i18n v8.28.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
1 change: 1 addition & 0 deletions install/js/bsi.queue/app.301a11ab.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion install/js/bsi.queue/app.890f4f11.js

This file was deleted.

1 change: 0 additions & 1 deletion install/js/bsi.queue/app.8f5f92ff.css

This file was deleted.

1 change: 1 addition & 0 deletions install/js/bsi.queue/app.f2bb9a23.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions install/js/bsi.queue/entrypoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"entrypoints": {
"app": {
"css": [
"/bitrix/js/bsi.queue/0.368e6a44.css",
"/bitrix/js/bsi.queue/app.8f5f92ff.css"
"/bitrix/js/bsi.queue/57.c2262f4a.css",
"/bitrix/js/bsi.queue/app.f2bb9a23.css"
],
"js": [
"/bitrix/js/bsi.queue/0.905cdeff.js",
"/bitrix/js/bsi.queue/app.890f4f11.js"
"/bitrix/js/bsi.queue/57.ed404a44.js",
"/bitrix/js/bsi.queue/app.301a11ab.js"
]
}
}
Expand Down
16 changes: 8 additions & 8 deletions install/js/bsi.queue/manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"app/0.368e6a44.css": "/bitrix/js/bsi.queue/0.368e6a44.css",
"app/0.905cdeff.js": "/bitrix/js/bsi.queue/0.905cdeff.js",
"app/1.ca7d3a3f.js": "/bitrix/js/bsi.queue/1.ca7d3a3f.js",
"app/2.05677798.js": "/bitrix/js/bsi.queue/2.05677798.js",
"app/app.css": "/bitrix/js/bsi.queue/app.8f5f92ff.css",
"app/app.js": "/bitrix/js/bsi.queue/app.890f4f11.js",
"app/fonts/element-icons.woff": "/bitrix/js/bsi.queue/fonts/element-icons.313f7dac.woff",
"app/fonts/element-icons.ttf": "/bitrix/js/bsi.queue/fonts/element-icons.45201881.ttf"
"app/app.css": "/bitrix/js/bsi.queue/app.f2bb9a23.css",
"app/app.js": "/bitrix/js/bsi.queue/app.301a11ab.js",
"app/447.70e017ad.js": "/bitrix/js/bsi.queue/447.70e017ad.js",
"app/57.c2262f4a.css": "/bitrix/js/bsi.queue/57.c2262f4a.css",
"app/57.ed404a44.js": "/bitrix/js/bsi.queue/57.ed404a44.js",
"app/484.ce118c7d.js": "/bitrix/js/bsi.queue/484.ce118c7d.js",
"app/fonts/element-icons.ttf": "/bitrix/js/bsi.queue/fonts/element-icons.45201881.ttf",
"app/fonts/element-icons.woff": "/bitrix/js/bsi.queue/fonts/element-icons.313f7dac.woff"
}
35 changes: 17 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
"scripts": {
"dev": "encore dev --watch",
"build": "encore production --progress",
"lint": "eslint 'assets/**/*.{js,vue}' --quiet --fix",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
"lint": "eslint 'assets/**/*.{js,vue}' --quiet --fix"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.10.4",
"@babel/runtime": "^7.10.4",
"@symfony/webpack-encore": "^0.33.0",
"@vuepress/plugin-medium-zoom": "^1.8.2",
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@symfony/webpack-encore": "^4.4.0",
"apexcharts": "^3.24.0",
"autoprefixer": "^9.8.4",
"axios": "^0.21.2",
Expand All @@ -20,25 +17,26 @@
"cache-loader": "^4.1.0",
"core-js": "^3.6.5",
"element-ui": "^2.13.2",
"eslint": "^7.4.0",
"eslint": "^7.32.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-vue": "^6.2.2",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-vue": "^9.17.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"node-sass": "^7.0.0",
"phpunserialize": "^1.0.1",
"postcss-loader": "^4.0.0",
"postcss-loader": "^7.3.3",
"qs": "^6.9.4",
"sass-loader": "^10.0.0",
"vue": "^2.6.11",
"sass": "^1.69.4",
"sass-loader": "^13.3.2",
"vue": "^2.7.14",
"vue-apexcharts": "^1.6.0",
"vue-i18n": "^8.18.2",
"vue-json-pretty": "^1.6.5",
"vue-loader": "^15.9.3",
"vue-loader": "^15.11.1",
"vue-template-compiler": "^2.6.11",
"vuepress": "^1.8.2",
"webpack-notifier": "^1.6.0"
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"yarn-audit-fix": "^10.0.1"
},
"eslintConfig": {
"root": true,
Expand All @@ -60,7 +58,8 @@
"vue/html-indent": [
"error",
4
]
],
"vue/multi-word-component-names": "off"
}
},
"postcss": {
Expand Down
74 changes: 36 additions & 38 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,44 @@
const Encore = require('@symfony/webpack-encore');

if (!Encore.isRuntimeEnvironmentConfigured()) {
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
}

Encore
.setOutputPath('install/js/bsi.queue/')
.setManifestKeyPrefix('app')
.setPublicPath('/bitrix/js/bsi.queue')
.addEntry('app', './assets/index.js')
.splitEntryChunks()
.disableSingleRuntimeChunk()
.cleanupOutputBeforeBuild()
.enableBuildNotifications()
.enableSourceMaps(!Encore.isProduction())
.enableVersioning(Encore.isProduction())
.configureBabel(config => {
config.plugins.push('@babel/plugin-transform-runtime');
config.plugins.push([
'component', {
libraryName: 'element-ui',
styleLibraryName: 'theme-chalk'
}]);
}, {
useBuiltIns: 'usage',
corejs: 3
})
.enableVueLoader(() => {}, { runtimeCompilerBuild: false })
.enableSassLoader()
.enablePostCssLoader()
.addLoader({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /node_modules/,
options: {
emitError: true,
emitWarning: true
}
})
.addExternals({
bitrix: 'BX'
});
.setOutputPath('install/js/bsi.queue/')
.setManifestKeyPrefix('app')
.setPublicPath('/bitrix/js/bsi.queue')
.addEntry('app', './assets/index.js')
.splitEntryChunks()
.disableSingleRuntimeChunk()
.cleanupOutputBeforeBuild()
.enableSourceMaps(!Encore.isProduction())
.enableVersioning(Encore.isProduction())
.configureBabel(config => {
config.plugins.push([
'component', {
libraryName: 'element-ui',
styleLibraryName: 'theme-chalk'
}]);
}, {
useBuiltIns: 'usage',
corejs: 3
})
.enableVueLoader(() => {}, { runtimeCompilerBuild: false })
.enableSassLoader()
.enablePostCssLoader()
.addLoader({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /node_modules/,
options: {
emitError: true,
emitWarning: true
}
})
.addExternals({
bitrix: 'BX'
});

module.exports = Encore.getWebpackConfig();
Loading

0 comments on commit e3f9726

Please sign in to comment.