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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "docs_tutorials_browser",
"name": "browser_example",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "nargo compile && vite build",
"build": "vite build",
"test": "yarn build && playwright test browser.test.ts"
},
"dependencies": {
Expand Down
6 changes: 4 additions & 2 deletions examples/browser/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ set -eu
# This file is used for Noir CI and is not required.
cd $(dirname $0)

# Run the tests (which include building)
yarn test
nargo compile

# Run the tests
yarn test
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"examples/browser"
],
"scripts": {
"build": "yarn workspaces foreach -A -vp --topological-dev --exclude \"{docs,@noir-lang/root}\" run build",
"build": "yarn workspaces foreach -A -vp --topological-dev --exclude \"{docs,@noir-lang/root,browser_example}\" run build",
"build:js:only": "yarn workspaces foreach -A -vtp --exclude \"{@noir-lang/acvm_js,@noir-lang/noirc_abi,@noir-lang/noir_wasm,docs,@noir-lang/root,browser_example}\" run build",
"test": "yarn workspaces foreach -A -vp run test",
"test:integration": "yarn workspace integration-tests test",
"clean:workspaces": "yarn workspaces foreach -A --exclude @noir-lang/root run clean",
Expand All @@ -22,7 +23,6 @@
"lint": "yarn workspaces foreach -A -vp run lint",
"spellcheck": "cspell '**/*.{md,rs}' -c ./cspell.json",
"prepare:publish": "yarn clean && yarn build",
"build:js:only": "yarn workspaces foreach -A -vtp --exclude \"{@noir-lang/acvm_js,@noir-lang/noirc_abi,@noir-lang/noir_wasm,docs,@noir-lang/root}\" run build",
"nightly:version": "yarn workspaces foreach -A run nightly:version",
"publish:all": "yarn install && yarn workspaces foreach -A run publish"
},
Expand Down
26 changes: 13 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13226,6 +13226,19 @@ __metadata:
languageName: node
linkType: hard

"browser_example@workspace:examples/browser":
version: 0.0.0-use.local
resolution: "browser_example@workspace:examples/browser"
dependencies:
"@aztec/bb.js": "npm:v3.0.0-nightly.20250916"
"@noir-lang/noir_js": "workspace:*"
"@playwright/test": "npm:^1.49.0"
"@types/node": "npm:^20.0.0"
typescript: "npm:^5.8.3"
vite: "npm:^7.0.6"
languageName: unknown
linkType: soft

"browserify-fs@npm:^1.0.0":
version: 1.0.0
resolution: "browserify-fs@npm:1.0.0"
Expand Down Expand Up @@ -15735,19 +15748,6 @@ __metadata:
languageName: unknown
linkType: soft

"docs_tutorials_browser@workspace:examples/browser":
version: 0.0.0-use.local
resolution: "docs_tutorials_browser@workspace:examples/browser"
dependencies:
"@aztec/bb.js": "npm:v3.0.0-nightly.20250916"
"@noir-lang/noir_js": "workspace:*"
"@playwright/test": "npm:^1.49.0"
"@types/node": "npm:^20.0.0"
typescript: "npm:^5.8.3"
vite: "npm:^7.0.6"
languageName: unknown
linkType: soft

"docusaurus-plugin-llms@npm:^0.1.5":
version: 0.1.5
resolution: "docusaurus-plugin-llms@npm:0.1.5"
Expand Down
Loading