post-processing icon indicating copy to clipboard operation
post-processing copied to clipboard

fix: packages exports types

Open userquin opened this issue 1 year ago • 1 comments

This PR fixed subpackges exports for node10 and node16 and also includes:

  • adds "typesVersions" to fix node10 types resolutions
  • adds rollupTypes: true to rollup dts plugin to emit vue types in js instead on vue.d.ts
  • ~~pins typescript to v5.4.2, we need some ts update (https://github.com/microsoft/rushstack/issues/5052)~~
  • ~~adds typescript and @arethetypeswrong/cli to ignore deps in renovate.json~~
  • fixes types in playground (tsconfig.json) and playground-nuxt (added ts entry to resolve types and also updated the dependency to use workspace protocol instead using npm registry)
  • adds @arethetypeswrong/cli to check types are not broken: added also test:attw script, we need to figure out where we can run it on CI here
  • ~~patches @arethetypeswrong/cli to allow run test:attw script on Windows (running npm pack on Windows failing)~~ updating npm cli from 10.3.2 to 10.9 works on my Windows

/cc @brc-dd thx for the help

Looks like some ts dependencies not yet updated, api extractor failing when using ts 5.7.2 but using pnpm.overrides fix the problem: @brc-dd thx again

Running test:attw script:

image

userquin avatar Dec 20 '24 14:12 userquin

@userquin Is this PR still valid since we went back from submodules now?

Tinoooo avatar Mar 09 '25 11:03 Tinoooo