You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, our NPM package lacks clear organization regarding which utility functions, constants, and helpers are meant for public use versus internal use. This lack of structure can lead to confusion and misuse of internal functions. To address this, we need to revisit our exports, create a public_api file, and ensure only necessary functions and utilities are exposed to the end users.
Task
Identify and classify all utility functions, constants, and helpers as either "Public API" or "Internal".
Refactor the package to export only the designated public API items from the main entry points.
Create a public_api.ts file to define and organize the public API.
Document the public API with usage examples and explanations.
Add internal aliases to facilitate easier development.
Example of Adding public_api Reference in the Build
Parent Issue
#30943
Overview
Currently, our NPM package lacks clear organization regarding which utility functions, constants, and helpers are meant for public use versus internal use. This lack of structure can lead to confusion and misuse of internal functions. To address this, we need to revisit our exports, create a public_api file, and ensure only necessary functions and utilities are exposed to the end users.
Task
Example of Adding
public_api
Reference in the BuildFile:
project.json
Proposed Objective
Core Features
Proposed Priority
Priority 3 - Average
Acceptance Criteria
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
No response
Assumptions & Initiation Needs
Quality Assurance Notes & Workarounds
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: