Skip to content

Commit

Permalink
Test OKTA-619371 courage build
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltamaki-okta committed Jun 23, 2023
1 parent 6bd3615 commit 8e80fa7
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 43 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/@okta/courage-for-signin-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@babel/plugin-transform-shorthand-properties": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@okta/babel-plugin-handlebars-inline-precompile": "3.1.0-beta.4200.gf3d0a27",
"@okta/courage": "4.5.0-7729-gdf1c695",
"@okta/courage": "4.5.0-8079-gf8f36f1",
"@okta/eslint-plugin-okta-ui": "0.1.0-beta.4181.g1f38f27",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-babel": "^5.3.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/@okta/courage-for-signin-widget/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"paths": {
"vendor/*": ["./src/courage/vendor/*"],
"@okta/handlebars-inline-precompile": ["./src/util/handlebars-inline-precompile"],
"@okta/okta-i18n-bundles": ["./src/courage/okta-i18n-bundles.js"],
"moment": ["./src/courage/vendor/lib/moment-with-locales"]
"@okta/okta-i18n-bundles": ["./src/courage/okta-i18n-bundles.js"]
}
},
"include": [
Expand Down
8 changes: 4 additions & 4 deletions packages/@okta/courage-for-signin-widget/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,10 @@
dependencies:
"@babel/helper-module-imports" "^7.0.0"

"@okta/courage@4.5.0-7729-gdf1c695":
version "4.5.0-7729-gdf1c695"
resolved "https://artifacts.aue1e.internal:443/artifactory/api/npm/npm-okta-all/@okta/courage/-/@okta/courage-4.5.0-7729-gdf1c695.tgz#88730483fa4a028a503977ea5c7dbe47d910edea"
integrity sha1-iHMEg/pKAopQOXfqXH2+R9kQ7eo=
"@okta/courage@4.5.0-8079-gf8f36f1":
version "4.5.0-8079-gf8f36f1"
resolved "https://artifacts.aue1e.internal:443/artifactory/api/npm/npm-okta-all/@okta/courage/-/@okta/courage-4.5.0-8079-gf8f36f1.tgz#2b4ba8a93fe862cfaa78f61e630af49cab37fe97"
integrity sha512-vPtYK72D1TmSsPHYfR/xkEJ0VpHYzOrz3ngSmpztIJ2HNGtg8JEFqVq6gOHxQOZgR7NoLyuPu8JMW+pCNC5mfA==
dependencies:
"@okta/jquery.simplemodal" "1.4.19-g8b711ea"
"@types/backbone" "^1.4.10"
Expand Down
12 changes: 1 addition & 11 deletions scripts/buildtools/webpack/plugins.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { DefinePlugin, IgnorePlugin } = require('webpack');
const { DefinePlugin } = require('webpack');
const fs = require('fs-extra');
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
Expand All @@ -14,14 +14,6 @@ function webpackBundleAnalyzer(reportFilename = 'okta-sign-in.analyzer') {
});
}

// https://webpack.js.org/plugins/ignore-plugin/#example-of-ignoring-moment-locales
function emptyModule() {
return new IgnorePlugin({
resourceRegExp: /^\.\/locale$/,
contextRegExp: /moment$/,
});
}

function prodMode() {
return new DefinePlugin({
DEBUG: false
Expand Down Expand Up @@ -59,13 +51,11 @@ function plugins(options = {}) {
const list = isProduction ?
[
failOnBuildFail(),
emptyModule(),
prodMode(),
] :
// Use DEBUG/development environment w/ console warnings
[
failOnBuildFail(),
emptyModule(),
devMode(),
];

Expand Down

0 comments on commit 8e80fa7

Please sign in to comment.