Skip to content

Commit

Permalink
🌿 Fern Regeneration -- December 20, 2024 (#451)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
fern-api[bot] and Swimburger authored Dec 22, 2024
1 parent dd45735 commit 56655c1
Show file tree
Hide file tree
Showing 555 changed files with 34,636 additions and 13,729 deletions.
64 changes: 0 additions & 64 deletions .circleci/config.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .editorconfig

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

46 changes: 0 additions & 46 deletions .eslintrc

This file was deleted.

4 changes: 3 additions & 1 deletion .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
.github/PULL_REQUEST_TEMPLATE.md
.gitattributes
LICENSE
REPO_OWNER
REPO_OWNER
tests/integration
.github/workflows/ci.yml
62 changes: 62 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: ci

on: [push]

jobs:
compile:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up node
uses: actions/setup-node@v3

- name: Compile
run: yarn && yarn build

test:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up node
uses: actions/setup-node@v3

- name: Compile
run: yarn

- name: Test
run: yarn test
env:
INTERCOM_API_KEY: ${{ secrets.INTERCOM_API_KEY }}

publish:
needs: [ compile, test ]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build

- name: Publish to npm
run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
if [[ ${GITHUB_REF} == *alpha* ]]; then
npm publish --access public --tag alpha
elif [[ ${GITHUB_REF} == *beta* ]]; then
npm publish --access public --tag beta
else
npm publish --access public
fi
env:
NPM_TOKEN: ${{ secrets.FERN_NPM_TOKEN }}
45 changes: 2 additions & 43 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,44 +1,3 @@
### Node ###
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Coverage directory used by nyc
.nyc_output

# node-waf configuration
.lock-wscript

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules

# Compiled version
dist

# Yarn 3.x
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Typescript mappings for lib
lib/*.map
lib/**/*.map
# Typescript mappings for test
test/*.map
test/**/*.map
# Generated Javascript
lib/*.js
lib/**/*.js
test/*.js
test/**/*.js
.DS_Store
/dist
11 changes: 9 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# Should exist, because dist is in .gitignore
# More here: https://docs.npmjs.com/cli/v8/using-npm/developers#keeping-files-out-of-your-package
node_modules
src
tests
.gitignore
.github
.fernignore
.prettierrc.yml
tsconfig.json
yarn.lock
17 changes: 0 additions & 17 deletions .nycrc

This file was deleted.

3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

8 changes: 0 additions & 8 deletions .prettierrc.json

This file was deleted.

2 changes: 2 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tabWidth: 4
printWidth: 120
4 changes: 0 additions & 4 deletions .vscode/settings.json

This file was deleted.

768 changes: 0 additions & 768 deletions .yarn/releases/yarn-3.1.1.cjs

This file was deleted.

3 changes: 0 additions & 3 deletions .yarnrc.yml

This file was deleted.

Loading

0 comments on commit 56655c1

Please sign in to comment.