Skip to content

Commit

Permalink
Bump package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Mar 24, 2024
1 parent dea93c4 commit 96fb7cd
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/run-chrome-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"node": ">=18"
},
"name": "webpack-run-chrome-extension",
"version": "1.1.1",
"version": "1.1.3",
"description": "Run your extension on Google Chrome with auto-reload support",
"main": "./dist/module.js",
"types": "./dist/module.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@ import WebSocket from 'ws'
import {type Compiler} from 'webpack'
import messages from '../../../helpers/messages'
import {type StatsPreset} from '../../../types'
import {type ManifestBase} from '../../../manifest-types'
import isFirstRun from '../../RunChromePlugin/chrome/isFirstRun'

interface Data {
id: string
manifest: ManifestBase
management: chrome.management.ExtensionInfo
}

interface Message {
data?: Data | undefined
status: string
}

export default function (
compiler: Compiler,
statsConfig: StatsPreset | undefined,
Expand Down Expand Up @@ -39,7 +51,7 @@ export default function (
// We're only ready when the extension says so
ws.on('message', (msg) => {
// eslint-disable-next-line @typescript-eslint/no-base-to-string
const message = JSON.parse(msg.toString())
const message: Message = JSON.parse(msg.toString())

if (message.status === 'clientReady') {
if (statsConfig === true) {
Expand Down
2 changes: 1 addition & 1 deletion packages/run-edge-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"node": ">=18"
},
"name": "webpack-run-edge-extension",
"version": "1.1.1",
"version": "1.1.3",
"description": "Run your extension on Microsoft Edge with auto-reload support",
"main": "./dist/module.js",
"types": "./dist/module.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@ import WebSocket from 'ws'
import {type Compiler} from 'webpack'
import messages from '../../../helpers/messages'
import {type StatsPreset} from '../../../types'
import {type ManifestBase } from '../../../manifest-types'
import isFirstRun from '../../RunEdgePlugin/edge/isFirstRun'

interface Data {
id: string
manifest: ManifestBase
management: chrome.management.ExtensionInfo
}

interface Message {
data?: Data | undefined
status: string
}

export default function (
compiler: Compiler,
statsConfig: StatsPreset | undefined,
Expand Down Expand Up @@ -39,7 +51,7 @@ export default function (
// We're only ready when the extension says so
ws.on('message', (msg) => {
// eslint-disable-next-line @typescript-eslint/no-base-to-string
const message = JSON.parse(msg.toString())
const message: Message = JSON.parse(msg.toString())

if (message.status === 'clientReady') {
if (statsConfig === true) {
Expand Down
2 changes: 1 addition & 1 deletion programs/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"node": ">=18"
},
"name": "@extension-create/cli",
"version": "1.2.2",
"version": "1.2.4",
"description": "Create cross-browser extensions with no build configuration.",
"main": "./dist/cli.js",
"types": "./dist/cli.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion programs/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"node": ">=18"
},
"name": "@extension-create/create",
"version": "1.1.0",
"version": "1.2.2",
"description": "The create step of extension-create",
"main": "./dist/module.js",
"types": "./dist/module.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion programs/develop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"node": ">=18"
},
"name": "@extension-create/develop",
"version": "1.3.1",
"version": "1.3.3",
"description": "The develop step of extension-create",
"main": "./dist/module.js",
"types": "./dist/module.d.ts",
Expand Down

0 comments on commit 96fb7cd

Please sign in to comment.