callstack / callstack/react-native-paper
Deprecated Package Warning Adding to New Project
- Ngôn ngữ chính
- TypeScript
- Star
- 14.5k
- Fork
- 2.2k
- Merge trung bình
- 5 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
### Current behaviour
Added to existing RN project via the command
`npm install react-native-paper`
And in my terminal, I get these messages about packages originally used that were in proposal stage but has now been merged:
```
npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm WARN deprecated @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
```
### Expected behaviour
All packages should resolve without the warning deprecation. Getting these warning when adding to a new project would require to update the packages to the non-deprecated version.
### How to reproduce?
Add to a newly initialized project as per [documentation](https://callstack.github.io/react-native-paper/docs/guides/getting-started)
`npm install react-native-paper`
### Preview
### What have you tried so far?
Since this project has just been initialized, I am planning to manually install the packages as per terminal warning.
### Your Environment
react-native@0.73.2
MacOS Ventura 13.6.3
node v. 18.17.1
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với thiết lập getting-started được ghi trong tài liệu và tái hiện các cảnh báo bằng cách chạy `npm install react-native-paper` trong một dự án React Native 0.73.2 mới. Truy vết dependency nào đưa các gói Babel đã lỗi thời vào, sau đó xác minh rằng một lần cài đặt mới hoàn tất mà không có các cảnh báo không còn được khuyến nghị này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native, typescript
- Lĩnh vực
- mobile
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- 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
- 35/100