David Edmondson
3f8aa2aa9e
Add async TS checker to build
2021-09-05 11:10:23 -07:00
David Edmondson
306facc0d1
Switch to babel for builds.
...
Fix whitespace mangled by prettier
2021-09-04 22:17:30 -07:00
David Edmondson
daafdbbddf
Target ES2017 browsers and above
2021-09-04 17:52:23 -07:00
David Edmondson
8501c9bb1b
Revert swc change due to prod crash
2021-09-04 17:45:30 -07:00
David Edmondson
cfbdae6def
Switch ts and babel for swc-loader
...
Replace old <> assertion syntax
2021-09-04 16:57:49 -07:00
Olivier Gagnon
a18bdd6afc
prettify, sorry for the big ass commit
2021-09-04 19:09:30 -04:00
Olivier Gagnon
674ce17834
fix nearly all lint errors now
2021-05-29 14:48:56 -04:00
Martin Fournier
ac8565d820
Add basic docker support for development
...
Assuming docker engine is installed, it is now possible to run the dev
server using 'docker-compose up --build' or run the production version using
'docker build -t bitburner . && docker run -it -p 8000:80 bitburner'.
2021-05-10 08:54:25 -04:00
Olivier Gagnon
3fad505096
run auto fix lint
2021-04-29 23:52:56 -04: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
3ce2e83dd8
Finished rudimentary filesystem implementation for Terminal
2019-04-09 23:07:12 -07:00
Olivier Gagnon
b4057fcb26
Character overview is now through react
2019-03-15 02:35:50 -07:00
danielyxie
3e10f5de6d
Migrated Corporation UI implementation to use React
2019-03-13 15:17:30 -07:00
Steven Evans
59f525f08b
[chore] Moving vendor styling to the build directory
2018-10-09 11:56:22 -05:00
Steven Evans
c87621edd9
[chore] fixing the ability to run dev-server
2018-10-01 19:51:32 -05:00
Steven Evans
2deeaef349
[refactor] Google Analytics is controlled by Webpack
2018-08-30 11:08:08 -04: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
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
a82ed16c34
[chore, doc] Split out the "vendor"/3rd party code to its own bundle
...
Included 'vendor.bundle.js' as it is referenced. So this will give a
baseline to compare against future builds. But ideally this will only
change when updating dependency versions.
2018-07-09 12:50:57 -04:00
Steven Evans
16c8d6f38c
[chore] Minimize bundle for production builds.
...
Although the files are GZIP'd when served up, this cuts their raw size to
under half.
2018-07-09 12:50:57 -04:00
Steven Evans
0e2cb9b189
[chore] Enabled Webpack "usedExports" optimization
2018-07-09 12:50:57 -04:00
Steven Evans
7b0b0de8ea
[chore] Enabling Webpack 'providedExports' optimization
2018-07-09 12:50:56 -04:00
Steven Evans
3e1ec388e0
[chore] Introduce TypeScript; Tested out with HelpText.
2018-06-13 23:38:35 -04:00
danielyxie
d6620da22e
Removed import of DevModeEnabled in engine.js. Removed JSON.stringify in webpack.config.js for build mode
2018-06-13 14:26:15 -05:00
danielyxie
89016aeed9
Added devmode. Enabled using build flag. Added new npm build scripts
2018-06-13 12:38:22 -05:00
danielyxie
bbb5f04c87
Merged pull requests and fixed merge conflicts
2018-06-08 11:19:22 -05:00
danielyxie
5e38355152
Added Bladeburner API (untested). Rebalanced Bladeburner. Bladeburner progress no longer resets when installing Augmentations. Fixed up BN-12
2018-06-08 10:51:48 -05:00
Steven Evans
f154cfb54a
[chore] Fixing sourcemaps so they actually point to the correct sources
2018-06-07 15:59:54 -04:00
James Aguilar
96a8e084e9
Make the devserver serve from the proper location.
2018-05-04 23:36:39 -04:00
James Aguilar
3fe254494e
Add tests for NetscriptJS
2018-05-04 23:29: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
danielyxie
779ce25ae5
v0.34.5. Also adding webpack config and package-lock.json
2018-02-24 16:55:06 -06:00