Skip to content

Commit 0337d4c

Browse files
authored
Merge pull request Shopify#213 from Shopify/add-shopify-prettier-config
Clean up code using @shopify/prettier-config
2 parents 35d8a7d + 46a4ef1 commit 0337d4c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+2210
-1448
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
---
22
name: '🐛 Bug Report'
33
about: Something isn't working
4-
labels: "Type: Bug 🐛"
4+
labels: 'Type: Bug 🐛'
55
---
66

77
# Issue summary
88

99
Write a short description of the issue here ↓
1010

11-
1211
## Expected behavior
1312

1413
What do you think should happen?
1514

16-
1715
## Actual behavior
1816

1917
What actually happens?
2018

2119
Tip: include an error message (in a `<details></details>` tag) if your issue is related to an error
2220

23-
2421
## Steps to reproduce the problem
2522

2623
1.
@@ -31,7 +28,6 @@ Tip: include an error message (in a `<details></details>` tag) if your issue is
3128

3229
The best way to get your bug fixed is to provide a [reduced test case](https://developer.mozilla.org/en-US/docs/Mozilla/QA/Reducing_testcases).
3330

34-
3531
---
3632

3733
## Checklist

.github/ISSUE_TEMPLATE/ENHANCEMENT.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: '📈 Enhancement'
33
about: Enhancement to our codebase that isn't a adding or changing a feature
4-
labels: "Type: Enhancement 📈"
4+
labels: 'Type: Enhancement 📈'
55
---
66

77
## Overview/summary
@@ -18,7 +18,6 @@ labels: "Type: Enhancement 📈"
1818

1919
- [ ] Add any relevant `Area: <area>` labels to this issue
2020

21-
2221
---
2322

2423
## Checklist

.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: '🙌 Feature Request'
33
about: Suggest a new feature, or changes to an existing one
4-
labels: "Type: Feature Request :raised_hands:"
4+
labels: 'Type: Feature Request :raised_hands:'
55
---
66

77
## Overview

.github/PULL_REQUEST_TEMPLATE.md

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Fixes #0000 <!-- link to issue if one exists -->
2727
- [ ] Minor: New feature (non-breaking change which adds functionality)
2828
- [ ] Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)
2929

30-
3130
## Checklist
3231

3332
- [ ] I have added a changelog entry, prefixed by the type of change noted above

.github/workflows/markdown_link_check.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ jobs:
66
markdown-link-check:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@master
10-
- uses: gaurav-nelson/github-action-markdown-link-check@v1
11-
with:
12-
config-file: '.github/workflows/markdown_link_checker_config.json'
13-
9+
- uses: actions/checkout@master
10+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
11+
with:
12+
config-file: '.github/workflows/markdown_link_checker_config.json'

.github/workflows/workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
on: [ push, pull_request ]
1+
on: [push, pull_request]
22
name: CI
33
jobs:
44
CI:

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,40 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88
## Unreleased
9+
910
### Fixed
11+
1012
- Don't include extra params when calculating local hmac [#196](https://github.com/Shopify/shopify-node-api/pull/196)
1113

