Skip to content

refactor: move to esm#2

Merged
azu merged 3 commits intomasterfrom
esm
Jan 11, 2025
Merged

refactor: move to esm#2
azu merged 3 commits intomasterfrom
esm

Conversation

@azu
Copy link
Member

@azu azu commented Jan 11, 2025

  • use node:test instead of mocha
  • move from CJS to ESM
  • remove unused devDependencies

@azu azu added Type: Breaking Change Includes breaking changes Type: Refactoring A code change that neither fixes a bug nor adds a feature labels Jan 11, 2025
"bugs": {
"url": "https://github.com/textlint/textlintrc-to-package-list/issues"
},
"type": "module",
Copy link
Member Author

Choose a reason for hiding this comment

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

Move to ESM

"watch": "babel src --out-dir lib --watch --source-maps",
"prepublish": "npm run --if-present build",
"test": "mocha",
"test": "node --test",
Copy link
Member Author

Choose a reason for hiding this comment

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

Move to node:test

@azu azu merged commit fe44b62 into master Jan 11, 2025
4 checks passed
@azu azu deleted the esm branch January 11, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Breaking Change Includes breaking changes Type: Refactoring A code change that neither fixes a bug nor adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant