Skip to content

Commit

Permalink
Switch to using type arithmetic (no more codegen!) (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
jscheiny authored May 17, 2024
1 parent 07de33a commit 5185d1c
Show file tree
Hide file tree
Showing 40 changed files with 334 additions and 1,049 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ yarn-error.log
### Editors
.vscode/

### Generated code
generated/
*.js
*.js.map
*.d.ts
61 changes: 0 additions & 61 deletions codegen/common.ts

This file was deleted.

75 changes: 0 additions & 75 deletions codegen/emit.ts

This file was deleted.

14 changes: 0 additions & 14 deletions codegen/genExponent.ts

This file was deleted.

38 changes: 0 additions & 38 deletions codegen/genTests.ts

This file was deleted.

69 changes: 0 additions & 69 deletions codegen/genTypes.ts

This file was deleted.

41 changes: 0 additions & 41 deletions codegen/spec.ts

This file was deleted.

6 changes: 0 additions & 6 deletions codegen/tsconfig.json

This file was deleted.

16 changes: 6 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,19 @@
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
"scripts": {
"build": "npm-run-all -s codegen compile:src",
"build": "tsc -p src",
"clean": "rimraf dist docs/build",
"codegen": "npm-run-all -s compile:codegen node:codegen",
"compile:codegen": "tsc -p codegen",
"compile:docs": "tsc -p docsgen",
"compile:src": "tsc -p src",
"docs": "npm-run-all -s compile:docs node:docs",
"lint:codegen": "eslint --config eslint.config.mjs codegen",
"lint:docs": "eslint --config eslint.config.mjs docsgen",
"lint:src": "eslint --config eslint.config.mjs src",
"lint:dist": "./scripts/check-typings.sh",
"lint:types": "dtslint test/types",
"lint": "npm-run-all -p lint:codegen lint:docs lint:src lint:dist",
"node:codegen": "node dist/codegen/emit",
"lint:test": "eslint --config eslint.config.mjs test",
"lint": "npm-run-all -p lint:docs lint:src lint:dist",
"node:docs": "node dist/docsgen/index",
"test": "jest --config jest.config.ts",
"test:src": "jest --config jest.config.ts",
"test:types": "tsc -p test",
"test": "npm-run-all -p test:src test:types",
"prepack": "yarn clean && yarn build",
"verify": "npm-run-all -s build lint test docs"
},
Expand All @@ -46,7 +43,6 @@
"@types/node": "^20.12.12",
"@types/react-dom": "^16.0.11",
"commonmark": "^0.31.0",
"dtslint": "^0.3.0",
"eslint": "^9.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
Expand Down
23 changes: 0 additions & 23 deletions src/exponent/exponentTypeArithmetic.ts

This file was deleted.

Loading

0 comments on commit 5185d1c

Please sign in to comment.