Skip to content

Commit

Permalink
refactor: ts+vite (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 authored Dec 17, 2024
1 parent a4aed69 commit 271ffc3
Show file tree
Hide file tree
Showing 251 changed files with 10,394 additions and 14,469 deletions.
27 changes: 0 additions & 27 deletions EMS/admin-ui-bundle/.eslintrc.js

This file was deleted.

2 changes: 0 additions & 2 deletions EMS/admin-ui-bundle/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/.github export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/package-lock.json export-ignore
/webpack.config.js export-ignore
/assets export-ignore

# Set the default behavior, in case people don't have core.autocrlf set.
Expand Down
1 change: 0 additions & 1 deletion EMS/admin-ui-bundle/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/node_modules/
/src/Resources/public
/vendor
/.php-cs-fixer.cache
Expand Down
7 changes: 0 additions & 7 deletions EMS/admin-ui-bundle/.stylelintrc.json

This file was deleted.

15 changes: 0 additions & 15 deletions EMS/admin-ui-bundle/_to_be_ref/css/_ems.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,6 @@ button.button-collapse-all[aria-expanded=false]:before {
content: "\f103";
}


.panel-fullscreen {
display: block;
z-index: 9990;
position: fixed;
width: 100%;
height: 100%;
top: 0;
right: 0;
left: 0;
bottom: 0;
overflow: auto;
background-color: rgba(200, 200, 200, .95);
}

.asset-preview-tab img {
background-image: url('../images/background-img.png');
background-repeat: repeat;
Expand Down
29 changes: 29 additions & 0 deletions EMS/admin-ui-bundle/assets/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
'extends': [
'eslint:recommended'
],
parser: '@typescript-eslint/parser',
overrides: [
{
files: [
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}',
'cypress/support/**/*.{js,ts,jsx,tsx}'
],
'extends': [
'plugin:cypress/recommended'
]
}
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
},
env: {
browser: true,
es6: true
}
}
11 changes: 11 additions & 0 deletions EMS/admin-ui-bundle/assets/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
*.local
8 changes: 8 additions & 0 deletions EMS/admin-ui-bundle/assets/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"tabWidth": 2,
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none"
}
12 changes: 12 additions & 0 deletions EMS/admin-ui-bundle/assets/css/core/plugins/codeEditor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.panel-fullscreen {
display: block;
z-index: 9990;
position: fixed;
width: 100%;
height: 100%;
top: 0;
right: 0;
left: 0;
bottom: 0;
overflow: auto;
}
Empty file.
2 changes: 1 addition & 1 deletion EMS/admin-ui-bundle/assets/css/fontawsome.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// fontawesome
// ---------------------------------------------------
$fa-font-path: "../../node_modules/@fortawesome/fontawesome-free/webfonts/";
$fa-font-path: "@fortawesome/fontawesome-free/webfonts";

@import "@fortawesome/fontawesome-free/scss/fontawesome";
@import "@fortawesome/fontawesome-free/scss/functions";
Expand Down
13 changes: 13 additions & 0 deletions EMS/admin-ui-bundle/assets/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1; URL=/index.php" />
<link rel="icon" href="/images/icon-128.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Load ElasticMS Admin</title>
</head>
<body>
<p>Let's load <a href="/index.ph">ElasticMS Admin</a>.</p>
</body>
</html>
10 changes: 0 additions & 10 deletions EMS/admin-ui-bundle/assets/js/app.js

This file was deleted.

44 changes: 0 additions & 44 deletions EMS/admin-ui-bundle/assets/js/core/components/modal.js

This file was deleted.

This file was deleted.

Loading

0 comments on commit 271ffc3

Please sign in to comment.