feat: enhance project configuration with modern setup #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
enhancement, tests
Description
Interpreter.jsfor improved readability and consistency.Interpretercovering various G-code scenarios.package.jsonto version 3.0.0 with new dependencies and scripts.Changes walkthrough 📝
5 files
.eslintrc.js
Add ESLint configuration for code linting.eslintrc.js
babel.config.js
Add Babel configuration for code transpilationbabel.config.js
@trendmicro/babel-config..eslintignore
Add .eslintignore to exclude directories from linting.eslintignore
.eslintignorefile to ignore specific directories..npmignore
Update .npmignore to exclude more files.npmignore
.npmignoreto include additional files.rollup.config.mjs
Add Rollup configuration for bundlingrollup.config.mjs
2 files
Interpreter.js
Refactor Interpreter.js for improved readabilitysrc/Interpreter.js
index.js
Update module export to ES6 syntaxsrc/index.js
5 files
index.test.js
Add test cases for Interpreter functionalitysrc/tests/index.test.js
circle.nc
Add G-code fixture for circle testssrc/tests/fixtures/circle.nc
default-handler.nc
Add G-code fixture for default handler testssrc/tests/fixtures/default-handler.nc
helical-thread-milling.nc
Add G-code fixture for helical thread milling testssrc/tests/fixtures/helical-thread-milling.nc
one-inch-circle.nc
Add G-code fixture for one-inch circle testssrc/tests/fixtures/one-inch-circle.nc
2 files
LICENSE
Update LICENSE copyright yearLICENSE
README.md
Update README to remove Travis CI badgeREADME.md
1 files
package.json
Update package.json for version 3.0.0 and dependenciespackage.json