Skip to content

Commit

Permalink
chore: replace webpack with vite based tooling (#72)
Browse files Browse the repository at this point in the history
* Restructure project to minimally run with Vite

* refactor(parser): rewrite parsers, add deparsing functionality (#69)

* cleanup

* rewrite content integrator with ts-parsec

* cleanup

* [WIP] new code parser

* [WIP] new code parser fixes

* Removed old code parser

* Implemented parsing jumps and fixes

* Added deparsing and fixed code representation

* comments

* fixed code error message position

* working code errors tests

* fixed download buttons i18n

* WIP vliw parser refactor

* small fixes

* VLIW parser fix: allow \n at the end of file

* check bounds on content integration

* show better the vliw parsers error in the interface

* fix tests

* clenup and fixes

* Fix typo in error message for invalid instruction
format

* fix: resolve i18next translation files with vite

---------

Co-authored-by: endes0 <[email protected]>
  • Loading branch information
oxcabe and endes0 authored Nov 22, 2023
1 parent 346e9a5 commit 3e396d6
Show file tree
Hide file tree
Showing 30 changed files with 7,187 additions and 25,355 deletions.
File renamed without changes.
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,22 @@ target/www/
/_book
.vscode
Session.vim


# ------- yarn -------
# see excellent notes at: https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
# Also: `yarn.lock` and `.yarnrc.yml` (or it's older counterpart .yarnrc) "should always be stored in your repo"
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

## --> ADD if using zero-install, otherwise do NOT:
#!.yarn/cache

## --> ELSE ADD if NOT using yarn's zero-install:
.pnp.*

# ------- end yarn -------
8 changes: 0 additions & 8 deletions .stylelintrc

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.1.cjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yarnPath: .yarn/releases/yarn-4.0.1.cjs
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ FROM nginx:1.25.3-alpine As production

# Copy the bundled code from the build stage to the production server image
# COPY --chown=node:node --from=build /usr/src/app/node_modules ./node_modules
COPY ./config/docker-nginx.conf /etc/nginx/conf.d/default.conf
COPY --chown=node:node --from=build /usr/src/app/dist/* /usr/share/nginx/html
COPY ./docker-nginx.conf /etc/nginx/conf.d/default.conf
COPY --chown=node:node --from=build /usr/src/app/dist/* /usr/share/nginx/html
12 changes: 0 additions & 12 deletions config/tsconfig.module.json

This file was deleted.

12 changes: 0 additions & 12 deletions config/tsconfig.strict.json

This file was deleted.

File renamed without changes.
4 changes: 2 additions & 2 deletions src/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>SIMDE</title>
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
</head>
<body>
<noscript>
<p>JavaScript is required to run this application.</p>
</noscript>
<script src="https://cdn.polyfill.io/v3/polyfill.min.js"></script>
<div id="app"></div>
<script src="https://cdn.polyfill.io/v3/polyfill.min.js"></script>
<script type="module" src="/src/main.tsx"></script>
</html>
Loading

0 comments on commit 3e396d6

Please sign in to comment.