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

feat(cli): Support generating .d.ts files #9097

Merged
merged 6 commits into from
Jun 22, 2024
Merged

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Jun 22, 2024

Description:

I verified that swc_cli (Rust) works with

{
    "jsc": {
        "parser": {
            "syntax": "typescript"
        },
        "experimental": {
            "emitIsolatedDts": true
        }
    }
}

@kdy1 kdy1 added this to the Planned milestone Jun 22, 2024
@kdy1 kdy1 self-assigned this Jun 22, 2024
@kdy1 kdy1 requested review from a team as code owners June 22, 2024 00:19
@kdy1 kdy1 enabled auto-merge (squash) June 22, 2024 00:19
Copy link
Member Author

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

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

swc-bump:

  • swc_cli_impl
  • swc
  • swc_core

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] None 0 5.93 kB sindresorhus
npm/[email protected] None 0 4.41 kB hughsk
npm/[email protected] None 0 3.54 kB sindresorhus
npm/[email protected] None 0 7.96 kB jonschlinkert
npm/[email protected] environment, filesystem 0 2.88 kB sindresorhus
npm/[email protected] None 0 6.82 kB juliangruber
npm/[email protected] environment, filesystem 0 11 kB isaacs
npm/[email protected] None 0 6.93 kB doowb
npm/[email protected] None 0 13.3 kB rvagg
npm/[email protected] None 0 29.3 kB oss-bot
npm/[email protected] None 0 3.79 kB simenb
npm/[email protected] None 0 15.1 kB lydell
npm/[email protected] None 0 45.8 kB andyperlitch
npm/[email protected] None 0 32 kB mathias
npm/[email protected] None 0 6.7 kB zkat
npm/[email protected] None 0 10.4 kB isaacs
npm/[email protected] None 0 19.6 kB esp
npm/[email protected] None 0 26.1 kB kriszyp
npm/[email protected] None 0 14.2 kB samn
npm/[email protected] None 0 12.7 kB isaacs
npm/[email protected] None 0 2.91 kB commandoline
npm/[email protected] None 0 9.89 kB lukeed
npm/[email protected] None 0 5.34 kB sindresorhus
npm/[email protected] None 0 8.14 MB catamphetamine
npm/[email protected] filesystem 0 15.4 kB antonk52
npm/[email protected] None 0 5.39 kB eventualbuddha
npm/[email protected] None 0 681 kB isaacs
npm/[email protected] environment, filesystem 0 19.1 kB isaacs
npm/[email protected] None 0 9.22 kB jonschlinkert
npm/[email protected] None 0 4.55 kB sindresorhus
npm/[email protected] environment 0 24 kB gnoff
npm/[email protected] None 0 32.1 kB feross
npm/[email protected] None 0 0 B

🚮 Removed packages: npm/@actions/[email protected], npm/@actions/[email protected], npm/@ampproject/[email protected], npm/@ast-grep/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.18.6, npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@cnakazawa/[email protected], npm/@cspell/[email protected], npm/@cspotcode/[email protected], npm/@emnapi/[email protected], npm/@emnapi/[email protected], npm/@eslint-community/[email protected], npm/@eslint/[email protected], npm/@humanwhocodes/[email protected], npm/@istanbuljs/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@ljharb/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@napi-rs/[email protected], npm/@nodelib/[email protected], npm/@nodelib/[email protected], npm/@npmcli/[email protected], npm/@npmcli/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@octokit/[email protected], npm/@sinonjs/[email protected], npm/@sinonjs/[email protected], npm/@swc/[email protected], npm/@tybys/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/@webassemblyjs/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@kdy1 kdy1 disabled auto-merge June 22, 2024 00:35
@kdy1 kdy1 merged commit e71b6d3 into swc-project:main Jun 22, 2024
146 of 147 checks passed
@kdy1 kdy1 deleted the ts-gen branch June 22, 2024 00:35
@kdy1 kdy1 modified the milestones: Planned, v1.6.4 Jun 22, 2024
@swc-project swc-project locked as resolved and limited conversation to collaborators Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant