Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion openam-ui/openam-ui-ria/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
},
settings: {
react: {
version: "15.2.1"
version: "16.9.0"
}
},
rules: {
Expand Down Expand Up @@ -123,6 +123,13 @@ module.exports = {
"prefer-arrow-callback": 2,
"prefer-spread": 2
}
},
{
// react specific rules
files: ["*.jsx"],
rules: {
"no-class-assign": 0
}
}
]
};
19 changes: 15 additions & 4 deletions openam-ui/openam-ui-ria/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Header, with the fields enclosed by brackets [] replaced by your own identifying
* information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2024 Wren Security.
* Copyright 2024-2025 Wren Security.
*/

/* global __dirname, __filename, process */
Expand All @@ -37,17 +37,25 @@ const TARGET_PATH = "target/www";
const TESTS_PATH = "target/test";

const MODULE_RESOURCES = {
/* eslint-disable max-len */
"requirejs-text/text.js": "libs/text.js",
"selectize/dist/js/selectize.min.js": "libs/selectize-non-standalone.js",
"microplugin/src/microplugin.js": "libs/microplugin.js",
"json-editor/dist/jsoneditor.min.js": "libs/jsoneditor.js",
"react-redux/dist/react-redux.min.js": "libs/react-redux.js",
"redux/dist/redux.min.js": "libs/redux.js",
"redux-actions/dist/redux-actions.min.js": "libs/redux-actions.js",
"react-bootstrap/dist/react-bootstrap.min.js": "libs/react-bootstrap.js",
"classnames/index.js": "libs/classnames.js",
"react-select/dist/react-select.min.js": "libs/react-select.js",
"react-select/dist/react-select.min.css": "css/react-select.css",
"react-dom/umd/react-dom.production.min.js": "libs/react-dom.js",
"react/umd/react.production.min.js": "libs/react.js",
"prop-types/prop-types.min.js": "libs/prop-types.js",
"react-select/dist/react-select.js": "libs/react-select.js",
"react-input-autosize/dist/react-input-autosize.min.js": "libs/react-input-autosize.js",
"emotion/dist/emotion.umd.min.js": "libs/emotion.js",
"backbone.paginator/lib/backbone.paginator.min.js": "libs/backbone.paginator.js",
"handlebars/dist/handlebars.amd.min.js": "libs/handlebars.js"
/* eslint-enable max-len */
};

const LOCAL_RESOURCES = {
Expand Down Expand Up @@ -100,6 +108,7 @@ gulp.task("build:scriptsJSM", useBuildScripts(
dest: TARGET_PATH,
presets: babelConfig.presets,
plugins: [
"@babel/plugin-transform-class-properties",
["@babel/plugin-transform-classes", { "loose": true }],
"@babel/plugin-transform-modules-amd"
]
Expand Down Expand Up @@ -153,7 +162,9 @@ gulp.task("build", gulp.series(
"build:scripts",
"build:scriptsJSM",
"build:compose",
"build:editor",
"build:editor"
),
gulp.parallel(
"build:libs"
),
gulp.parallel(
Expand Down
1 change: 0 additions & 1 deletion openam-ui/openam-ui-ria/libs/js/react-input-autosize.js

This file was deleted.

Loading