1214
## [1.4.0] - 2021-05-21
15+
1316
### Added
17+
1418
- Add support for registering Google Pub/Sub webhooks [#181](https://github.com/Shopify/shopify-node-api/pull/181)
1519
- Added `July21` to `ApiVersion` [#181](https://github.com/Shopify/shopify-node-api/pull/181)
1620

1721
## [1.3.0] - 2021-05-12
22+
1823
### Added
24+
1925
- Added Storefront API client under `Shopify.Clients.Storefront`
2026
- Add `isActive()` method to `Session` class to check if session is active, replace `Session` with `SessionInterface` when used as a type [#153](https://github.com/Shopify/shopify-node-api/pull/153)
2127

2228
## [1.2.1] - 2021-03-26
29+
2330
### Added
31+
2432
- Added `April21` to `ApiVersion` [#149](https://github.com/Shopify/shopify-node-api/pull/149)
2533

2634
## [1.2.0] - 2021-03-16
2735

2836
### Added
37+
2938
- Allow plain objects to be returned from the `loadCallback` on `CustomSessionStorage` [#126](https://github.com/shopify/shopify-node-api/pull/126)
3039
- Documentation and example code for `CustomSessionStorage` [#129](https://github.com/shopify/shopify-node-api/pull/129)
3140

3241
### Fixed
42+
3343
- Throw a different error for a missing cookie upon OAuth return [#131](https://github.com/shopify/shopify-node-api/pull/131)
3444
- Improved documentation for GraphQL and Rest Clients. [#123](https://github.com/Shopify/shopify-node-api/pull/123)
3545
- Made Docs directory more browseable in GitHub. [#136](https://github.com/Shopify/shopify-node-api/pull/136)

CODE_OF_CONDUCT.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ religion, or nationality.
1414

1515
Examples of unacceptable behavior by participants include:
1616

17-
* The use of sexualized language or imagery
18-
* Personal attacks
19-
* Trolling or insulting/derogatory comments
20-
* Public or private harassment
21-
* Publishing other's private information, such as physical or electronic
22-
addresses, without explicit permission
23-
* Other unethical or unprofessional conduct
17+
- The use of sexualized language or imagery
18+
- Personal attacks
19+
- Trolling or insulting/derogatory comments
20+
- Public or private harassment
21+
- Publishing other's private information, such as physical or electronic
22+
addresses, without explicit permission
23+
- Other unethical or unprofessional conduct
2424

2525
Project maintainers have the right and responsibility to remove, edit,
2626
or reject comments, commits, code, wiki edits, issues, and other

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# `@shopify/shopify-api`
22

33
<!-- ![Build Status]() -->
4+
45
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE.md)
56
[![npm version](https://badge.fury.io/js/%40shopify%2Fshopify-api.svg)](https://badge.fury.io/js/%40shopify%2Fshopify-api)
67

@@ -18,6 +19,7 @@ This library can be used in any application that has a Node.js backend, since it
1819
# Requirements
1920

2021
To follow these usage guides, you will need to:
22+
2123
- have a basic understanding of [Node.js](https://nodejs.org)
2224
- have a Shopify Partner account and development store
2325
- _OR_ have a test store where you can create a private app
@@ -27,6 +29,7 @@ To follow these usage guides, you will need to:
2729
- have [yarn](https://yarnpkg.com) installed
2830

2931
<!-- Make sure this section is in sync with docs/README.md -->
32+
3033
# Getting started
3134

3235
You can follow our [getting started guide](docs/), which will provide instructions on how to create an app using plain Node.js code, or the [Express](https://expressjs.com/) framework. Both examples are written in Typescript.

RELEASING.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,29 @@
33
1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org
44

55
1. Ensure your local repo is up-to-date
6+
67
```
78
git checkout main && git pull
89
```
910

10-
1. Add an entry for the new release to `CHANGELOG.md`, and/or move the contents from the *Unreleased* to the new release
11+
1. Add an entry for the new release to `CHANGELOG.md`, and/or move the contents from the _Unreleased_ to the new release
1112

1213
1. Increment the version in `src/version.ts`.
1314

1415
1. Stage the `CHANGELOG.md` and `src/version.ts` files
16+
1517
```
1618
git add CHANGELOG.md src/version.ts
1719
```
1820

1921
1. To update the version, create the appropriate tag, commit all staged changes and push to the remote repository
22+
2023
```
2124
yarn version [ --patch | --minor | --major ]
2225
```
2326

2427
Select the applicable option to the `yarn version` command to increment the appropriate part of the version number, i.e., for a version of `x.y.z`,
28+
2529
- `--patch` to increment the `z`
2630
- `--minor` to increment the `y`
2731
- `--major` to increment the `x`

0 commit comments

Comments
 (0)