cli icon indicating copy to clipboard operation
cli copied to clipboard

fix : Update async-cli package to use ES modules

Open Recxsmacx opened this issue 10 months ago • 5 comments

Fixes #1698

Update async-cli package to use ES modules instead of CommonJS.

  • Update tsconfig.json files:

    • Change module to ESNext in tsconfig.json, assets/create-glee-app/templates/default/tsconfig.json, and assets/create-glee-app/templates/tutorial/tsconfig.json.
    • Update moduleResolution to node in the same files.
  • Update package.json:

    • Add "type": "module".
  • Update import/export syntax:

    • Modify import statements in src/commands/bundle.ts, src/commands/convert.ts, src/commands/generate/fromTemplate.ts, scripts/fetch-asyncapi-example.js, scripts/releasePackagesRename.js, and src/index.ts to use ES module syntax.

Recxsmacx avatar Mar 12 '25 06:03 Recxsmacx

⚠️ No Changeset found

Latest commit: 1c4a097e04b90786868ddc919afe92a43fc8f454

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Mar 12 '25 06:03 changeset-bot[bot]

We require all PRs to follow Conventional Commits specification. More details 👇🏼

 No release type found in pull request title "fix : Update async-cli package to use ES modules". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit

asyncapi-bot avatar Mar 12 '25 06:03 asyncapi-bot

This pull request has been automatically marked as stale because it has not had recent activity :sleeping:

It will be closed in 120 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation.

There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this pull request forward. Connect with us through one of many communication channels we established here.

Thank you for your patience :heart:

github-actions[bot] avatar Oct 01 '25 00:10 github-actions[bot]