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

Breaking change in 3.3.0 version #220

Open
SuperOleg39 opened this issue Aug 11, 2023 · 0 comments
Open

Breaking change in 3.3.0 version #220

SuperOleg39 opened this issue Aug 11, 2023 · 0 comments

Comments

@SuperOleg39
Copy link

  • Version: 3.3.0 / 3.4.4
  • Rollup Version: 2.79.1
  • Operating System and version (if applicable): MacOS / Github Actions
  • Node Version (if applicable): 18
  • Does it work with tsc (if applicable): yes

Reproduction

  1. git clone git@github.com:tramvaijs/tramvai.git
  2. yarn
  3. cd packages/cli
  4. yarn build

Expected Behavior

Package compiled successfully

Actual Behavior

Catch this error:

Cannot find module '@tinkoff/utils/object/map'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?] {
  frame: '\n' +
    "\x1B[7m1\x1B[0m import mapObj from '@tinkoff/utils/object/map';\n" +
    '\x1B[7m \x1B[0m \x1B[91m                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~\x1B[0m\n',
  code: 'PLUGIN_ERROR',
  length: 27,
  loc: {
    file: '/Users/o.drapeza/workspaces/github/tramvai/packages/cli/migrations/d2023-02-01b-tramvai-config-refactoring.ts',
    line: 1,
    column: 20
  },
  pos: 0,
  pluginCode: 'TS2792',
  plugin: 'Typescript',
  hook: 'generateBundle'
}

Additional information

We use a custom wrapper around rollup, here is rollup-plugin-ts config - https://github.com/tramvaijs/tramvai/blob/main/tools/build/src/builds/migrations.ts#L36

Here is failed build library tsconfig (inherited) - https://github.com/tramvaijs/tramvai/blob/main/packages/cli/tsconfig.json

Version 3.2.0 works perfect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant