-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demos #2
Demos #2
Commits on Nov 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2ac315c - Browse repository at this point
Copy the full SHA 2ac315cView commit details -
Update tsconfig.json with target, module, and moduleResolution options
- Set the "target" option to "es2017" - Set the "module" option to "ESNext" - Set the "moduleResolution" option to "Node" - Enable esModuleInterop
Configuration menu - View commit details
-
Copy full SHA for 90448f2 - Browse repository at this point
Copy the full SHA 90448f2View commit details -
Add code for creating a board and running it once
This commit adds the code for creating a board, setting its title and description, as well as adding an input and output. It also wires the input to the output and runs the board once with a message of "Hello World". The result is logged to the console.
Configuration menu - View commit details
-
Copy full SHA for ecba56f - Browse repository at this point
Copy the full SHA ecba56fView commit details -
Configuration menu - View commit details
-
Copy full SHA for aaaa9c1 - Browse repository at this point
Copy the full SHA aaaa9c1View commit details
Commits on Nov 18, 2023
-
Add .gitignore file for Visual Studio Code, macOS, Linux, Node.js, Wi…
…ndows, and Yarn This commit adds a new .gitignore file with rules generated using the '.gitignore Generator' for Visual Studio Code. The rules include specific exclusions for macOS, Linux, Node.js, Windows, and Yarn. The file was created by the Toptal Gitignore API and can be edited at the provided URL.
Configuration menu - View commit details
-
Copy full SHA for 0c988f6 - Browse repository at this point
Copy the full SHA 0c988f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11c009c - Browse repository at this point
Copy the full SHA 11c009cView commit details -
This commit adds a new GitHub Actions workflow file for the "Hello World" project. The workflow is triggered on push, pull request, and manual dispatch events. It runs on Ubuntu latest and includes a matrix strategy for different Node.js versions (19.x, 20.x, 21.x). The steps include checking out the repository, setting up Node.js with the specified version and caching npm dependencies, installing dependencies, making the index.ts file executable, and running it.
Configuration menu - View commit details
-
Copy full SHA for 82efa4d - Browse repository at this point
Copy the full SHA 82efa4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 760b2ac - Browse repository at this point
Copy the full SHA 760b2acView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd028f2 - Browse repository at this point
Copy the full SHA bd028f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e0db56 - Browse repository at this point
Copy the full SHA 3e0db56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9424fc3 - Browse repository at this point
Copy the full SHA 9424fc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5051f0 - Browse repository at this point
Copy the full SHA c5051f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 985041c - Browse repository at this point
Copy the full SHA 985041cView commit details -
Update package.json with engine requirements
- Add "engines" field to specify minimum required Node version - Set "node" to ">=19" - Enable strict enforcement of engine requirements
Configuration menu - View commit details
-
Copy full SHA for b2b2720 - Browse repository at this point
Copy the full SHA b2b2720View commit details -
Update package.json with workspace fields
- Added "name" field for the project name - Set "private" to true to prevent accidental publishing - Added "workspaces" field to include all files in the "./samples/*" directory
Configuration menu - View commit details
-
Copy full SHA for 758d323 - Browse repository at this point
Copy the full SHA 758d323View commit details -
Add repository URL to package.json
This commit adds the repository URL to the package.json file. The repository URL is set to "https://github.com/GoogleChromeLabs/breadboard-samples".
Configuration menu - View commit details
-
Copy full SHA for 0c2c71b - Browse repository at this point
Copy the full SHA 0c2c71bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63ab6dc - Browse repository at this point
Copy the full SHA 63ab6dcView commit details -
Refactor tsconfig.json for Hello World sample
- Use tsconfig.minimal.json as base configuration - Update compilerOptions to include target and moduleResolution properties
Configuration menu - View commit details
-
Copy full SHA for a53ffdc - Browse repository at this point
Copy the full SHA a53ffdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e88b773 - Browse repository at this point
Copy the full SHA e88b773View commit details -
Add yarn caching to the GitHub Actions workflow
This commit adds the `cache: "yarn"` option to the GitHub Actions workflow file, enabling caching of Yarn dependencies for faster builds.
Configuration menu - View commit details
-
Copy full SHA for 3ef4bbd - Browse repository at this point
Copy the full SHA 3ef4bbdView commit details -
Update package manager and build commands
- Updated the workflow file to include a matrix for different package managers (yarn, npm) and node versions (19.x, 20.x, 21.x). - Modified the cache and install commands to use the selected package manager. - Changed the start command to build command using the selected package manager.
Configuration menu - View commit details
-
Copy full SHA for 50e3e32 - Browse repository at this point
Copy the full SHA 50e3e32View commit details -
This commit adds a new GitHub Actions workflow file, demos.yml, which sets up jobs to run demos. The workflow is triggered on push, pull request, and manual dispatch events. The build job runs on ubuntu-latest and uses a matrix strategy for different package managers (yarn, npm), node versions (19.x, 20.x, 21.x), and directories ("samples/Hello World"). The steps include checking out the repository, setting up the specified Node.js version with caching for the package manager, installing dependencies using the package manager, and running the start script.
Configuration menu - View commit details
-
Copy full SHA for 86a9127 - Browse repository at this point
Copy the full SHA 86a9127View commit details -
Update workspaces in package.json
- Updated the "workspaces" field in package.json to include all subdirectories within the "./samples" directory. - This change allows for better organization and management of workspace dependencies.
Configuration menu - View commit details
-
Copy full SHA for 7ed137e - Browse repository at this point
Copy the full SHA 7ed137eView commit details -
Refactor directory structure for Hello World demo
- Renamed working directory in the GitHub workflow from "samples/Hello World" to "samples/demos/Hello World" - Renamed files and directories: - samples/Hello World/index.ts -> samples/demos/Hello World/index.ts - samples/Hello World/package.json -> samples/demos/Hello World/package.json - samples/Hello World/tsconfig.json -> samples/demos/Hello World/tsconfig.json - Updated tsconfig.json file to reflect new file path for the extends property.
Configuration menu - View commit details
-
Copy full SHA for 4fff07c - Browse repository at this point
Copy the full SHA 4fff07cView commit details -
Update demos.yml and add Hello Multiple Inputs demo
- Updated the demos.yml file to include two new directories for the demos: "samples/demos/Hello World" and "samples/demos/Hello Multiple Inputs". - Added a new file, index.ts, for the Hello Multiple Inputs demo. - Added a new package.json file for the Hello Multiple Inputs demo. - Added a new tsconfig.json file for the Hello Multiple Inputs demo.
Configuration menu - View commit details
-
Copy full SHA for e23a736 - Browse repository at this point
Copy the full SHA e23a736View commit details -
Add code for Hello Multiple Outputs demo
This commit adds the necessary code for the Hello Multiple Outputs demo. It includes a new TypeScript file `index.ts` that sets up a board with an input and two outputs. The input is wired to the two outputs, and when the board runs, it sends "Hello Part One!" to output one and "Hello Part Two!" to output two. The console logs the outputs.
Configuration menu - View commit details
-
Copy full SHA for 6884a5e - Browse repository at this point
Copy the full SHA 6884a5eView commit details -
Refactor workflow to use demo names as matrix variables
- Changed the `directory` matrix variable to `demo` - Updated the values of the `demo` matrix variable to match the demo names - Modified the `working-directory` value in the run step to use the new `demo` matrix variable
Configuration menu - View commit details
-
Copy full SHA for d2e467a - Browse repository at this point
Copy the full SHA d2e467aView commit details -
Add job name with demo and node version
- Added the job name to include the demo and node version information for better clarity and organization.
Configuration menu - View commit details
-
Copy full SHA for a4490dd - Browse repository at this point
Copy the full SHA a4490ddView commit details -
Add new demos for specific outputs and nodes by ID
- Added two new demo files, "Specific Outputs" and "Nodes by ID" - Updated the workflows file to include these new demos in the matrix - Created package.json and tsconfig.json files for each new demo - Updated yarn.lock with dependencies for the new demos
Configuration menu - View commit details
-
Copy full SHA for 693951c - Browse repository at this point
Copy the full SHA 693951cView commit details -
Rename demos.yml to demos-run-each.yml
Change name in workflow from "Run Demos" to "Run Each Demo" Update demo names in the workflow file Rename Hello Multiple Inputs directory and files to Multiple Inputs Rename Hello Multiple Outputs directory and files to Multiple Outputs Update tsconfig.json file for Multiple Outputs
Configuration menu - View commit details
-
Copy full SHA for cd2b4f3 - Browse repository at this point
Copy the full SHA cd2b4f3View commit details -
This commit adds a new workflow file, `demos-run-all.yml`, which runs all demos. The workflow is triggered on push to the main branch, pull requests, and manual dispatch. It uses Ubuntu latest as the runner and has a matrix strategy for different node versions (19.x, 20.x, 21.x) and package managers (yarn, npm). The steps include checking out the code, setting up the specified Node.js version, installing dependencies with the respective package manager, and running the start command for each workspace using yarn or npm based on the package manager selected.
Configuration menu - View commit details
-
Copy full SHA for c823337 - Browse repository at this point
Copy the full SHA c823337View commit details
Commits on Nov 19, 2023
-
Update dependencies and scripts in package.json for Breadboard Walkth…
…rough demos. Add new demo files for multiple inputs, multiple outputs, specific outputs, nodes by ID, one input multiple outputs, and multiple inputs one output. Update tsconfig.json file paths for the renamed demos. Delete package.json and tsconfig.json files for the deleted demos. Summary: - Updated dependencies and scripts in package.json - Added new demo files - Renamed demo files and updated tsconfig.json file paths - Deleted package.json and tsconfig.json files
Configuration menu - View commit details
-
Copy full SHA for a7ad13b - Browse repository at this point
Copy the full SHA a7ad13bView commit details -
Add start and watch scripts to package.json
- Added "start" script to run the start command for all workspaces - Added "watch" script to run the watch command for all workspaces
Configuration menu - View commit details
-
Copy full SHA for 3ac9b54 - Browse repository at this point
Copy the full SHA 3ac9b54View commit details -
Implement multiple inputs and one output functionality
This commit adds code to implement the functionality of having multiple inputs and one output in the Breadboard Walkthrough sample. The code sets up a board, creates an output node, and two input nodes. It then wires the input nodes to the output node. Finally, it runs a loop that handles input events and outputs the result when an output event occurs.
Configuration menu - View commit details
-
Copy full SHA for 46dd0a7 - Browse repository at this point
Copy the full SHA 46dd0a7View commit details -
Implement one-input-multiple-outputs functionality
This commit adds code to implement the functionality of having one input and multiple outputs in the Breadboard Walkthrough sample. It creates a new Board instance, defines two output nodes, and wires them to the input node. The code also includes logic to handle input and output events, printing the outputs to the console when they occur.
Configuration menu - View commit details
-
Copy full SHA for 8acd60f - Browse repository at this point
Copy the full SHA 8acd60fView commit details -
Add @exadev/breadboard-kits dependency
This commit adds the @exadev/breadboard-kits dependency to the package.json file in the Breadboard Walkthrough sample.
Configuration menu - View commit details
-
Copy full SHA for 6581e31 - Browse repository at this point
Copy the full SHA 6581e31View commit details -
Refactor tsconfig.json for Breadboard Walkthrough
- Set "noEmit" to true - Change "module" to "NodeNext" - Change "moduleResolution" to "NodeNext"
Configuration menu - View commit details
-
Copy full SHA for 756e7ad - Browse repository at this point
Copy the full SHA 756e7adView commit details -
Refactor package.json and hello-worlds.ts
- Refactored the "run-hello-worlds" script to "run-hello-world" - Refactored the "watch-hello-worlds" script to "watch-hello-world" - Renamed hello-worlds.ts to hello-world.ts - Updated imports in hello-world.ts - Added a title to the Board instance in hello-world.ts - Added a call to generateAndWriteCombinedMarkdown function
Configuration menu - View commit details
-
Copy full SHA for 0965abf - Browse repository at this point
Copy the full SHA 0965abfView commit details -
Add title to Board constructor
- Added a `title` property to the `Board` constructor in multiple files. - The `title` is set using the base name of the current file path. - This change improves readability and organization of the code. exadev.util.files.generateAndWriteCombinedMarkdown(board, undefined, "src") - Updated the function call to generate and write combined markdown files. - The function now takes three arguments: `board`, `undefined`, and `"src"`. - This change ensures that the correct markdown files are generated and written.
Configuration menu - View commit details
-
Copy full SHA for 3b102e8 - Browse repository at this point
Copy the full SHA 3b102e8View commit details -
Update file paths for generating combined markdown
- Updated the file paths in the code to generate and write combined markdown files. - Changed the output directory from "src" to "output" for all relevant files.
Configuration menu - View commit details
-
Copy full SHA for f8f33d2 - Browse repository at this point
Copy the full SHA f8f33d2View commit details -
Refactor README.md to update demo links
- Updated the links for each demo in the README.md file to point to their respective output files. - This change ensures that users can easily access the correct output files for each demo.
Configuration menu - View commit details
-
Copy full SHA for a2c3605 - Browse repository at this point
Copy the full SHA a2c3605View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3429e5b - Browse repository at this point
Copy the full SHA 3429e5bView commit details
Commits on Nov 20, 2023
-
Update devDependencies in package.json
- Updated "@types/node" to version "^20.9.2" - Updated "typescript" to version "^5.2.2"
Configuration menu - View commit details
-
Copy full SHA for 867fcf7 - Browse repository at this point
Copy the full SHA 867fcf7View commit details -
Add fail-fast option to build strategy
This commit adds the `fail-fast` option to the build strategy in the `.github/workflows/run-all.yml` file. This allows for a more flexible and customizable workflow by preventing early termination of jobs when one fails.
Configuration menu - View commit details
-
Copy full SHA for 3b45e38 - Browse repository at this point
Copy the full SHA 3b45e38View commit details