Skip to content

Commit e762eb3

Browse files
authored
Merge pull request #20 from modelcreate/v0.2.0
V0.2.0
2 parents 9b4ec7f + 0a740fa commit e762eb3

File tree

9 files changed

+15
-9
lines changed

9 files changed

+15
-9
lines changed

packages/epanet-engine/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@model-create/epanet-engine",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "",
55
"main": "dist/index.js",
66
"module": "dist/index.es6.js",

packages/epanet-js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.1.0",
2+
"version": "0.2.0",
33
"license": "MIT",
44
"main": "dist/index.js",
55
"typings": "dist/index.d.ts",
@@ -20,7 +20,7 @@
2020
"doc": "tsdx build && yarn api-extractor run --local --verbose && mv ./temp/epanet-js.api.json ./input/ && yarn api-documenter markdown"
2121
},
2222
"dependencies": {
23-
"@model-create/epanet-engine": "0.1.0"
23+
"@model-create/epanet-engine": "0.2.0"
2424
},
2525
"peerDependencies": {},
2626
"husky": {

packages/epanet-js/src/Project/functions/DataCurve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Project from '../Project';
2-
import { CurveType } from 'enum';
2+
import { CurveType } from '../../index';
33

44
class DataCurveFunctions {
55
addCurve(this: Project, id: string) {

packages/epanet-js/src/Project/functions/NetworkLink.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Project from '../Project';
2-
import { LinkType, ActionCodeType, LinkProperty, PumpType } from 'enum';
2+
import { LinkType, ActionCodeType, LinkProperty, PumpType } from '../../index';
33

44
class NetworkLinkFunctions {
55
addLink(

packages/epanet-js/src/Project/functions/NetworkNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Project from '../Project';
2-
import { NodeType, NodeProperty, ActionCodeType } from 'enum';
2+
import { NodeType, NodeProperty, ActionCodeType } from '../../index';
33

44
class NetworkNodeFunctions {
55
addNode(this: Project, id: string, nodeType: NodeType) {

packages/epanet-js/src/Project/functions/NodalDemand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Project from '../Project';
2-
import { DemandModel } from 'enum';
2+
import { DemandModel } from '../../index';
33

44
class NodalDemandFunctions {
55
addDemand(

packages/epanet-js/src/Project/functions/RuleBasedControl.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import Project from '../Project';
2-
import { RuleStatus, RuleObject, RuleVariable, RuleOperator } from 'enum';
2+
import {
3+
RuleStatus,
4+
RuleObject,
5+
RuleVariable,
6+
RuleOperator,
7+
} from '../../index';
38

49
class RuleBasedControlFunctions {
510
addRule(this: Project, rule: string) {

packages/epanet-js/src/Project/functions/SimpleControl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Project from '../Project';
2-
import { ControlType } from 'enum';
2+
import { ControlType } from '../../index';
33

44
class SimpleControlFunctions {
55
addControl(

packages/epanet-js/tsdx.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
rollup(config, options) {
66

77
if(options.format !== 'umd') {
8+
config.external = ['@model-create/epanet-engine']
89
return config
910
}
1011

0 commit comments

Comments
 (0)