Commit Graph

50 Commits

Author SHA1 Message Date
danielyxie
7301946236 Added and Updated Stock Market tests for the new changes 2019-06-09 21:23:48 -07:00
danielyxie
15a324a946 v0.47.0 release 2019-05-17 13:07:11 -07:00
danielyxie
db5fdb1fcb Last fixes to unit test build configuration 2019-05-09 19:51:56 -07:00
danielyxie
74e72854d8 Configured unit test webpack build to work 2019-05-09 19:36:04 -07:00
danielyxie
ece246b391 Converted mocha unit tests to run using mocha-webpack (mochapack) package 2019-05-09 19:03:13 -07:00
danielyxie
cdb5dfec62 Resolved more circular dependencies. Installed acorn-walk and imported it in RamCalculations using ES6 modules. Fixed bugs in stock market rework 2019-05-06 18:01:06 -07:00
danielyxie
3a601a015d Added unit tests for Stock Market. Removed dependencies from package.json, since they're sourced directly in tests/index.html 2019-04-28 23:21:32 -07:00
danielyxie
d044739f1c v0.46.2 2019-04-14 02:07:29 -07:00
danielyxie
5592a8bc96 Updated several packages 2019-03-27 01:53:30 -07:00
danielyxie
856d02a129 v0.45.1 2019-03-23 19:40:35 -07:00
danielyxie
1034f7cac5 Removed debugging statements. Updated jshint package 2019-03-23 01:34:21 -07:00
danielyxie
3e10f5de6d Migrated Corporation UI implementation to use React 2019-03-13 15:17:30 -07:00
danielyxie
8c8e3f2476 Implemented several optimizations - running scripts dont keep track of script refs or a map of ALL servers. Not completely tested yet 2019-02-05 23:06:48 -08:00
danielyxie
8d2c007bcb Implemented new Editor Option: CodeMirror. (Vim mode not 100% done yet) 2019-01-27 14:08:45 -08:00
danielyxie
7d51182c60 Updated mocha and node-sass dependency versions. removed nsp depdendency 2019-01-09 03:05:20 -08:00
danielyxie
1095438075 Implemented Corporation Research Tree UI using Treant library 2018-12-15 15:31:21 -08:00
danielyxie
70b87b3ffb Implmented initial version of Corporation Research & ResearchTree classes 2018-12-13 19:24:08 -08:00
danielyxie
6973dd8fca Began refactoring Corporation implementation into separate modules (and converted to TypeScript). Rebalanced material starting prices and market properties (demand, competition, market price) 2018-12-09 05:36:18 -08:00
Steven Evans
62672a4e2a [chore] Updating required Node range
Doing a query across all the "engine" requirements across all installed
dependencies, the highest minimum is Node 8.*. And the lowest maximum
seems to be 9.*
2018-10-01 19:51:32 -05:00
Steven Evans
9e697a6809 [chore] Script to check the required version of Node & NPM
Apparently the "engines" files of package.json is no longer checked
regularly when performing installs. With the changes and different
behaviors across different version of Node & NPM, and having no other
way to ensure everybody contributing is on the same page, this
preinstall check is necessary.

