Skip to content

Dependecy updates#550

Merged
johnanvik merged 22 commits intomasterfrom
dependecyUpdates
May 19, 2020
Merged

Dependecy updates#550
johnanvik merged 22 commits intomasterfrom
dependecyUpdates

Conversation

@strinsberg
Copy link
Copy Markdown
Collaborator

Fixes #525, #514, #515

Overview of changes

  • Rebuilt the project with @vue/cli to get all the dependencies up to date and simplify the project setup. This removed a lot of configuration options and extra stuff. The layout is a bit different, but other than some small changes to the code to fit with the latest Vue practices and update a few unit tests to use Jest it was mostly just copied over.
  • Added some new npm scripts. We no longer type $ npm run dev but instead $ npm run serve to setup the development server. There are also run lint and run lint:style to check for code issues and run docs to build the docs. The run test script is still available and runs coverage as well. The coverage is not integrated with coveralls yet, but the developer can see the results when they run the tests.
  • Added a git workflow to run tests, linting, and build the project with node10 and node12 to ensure things are working. This can be setup to run only on pull requests or on all pushes to allow developers to see if their changes are passing before making a pull request (thought they could do it locally first too). It does not currently deploy the project, but it may be possible to set this up or continue using the Travis script for deployment when branches are merged into master.
  • Some other changes are mentioned in the merge that moved the code into this branch from my fork of the project. Also, some issue that need to be addressed are mentioned in issues Re-integrate or find new services for Coverage and Code quality #544, Travis build and deployment to firebase #545, Update unit tests #546, and Update the WIKI for new dependencies #547.

Reviewer: @johnanvik

strinsberg and others added 21 commits May 11, 2020 17:13
…e peice at a time. Removed everything and started adding things back to a basic working vue app. Currently just some classes and some store files have been added and imported to check them for proper running. The temp page runs while importing some of the js classes right now.
…nding page working. Had to modify some code a little. Also, added some of the configuration files back since their options are necessary for some of our code to work.
… being found. I was unable to get the card images to properly show up with the previous methods. This bypasses any webpack which I am not exactly sure how it will affect the program. It is probably not the 'best' method, but will do for now.
… some issues with build size. Not all fixes are the best, but have been made for now to get things working.
…. I had to add sinon as it was being used in the unit tests, but it may not be necessary as I beleive that jest has similar functionality built in. A couple of AI tests that sort the cards are no longer passing and I have no idea what this is about. I don't think anything I have done has changed their behaviour, but it will need to be looked into.
…have to install it gloabally to be able to work with the project.
…ing tests I beleive are a problem with the tests. These need to be changed and have been commented with some thoughts. The errors issued with teh card tests are a problem with testing with vuex. These tests will also need to be re-written to properly mock out objects or stub out getters. This has been commented with a link to the vue docs on testing with vuex. Now all tests are passing again.
…ed out tests. Gave some information why they are commented out and they will be fixed when the broken tests are fixed. I am leaving all this code for the moment to ensure that we can see what was intended from these tests when re-writting them. Also, removed some comments above tests that were essentially identical to the string given as the test name.
Main purpose is to test the current changes with some CI. Perhaps can be used to replace the Travis CI with the original setup if it makes things simpler and has the necessary features.
change style:lint name to the proper one
…ed the program-wars paper to the supportDocs folder.
Merge dependency updates into a local branch to test before considering merging into master
Set to run on all push to any branch. For now just to see if it will run for this branch and confirm that things are working. May revert back to only master before merging with master.
Copy link
Copy Markdown
Collaborator

@johnanvik johnanvik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Seems like the program may be running faster and some of the graphics look sharper.

@johnanvik johnanvik merged commit e3fee6e into master May 19, 2020
@johnanvik johnanvik deleted the dependecyUpdates branch May 19, 2020 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move to webpack 4+

2 participants