Skip to content

Cannot complile 4.1.0 #370

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

Closed
gladykov opened this issue Apr 4, 2025 · 1 comment · Fixed by #372 or #373
Closed

Cannot complile 4.1.0 #370

gladykov opened this issue Apr 4, 2025 · 1 comment · Fixed by #372 or #373
Assignees
Labels
bug Indicates a reported issue or malfunction that needs fixing.
Milestone

Comments

@gladykov
Copy link

gladykov commented Apr 4, 2025

tsc

node_modules/jira.js/out/version3/parameters/updatePlan.d.ts:1:181 - error TS2307: Cannot find module '@jirajs/version3/models' or its corresponding type declarations.

1 import { CreateCrossProjectReleaseRequest, CreateCustomFieldRequest, CreateExclusionRulesRequest, CreateIssueSourceRequest, CreatePermissionRequest, CreateSchedulingRequest } from '@jirajs/version3/models';

Used in my code as : import { Version3Client } from 'jira.js';

Node: v20.19.0

tsconfig.json

{
  "compilerOptions": {
    "module": "es2022",
    "moduleResolution": "Node",
    "target": "esnext",
    "esModuleInterop": true,
    "lib": [
      "ES2021.String",
      "dom"
    ],
    "allowSyntheticDefaultImports": true,
    "allowImportingTsExtensions": true,
    "noEmit": true
  }
}
@MrRefactoring MrRefactoring self-assigned this Apr 4, 2025
@MrRefactoring MrRefactoring added the bug Indicates a reported issue or malfunction that needs fixing. label Apr 4, 2025
@MrRefactoring MrRefactoring added this to the v4.1.1 milestone Apr 4, 2025
MrRefactoring added a commit that referenced this issue Apr 4, 2025
- **Fix:** Fixed compilation issues for projects using the `Plans.updatePlan` method in `Version3Client`. Thanks to Jakub Gladykowski ([gladykov](https://github.com/gladykov)) for reporting this issue ([#370](#370)).
- **Improvement:** Added `string` type support for the `projectId` property in the `Version` model for `Version3Client`. Thanks to Carl Fürstenberg ([azatoth](https://github.com/azatoth)) for suggesting this improvement ([#371](#371)).
@MrRefactoring MrRefactoring linked a pull request Apr 4, 2025 that will close this issue
@MrRefactoring MrRefactoring mentioned this issue Apr 4, 2025
MrRefactoring added a commit that referenced this issue Apr 5, 2025
* v4.1.1

- **Fix:** Fixed compilation issues for projects using the `Plans.updatePlan` method in `Version3Client`. Thanks to Jakub Gladykowski ([gladykov](https://github.com/gladykov)) for reporting this issue ([#370](#370)).
- **Improvement:** Added `string` type support for the `projectId` property in the `Version` model for `Version3Client`. Thanks to Carl Fürstenberg ([azatoth](https://github.com/azatoth)) for suggesting this improvement ([#371](#371)).

* projectId marked as optional
@gladykov
Copy link
Author

gladykov commented Apr 5, 2025

Thank you! 🍰

MrRefactoring added a commit that referenced this issue Apr 5, 2025
- **Fix:** Fixed compilation issues for projects using the `Plans.updatePlan` method in `Version3Client`. Thanks to Jakub Gladykowski ([gladykov](https://github.com/gladykov)) for reporting this issue ([#370](#370)).
- **Improvement:** Added `string` type support for the `projectId` property in the `Version` model for `Version3Client`. Thanks to Carl Fürstenberg ([azatoth](https://github.com/azatoth)) for suggesting this improvement ([#371](#371)).
@MrRefactoring MrRefactoring linked a pull request Apr 5, 2025 that will close this issue
MrRefactoring added a commit that referenced this issue Apr 5, 2025
- **Fix:** Fixed compilation issues for projects using the `Plans.updatePlan` method in `Version3Client`. Thanks to Jakub Gladykowski ([gladykov](https://github.com/gladykov)) for reporting this issue ([#370](#370)).
- **Improvement:** Added `string` type support for the `projectId` property in the `Version` model for `Version3Client`. Thanks to Carl Fürstenberg ([azatoth](https://github.com/azatoth)) for suggesting this improvement ([#371](#371)).
MrRefactoring added a commit that referenced this issue Apr 27, 2025
* v4.1.1

- **Fix:** Fixed compilation issues for projects using the `Plans.updatePlan` method in `Version3Client`. Thanks to Jakub Gladykowski ([gladykov](https://github.com/gladykov)) for reporting this issue ([#370](#370)).
- **Improvement:** Added `string` type support for the `projectId` property in the `Version` model for `Version3Client`. Thanks to Carl Fürstenberg ([azatoth](https://github.com/azatoth)) for suggesting this improvement ([#371](#371)).

* projectId marked as optional
MrRefactoring added a commit that referenced this issue Apr 27, 2025
- **Fix:** Fixed compilation issues for projects using the `Plans.updatePlan` method in `Version3Client`. Thanks to Jakub Gladykowski ([gladykov](https://github.com/gladykov)) for reporting this issue ([#370](#370)).
- **Improvement:** Added `string` type support for the `projectId` property in the `Version` model for `Version3Client`. Thanks to Carl Fürstenberg ([azatoth](https://github.com/azatoth)) for suggesting this improvement ([#371](#371)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates a reported issue or malfunction that needs fixing.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants