Skip to content

Commit

Permalink
Fix test also writing .js files alongside .ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dominics committed Sep 29, 2024
1 parent 0384a56 commit 0e29eef
Show file tree
Hide file tree
Showing 11 changed files with 1,052 additions and 363 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
data
dist
lib

.DS_Store
35 changes: 0 additions & 35 deletions cli/args.js

This file was deleted.

8 changes: 0 additions & 8 deletions cli/index.js

This file was deleted.

13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,29 @@
},
"license": "MIT",
"scripts": {
"build": "yarn build:module && yarn build:symbol && yarn build:package",
"build": "run-s build:module build:symbol build:package",
"build:module": "npx pegjs -o src/module-parser.js --allowed-start-rules module,board ./src/module.pegjs",
"build:symbol": "npx pegjs -o src/symbol-parser.js --allowed-start-rules kicad_symbol_lib ./src/symbol.pegjs",
"build:package": "tsup",
"build:tests": "tsc -p ./test",
"watch": "npx nodemon",
"test": "yarn build:tests && node test/"
"check": "tsc -b -noEmit",
"clean": "rm -rf lib dist",
"watch": "run-p watch:package watch:test",
"watch:package": "tsup --watch",
"watch:test": "tsx watch --clear-screen=false ./test/index.ts",
"test": "tsx test/index.ts"
},
"devDependencies": {
"@types/argparse": "^2.0.10",
"@types/fs-extra": "^9.0.1",
"@types/js-yaml": "^4.0.2",
"@types/klaw": "^3.0.1",
"@types/through2": "^2.0.36",
"npm-run-all": "4.1.5",
"pegjs": "^0.10.0",
"prettier": "^3.2.5",
"prettier-plugin-pegjs": "^2.0.2",
"tsup": "8.0.2",
"tsx": "4.19.1",
"typescript": "5.6.2"
},
"dependencies": {
Expand Down
99 changes: 0 additions & 99 deletions test/board-test.js

This file was deleted.

11 changes: 0 additions & 11 deletions test/index.js

This file was deleted.

96 changes: 0 additions & 96 deletions test/module-test.js

This file was deleted.

98 changes: 0 additions & 98 deletions test/symbol-test.js

This file was deleted.

Loading

0 comments on commit 0e29eef

Please sign in to comment.