Skip to content

Commit 56655c1

Browse files
🌿 Fern Regeneration -- December 20, 2024 (#451)
* SDK regeneration * Add integration tests * update ci.yml * give "Message that creates a converation" test more time * add package.json name back * Add publish to ci.yml * Manually update types to not wrap body params in a body property --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
1 parent dd45735 commit 56655c1

File tree

555 files changed

+34636
-13729
lines changed

Some content is hidden

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

555 files changed

+34636
-13729
lines changed

.circleci/config.yml

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

.editorconfig

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

.eslintignore

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

.eslintrc

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

.fernignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
.github/PULL_REQUEST_TEMPLATE.md
44
.gitattributes
55
LICENSE
6-
REPO_OWNER
6+
REPO_OWNER
7+
tests/integration
8+
.github/workflows/ci.yml

.github/workflows/ci.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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
31+
32+
- name: Test
33+
run: yarn test
34+
env:
35+
INTERCOM_API_KEY: ${{ secrets.INTERCOM_API_KEY }}
36+
37+
publish:
38+
needs: [ compile, test ]
39+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
40+
runs-on: ubuntu-latest
41+
steps:
42+
- name: Checkout repo
43+
uses: actions/checkout@v3
44+
- name: Set up node
45+
uses: actions/setup-node@v3
46+
- name: Install dependencies
47+
run: yarn install
48+
- name: Build
49+
run: yarn build
50+
51+
- name: Publish to npm
52+
run: |
53+
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
54+
if [[ ${GITHUB_REF} == *alpha* ]]; then
55+
npm publish --access public --tag alpha
56+
elif [[ ${GITHUB_REF} == *beta* ]]; then
57+
npm publish --access public --tag beta
58+
else
59+
npm publish --access public
60+
fi
61+
env:
62+
NPM_TOKEN: ${{ secrets.FERN_NPM_TOKEN }}

.gitignore

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,3 @@
1-
### Node ###
2-
# Logs
3-
logs
4-
*.log
5-
npm-debug.log*
6-
7-
# Runtime data
8-
pids
9-
*.pid
10-
*.seed
11-
12-
# Coverage directory used by nyc
13-
.nyc_output
14-
15-
# node-waf configuration
16-
.lock-wscript
17-
18-
# Dependency directory
19-
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
201
node_modules
21-
22-
# Compiled version
23-
dist
24-
25-
# Yarn 3.x
26-
.pnp.*
27-
.yarn/*
28-
!.yarn/patches
29-
!.yarn/plugins
30-
!.yarn/releases
31-
!.yarn/sdks
32-
!.yarn/versions
33-
34-
# Typescript mappings for lib
35-
lib/*.map
36-
lib/**/*.map
37-
# Typescript mappings for test
38-
test/*.map
39-
test/**/*.map
40-
# Generated Javascript
41-
lib/*.js
42-
lib/**/*.js
43-
test/*.js
44-
test/**/*.js
2+
.DS_Store
3+
/dist

.npmignore

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
# Should exist, because dist is in .gitignore
2-
# More here: https://docs.npmjs.com/cli/v8/using-npm/developers#keeping-files-out-of-your-package
1+
node_modules
2+
src
3+
tests
4+
.gitignore
5+
.github
6+
.fernignore
7+
.prettierrc.yml
8+
tsconfig.json
9+
yarn.lock

.nycrc

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

.prettierignore

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

0 commit comments

Comments
 (0)