Skip to content

Commit 0e2d471

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into spork
2 parents 99d212a + 8b6ff79 commit 0e2d471

Some content is hidden

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

61 files changed

+10172
-7916
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050
NODE_ENV: production
5151
run: npm run build
5252
- name: Store Build Output
53-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
53+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
5454
with:
5555
name: build-output
5656
path: ./build
5757
- name: Store Dist Output
58-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
58+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
5959
with:
6060
name: dist-output
6161
path: ./dist
@@ -70,7 +70,7 @@ jobs:
7070
run: npm run test:integration -- --reporters="default" --reporters="jest-junit" || true
7171
- name: Store Test Results
7272
if: always() # Even if tests fail
73-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
73+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
7474
with:
7575
name: test-output
7676
path: ./test-results/* # Both unit and integration test results
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "Signature Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,closed,synchronize]
7+
8+
permissions:
9+
actions: write
10+
contents: read
11+
pull-requests: write
12+
statuses: write
13+
14+
jobs:
15+
CLA-Assistant:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: "CLA Assistant"
19+
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
20+
uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
# the below token should have repo scope and must be manually added by you in the repository's secrets
24+
PERSONAL_ACCESS_TOKEN: ${{ secrets.GHA_AGREEMENTS_PAT }}
25+
with:
26+
remote-organization-name: 'scratchfoundation'
27+
remote-repository-name: 'scratch-agreements'
28+
path-to-signatures: 'signatures/version1/cla.json'
29+
path-to-document: 'https://github.com/scratchfoundation/scratch-agreements/blob/main/CLA.md'
30+
branch: 'main'
31+
allowlist: semantic-release-bot,*[bot]

CHANGELOG.md

Lines changed: 860 additions & 29 deletions
Large diffs are not rendered by default.

LICENSE

Lines changed: 656 additions & 7 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
11
# scratch-gui
22

3-
Scratch GUI is a set of React components that comprise the interface for creating and running Scratch 3.0 projects
3+
## **⚠️ NOTICE: Repository Migration to Mono-Repo ⚠️**
4+
5+
The Scratch Team has migrated the `scratch-gui` module into a new mono-repo,
6+
[`scratch-editor`](https://github.com/scratchfoundation/scratch-editor). This independent `scratch-gui` repository
7+
**will be archived**. Any new issues or pull requests should be opened in the mono-repo.
8+
9+
The new mono-repo version of `scratch-gui` is published to the NPM registry as
10+
[`@scratch/scratch-gui`](https://www.npmjs.com/package/@scratch/scratch-gui).
11+
12+
**Contributors:**
13+
14+
* I would like to thank all past contributors for their work on this repository.
15+
* If you are aware of valuable issues or pull requests, please consider re-opening them in the mono-repo. If you do
16+
so, please link the new issue or pull request to the original one in this repository to help others find it and to
17+
reduce the chance of duplicate work.
18+
* We apologize for the inconvenience and greatly appreciate your help with this transition!
19+
20+
For more information, see the [`scratch-editor` repository on GitHub](https://github.com/scratchfoundation/scratch-editor).
21+
22+
## Overview
23+
24+
Scratch GUI is a set of React components that comprise the interface for creating and running Scratch 3.0 projects.
425

526
To open the current build in your browser on Github Pages:
627

7-
https://scratchfoundation.github.io/scratch-gui/
28+
<https://scratchfoundation.github.io/scratch-gui/>
829

930
## Installation
1031

@@ -45,7 +66,6 @@ Then go to [http://localhost:8601/](http://localhost:8601/) - the playground out
4566

4667
### Getting another repo to point to this code
4768

48-
4969
If you wish to develop `scratch-gui` alongside other scratch repositories that depend on it, you may wish
5070
to have the other repositories use your local `scratch-gui` build instead of fetching the current production
5171
version of the scratch-gui that is found by default using `npm install`.
@@ -70,7 +90,7 @@ Instead of `BUILD_MODE=dist npm run build`, you can use `BUILD_MODE=dist npm run
7090
changes to your `scratch-gui` code, and automatically rebuild when there are changes. Sometimes this has been
7191
unreliable; if you are having problems, try going back to `BUILD_MODE=dist npm run build` until you resolve them.
7292

73-
#### Oh no! It didn't work!
93+
#### Oh no! It didn't work
7494

7595
If you can't get linking to work right, try:
7696

@@ -93,7 +113,7 @@ See [jest cli docs](https://facebook.github.io/jest/docs/en/cli.html#content) fo
93113

94114
### Running tests
95115

96-
*NOTE: If you're a Windows user, please run these scripts in Windows `cmd.exe` instead of Git Bash/MINGW64.*
116+
_NOTE: If you're a Windows user, please run these scripts in Windows `cmd.exe` instead of Git Bash/MINGW64._
97117

98118
Before running any tests, make sure you have run `npm install` from this (scratch-gui) repository's top level.
99119

@@ -215,15 +235,6 @@ npm install --no-optional --save-dev react-responsive@^5.0.0
215235

216236
Further reading: [Stack Overflow](https://stackoverflow.com/questions/46602286/npm-requires-a-peer-of-but-all-peers-are-in-package-json-and-node-modules)
217237

218-
## Troubleshooting
219-
220-
If you run into npm install errors, try these steps:
221-
222-
1. run `npm cache clean --force`
223-
2. Delete the node_modules directory
224-
3. Delete package-lock.json
225-
4. run `npm install` again
226-
227238
## Publishing to GitHub Pages
228239

229240
You can publish the GUI to github.io so that others on the Internet can view it.

0 commit comments

Comments
 (0)