Skip to content

Commit

Permalink
Brs cra5 (#143)
Browse files Browse the repository at this point in the history
* Set packages private

* Add documents

* Update tasks

* Update workflows

* Modify the condition of workflow

* Change to Yarn

* Keep it consistent with CRA5

Revert all changes in this file, and keep it consistent with CRA5,
Will create new workflow to build and test BRS

* Delete build-brs.yml
  • Loading branch information
DannySu2021 authored Apr 26, 2022
1 parent 9673858 commit eac60f5
Show file tree
Hide file tree
Showing 19 changed files with 1,056 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build

on: [push]
on:
push:
branches: [fork_cra5]
pull_request:
branches: [fork_cra5]

jobs:
build:
Expand All @@ -9,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: 16.x
cache: 'npm'
- name: Install npm@8
run: npm i -g npm@8
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Lint

on: [push]
on:
push:
branches: [fork_cra5]
pull_request:
branches: [fork_cra5]

jobs:
lint:
Expand All @@ -9,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: 16.x
cache: 'npm'
- name: Install npm@8
run: npm i -g npm@8
Expand Down
1 change: 1 addition & 0 deletions packages/babel-plugin-named-asset-import/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "babel-plugin-named-asset-import",
"version": "0.3.8",
"private": true,
"description": "Babel plugin for named asset imports in Create React App",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/babel-preset-react-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "babel-preset-react-app",
"version": "10.0.1",
"private": true,
"description": "Babel preset used by Create React App",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/confusing-browser-globals/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "confusing-browser-globals",
"version": "1.0.11",
"private": true,
"description": "A list of browser globals that are often used by mistake instead of local variables",
"license": "MIT",
"main": "index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/cra-template-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "cra-template-typescript",
"version": "1.1.3",
"private": true,
"keywords": [
"react",
"create-react-app",
Expand Down
1 change: 1 addition & 0 deletions packages/cra-template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "cra-template",
"version": "1.1.3",
"private": true,
"keywords": [
"react",
"create-react-app",
Expand Down
1 change: 1 addition & 0 deletions packages/create-react-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "create-react-app",
"version": "5.0.0",
"private": true,
"keywords": [
"react"
],
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config-react-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "eslint-config-react-app",
"version": "7.0.0",
"private": true,
"description": "ESLint configuration used by Create React App",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/react-app-polyfill/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "react-app-polyfill",
"version": "3.0.0",
"private": true,
"description": "Polyfills for various browsers including commonly used language features",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "react-dev-utils",
"version": "12.0.0",
"private": true,
"description": "webpack utilities used by Create React App",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "react-error-overlay",
"version": "6.0.10",
"private": true,
"description": "An overlay for displaying stack frames.",
"main": "lib/index.js",
"sideEffects": false,
Expand Down
Loading

0 comments on commit eac60f5

Please sign in to comment.