Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Dependencies
run: npm ci
run: npm install

- name: Build
run: npm run build
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,5 @@ typings/

# Ignore built ts files
dist/**/*
/.idea/
package-lock.json
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,22 @@ export AFTERPAY_SECRET_KEY="************"

### Running the Server

Install dependencies:
**Install dependencies:**

```sh
npm install
```

Build the server:
**Note**, Block employees only: should also follow extra setup instructions present at `go/ap-sdk-docs`.

---
**Build the server:**

```sh
npm run build
```

Run the server:
**Run the server:**

```sh
npm run start
Expand Down
17 changes: 17 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import tsParser from '@typescript-eslint/parser';
import tsPlugin from '@typescript-eslint/eslint-plugin';

export default [
{
files: ["src/**/*.ts"],
plugins: {
'@typescript-eslint': tsPlugin
},
languageOptions: {
parser: tsParser,
parserOptions: {
project: './tsconfig.json'
}
}
}
];
Loading