Skip to content

Commit 1b9c651

Browse files
authored
Merge pull request #66 from Pyrax/feat-modernized-monorepo
feat: updated stack
2 parents 7bdf6a9 + f62eae2 commit 1b9c651

File tree

3,948 files changed

+4700
-122584
lines changed

Some content is hidden

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

3,948 files changed

+4700
-122584
lines changed

.babelrc

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

.eslintignore

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

.eslintrc

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

.github/workflows/codeql-analysis.yml

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

.github/workflows/github-pages.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: github pages
22

33
on:
4-
pull_request:
5-
branches:
6-
- master
74
push:
85
branches:
96
- master
@@ -12,24 +9,26 @@ jobs:
129
deploy:
1310
runs-on: ubuntu-22.04
1411
steps:
15-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1613

17-
- name: Setup Node
18-
uses: actions/setup-node@v3
14+
- name: Setup Bun
15+
uses: oven-sh/setup-bun@v2
1916
with:
20-
node-version: '18.x'
21-
cache: 'yarn'
17+
bun-version-file: 'package.json'
18+
19+
- run: bun install --frozen-lockfile
20+
- run: bun lint
21+
22+
- name: Build react-netlify-forms
23+
run: bun run build
2224

23-
- run: yarn install
24-
- run: yarn test
25-
- name: Build # builds the docs site with --prefix-paths for gh-pages
26-
run: |
27-
yarn predeploy:prefix
25+
- name: Build docs
26+
run: bun run docs:build
2827
env:
2928
GATSBY_SITE_RECAPTCHA_KEY: ${{ secrets.GATSBY_SITE_RECAPTCHA_KEY }}
3029

3130
- name: Deploy
32-
uses: peaceiris/actions-gh-pages@v3
31+
uses: peaceiris/actions-gh-pages@v4
3332
with:
3433
github_token: ${{ secrets.GITHUB_TOKEN }}
35-
publish_dir: ./www/public
34+
publish_dir: ./packages/docs/dist

.github/workflows/publish-github-packages.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ jobs:
88
publish-gpr:
99
runs-on: ubuntu-22.04
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212

13-
- name: Setup Node
14-
uses: actions/setup-node@v3
13+
- name: Setup Bun
14+
uses: oven-sh/setup-bun@v2
1515
with:
16-
node-version: '18.x'
16+
bun-version-file: 'package.json'
1717
registry-url: 'https://npm.pkg.github.com'
1818
scope: '@Pyrax'
19-
cache: 'yarn'
2019

21-
- run: yarn install
20+
- run: bun install --frozen-lockfile
21+
2222
- name: Autoscope package.json
2323
uses: khaazz/action-autoscope@master
2424

25-
- run: yarn publish --registry=https://npm.pkg.github.com/Pyrax
25+
- run: bun publish --registry=https://npm.pkg.github.com/Pyrax --cwd ./packages/react-netlify-forms
2626
env:
2727
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,19 @@ jobs:
1212
semantic-release:
1313
runs-on: ubuntu-22.04
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616

17-
- name: Setup Node
18-
uses: actions/setup-node@v3
17+
- name: Setup Bun
18+
uses: oven-sh/setup-bun@v2
1919
with:
20-
node-version: '18.x'
21-
cache: 'yarn'
20+
bun-version-file: 'package.json'
2221

23-
- run: yarn install
22+
- run: bun install --frozen-lockfile
2423
- name: Check tests before release
25-
run: yarn test
24+
run: bun lint
2625

2726
- name: Semantic Release
28-
uses: cycjimmy/semantic-release-action@v3
27+
uses: cycjimmy/semantic-release-action@v4
2928
with:
3029
extra_plugins: |
3130
@semantic-release/git

.gitignore

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
# Dependencies
2+
node_modules
3+
.pnp
4+
.pnp.js
5+
6+
# Testing
7+
coverage
8+
9+
# Production
10+
dist
11+
build
12+
packages/*/dist
13+
packages/*/build
14+
15+
# Misc
16+
.DS_Store
17+
.env.local
18+
.env.development.local
19+
.env.test.local
20+
.env.production.local
21+
.env
22+
23+
# Logs
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
bun-debug.log*
28+
bun-error.log*
29+
30+
# Editor directories and files
31+
.idea
32+
.vscode
33+
*.suo
34+
*.ntvs*
35+
*.njsproj
36+
*.sln
37+
*.sw?
38+
39+
# Astro
40+
packages/docs/.astro
41+
packages/docs/dist
42+
143
# Logs
244
logs
345
*.log
@@ -38,7 +80,6 @@ bower_components
3880
build/Release
3981

4082
# Dependency directories
41-
node_modules/
4283
jspm_packages/
4384

4485
# Snowpack dependency directory (https://snowpack.dev/)
@@ -84,9 +125,6 @@ out
84125
.nuxt
85126
dist
86127

87-
# Gatsby files
88-
.cache/
89-
www/public/
90128
# Comment in the public line in if your project uses Gatsby and not Next.js
91129
# https://nextjs.org/blog/next-9-1#public-directory-support
92130
# public

.gitpod.yml

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

0 commit comments

Comments
 (0)