Package.json fix

This commit is contained in:
bourquecharles
2021-10-21 17:20:26 -04:00
parent ef80a12ec2
commit 21975005cd
14 changed files with 1722 additions and 1365 deletions

View File

@@ -13,11 +13,12 @@
"no-return-assign": ["off"], "no-return-assign": ["off"],
"react/jsx-props-no-spreading": ["off"], "react/jsx-props-no-spreading": ["off"],
"react/destructuring-assignment": ["off"], "react/destructuring-assignment": ["off"],
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"], "no-restricted-syntax": ["error", "ForInStatement", "WithStatement"],
"react/jsx-one-expression-per-line": "off", "react/jsx-one-expression-per-line": "off",
"react/jsx-wrap-multilines": "off", "react/jsx-wrap-multilines": "off",
"react/jsx-curly-newline": "off", "react/jsx-curly-newline": "off",
"no-underscore-dangle": "off" "no-underscore-dangle": "off",
"no-labels": "off"
}, },
"settings": { "settings": {
"import/resolver": { "import/resolver": {

2993
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{ {
"name": "ucentral-libs", "name": "ucentral-libs",
"version": "0.9.73", "version": "0.9.74",
"main": "dist/index.js", "main": "dist/index.js",
"source": "src/index.js", "source": "src/index.js",
"engines": { "engines": {
@@ -33,7 +33,7 @@
}, },
"scripts": { "scripts": {
"format": "prettier --write 'src/**/*{.js,.scss}'", "format": "prettier --write 'src/**/*{.js,.scss}'",
"build": "NODE_ENV=production webpack --mode production", "build": "set NODE_ENV=production && webpack --mode production",
"eslint": "eslint 'src/**/*.js'", "eslint": "eslint 'src/**/*.js'",
"fix": "eslint --fix 'src/**/*.js'" "fix": "eslint --fix 'src/**/*.js'"
}, },

View File

@@ -369,7 +369,7 @@ AddContactForm.propTypes = {
fields: PropTypes.instanceOf(Object).isRequired, fields: PropTypes.instanceOf(Object).isRequired,
updateField: PropTypes.func.isRequired, updateField: PropTypes.func.isRequired,
updateFieldWithKey: PropTypes.func.isRequired, updateFieldWithKey: PropTypes.func.isRequired,
entities: PropTypes.instanceOf(Array).isRequired, entities: PropTypes.instanceOf(Array),
}; };
AddContactForm.defaultProps = { AddContactForm.defaultProps = {

View File

@@ -1,7 +1,7 @@
import React, { useCallback, useEffect, useState } from 'react'; import React, { useCallback, useEffect, useState } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import Select, { components } from 'react-select'; import Select, { components } from 'react-select';
import { checkIfJson } from '../../utils/formatting'; import { checkIfJson } from 'utils/formatting';
import _ from 'lodash'; import _ from 'lodash';
import formatGoogleAddress from 'utils/formatGoogleAddress'; import formatGoogleAddress from 'utils/formatGoogleAddress';

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px; width: 300px;
} }
@@ -18,7 +18,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 200px; width: 200px;
} }

View File

@@ -13,7 +13,6 @@ const ContactTable = ({
entity, entity,
filterOnEntity, filterOnEntity,
contacts, contacts,
unassign,
assignToEntity, assignToEntity,
toggleEditModal, toggleEditModal,
deleteContact, deleteContact,
@@ -156,7 +155,6 @@ ContactTable.propTypes = {
entity: PropTypes.instanceOf(Object), entity: PropTypes.instanceOf(Object),
filterOnEntity: PropTypes.bool, filterOnEntity: PropTypes.bool,
contacts: PropTypes.instanceOf(Array).isRequired, contacts: PropTypes.instanceOf(Array).isRequired,
unassign: PropTypes.func.isRequired,
assignToEntity: PropTypes.func.isRequired, assignToEntity: PropTypes.func.isRequired,
toggleEditModal: PropTypes.func.isRequired, toggleEditModal: PropTypes.func.isRequired,
deleteContact: PropTypes.func.isRequired, deleteContact: PropTypes.func.isRequired,

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px; width: 300px;
} }
@@ -18,7 +18,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 200px; width: 200px;
} }

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 400px; width: 400px;
} }
@@ -18,7 +18,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px; width: 300px;
} }

View File

@@ -124,7 +124,8 @@ const EditLocationForm = ({ t, disable, fields, updateField, updateFieldWithKey,
disabled={disable} disabled={disable}
maxLength="50" maxLength="50"
/> />
</CCol><CLabel className="mb-3" sm="2" col htmlFor="phones"> </CCol>
<CLabel className="mb-3" sm="2" col htmlFor="phones">
Landlines Landlines
</CLabel> </CLabel>
<CCol sm="4"> <CCol sm="4">

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px; width: 300px;
} }
@@ -18,7 +18,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 200px; width: 200px;
} }

View File

@@ -13,7 +13,6 @@ const LocationTable = ({
entity, entity,
filterOnEntity, filterOnEntity,
locations, locations,
unassign,
assignToEntity, assignToEntity,
toggleEditModal, toggleEditModal,
deleteLocation, deleteLocation,
@@ -156,7 +155,6 @@ LocationTable.propTypes = {
entity: PropTypes.instanceOf(Object), entity: PropTypes.instanceOf(Object),
filterOnEntity: PropTypes.bool, filterOnEntity: PropTypes.bool,
locations: PropTypes.instanceOf(Array).isRequired, locations: PropTypes.instanceOf(Array).isRequired,
unassign: PropTypes.func.isRequired,
assignToEntity: PropTypes.func.isRequired, assignToEntity: PropTypes.func.isRequired,
toggleEditModal: PropTypes.func.isRequired, toggleEditModal: PropTypes.func.isRequired,
deleteLocation: PropTypes.func.isRequired, deleteLocation: PropTypes.func.isRequired,

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px; width: 300px;
} }
@@ -18,7 +18,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 200px; width: 200px;
} }

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important; border-color: #321fdb !important;
font-size: 0.875rem !important; font-size: 0.875rem !important;
font-weight: 400 !important; font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px; width: 300px;
} }