Skip to content

Commit

Permalink
Merge pull request #159 from KabaLabs/1.0.5
Browse files Browse the repository at this point in the history
1.0.5
  • Loading branch information
bkmorgan3 authored Sep 21, 2020
2 parents 6e1b015 + c0930bb commit 3c7219b
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cypress-recorder",
"version": "1.0.4",
"version": "1.0.5",
"description": "Records a user session and generates cypress code for automation and testing purposes.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/background/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import codeGenerator from '../helpers/codeGenerator';
import {
import type {
ActionWithPayload,
ParsedEvent,
Session,
Expand Down
2 changes: 1 addition & 1 deletion src/content-scripts/eventRecorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Responsible for recording the DOM events.
*/
import finder from '@medv/finder';
import { ParsedEvent } from '../types';
import type { ParsedEvent } from '../types';
import { EventType } from '../constants';

let port: chrome.runtime.Port;
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/codeGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Each time the user records, this function will generate a cy.visit command that will
* store the current url, as well each subsequest user interaction with the browser.
*/
import { ParsedEvent } from '../types';
import type { ParsedEvent } from '../types';
import { EventType } from '../constants';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/model.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { generate } from 'shortid';
import { Block } from '../types';
import type { Block } from '../types';
import { RecState } from '../constants';

export default class Model {
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Cypress Recorder",
"short_name": "Cypress Rec",
"version": "1.0.4",
"version": "1.0.5",
"description": "Records a user session and generates cypress code for automation and testing purposes.",
"manifest_version": 2,
"permissions": [
Expand Down
2 changes: 1 addition & 1 deletion src/popup/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Header from './Header';
import Info from './Info';
import Footer from './Footer';
import Body from './Body';
import { Block, ActionWithPayload } from '../../types';
import type { Block, ActionWithPayload } from '../../types';
import { ControlAction, RecState } from '../../constants';
import '../../assets/styles/styles.scss';

Expand Down
3 changes: 1 addition & 2 deletions src/popup/components/Body.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as React from 'react';
import { Block } from '../../types';
import type { Block } from '../../types';
import { RecState } from '../../constants';

import CodeDisplay from './CodeDisplay';
import LandingBox from './LandingBox';

Expand Down
2 changes: 1 addition & 1 deletion src/popup/components/CodeDisplay.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import CodeBlock from './CodeBlock';
import { Block } from '../../types';
import type { Block } from '../../types';

export interface CodeDisplayProps {
codeBlocks: Block[],
Expand Down

0 comments on commit 3c7219b

Please sign in to comment.