Skip to content

Commit

Permalink
Fix dependabot warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
brandondong committed Jul 28, 2024
1 parent 6cb47a1 commit 32fdc8b
Show file tree
Hide file tree
Showing 31 changed files with 3,953 additions and 13,049 deletions.
21 changes: 21 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
41 changes: 21 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
# Turing Machine implemented in CSS

## [Demonstration](https://brandondong.github.io/css-turing-machine/)
## Demo

Inspired from https://stackoverflow.com/questions/2497146/is-css-turing-complete/ and http://eli.fox-epste.in/rule110-full.html.
https://brandondong.github.io/css-turing-machine/

### Running locally

Install dependencies:
```
npm install
```

Run app:
```
npm run dev
```

### Inspiration

* https://stackoverflow.com/questions/2497146/
* http://eli.fox-epste.in/rule110-full.html

## How does it work?

Expand Down
10 changes: 0 additions & 10 deletions buildStaticCSS.js

This file was deleted.

16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS Turing Machine</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>

</html>
Loading

0 comments on commit 32fdc8b

Please sign in to comment.