Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrated code with 0 completed tests #23

Open
wants to merge 5 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/grove.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

79 changes: 76 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,17 @@
"@eslint/js": "~9.14.0",
"@jest/globals": "^29.7.0",
"@rollup/plugin-terser": "~0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"cspell": "~8.16.0",
"documentation": "~14.0.3",
"eslint": "~9.14.0",
"globals": "~15.12.0",
"jest": "~29.7.0",
"jest-sonar-reporter": "~2.0.0",
"rollup": "~4.26.0",
"rollup-plugin-delete": "~2.1.0"
"rollup-plugin-delete": "~2.1.0",
"tslib": "^2.8.1",
"typescript": "^5.6.3"
},
"jest": {
"verbose": true,
Expand Down
9 changes: 6 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
import terser from "@rollup/plugin-terser"
import typescript from '@rollup/plugin-typescript';
import terser from '@rollup/plugin-terser';

export default [
{
input: 'src/index.js',
input: 'src/index.ts',
output: [{
file: 'dist/grove.esm.js',
format: 'es',
sourcemap: true
}],
plugins: [
typescript(), // Add TypeScript plugin
terser()
]
},
{
input: 'src/index.js',
input: 'src/index.ts',
output: [{
file: 'dist/grove.js',
format: 'cjs',
sourcemap: true
}],
plugins: [
typescript(), // Add TypeScript plugin
terser()
]
}
Expand Down
1 change: 0 additions & 1 deletion src/index.js

This file was deleted.

1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './trie/index';
172 changes: 0 additions & 172 deletions src/trie/Trie.js

This file was deleted.

Loading