-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Remove foreman vendor #10342
base: develop
Are you sure you want to change the base?
[WIP] Remove foreman vendor #10342
Conversation
export const visit = url => { | ||
window.location.href = url; | ||
}; | ||
|
||
export const reloadPage = () => { | ||
window.location.reload(); | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add comment to explain
<%= javascript_include_tag("/webpack/#{get_webpack_chunk('bundle', 'js')}") %> | ||
<%= javascript_include_tag("/webpack/#{get_webpack_chunk('reactExports', 'js')}") %> | ||
<%= javascript_include_tag("/webpack/#{get_webpack_chunk('bundle', 'js')}") %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if needed
@@ -5,7 +5,8 @@ | |||
"description": "Foreman isn't really a node module, these are just dependencies needed to build the webpack bundle. 'dependencies' are the asset libraries in use and 'devDependencies' are used for the build process.", | |||
"private": true, | |||
"engines": { | |||
"node": ">=14.0.0 <21.0.0" | |||
"node": ">=14.0.0 <21.0.0", | |||
"npm": ">=8.0.0" | |||
}, | |||
"scripts": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
look into adding NODE_OPTIONS="--max-old-space-size=8192"
In this PR we had to update to npm 8 to get the "overrides" attribute in package.json - "Overrides provide a way to replace a package in your dependency tree with another version, or another package entirely. ". @theforeman/packaging are we ok to update to NPM 8+? |
2319c8b
to
99923d6
Compare
d48bcac
to
005f580
Compare
@theforeman/packaging are we ok to update to NPM 8+? |
Depends on #10345 #10239