Skip to content

Commit

Permalink
cleanup unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
claudfuen committed May 26, 2023
1 parent 53fd547 commit c18a03f
Show file tree
Hide file tree
Showing 24 changed files with 2 additions and 274 deletions.
2 changes: 1 addition & 1 deletion chrome-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chrome-extension-boilerplate-react",
"version": "5.0.15",
"version": "5.0.17",
"description": "A chrome extension boilerplate built with React 18, Webpack 5, and Webpack Dev Server 4",
"license": "MIT",
"repository": {
Expand Down
16 changes: 1 addition & 15 deletions chrome-extension/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,15 @@
"manifest_version": 3,
"name": "Ambience",
"description": "Get AI generated background",
"options_page": "options.html",
"background": { "service_worker": "background.bundle.js" },
"action": {
"default_popup": "popup.html",
"default_icon": "icon-34.png"
},
"chrome_url_overrides": {
"newtab": "newtab.html"
},
"icons": {
"128": "icon-128.png"
},
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*", "<all_urls>"],
"js": ["contentScript.bundle.js"],
"css": ["content.styles.css"]
}
],
"devtools_page": "devtools.html",
"web_accessible_resources": [
{
"resources": ["content.styles.css", "icon-128.png", "icon-34.png"],
"resources": ["icon-128.png", "icon-34.png"],
"matches": []
}
]
Expand Down
2 changes: 0 additions & 2 deletions chrome-extension/src/pages/Background/index.js

This file was deleted.

Empty file.
6 changes: 0 additions & 6 deletions chrome-extension/src/pages/Content/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions chrome-extension/src/pages/Content/modules/print.js

This file was deleted.

9 changes: 0 additions & 9 deletions chrome-extension/src/pages/Devtools/index.html

This file was deleted.

5 changes: 0 additions & 5 deletions chrome-extension/src/pages/Devtools/index.js

This file was deleted.

8 changes: 0 additions & 8 deletions chrome-extension/src/pages/Options/Options.css

This file was deleted.

12 changes: 0 additions & 12 deletions chrome-extension/src/pages/Options/Options.tsx

This file was deleted.

Empty file.
12 changes: 0 additions & 12 deletions chrome-extension/src/pages/Options/index.html

This file was deleted.

9 changes: 0 additions & 9 deletions chrome-extension/src/pages/Options/index.jsx

This file was deleted.

7 changes: 0 additions & 7 deletions chrome-extension/src/pages/Panel/Panel.css

This file was deleted.

12 changes: 0 additions & 12 deletions chrome-extension/src/pages/Panel/Panel.tsx

This file was deleted.

Empty file.
12 changes: 0 additions & 12 deletions chrome-extension/src/pages/Panel/index.html

This file was deleted.

9 changes: 0 additions & 9 deletions chrome-extension/src/pages/Panel/index.jsx

This file was deleted.

45 changes: 0 additions & 45 deletions chrome-extension/src/pages/Popup/Popup.css

This file was deleted.

27 changes: 0 additions & 27 deletions chrome-extension/src/pages/Popup/Popup.jsx

This file was deleted.

17 changes: 0 additions & 17 deletions chrome-extension/src/pages/Popup/index.css

This file was deleted.

12 changes: 0 additions & 12 deletions chrome-extension/src/pages/Popup/index.html

This file was deleted.

9 changes: 0 additions & 9 deletions chrome-extension/src/pages/Popup/index.jsx

This file was deleted.

42 changes: 0 additions & 42 deletions chrome-extension/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ var options = {
mode: process.env.NODE_ENV || 'development',
entry: {
newtab: path.join(__dirname, 'src', 'pages', 'Newtab', 'index.jsx'),
options: path.join(__dirname, 'src', 'pages', 'Options', 'index.jsx'),
popup: path.join(__dirname, 'src', 'pages', 'Popup', 'index.jsx'),
background: path.join(__dirname, 'src', 'pages', 'Background', 'index.js'),
contentScript: path.join(__dirname, 'src', 'pages', 'Content', 'index.js'),
devtools: path.join(__dirname, 'src', 'pages', 'Devtools', 'index.js'),
panel: path.join(__dirname, 'src', 'pages', 'Panel', 'index.jsx'),
},
chromeExtensionBoilerplate: {
notHotReload: ['background', 'contentScript', 'devtools'],
},
output: {
filename: '[name].bundle.js',
Expand Down Expand Up @@ -157,15 +148,6 @@ var options = {
},
],
}),
new CopyWebpackPlugin({
patterns: [
{
from: 'src/pages/Content/content.styles.css',
to: path.join(__dirname, 'build'),
force: true,
},
],
}),
new CopyWebpackPlugin({
patterns: [
{
Expand All @@ -190,30 +172,6 @@ var options = {
chunks: ['newtab'],
cache: false,
}),
new HtmlWebpackPlugin({
template: path.join(__dirname, 'src', 'pages', 'Options', 'index.html'),
filename: 'options.html',
chunks: ['options'],
cache: false,
}),
new HtmlWebpackPlugin({
template: path.join(__dirname, 'src', 'pages', 'Popup', 'index.html'),
filename: 'popup.html',
chunks: ['popup'],
cache: false,
}),
new HtmlWebpackPlugin({
template: path.join(__dirname, 'src', 'pages', 'Devtools', 'index.html'),
filename: 'devtools.html',
chunks: ['devtools'],
cache: false,
}),
new HtmlWebpackPlugin({
template: path.join(__dirname, 'src', 'pages', 'Panel', 'index.html'),
filename: 'panel.html',
chunks: ['panel'],
cache: false,
}),
].filter(Boolean),
infrastructureLogging: {
level: 'info',
Expand Down

1 comment on commit c18a03f

@vercel
Copy link

@vercel vercel bot commented on c18a03f May 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ambience – ./

ambience-leap-ai.vercel.app
ambience-kappa.vercel.app
ambience-git-main-leap-ai.vercel.app

Please sign in to comment.