Skip to content

feat(deducer): enable relative imports for local modules - #275

Merged
jianzs merged 1 commit into
pluto-lang:mainfrom
jianzs:feat-support-local-module
Jul 9, 2024
Merged

jianzs merged 1 commit into
pluto-lang:mainfrom
jianzs:feat-support-local-module

Conversation

@jianzs

@jianzs jianzs commented Jul 9, 2024

Copy link
Copy Markdown
Contributor

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

  • N
  • Y

re #274

2. What is the scope of this PR (e.g. component or file name):

  • Pyright Deducer

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Other

Users can now perform relative imports of local modules within the app directory. The Pyright deducer has been updated to copy these modules to the root of each bundle directory for seamless integration.

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

  • N
  • Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

  • Unit test
  • Integration test
  • Benchmark (add benchmark stats below)
  • Manual test (add detailed scripts or steps below)
  • Other

@jianzs jianzs added deducer Deducer 💡feature This issue or pull request is related to a new feature. labels Jul 9, 2024
@changeset-bot

changeset-bot Bot commented Jul 9, 2024 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7242611

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@plutolang/pyright-deducer Patch
@plutolang/pluto-infra Patch
@plutolang/cli Patch
@plutolang/simulator-adapter Patch

Not sure what this means? Click here to learn what changesets are.

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

Users can now perform relative imports of local modules within the app directory. The Pyright deducer has been updated to copy these modules to the root of each bundle directory for seamless integration.
@jianzs
jianzs force-pushed the feat-support-local-module branch from 66eb76e to 7242611 Compare July 9, 2024 06:55
@jianzs
jianzs merged commit a11206f into pluto-lang:main Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deducer Deducer 💡feature This issue or pull request is related to a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant