Skip to content

Commit

Permalink
Extracted all interfaces into commerceml-parser-core to use in browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
dobromyslov committed Jan 27, 2021
1 parent f981095 commit c256388
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 2,903 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
}
},
"dependencies": {
"commerceml-parser-core": "^2.1.0",
"entities": "^2.1.0",
"sax": "^1.2.4",
"x2js": "^3.4.0"
Expand Down
2 changes: 1 addition & 1 deletion src/import-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
Product,
PropertyValue,
RequisiteValue
} from './types';
} from 'commerceml-parser-core';

export class CommerceMlImportParser extends CommerceMlAbstractParser {
/**
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ export * from './abstract-parser';
export * from './import-parser';
export * from './offers-parser';
export * from './orders-parser';
export * from './types';
2 changes: 1 addition & 1 deletion src/offers-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
OffersPackage,
PriceType,
Warehouse
} from './types';
} from 'commerceml-parser-core';

export class CommerceMlOffersParser extends CommerceMlAbstractParser {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/orders-parser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {CommerceMlAbstractParser} from './abstract-parser';
import {CommercialInformation, Document} from './types';
import {CommercialInformation, Document} from 'commerceml-parser-core';

export class OrdersParser extends CommerceMlAbstractParser {
/**
Expand Down
Loading

0 comments on commit c256388

Please sign in to comment.