Skip to content

Commit dd65dca

Browse files
committed
Move beta to top level
1 parent 4c2503a commit dd65dca

File tree

477 files changed

+18
-38
lines changed

Some content is hidden

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

477 files changed

+18
-38
lines changed
File renamed without changes.
File renamed without changes.

beta/.eslintignore .eslintignore

File renamed without changes.

beta/.eslintrc .eslintrc

File renamed without changes.

.github/PULL_REQUEST_TEMPLATE.md

+1-1

.github/labeler.yml

-2
This file was deleted.

.github/workflows/analyze.yml

+4-9
Original file line numberDiff line numberDiff line change
@@ -20,34 +20,30 @@ jobs:
2020

2121
- name: Install dependencies
2222
uses: bahmutov/[email protected]
23-
with:
24-
working-directory: 'beta'
2523

2624
- name: Restore next build
2725
uses: actions/cache@v2
2826
id: restore-build-cache
2927
env:
3028
cache-name: cache-next-build
3129
with:
32-
path: beta/.next/cache
30+
path: .next/cache
3331
# change this if you prefer a more strict cache
3432
key: ${{ runner.os }}-build-${{ env.cache-name }}
3533

3634
- name: Build next.js app
3735
# change this if your site requires a custom build command
3836
run: ./node_modules/.bin/next build
39-
working-directory: beta
4037

4138
# Here's the first place where next-bundle-analysis' own script is used
4239
# This step pulls the raw bundle stats for the current bundle
4340
- name: Analyze bundle
4441
run: npx -p nextjs-bundle-analysis report
45-
working-directory: beta
4642

4743
- name: Upload bundle
4844
uses: actions/upload-artifact@v2
4945
with:
50-
path: beta/.next/analyze/__bundle_analysis.json
46+
path: .next/analyze/__bundle_analysis.json
5147
name: bundle_analysis.json
5248

5349
- name: Download base branch bundle stats
@@ -57,7 +53,7 @@ jobs:
5753
workflow: analyze.yml
5854
branch: ${{ github.event.pull_request.base.ref }}
5955
name: bundle_analysis.json
60-
path: beta/.next/analyze/base/bundle
56+
path: .next/analyze/base/bundle
6157

6258
# And here's the second place - this runs after we have both the current and
6359
# base branch bundle stats, and will compare them to determine what changed.
@@ -75,13 +71,12 @@ jobs:
7571
- name: Compare with base branch bundle
7672
if: success() && github.event.number
7773
run: ls -laR .next/analyze/base && npx -p nextjs-bundle-analysis compare
78-
working-directory: beta
7974

8075
- name: Upload analysis comment
8176
uses: actions/upload-artifact@v2
8277
with:
8378
name: analysis_comment.txt
84-
path: beta/.next/analyze/__bundle_analysis_comment.txt
79+
path: .next/analyze/__bundle_analysis_comment.txt
8580

8681
- name: Save PR number
8782
run: echo ${{ github.event.number }} > ./pr_number

.github/workflows/beta_site_lint.yml .github/workflows/site_lint.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Beta Site Lint / Heading ID check
1+
name: Site Lint / Heading ID check
22

33
on:
44
push:
@@ -22,9 +22,6 @@ jobs:
2222

2323
- name: Install deps and build (with cache)
2424
uses: bahmutov/[email protected]
25-
with:
26-
working-directory: 'beta'
27-
2825

2926
- name: Lint codebase
30-
run: cd beta && yarn ci-check
27+
run: yarn ci-check

beta/.gitignore .gitignore

File renamed without changes.
File renamed without changes.
File renamed without changes.

beta/.prettierrc .prettierrc

File renamed without changes.

beta/CONTRIBUTING.md CONTRIBUTING.md

+2-2

beta/README.md README.md

+7-17

beta/colors.js colors.js

File renamed without changes.

beta/next-env.d.ts next-env.d.ts

File renamed without changes.

beta/next.config.js next.config.js

File renamed without changes.

beta/package.json package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-website",
2+
"name": "react-dev",
33
"version": "1.0.0",
44
"private": true,
55
"license": "CC",
@@ -18,7 +18,7 @@
1818
"ci-check": "npm-run-all prettier:diff --parallel lint tsc lint-heading-ids",
1919
"tsc": "tsc --noEmit",
2020
"start": "next start",
21-
"postinstall": "patch-package && (is-ci || (cd .. && husky install beta/.husky))",
21+
"postinstall": "patch-package && (is-ci || (cd .. && husky install .husky))",
2222
"check-all": "npm-run-all prettier lint:fix tsc"
2323
},
2424
"dependencies": {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)