Skip to content

Commit e4cf78a

Browse files
committed
Release 0.1.0
0 parents  commit e4cf78a

File tree

525 files changed

+19305
-0
lines changed

Some content is hidden

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

525 files changed

+19305
-0
lines changed

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Specify files that shouldn't be modified by Fern

.github/workflows/ci.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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: Test
30+
run: |
31+
yarn
32+
yarn fern test --command='jest --env=node'
33+
yarn fern test --command='jest --env=jsdom'
34+
35+
publish:
36+
needs: [ compile, test ]
37+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
38+
runs-on: ubuntu-latest
39+
40+
steps:
41+
- name: Checkout repo
42+
uses: actions/checkout@v3
43+
44+
- name: Set up node
45+
uses: actions/setup-node@v3
46+
47+
- name: Install dependencies
48+
run: yarn install
49+
50+
- name: Build
51+
run: yarn build

.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

.prettierrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
tabWidth: 4
2+
printWidth: 120

package.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "",
3+
"version": "0.1.0",
4+
"private": false,
5+
"repository": "https://github.com/fern-demo/beehiiv-typescript",
6+
"main": "./index.js",
7+
"types": "./index.d.ts",
8+
"scripts": {
9+
"format": "prettier . --write --ignore-unknown",
10+
"build": "tsc",
11+
"prepack": "cp -rv dist/. ."
12+
},
13+
"dependencies": {
14+
"url-join": "4.0.1",
15+
"form-data": "4.0.0",
16+
"node-fetch": "2.7.0",
17+
"qs": "6.11.2",
18+
"js-base64": "3.7.2"
19+
},
20+
"devDependencies": {
21+
"@types/url-join": "4.0.1",
22+
"@types/qs": "6.9.8",
23+
"@types/node-fetch": "2.6.9",
24+
"@types/node": "17.0.33",
25+
"prettier": "2.7.1",
26+
"typescript": "4.6.4"
27+
}
28+
}

0 commit comments

Comments
 (0)