Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 2 additions & 4 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

## How can I contribute?

- [Suggest](https://github.com/RaspberryPiFoundation/blockly-samples/issues/new?assignees=&labels=status%3A+triage&template=feature_request.yaml) plugins or examples
- [Suggest](https://github.com/RaspberryPiFoundation/blockly-samples/issues/new?assignees=&labels=status%3A+triage&template=feature_request.yaml) examples
- :arrow_right: Start by reading [How To Write A Good Issue](https://docs.blockly.com/guides/modify/contribute/write_a_good_issue)
- Implement plugins
- :arrow_right: Read up on how to [Add a Plugin](https://docs.blockly.com/guides/modify/contribute/add_a_plugin)
- [Report bugs](https://github.com/RaspberryPiFoundation/blockly-samples/issues/new?assignees=&labels=status%3A+triage&template=bug_report.yaml)
- :arrow_right: Start by reading [How To Write A Good Issue](https://docs.blockly.com/guides/modify/contribute/write_a_good_issue)
- Fix bugs
Expand Down Expand Up @@ -37,4 +35,4 @@ This project follows

## More information

Head over to the [Developer Site](https://docs.blockly.com/guides/modify/contributing) for more information, including an [overview of the repository structure](https://docs.blockly.com/guides/modify/contribute/samples_repository_structure) and details of our [publishing process](https://docs.blockly.com/guides/modify/contribute/add_a_plugin#publishing).
Head over to the [Developer Site](https://docs.blockly.com/guides/modify/contributing) for more information, including an [overview of the repository structure](https://docs.blockly.com/guides/modify/contribute/samples_repository_structure).
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ body:
attributes:
label: Component
description: Which component has a bug?
placeholder: e.g. workspace search plugin, RTL demo
placeholder: e.g. RTL demo
- type: textarea
id: description
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ body:
attributes:
label: Component
description: Which component does this request apply to?
placeholder: e.g. workspace search plugin, RTL demo
placeholder: e.g. RTL demo
- type: textarea
id: problem
attributes:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This workflow will lint, build and test Blockly samples.
# This workflow will lint and format Blockly samples.

name: Build and Test

Expand All @@ -8,29 +8,6 @@ permissions:
contents: read

jobs:
build:
timeout-minutes: 10
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Npm CI
run: npm ci

- name: Build
run: npm run build

- name: Test
run: npm run test

lint:
timeout-minutes: 5
runs-on: ubuntu-latest
Expand Down
83 changes: 0 additions & 83 deletions .github/workflows/publish.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ node_modules/
# Generated files
dist/
build/
plugins/*/test/**/*.d.ts
plugins/*/test/**/*.d.ts.map
gh-pages/index.html
gh-pages/plugins
gh-pages/examples
Expand Down
9 changes: 1 addition & 8 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,5 @@ examples/lib/*
CHANGELOG.md
PULL_REQUEST_TEMPLATE.md

# Specific examples that are sometimes copied into plugins
plugins/dev-create/templates/sample-app/*
plugins/dev-create/templates/sample-app-ts/*

# Golden test files
plugins/**/golden/*

/.nx/cache
/.nx/workspace-data
/.nx/workspace-data
63 changes: 0 additions & 63 deletions CHANGELOG.md

This file was deleted.

10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
Blockly Samples <br /> <a href="https://github.com/RaspberryPiFoundation/blockly"><img src="https://tinyurl.com/built-on-blockly" /> </a>
</h1>

Plugins and examples related to the [Blockly](https://github.com/RaspberryPiFoundation/blockly) library.
Examples related to the [Blockly](https://github.com/RaspberryPiFoundation/blockly) library.

This repository has two sections:

- [Plugins](plugins/): self-contained pieces of code that add functionality to Blockly.
- [Examples](examples/): self-contained sample projects demonstrating techniques to include and extend the Blockly library.

Please see our [GitHub Pages site](https://raspberrypifoundation.github.io/blockly-samples/index.html) for interactive demos of most plugins.
This repository contains a variety of [self-contained sample projects](examples/) demonstrating techniques to include and extend the Blockly library.
Please see our [GitHub Pages site](https://raspberrypifoundation.github.io/blockly-samples/index.html) for interactive demos of most examples, as well as plugins, which live in the [core Blockly repository](https://github.com/RaspberryPiFoundation/blockly).

## Support

Expand Down
6 changes: 0 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ module.exports = [
'**/dist/',
'**/build/',
'examples/blockly-svelte/public/bundle.js',
'plugins/migration/test/manual-test-data/',
// specific examples that are sometimes copied into plugins
'plugins/dev-create/templates/sample-app',
'plugins/dev-create/templates/sample-app-ts',
// Golden test files
'plugins/**/golden/*',
],
},
js.configs.recommended, // eslint-recommended
Expand Down
3 changes: 1 addition & 2 deletions examples/headless-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@
]
}
}
</textarea
>
</textarea>
</td>
<td></td>
<td style="width: 50%">
Expand Down
4 changes: 1 addition & 3 deletions gh-pages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ To test locally with a beta version of Blockly, go to the root of blockly-sample

Run the [Update GitHub Pages Action](https://github.com/RaspberryPiFoundation/blockly-samples/actions/workflows/update_gh_pages.yml) from either the `RaspberryPiFoundation/blockly-samples` repo or your fork to deploy to that location automatically. Click the "Run workflow" button to start it. After this workflow finishes, GitHub's built-in "build and deploy" action will automatically start. When that finishes, the updated site will be live.

Note: Updating GitHub Pages is done automatically when publishing plugins through the Publish action.

### Manual

1. Make sure everything is installed (plugins and examples). From root, run:
1. Make sure examples are installed. From root, run:

```
npm install
Expand Down
Loading
Loading