ionic-team / ionic-team/rollup-plugin-node-polyfills

Fix deprecated package dependency

Đang mở
#2 2 bình luận 8 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
142
Fork
65
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Great work creating this plugin to help us use Node libs in Stencil. 🎉

But it would be good to update package dependencies from https://www.npmjs.com/package/rollup-plugin-node-polyfills?activeTab=dependencies

```
warning rollup-plugin-node-polyfills > rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
```

I checked my `package-lock.json` and found:

```JSON
"rollup-plugin-node-polyfills": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/rollup-plugin-node-polyfills/-/rollup-plugin-node-polyfills-0.2.1.tgz",
"integrity": "sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA==",
"dev": true,
"requires": {
"rollup-plugin-inject": "^3.0.0"
}
},
```

It would be great to change to use ` @rollup/plugin-inject`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by inspecting package-lock.json and the package dependency declarations that bring in rollup-plugin-inject. Check the npm dependency tree for the deprecation warning, update the dependency to @rollup/plugin-inject, and verify that installation completes without the warning.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, rollup
Lĩnh vực
build-system, tooling
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.