Skip to content

Commit acf1c75

Browse files
authored
Split codebase, remove gulp and bower, Add TS partially, biome, dexie, posthog. Remove vendor src for some files.
* (fix) - Refactor single file to multiple. Introduce biome. Migrate to webpack. Fix random strict issues. Use winamp dep instead of src. * (chore) - add nvmrc * (feat) - Add TS to some files. Remove vendor. Refactor pdf printing * (feat) - More hacky TS migrations. Remove unused/vendor packages. Webpack chunks * (feat) - Dexie + Strict TS * (feat) - Posthog, random fixes, removing clippy src and dotenv
1 parent 783793e commit acf1c75

File tree

208 files changed

+21970
-38218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+21970
-38218
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "presets": ["es2015"] }
1+
{ "presets": ["@babel/preset-env"] }

.bowerrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
POSTHOG_API_KEY=

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ app/styles/.sass-cache
1414
app/vendor/mpdf
1515
app/vendor/setasign
1616
app/vendor/composer
17-
npm-debug.log
17+
npm-debug.log
18+
.history/
19+
.env

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"biome.enabled": true,
3+
"editor.formatOnSave": true
4+
}

README.md

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,60 @@
1-
# Window 98 on the web
1+
# Window 98 on the web
22

3-
This project was created to push myself in HTML and CSS3 and to learn more in depth jQuery and Babel ES6.
3+
This project is a recreation of the Windows 98 desktop experience, built for the browser. It is a LEGACY project that uses older technologies, including jQuery, and retains the original coding patterns from when it was first developed. Please note that this is a personal portfolio piece and is not currently seeking contributions.
44

5-
I have adapted this as my personal website on https://rahul.io. Check it out.
5+
**Live version can be viewed at [rahul.io](https://rahul.io).**
6+
7+
![Screenshot](https://raw.githubusercontent.com/lolstring/windows98-html-css-js/master/assets/screenshot-min.png)
8+
9+
## Built With
10+
11+
* TypeScript
12+
* jQuery
13+
* SASS
14+
* Webpack
15+
* Dexie.js (for IndexedDB)
616

717
## Getting Started
818

919
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
1020

11-
### Building
21+
### Installation
1222

1323
```
1424
npm install
15-
npm install -g bower
16-
bower install
1725
```
1826

19-
### Running
27+
### Building
28+
29+
To build the project assets (JavaScript, CSS, etc.):
2030

21-
Yeoman [webapp](https://github.com/yeoman/generator-webapp#readme) boilerplate was used. Please read [this](https://github.com/yeoman/generator-webapp#readme) to find more information
31+
```sh
32+
npm run build
33+
```
34+
35+
### Running
2236

23-
Example to run development server
37+
To start the development server with live reloading:
2438
```
25-
gulp serve
39+
npm run start
2640
```
2741

28-
## Built With
42+
## Code Quality
2943

30-
* [jQuery](https://jquery.com/)
31-
* [Babel](https://babeljs.io/)
44+
This project uses [Biome](https://biomejs.dev/) for code formatting and linting.
45+
To check and fix code style issues, run:
46+
47+
```
48+
npm run lint
49+
npm run format
50+
```
3251

3352
## Authors
3453

35-
* Rahul Mehra [[Web]](https://github.com/lolstring) [[Email]](mailto:rahulmehra@techgeek.co.in)
54+
* Rahul Mehra [[Web]](https://rahul.io) [[Email]](mailto:win98@rahul.io)
3655

3756
## License
3857

39-
4058
The Windows 98 name, interface, and sample audio files are a property of
4159
Microsoft Corporation, the code within the project is released under the [MIT
4260
License].
@@ -48,7 +66,7 @@ This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md
4866

4967
## Acknowledgments
5068

51-
* [Wolf3d](https://github.com/jseidelin/wolf3d) -The Wolf3d game
52-
* [ClippyJS](https://github.com/smore-inc/clippy.js) - ClippyJS
53-
* [Winamp2](https://github.com/captbaritone/winamp2-js) - WinampJS
54-
* [Minesweeper](http://www.freeminesweeper.org/) - Minesweeper
69+
* [Wolf3d](https://github.com/jseidelin/wolf3d) - The Wolf3d game
70+
* [ClippyJS](https://github.com/smore-inc/clippy.js) - ClippyJS
71+
* [Winamp2](https://github.com/captbaritone/winamp2-js) - WinampJS
72+
* [Minesweeper](http://www.freeminesweeper.org/) - Minesweeper

app/index.html

Lines changed: 277 additions & 167 deletions
Large diffs are not rendered by default.

app/installed-programs/clippy/MIT-LICENSE.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

app/installed-programs/clippy/README.md

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)