This heavily relies on "SemVer" NPM package, but in order to actually
check this prior to the first set of packages installed the code needs
to be there. So this is a slimmed down version of SemVer and syntax has
been updated.
2018-10-01 19:51:32 -05:00
danielyxie
12bee24520 Beginning to refactor stylesheets. Convert main menu to use buttons instead of a elements 2018-10-01 19:51:32 -05:00
Steven Evans
c87621edd9 [chore] fixing the ability to run dev-server 2018-10-01 19:51:32 -05:00
danielyxie
b36855fe52 Merged from dev. Fixed merge conflicts. Updated terminal documentation for wget 2018-09-07 21:21:23 -05:00
Steven Evans
552ce183c1 [chore] Introduce HTML-Webpack
This issue means that any changes to the HTML has to happen in the
`.\src\index.html` file rather than the `.\index.html`. This makes the
`index.html` in the root now a build artifact the same way that files in
`dist\` are.
2018-08-30 10:43:18 -04:00
danielyxie
58d48f19ef Added .fconf setting for enabline line wrap in terminal input. Began implementing wget 2018-08-28 22:24:38 -05:00
Daniel Xie
e4f02b298b Added Four Sigma (4S) Market Data feature, and its Netscript TIX API functions as well 2018-08-24 15:44:48 -05:00
danielyxie
4ea6c4840c
Merge pull request #360 from kopelli/scss
Incorporate SCSS for styling/bundling
2018-08-02 10:18:36 -04:00
danielyxie
88755f1d0f Added import functionality to Netscript 1.0 2018-07-20 09:28:03 -05:00
Steven Evans
9b5b997b6d [chore] Introducing SCSS, renaming existing files.
Not utilizing any functionality yet, just setting up for refactorings.
2018-07-17 11:55:04 -04:00
Steven Evans
3faed7caf2 [refactor, chore] "Compile" CSS via Webpack
This may seem unnecessary (and odd to import CSS files into JS...), but
this sets up the project for being able to keep the distributed
(release) resources all together, as well as setting the stage for
introducing something like SCSS.
2018-07-16 23:22:24 -04:00
Steven Evans
c3dc75862a [chore] Chaining all the lint scripts to one easier to run command 2018-06-26 22:20:26 -04:00
Steven Evans
f372f1e693 Merge branch 'dev' into eslint 2018-06-26 22:04:45 -04:00
Steven Evans
8cbb832c0d [chore] Adding Stylelint
This is the baseline for Stylelint configuration. No violations exist
with the uncommented rules. The rules that are commented out at the
beginning of the line should be considered for enabling, as well as
fixing them up.
2018-06-22 23:02:12 -04:00
Steven Evans
52269759ec [chore] Adding ESLint
This is a baseline ESLint configuration, with *A LOT* of rules disabled.
All rules that are enabled already conform to the codebase. As code
clean up starts to happen, rules can be enabled one-by-one.
2018-06-22 22:28:59 -04:00
Steven Evans
9c09e44db2 [refactor, chore] Including TSLint; fixing most things.
As it currently stands, bringing in TSLint with *all* rules enabled by
default and override each as we go. This means that as we upgrade and
bring in new rules we might start seeing new rules that the code
violates.

Because all the rules are enabled by default, the choice to explicitly
disable/relax rules can be discussed as part of PRs.

This also brought in strict type checking. This means we shouldn't be
relying on truthy/falsey value coercion. It also means that we will
likely need to create some type definition files or port certain files
over. That...will be a bit tedious, but will make the codebase better as
a whole.
2018-06-14 14:57:44 -04:00
Steven Evans
3e1ec388e0 [chore] Introduce TypeScript; Tested out with HelpText. 2018-06-13 23:38:35 -04:00
danielyxie
89016aeed9 Added devmode. Enabled using build flag. Added new npm build scripts 2018-06-13 12:38:22 -05:00
Steven Evans
edd3effd4f [chore] Removed unncessary dependencies; Updated many outdated
dependencies.
2018-06-12 11:01:06 -04:00
Steven Evans
7362d1809f [refactor] Remove numeral from utils folder; use npm reference
In order to shave off ~0.02MiB of the bundle size, needed to continue
referencing the minified file. Ideally future changes can utilize
code splitting, tree shaking, and minification in WebPack to use normal
references.
2018-05-30 22:46:52 -04:00
Steven Evans
10d7e43f01 [refactor] Pull in 'decimal.js' as an npm dependency 2018-05-30 15:54:13 -04:00
danielyxie
b6e49c1a82 Updating package.json to remove comma that was causing errors. Adding new dist files 2018-05-05 16:35:53 -05:00
J
9479bd7001
Merge branch 'dev' into patch-1 2018-05-05 17:14:44 -04:00
J
9b6f10ece4
Remove a bunch of scripts that don't actually work 2018-05-05 16:51:18 -04:00
James Aguilar
3fe254494e Add tests for NetscriptJS 2018-05-04 23:29:22 -04:00
James Aguilar
0fa9c26529 Add preamble function for NSJS programs. 2018-05-04 23:06:22 -04:00
Steven Evans
3ad6cfd8bb Can successfully run Webpack to create dist/bundle.js
The bundled output is noticeably different; likely due to Webpack 4
vs. 2/3. The order of dependencies also appears to have changed.
The overall output *seems* to be the same. Unsure how to full test
that everything is getting bundled appropriately.

This also allows the project to be built without having to manually
copy files into node_modules.
2018-03-21 11:56:30 -04:00
Steven Evans
04eeba5a24 Updating package.json to reflect true values for the repo.
Keeping all the dependencies and additional scripts, as some of them
could come in useful for future work. A number of the dependencies were
based on Webpack rather than what is really used.
2018-03-20 21:32:30 -04:00
danielyxie
f33d81b1a5 v0.35.1 2018-03-12 14:39:04 -05:00
danielyxie
271932b287 Fixed package dependencies 2018-02-26 20:06:38 -06:00
danielyxie
6c9598d111
Adding package.json 2018-02-26 10:29:16 -06:00