-
-
Notifications
You must be signed in to change notification settings - Fork 580
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add npm and pnpm workspace example #3746
Reference: #3746 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
- Loading branch information
1 parent
f848741
commit ae2af48
Showing
35 changed files
with
201,286 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
tests/packagedcode/data/npm/pnpm/workspace/pnpm-workspace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
packages: | ||
- 'packages/*' | ||
- 'examples/ecmascript' | ||
- 'examples/es-module' | ||
- 'examples/markdown' | ||
- 'examples/indentation-sensitive' | ||
- 'examples/operators' | ||
- 'examples/simple-lisp' | ||
- 'examples/typescript' |
56 changes: 56 additions & 0 deletions
56
tests/packagedcode/data/npm/pnpm/workspace/pnpm-workspace.yaml-expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[ | ||
{ | ||
"type": "npm", | ||
"namespace": null, | ||
"name": null, | ||
"version": null, | ||
"qualifiers": {}, | ||
"subpath": null, | ||
"primary_language": "JavaScript", | ||
"description": null, | ||
"release_date": null, | ||
"parties": [], | ||
"keywords": [], | ||
"homepage_url": null, | ||
"download_url": null, | ||
"size": null, | ||
"sha1": null, | ||
"md5": null, | ||
"sha256": null, | ||
"sha512": null, | ||
"bug_tracking_url": null, | ||
"code_view_url": null, | ||
"vcs_url": null, | ||
"copyright": null, | ||
"holder": null, | ||
"declared_license_expression": null, | ||
"declared_license_expression_spdx": null, | ||
"license_detections": [], | ||
"other_license_expression": null, | ||
"other_license_expression_spdx": null, | ||
"other_license_detections": [], | ||
"extracted_license_statement": null, | ||
"notice_text": null, | ||
"source_packages": [], | ||
"file_references": [], | ||
"is_private": false, | ||
"extra_data": { | ||
"workspaces": [ | ||
"packages/*", | ||
"examples/ecmascript", | ||
"examples/es-module", | ||
"examples/markdown", | ||
"examples/indentation-sensitive", | ||
"examples/operators", | ||
"examples/simple-lisp", | ||
"examples/typescript" | ||
] | ||
}, | ||
"dependencies": [], | ||
"repository_homepage_url": null, | ||
"repository_download_url": null, | ||
"api_data_url": null, | ||
"datasource_id": "pnpm_workspace_yaml", | ||
"purl": null | ||
} | ||
] |
Oops, something went wrong.