Skip to content

Commit dd9a85b

Browse files
committed
docs: add subsections
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 699d8d2 commit dd9a85b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/contributing/moving_packages.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ Ref: https://github.com/stdlib-js/stdlib/issues/4797
177177

178178
### 6. Remove the export of the original package from its parent namespace
179179

180+
#### a. Namespace exports
181+
180182
Next, open the `lib/index.js` file found in the parent namespace of the original package (e.g., `lib/node_modules/@stdlib/stats/base/lib/index.js`).
181183

182184
If that file includes an exported symbol from the original package, remove it. For example,
@@ -193,6 +195,8 @@ If that file includes an exported symbol from the original package, remove it. F
193195
- setReadOnly( ns, 'dmax', require( '@stdlib/stats/base/dmax' ) );
194196
```
195197

198+
#### b. Namespace TypeScript declarations
199+
196200
Next, open the `docs/types/index.d.ts` file found in the parent namespace of the original package (e.g., `lib/node_modules/@stdlib/stats/base/docs/types/index.d.ts`).
197201

198202
If that file includes an exported symbol from the original package, remove it. For example,

0 commit comments

Comments
 (0)