Skip to content

Commit 75b941b

Browse files
author
David Haeffner
committed
Work to support PR #734. Renamed code-export-utils to side-utils, which will be a public package. Placed the code-export specific bits behind codeExport so it can be destructured.
1 parent 22d834e commit 75b941b

Some content is hidden

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

52 files changed

+67
-41
lines changed

packages/code-export-java-junit/__test__/src/command.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
ControlFlowCommandNames,
2222
} from '../../../selenium-ide/src/neo/models/Command'
2323
import { opts } from '../../src/index'
24-
import exporter from 'code-export-utils'
24+
import { codeExport as exporter } from '@seleniumhq/side-utils'
2525

2626
const commandPrefixPadding = opts.commandPrefixPadding
2727

packages/code-export-java-junit/__test__/src/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function readFile(filename) {
2828
'..',
2929
'..',
3030
'..',
31-
'code-export-utils',
31+
'side-utils',
3232
'__test__',
3333
'test-files',
3434
filename

packages/code-export-java-junit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"@babel/preset-env": "^7.4.5"
2222
},
2323
"dependencies": {
24-
"code-export-utils": "^3.10.0"
24+
"@seleniumhq/side-utils": "^3.10.0"
2525
}
2626
}

packages/code-export-java-junit/src/command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
import exporter from 'code-export-utils'
18+
import { codeExport as exporter } from '@seleniumhq/side-utils'
1919
import location from './location'
2020
import selection from './selection'
2121

packages/code-export-java-junit/src/hook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
import exporter from 'code-export-utils'
18+
import { codeExport as exporter } from '@seleniumhq/side-utils'
1919

2020
const emitters = {
2121
afterAll,

packages/code-export-java-junit/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
import exporter from 'code-export-utils'
18+
import { codeExport as exporter } from '@seleniumhq/side-utils'
1919
import emitter from './command'
2020
import location from './location'
2121
import { generateHooks } from './hook'

packages/code-export-java-junit/src/location.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
import exporter from 'code-export-utils'
18+
import { codeExport as exporter } from '@seleniumhq/side-utils'
1919

2020
const emitters = {
2121
id: emitId,

packages/code-export-java-junit/src/selection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
import exporter from 'code-export-utils'
18+
import { codeExport as exporter } from '@seleniumhq/side-utils'
1919

2020
const emitters = {
2121
id: emitId,

packages/code-export-javascript-mocha/__test__/src/command.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
ControlFlowCommandNames,
2222
} from '../../../selenium-ide/src/neo/models/Command'
2323
import { opts } from '../../src/index'
24-
import exporter from 'code-export-utils'
24+
import { codeExport as exporter } from '@seleniumhq/side-utils'
2525

2626
const commandPrefixPadding = opts.commandPrefixPadding
2727

packages/code-export-javascript-mocha/__test__/src/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function readFile(filename) {
2828
'..',
2929
'..',
3030
'..',
31-
'code-export-utils',
31+
'side-utils',
3232
'__test__',
3333
'test-files',
3434
filename

0 commit comments

Comments
 (0)