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

Migrate from CommonJS to ESM #2

Merged
merged 4 commits into from
Feb 2, 2024
Merged

Migrate from CommonJS to ESM #2

merged 4 commits into from
Feb 2, 2024

Conversation

Matte22
Copy link
Owner

@Matte22 Matte22 commented Jan 31, 2024

resolves: NUWCDIVNPT#85

The following PR will migrate Stigman-Watcher to use ESM style modules.

Other than the syntactical changes to migrate to ESM, the only logic that needed to be refactored is in args.js to:

Obtain the watcher version number from package,json
Logic behind exiting the application when validating the client secret or key.

@Matte22 Matte22 merged commit b041b88 into main Feb 2, 2024
1 check failed
@Matte22 Matte22 deleted the migrate-ESM branch February 26, 2024 16:27
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.

Use EcmaScript style imports rather than CommonJS "require" statements
1 participant