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

Update dependencies and exports #147

Merged
merged 3 commits into from
Oct 7, 2024
Merged

Update dependencies and exports #147

merged 3 commits into from
Oct 7, 2024

Conversation

wilwade
Copy link
Member

@wilwade wilwade commented Oct 7, 2024

A lot of dependencies were out of date. This brings all but the test framework ones to latest.

Also adds the export for declare to have more types exported at the root instead of having to dig.

@wilwade wilwade force-pushed the chore/update-dependencies branch from c0420ee to 70cb4e3 Compare October 7, 2024 14:10
@wilwade wilwade force-pushed the chore/update-dependencies branch from 70cb4e3 to cb22b6f Compare October 7, 2024 14:11
@@ -4,6 +4,8 @@ import * as schema from './lib/schema';
import * as shredder from './lib/shred';
import * as fields from './lib/fields';

export * from './lib/declare';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Export more types for easier use.

},
{
rules: {
'no-loss-of-precision': 'off',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so we don't get double warnings. See line 20.

@@ -11,10 +11,11 @@ export default tseslint.config(
...tseslint.configs.strict,
...tseslint.configs.stylistic,
{
ignores: ['dist/*', 'test/browser/main.js'],
ignores: ['gen-nodejs/*', 'dist/**/*', 'dist/*', 'test/browser/main.js'],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merged with the other one that was below this

@@ -44,6 +45,15 @@ export default tseslint.config(
},
},
{
ignores: ['gen-nodejs/*', 'dist/**/*'],
files: ['**/*.test.ts', 'test/**/*', 'examples/**/*'],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore some things in tests.

@wilwade wilwade enabled auto-merge (squash) October 7, 2024 14:14
Copy link
Collaborator

@enddynayn enddynayn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great! 👍

@wilwade wilwade merged commit f439596 into main Oct 7, 2024
1 check passed
@wilwade wilwade deleted the chore/update-dependencies branch October 7, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants