-
Notifications
You must be signed in to change notification settings - Fork 296
Upgrade TS, cesium, mobx etc. #765
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
Open
na9da
wants to merge
4
commits into
main
Choose a base branch
from
upgrade-ts-592
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
1271fb9
Use default babel config from terriajs to build terriamap.
na9da c03d576
Cleanup resolutions, upgrade packages, remove webpack-dev-server.
na9da a790827
Temporarily switch terriajs dep to git branch.
na9da 6414236
Add cesium packages to workspace.
na9da File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
---|---|---|
|
@@ -3,8 +3,6 @@ | |
"workspaces": { | ||
"packages": [ | ||
"packages/terriajs", | ||
"packages/terriajs-cesium/packages/engine", | ||
"packages/terriajs-cesium/packages/widgets", | ||
na9da marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"packages/terriajs-server", | ||
"packages/plugin-sample" | ||
], | ||
|
@@ -34,20 +32,16 @@ | |
} | ||
}, | ||
"resolutions": { | ||
"underscore": "^1.12.1", | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "^18.3.1", | ||
"@types/lodash": "4.14.182", | ||
"@types/css-font-loading-module": "^0.0.13", | ||
"@types/node": "^22.13.1" | ||
"@types/react-dom": "^18.3.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.23.5", | ||
"@babel/preset-env": "^7.23.5", | ||
"@babel/preset-react": "^7.23.3", | ||
"@babel/core": "^7.28.0", | ||
"@babel/preset-env": "^7.28.0", | ||
"@babel/preset-react": "^7.27.1", | ||
"@typescript-eslint/eslint-plugin": "^8.24.0", | ||
"@typescript-eslint/parser": "^8.24.0", | ||
"babel-loader": "^9.2.1", | ||
"babel-loader": "^10.0.0", | ||
"css-loader": "^7.1.2", | ||
"ejs": "^3.1.10", | ||
"eslint": "^8.57.1", | ||
|
@@ -66,7 +60,7 @@ | |
"minimist": "^1.2.8", | ||
"node-notifier": "^10.0.1", | ||
"plugin-error": "^2.0.1", | ||
"prettier": "2.7.1", | ||
"prettier": "2.8.8", | ||
"pretty-quick": "^4.0.0", | ||
"prop-types": "^15.6.0", | ||
"react": "^18.3.1", | ||
|
@@ -76,15 +70,14 @@ | |
"sass-loader": "^16.0.3", | ||
"style-loader": "^4.0.0", | ||
"svg-sprite-loader": "^6.0.11", | ||
"terriajs": "8.10.0", | ||
"terriajs-cesium": "8.0.2", | ||
"terriajs": "terriajs/terriajs#upgrade-ts-592", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just make sure this is updated before merging |
||
"terriajs-cesium": "20.0.1", | ||
"terriajs-plugin-api": "0.0.1-alpha.17", | ||
"terriajs-plugin-sample": "0.0.1-alpha.7", | ||
"typescript": "^5.7.3", | ||
"typescript": "^5.9.2", | ||
"urijs": "^1.18.12", | ||
"webpack": "^5.96.1", | ||
"webpack-cli": "^5.1.4", | ||
"webpack-dev-server": "^5.1.0", | ||
"yargs": "^17.7.2" | ||
}, | ||
"scripts": { | ||
|
@@ -95,7 +88,6 @@ | |
"start": "terriajs-server --config-file serverconfig.json", | ||
"gulp": "gulp", | ||
"postinstall": "echo 'Installation successful. What to do next:\\n yarn gulp dev # Starts the server on port 3001, builds TerriaMap and dependencies, and rebuilds if files change.'", | ||
"hot": "webpack-dev-server --inline --config buildprocess/webpack.config.hot.js --hot --host 0.0.0.0", | ||
"prettier": "prettier --write .", | ||
"prettier-check": "prettier --check ." | ||
} | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Use same default babel settings as terriajs defined here - https://github.com/TerriaJS/terriajs/blob/upgrade-ts-592/buildprocess/defaultBabelLoader.js