Commit Graph

266 Commits

Author SHA1 Message Date
catloversg
16b9ad21ea
MISC: Set copyright line for Electron app (#1371) 2024-06-07 13:21:26 -07:00
Caldwell
cb92643c7e
IMPROVEMENT: partial migration @mui/styles to tss-react (#1338) 2024-06-03 12:27:13 -04:00
Snarling
fe7e1c86bc
Start 2.6.2 cycle (#1301) 2024-05-22 01:35:35 -04:00
catloversg
7b993f3550
MISC: Remove file-saver (#1217)
Also refactor to dedup our own download code
2024-04-19 13:38:44 -07:00
catloversg
8553bcb8fc
MISC: Support compression of save data (#1162)
* Use Compression Streams API instead of jszip or other libraries.
* Remove usage of base64 in the new binary format.
* Do not convert binary data to string and back. The type of save data is SaveData, it's either string (old base64 format) or Uint8Array (new binary format).
* Proper support for interacting with electron-related code. Electron-related code assumes that save data is in the base64 format.
* Proper support for other tools (DevMenu, pretty-save.js). Full support for DevMenu will be added in a follow-up PR. Check the comments in src\DevMenu\ui\SaveFileDev.tsx for details.
2024-03-27 21:08:09 -07:00
catloversg
7c4cd7ef86
MISC: Update devDependencies (#1186)
Removing unused dependencies
2024-03-22 16:52:34 -07:00
catloversg
fc8958af83
MISC: Remove jquery (#1167)
Changes wget, which was the only thing using it.
2024-03-20 14:20:29 -07:00
Snarling
1755b7cd7f 2.6.1dev initial state 2024-03-05 20:54:11 -05:00
catloversg
ffc34387f0
CORPORATION: Add documentation (#1121)
This ports the PDF manual by @catloversg into .md form, so it can be used in-game and via browsing on GitHub.

It also adds MathJax rendering to in-game docs, so that the math formulas can be rendered. (GitHub already supports this natively.)
2024-03-04 03:10:18 -08:00
hydroflame
b655b7a44e
Update package.json 2024-02-21 16:11:22 -05:00
Snarling
489ba595f3
VERSION: Begin 2.6.0 dev cycle (#992) 2023-12-26 11:53:27 -05:00
Snarling
997ae8c176 Changelog reset for 2.5.2 dev cycle 2023-11-30 17:21:31 -05:00
Caldwell
4e8c43fdbe
install latest eslint (#912) 2023-11-03 21:20:32 -04:00
Snarling
87925f1900
EDITOR: Reorganization and minor efficiency improvements (#886) 2023-10-23 07:02:33 -04:00
Snarling
36312c660d
CODE: Enable es2023 features (#870) 2023-10-23 04:49:12 -04:00
Caldwell
269a74d5c0
CODEBASE: update dependencies (#852) 2023-10-07 18:52:48 -04:00
Snarling
1b271d6e29
Update electron to latest (#850) 2023-10-04 19:46:08 -04:00
omuretsu
a8e48ddb12 2.5.1 dev start 2023-10-02 19:46:57 -04:00
muesli4brekkies
c5e2f65cb0
API: Added spawnDelay parameter to ns.spawn options, allowing user defined delay (#807) 2023-09-27 01:31:47 -04:00
Snarling
6d3495d05f
Changelog update for 2.5.0 (#828) 2023-09-24 09:11:49 -04:00
Snarling
de5ebc993b
RELEASE: 2.4.1 (#752) 2023-08-26 18:07:09 -04:00
Snarling
83b7c380ff
DOCUMENTATION: Better npm run doc, plus minor folder reorganization (#693) 2023-08-01 00:59:33 -04:00
Your Name
b4836e5329 v2.4.0 2023-07-30 22:08:36 -04:00
hydroflame
1a8b9a96ec
Documentation added ingame (#667) 2023-07-12 17:10:52 -04:00
Aleksei Bezrodnov
1d5a735941
MISC: enforce eslint react checks (#640) 2023-06-26 22:29:44 -04:00
omuretsu
325224df27 2.3.2dev start 2023-06-07 15:06:47 -04:00
omuretsu
f55551c0cd 2.3.1 release 2023-06-07 14:41:36 -04:00
Snarling
87f2ae459d
UI: Better support for custom player React content (#513) 2023-05-22 05:28:24 -04:00
Snarling
71051cde9c
Upgrade monaco and bump game version to 2.3.0dev (#369) 2023-02-23 21:43:29 -05:00
omuretsu
211e2bcb95 Fix Electron API server
VSCode integration fix for Electron version
2023-02-23 21:18:29 -05:00
Snarling
d3f9554a6e
2.2.2 Release (#378) 2023-02-21 09:44:18 -05:00
omuretsu
dba6773375 Add back lint:report 2023-02-11 15:18:32 -05:00
omuretsu
e9bdc29c8c Some dev updates
* Bump electron version to 22.2.1
* Fix npm run electron command (needed the electron-packager-all command which I had removed)
* Improve the npm run format command, no longer floods terminal with all file names
* Updated start command to serve the built version of the game in .app
* Remove some unused commands and unused workflows. Combined the ci and ci-pr workflows.
* Modify check for generated files logic. Attempt to fix so it will edit its own comment instead of posting a new one on every commit.
2023-02-11 15:12:55 -05:00
Snarling
b4074328ec
UI: Added new locale-aware and configurable number formatting (#354) 2023-02-11 13:18:50 -05:00
omuretsu
6459b1ab48 Change tests
* Try to fix check for generated files to create a comment on a PR.
* Check for generated files does not count as a failure.
* Lint doesn't fail based on stuff in dist. Prettier and lint no longer use the "diff" version.
* Removed some commands that weren't really used (specific version electron packager commands that require you to have already ran npm run electron to generate .package folder)
2023-02-04 07:42:35 -05:00
omuretsu
e8e107254d Update build commands
build:dev now works
2023-01-30 19:45:24 -05:00
omuretsu
41451280ab Update build process
`npm run build` now generates a .app folder with the minimal run files
`npm run electron` now uses the .app contents as a base
deploy-dev.yml should upload just the .app folder after building (not tested yet)
2023-01-10 20:51:14 -05:00
David Walker
0c2d402f0b
INFRA: Update everything except React (#312) 2023-01-08 02:36:55 -05:00
omuretsu
20f405a32c Fix dev server 2023-01-06 18:16:17 -05:00
David Walker
593b860241
New version of Electron, v22.0.0 (#302)
Fixes the blinking text bug!
2023-01-06 14:01:27 -05:00
David Walker
4eef9eec03
NETSCRIPT: More ns Proxy changes (#297) 2023-01-05 20:41:24 -05:00
David Walker
c42fde9379
INFRA: Update Webpack to @latest, along with other dev packages (#290) 2023-01-05 20:29:02 -05:00
Snarling
dc0de2498b
Fix mathjax error (#287)
* Updated mathjax and better-react-mathjax
* Removed MathJaxWrapper. Per better-react-mathjax documentation, we were incorrectly including a new context for every equation using this wrapper.
* Wrapped entire game in a MathJaxContext at GameRoot.
2023-01-03 07:38:14 -05:00
Snarling
5ff2cd5357
VERSION: Update game version to 2.2 (#240)
Includes some bug fixes:
* Fix sleeve shock internal/display discrepancy (0-100 vs 0-100)
* Special error message if ns function called without a this
* Change whitespace to pre-wrap for dialog box.
* Fix bug where idle sleeves do not consume cycles but still recover shock from those cycles. Now they do not recover during idle.
* attempted to tag commit as v2.2.0
2022-12-01 16:07:46 -05:00
Snarling
82ba5f1f13
Ignore monaco cancellation errors (#208)
Also updated monaco-editor and @monaco-editor/react to latest versions since there were no conflicts.
2022-11-10 10:08:59 -05:00
omuretsu
442a4f0198 update html-webpack-plugin version 2022-11-03 08:02:39 -04:00
Olivier Gagnon
af1a1ac58d Rename lots of reference from old to new repo 2022-10-20 03:56:59 +11:00
Olivier Gagnon
c6da513eea allbuild commit a3c92dd0 2022-09-23 15:03:38 -04:00
Olivier Gagnon
5d3ed2e0c5 allbuild commit 07538d65 2022-08-16 12:01:42 -04:00
Olivier Gagnon
8afacee9e5 allbuild commit 6b43ecaf 2022-07-26 08:26:52 -04:00