Skip to content

Commit eac9944

Browse files
authored
Merge pull request #163 from square/fern-bot/01-21-2025-0801PM
Migrate to new SDK format
2 parents 3f7d17a + 6a03781 commit eac9944

File tree

5,128 files changed

+130089
-58070
lines changed

Some content is hidden

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

5,128 files changed

+130089
-58070
lines changed

.fernignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Specify files that shouldn't be modified by Fern
2+
3+
README.md
4+
5+
.github/workflows/integration.yml
6+
src/wrapper
7+
src/index.ts
8+
src/errors/SquareError.ts
9+
src/core/index.ts
10+
src/core/crypto
11+
tests/unit/error.test.ts
12+
tests/unit/fetcher/stream-wrappers/webpack.test.ts
13+
tests/integration
14+
legacy
15+
jest.config.mjs

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/labeler.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/pull_request_template.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: ci
2+
3+
on: [push]
4+
5+
jobs:
6+
compile:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repo
11+
uses: actions/checkout@v3
12+
13+
- name: Set up node
14+
uses: actions/setup-node@v3
15+
16+
- name: Compile
17+
run: yarn && yarn build
18+
19+
test:
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- name: Checkout repo
24+
uses: actions/checkout@v3
25+
26+
- name: Set up node
27+
uses: actions/setup-node@v3
28+
29+
- name: Compile
30+
run: yarn && yarn test

.github/workflows/integration.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ci
2+
3+
on: [push]
4+
5+
jobs:
6+
integration:
7+
env:
8+
TEST_SQUARE_TOKEN: ${{ secrets.TEST_SQUARE_TOKEN }}
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repo
12+
uses: actions/checkout@v3
13+
14+
- name: Set up node
15+
uses: actions/setup-node@v3
16+
17+
- name: Run integration tests
18+
# TODO: Replace the following 'run' statement with the following when TEST_SQUARE_TOKEN secret exists.
19+
# run: yarn && yarn test:integration
20+
run: yarn

.github/workflows/node.js.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
.DS_Store
3+
/dist

.npmignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules
2+
src
3+
tests
4+
.gitignore
5+
.github
6+
.fernignore
7+
.prettierrc.yml
8+
tsconfig.json
9+
yarn.lock

0 commit comments

Comments
 (0)