-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from appleple/feature/eslint-upgrade
Upgrade webpack from 4 to 5
- Loading branch information
Showing
36 changed files
with
18,320 additions
and
54,652 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
node-version: [8.x] | ||
node-version: [18.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
presets: [ | ||
"@babel/preset-env", | ||
"@babel/preset-react" | ||
], | ||
plugins: [ | ||
"@babel/plugin-transform-runtime", | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,47 +5,49 @@ object-assign | |
*/ | ||
|
||
/*! | ||
Copyright (c) 2017 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/ | ||
|
||
/*! | ||
* The buffer module from node.js, for the browser. | ||
/** @license React v0.19.1 | ||
* scheduler.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* @author Feross Aboukhadijeh <[email protected]> <http://feross.org> | ||
* @license MIT | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v16.5.2 | ||
* react-dom-server.browser.production.min.js | ||
/** @license React v16.13.1 | ||
* react-is.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v16.5.2 | ||
* react-dom.production.min.js | ||
/** @license React v16.14.0 | ||
* react-dom-server.browser.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v16.5.2 | ||
* react.production.min.js | ||
/** @license React v16.14.0 | ||
* react-dom.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v16.5.2 | ||
* schedule.production.min.js | ||
/** @license React v16.14.0 | ||
* react.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,163 +1,129 @@ | ||
"use strict"; | ||
|
||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
|
||
var _typeof = require("@babel/runtime/helpers/typeof"); | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.changeDirection = exports.addSnippet = exports.restore = exports.toggleJsValidator = exports.toggleAcmsCss = exports.clearUnitGroupTitleName = exports.clearUnitGroupItem = exports.clearCustomUnit = exports.clearGroupItem = exports.clearCustomfield = exports.setUnitGroupTitleName = exports.addUnitGroupItem = exports.addCustomUnit = exports.setGroupTitleName = exports.addGroupItem = exports.addCustomfield = exports.setState = void 0; | ||
|
||
exports.toggleJsValidator = exports.toggleAcmsCss = exports.setUnitGroupTitleName = exports.setState = exports.setGroupTitleName = exports.restore = exports.clearUnitGroupTitleName = exports.clearUnitGroupItem = exports.clearGroupItem = exports.clearCustomfield = exports.clearCustomUnit = exports.changeDirection = exports.addUnitGroupItem = exports.addSnippet = exports.addGroupItem = exports.addCustomfield = exports.addCustomUnit = void 0; | ||
var types = _interopRequireWildcard(require("../constants/action-types")); | ||
|
||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
var setState = function setState(state) { | ||
return { | ||
type: types.SETSTATE, | ||
state: state | ||
}; | ||
}; | ||
|
||
exports.setState = setState; | ||
|
||
var addCustomfield = function addCustomfield(item) { | ||
return { | ||
type: types.ADDCUSTOMFIELD, | ||
item: item | ||
}; | ||
}; | ||
|
||
exports.addCustomfield = addCustomfield; | ||
|
||
var addGroupItem = function addGroupItem(item) { | ||
return { | ||
type: types.ADDGROUPITEM, | ||
item: item | ||
}; | ||
}; | ||
|
||
exports.addGroupItem = addGroupItem; | ||
|
||
var setGroupTitleName = function setGroupTitleName(_ref) { | ||
var groupTitle = _ref.groupTitle, | ||
groupName = _ref.groupName; | ||
groupName = _ref.groupName; | ||
return { | ||
type: types.SETGROUPTITLENAME, | ||
groupTitle: groupTitle, | ||
groupName: groupName | ||
}; | ||
}; | ||
|
||
exports.setGroupTitleName = setGroupTitleName; | ||
|
||
var addCustomUnit = function addCustomUnit(item) { | ||
return { | ||
type: types.ADDCUSTOMUNIT, | ||
item: item | ||
}; | ||
}; | ||
|
||
exports.addCustomUnit = addCustomUnit; | ||
|
||
var addUnitGroupItem = function addUnitGroupItem(item) { | ||
return { | ||
type: types.ADDUNITGROUPITEM, | ||
item: item | ||
}; | ||
}; | ||
|
||
exports.addUnitGroupItem = addUnitGroupItem; | ||
|
||
var setUnitGroupTitleName = function setUnitGroupTitleName(_ref2) { | ||
var unitGroupTitle = _ref2.unitGroupTitle, | ||
unitGroupName = _ref2.unitGroupName; | ||
unitGroupName = _ref2.unitGroupName; | ||
return { | ||
type: types.SETUNITGROUPTITLENAME, | ||
unitGroupTitle: unitGroupTitle, | ||
unitGroupName: unitGroupName | ||
}; | ||
}; | ||
|
||
exports.setUnitGroupTitleName = setUnitGroupTitleName; | ||
|
||
var clearCustomfield = function clearCustomfield() { | ||
return { | ||
type: types.CLEARCUSTOMFIELD | ||
}; | ||
}; | ||
|
||
exports.clearCustomfield = clearCustomfield; | ||
|
||
var clearGroupItem = function clearGroupItem() { | ||
return { | ||
type: types.CLEARGROUPITEM | ||
}; | ||
}; | ||
|
||
exports.clearGroupItem = clearGroupItem; | ||
|
||
var clearCustomUnit = function clearCustomUnit() { | ||
return { | ||
type: types.CLEARCUSTOMUNIT | ||
}; | ||
}; | ||
|
||
exports.clearCustomUnit = clearCustomUnit; | ||
|
||
var clearUnitGroupItem = function clearUnitGroupItem() { | ||
return { | ||
type: types.CLEARUNITGROUPITEM | ||
}; | ||
}; | ||
|
||
exports.clearUnitGroupItem = clearUnitGroupItem; | ||
|
||
var clearUnitGroupTitleName = function clearUnitGroupTitleName() { | ||
return { | ||
type: types.CLEARUNITGROUPTITLENAME | ||
}; | ||
}; | ||
|
||
exports.clearUnitGroupTitleName = clearUnitGroupTitleName; | ||
|
||
var toggleAcmsCss = function toggleAcmsCss() { | ||
return { | ||
type: types.TOGGLEACMSCSS | ||
}; | ||
}; | ||
|
||
exports.toggleAcmsCss = toggleAcmsCss; | ||
|
||
var toggleJsValidator = function toggleJsValidator() { | ||
return { | ||
type: types.TOGGLEJSVALIDATOR | ||
}; | ||
}; | ||
|
||
exports.toggleJsValidator = toggleJsValidator; | ||
|
||
var restore = function restore(storage) { | ||
return { | ||
type: types.RESTORE, | ||
storage: storage | ||
}; | ||
}; | ||
|
||
exports.restore = restore; | ||
|
||
var addSnippet = function addSnippet(name, value) { | ||
return { | ||
type: types.ADDSNIPPET, | ||
name: name, | ||
value: value | ||
}; | ||
}; | ||
|
||
exports.addSnippet = addSnippet; | ||
|
||
var changeDirection = function changeDirection(direction) { | ||
return { | ||
type: types.CHANGEDIRECTION, | ||
direction: direction | ||
}; | ||
}; | ||
|
||
exports.changeDirection = changeDirection; |
Oops, something went wrong.