Skip to content

Commit

Permalink
[feature]: Debugging Reporter (#2910)
Browse files Browse the repository at this point in the history
* Add script command. Remove sample backend script

Signed-off-by: sirugh <rugh@adobe.com>

* Initial

Signed-off-by: sirugh <rugh@adobe.com>

* More

Signed-off-by: sirugh <rugh@adobe.com>

* cleanup

Signed-off-by: sirugh <rugh@adobe.com>

* remove unused const

Signed-off-by: sirugh <rugh@adobe.com>

* Update bug report template

Signed-off-by: sirugh <rugh@adobe.com>

* Update bug report template

* Remove magento version check since not all backends will expose it

Signed-off-by: sirugh <rugh@adobe.com>

* process.version() -> process.version

* Parsing package-lock.json directly to get version details.

* Using @yarnpkg/lockfile to generate dep-version list.

* Added try catch around os version check.

* Removed unnecessary code.

* Version updates.

* Added supprort for multiple versions.

* Minor logger change.

* Added mock fixtures.

* Added initial test work.

* Added yarn.lock tests.

* Added npm related tests.

* Added other tests.

* Added support for @adobe packages scanning.

* Run tests if env is valid.

Co-authored-by: Revanth Kumar <revanth0212@gmail.com>
Co-authored-by: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com>
Co-authored-by: Devagouda <40405790+dpatil-magento@users.noreply.github.com>
  • Loading branch information
4 people authored Jan 29, 2021
1 parent d39d7b6 commit 28026fb
Show file tree
Hide file tree
Showing 11 changed files with 997 additions and 20 deletions.
46 changes: 26 additions & 20 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Bug Report
about: Report a bug you've found in our code!
title: "[bug]: A short, simple sentence describing the bug"
title: '[bug]: A short, simple sentence describing the bug'
labels: bug
assignees: ''
---
Expand All @@ -19,44 +19,50 @@ Feel free to remove this section before creating this issue.
-->

**Describe the bug**

A clear and concise description of what the bug is.

**To reproduce**

Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**

A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
If applicable, add screenshots to help explain your problem.

**Possible solutions**

Add any ideas about possible solutions to the problem here.

**Debug Report**

Paste the output of `yarn build:report`, and any other context about the problem, here.

**Please complete the following device information:**
- Device [e.g. iPhone6, PC, Mac, Pixel3]:
- OS [e.g. iOS8.1, Windows 10]:
- Browser [e.g. Chrome, Safari]:
- Browser Version [e.g. 22]:
- Magento Version:
- PWA Studio Version:
- NPM version `npm -v`:
- Node Version `node -v`:

- Device [e.g. iPhone6, PC, Mac, Pixel3]:
- Browser [e.g. Chrome, Safari]:
- Browser Version [e.g. 22]:
- Magento Version [e.g Magento Commerce 2.4]:

<!-- Complete the following sections to help us apply appropriate labels! -->

**Please let us know what packages this bug is in regards to:**
- [ ] `venia-concept`
- [ ] `venia-ui`
- [ ] `pwa-buildpack`
- [ ] `peregrine`
- [ ] `pwa-devdocs`
- [ ] `upward-js`
- [ ] `upward-spec`
- [ ] `create-pwa`

- [ ] `venia-concept`
- [ ] `venia-ui`
- [ ] `pwa-buildpack`
- [ ] `peregrine`
- [ ] `pwa-devdocs`
- [ ] `upward-js`
- [ ] `upward-spec`
- [ ] `create-pwa`
264 changes: 264 additions & 0 deletions packages/pwa-buildpack/lib/__fixtures__/mock-package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions packages/pwa-buildpack/lib/__fixtures__/mock-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "test_package",
"version": "0.0.1",
"dependencies": {
"@magento/pwa-buildpack": "7.0.0"
},
"devDependencies": {
"@adobe/apollo-link-mutation-queue": "1.0.2",
"@magento/peregrine": "8.0.0",
"@magento/venia-ui": "5.0.0"
}
}
Loading

0 comments on commit 28026fb

Please sign in to comment.