Skip to content

Commit

Permalink
Merge pull request #12 from tiagofilipenunes/improve-publish
Browse files Browse the repository at this point in the history
Improve publish and update version to 1.3.2
  • Loading branch information
tiagofilipenunes authored Dec 22, 2024
2 parents 6e592ef + f3e8301 commit 5cf8a35
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"displayName": "Better GitHub Image Diff",
"description": "The Better Github Image Diff Chromium/Firefox extension improves the image diff experience on GitHub `Files Changed` view.",
"private": true,
"version": "1.3.1",
"version": "1.3.2",
"type": "module",
"packageManager": "pnpm@9.11.0",
"scripts": {
Expand All @@ -21,7 +21,8 @@
"start:chromium": "pnpm build:chromium && web-ext run --source-dir ./dist --browser-console --start-url https://github.com/bancorprotocol/carbon-app/pull/1464/files --target=chromium",
"dev:firefox": "pnpm build:firefox && web-ext run --source-dir ./dist --browser-console --devtools --reload --start-url https://github.com/bancorprotocol/carbon-app/pull/1464/files --target=firefox-desktop",
"dev:chromium": "pnpm build:chromium && web-ext run --source-dir ./dist --browser-console --devtools --reload --start-url https://github.com/bancorprotocol/carbon-app/pull/1464/files --target=chromium",
"pack:firefox": "web-ext build -s dist --overwrite-dest",
"pack:firefox": "pnpm build:firefox && web-ext build -s dist --overwrite-dest -n {name}_{version}_firefox.zip",
"pack:chromium": "pnpm build:chromium && web-ext build -s dist --overwrite-dest -n {name}_{version}_chromium.zip",
"lint": "web-ext lint -s dist",
"clear": "rimraf --glob dist/src dist/manifest.json dist.*",
"e2e": "pnpm build:chromium && pnpm playwright test"
Expand Down
1 change: 1 addition & 0 deletions vite.config.background.mts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import packageJson from "./package.json";
// bundling the content script using Vite
export default defineConfig({
...sharedConfig,
publicDir: false,
build: {
watch: isDev ? {} : undefined,
outDir: r("./dist/src/workers"),
Expand Down
1 change: 1 addition & 0 deletions vite.config.content.mts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import packageJson from "./package.json";
// bundling the content script using Vite
export default defineConfig({
...sharedConfig,
publicDir: false,
build: {
watch: isDev ? {} : undefined,
outDir: r("./dist/src/content-scripts"),
Expand Down
4 changes: 2 additions & 2 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ export default defineConfig(({ command, mode }) => {
rollupOptions: {
input: {
popup: r("src/popup/index.html"),
index: r("src/popup/index.ts"), // Add this line to include index.ts
index: r("src/popup/index.ts"),
},
output: {
entryFileNames: "src/popup/index.js", // Ensure the output file is named correctly
entryFileNames: "src/popup/index.js",
},
},
},
Expand Down

0 comments on commit 5cf8a35

Please sign in to comment.