Skip to content

Commit efa62e4

Browse files
moved from webpack to vite
1 parent b5a4cac commit efa62e4

Some content is hidden

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

65 files changed

+1250
-2028
lines changed

.babelrc

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

.eslintrc

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

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
build
21
node_modules
2+
dist
File renamed without changes.

.vscode/settings.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"cSpell.words": ["mothersite"]
3-
}
1+
{}

@types/nodejs.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
declare namespace NodeJS {
2+
export interface ProcessEnv {
3+
NODE_ENV: "production" | "development";
4+
BROWSER: "chrome" | "firefox";
5+
}
6+
}

LICENSE

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

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<!--- This README was auto-generated using 'npm run readme' -->
1+
<!--- This README was auto-generated using 'npm run readme' -->
22

33
# AEM Fixes
44

55
AEM Fixes is a modern Chrome Extension designed to eliminate repetitive everyday tasks in AEM Engine by automating them.
66

7-
![react](https://img.shields.io/badge/react-18.3-green) ![ts-node](https://img.shields.io/badge/ts_node-10.9-blue) ![typescript](https://img.shields.io/badge/typescript-5.5-aqua) ![sass](https://img.shields.io/badge/sass-1.77-pink) ![tailwindcss](https://img.shields.io/badge/tailwindcss-3.4-navy) ![daisyui](https://img.shields.io/badge/daisyui-4.12-yellow) ![webextension-polyfill](https://img.shields.io/badge/webextension_polyfill-0.10-red) ![webpack](https://img.shields.io/badge/webpack-5.93-azure)
7+
![react](https://img.shields.io/badge/react-18.3-green) ![ts-node](https://img.shields.io/badge/ts_node-10.9-blue) ![typescript](https://img.shields.io/badge/typescript-5.5-aqua) ![sass](https://img.shields.io/badge/sass-1.77-pink) ![tailwindcss](https://img.shields.io/badge/tailwindcss-3.4-navy) ![daisyui](https://img.shields.io/badge/daisyui-4.12-yellow) ![webextension-polyfill](https://img.shields.io/badge/webextension_polyfill-0.10-red) ![webpack](https://img.shields.io/badge/webpack-5.93-azure)
88

9-
![Armageddon](src/assets/img/armageddon.png)
9+
![Armageddon](public/armageddon.png)
1010

1111
## IMPORTANT
1212

@@ -18,39 +18,39 @@ You have to upload a JSON file to use this extension. If you want to have your o
1818

1919
### Jira page
2020

21-
* Automatically creating WF by adding simple button, in Jira ticket page, matching the interface: ![settings can enable page](https://img.shields.io/badge/customizable-red) ![jira WF Button](tutorial/jiraWFButton.png)This button will redirect you to create WF page and automatically paste for you ticket number and name
22-
* Auto fix attachment filters to display new content at top ![settings can enable page](https://img.shields.io/badge/customizable-red)
21+
- Automatically creating WF by adding simple button, in Jira ticket page, matching the interface: ![settings can enable page](https://img.shields.io/badge/customizable-red) ![jira WF Button](tutorial/jiraWFButton.png)This button will redirect you to create WF page and automatically paste for you ticket number and name
22+
- Auto fix attachment filters to display new content at top ![settings can enable page](https://img.shields.io/badge/customizable-red)
2323

2424
### Almost all pages that you work on
2525

26-
* Fast transition between environments, so you can jump from Live directly to Author: ![multiple tabs](https://img.shields.io/badge/multiple-tabs-green)
27-
![Env Transition](tutorial/EnvTransition.png)
26+
- Fast transition between environments, so you can jump from Live directly to Author: ![multiple tabs](https://img.shields.io/badge/multiple-tabs-green)
27+
![Env Transition](tutorial/EnvTransition.png)
2828

2929
### Author page
3030

31-
* Open Touch properties in a new tab without page reload needed:![Open Touch Properties](tutorial/OpenTouchProperties.png)
32-
* Open author in AEM tree: ![smart](https://img.shields.io/badge/smart-green) ![Open In AEM Tree](tutorial/OpenInAEMTree.png)
33-
* Showing blocked ticket with link to its parent ticket on the yellow box at the top of the author page
31+
- Open Touch properties in a new tab without page reload needed:![Open Touch Properties](tutorial/OpenTouchProperties.png)
32+
- Open author in AEM tree: ![smart](https://img.shields.io/badge/smart-green) ![Open In AEM Tree](tutorial/OpenInAEMTree.png)
33+
- Showing blocked ticket with link to its parent ticket on the yellow box at the top of the author page
3434

3535
### Live&Perf pages
3636

37-
* Automatically checks for mothersite links on pages, if any, inverts colors of it's link ![settings can enable page](https://img.shields.io/badge/customizable-red)
38-
* Vehicle config number is showing directly on KMI, TDR etc. pages ![dynamic setting](https://img.shields.io/badge/dynamic-green)
37+
- Automatically checks for mothersite links on pages, if any, inverts colors of it's link ![settings can enable page](https://img.shields.io/badge/customizable-red)
38+
- Vehicle config number is showing directly on KMI, TDR etc. pages ![dynamic setting](https://img.shields.io/badge/dynamic-green)
3939

4040
### Workflow page
4141

42-
* Auto insert WF title from the link
43-
* Insert some useful links (DL, Market config, etc...)
44-
* Fixing all links it to be in Touch UI
42+
- Auto insert WF title from the link
43+
- Insert some useful links (DL, Market config, etc...)
44+
- Fixing all links it to be in Touch UI
4545

4646
### DAM Tree
4747

48-
* if you link is MAV in classic DAM tree, will momently open it in new window in touch UI
48+
- if you link is MAV in classic DAM tree, will momently open it in new window in touch UI
4949

5050
### Context menu
5151

52-
* Open image directly in DAM
53-
* You can jump to eny environment from browser context menu, without opening page in a new tab![Context Menu](tutorial/ContextMenu.png)
52+
- Open image directly in DAM
53+
- You can jump to eny environment from browser context menu, without opening page in a new tab![Context Menu](tutorial/ContextMenu.png)
5454

5555
cats and memes about programmers hidden in the depths of the codebase
5656

@@ -60,7 +60,7 @@ AEM Fixes can be downloaded from the chrome web store https://chromewebstore.goo
6060

6161
Also it can be built from source:
6262

63-
* clone repository
64-
* run `npm install`
65-
* then `npm run build`
66-
* on `chrome://extensions` page, load unpacked /build folder or use zip file in /zip folder
63+
- clone repository
64+
- run `npm install`
65+
- then `npm run build:chrome`
66+
- on `chrome://extensions` page, load unpacked /build folder or use zip file in /zip folder

README.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ AEM Fixes is a modern Chrome Extension designed to eliminate repetitive everyday
77

88
<NMPBadges />
99

10-
![Armageddon](src/assets/img/armageddon.png)
10+
![Armageddon](public/armageddon.png)
1111

1212
## IMPORTANT
1313

@@ -70,5 +70,5 @@ Also it can be built from source:
7070

7171
- clone repository
7272
- run `npm install`
73-
- then `npm run build`
73+
- then `npm run build:chrome`
7474
- on `chrome://extensions` page, load unpacked /build folder or use zip file in /zip folder

eslint.config.mjs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// @ts-check
2+
3+
import react from "eslint-plugin-react";
4+
import globals from "globals";
5+
import { config, configs as tsConfigs } from "typescript-eslint";
6+
7+
export default config({
8+
...tsConfigs.recommended,
9+
files: ["src/**/*.{ts,tsx,mts}"],
10+
plugins: {
11+
react,
12+
},
13+
languageOptions: {
14+
parserOptions: {
15+
ecmaFeatures: {
16+
jsx: true,
17+
},
18+
},
19+
globals: {
20+
...globals.browser,
21+
},
22+
},
23+
rules: {
24+
// ... any rules you want
25+
"react/jsx-uses-react": "error",
26+
"react/jsx-uses-vars": "error",
27+
},
28+
});

0 commit comments

Comments
 (0)