Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/FuelLabs/fuels-ts into db…
Browse files Browse the repository at this point in the history
…/feat/create-fuels-testing
  • Loading branch information
danielbate committed Jul 16, 2024
2 parents e0cd96e + 3e9bc26 commit ebf1cd4
Show file tree
Hide file tree
Showing 20 changed files with 558 additions and 773 deletions.
5 changes: 5 additions & 0 deletions .changeset/brave-elephants-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-fuels": patch
---

build(deps): bump next from 14.2.4 to 14.2.5 in the deps group
6 changes: 6 additions & 0 deletions .changeset/eight-trainers-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@fuel-ts/account": patch
"@fuel-ts/program": patch
---

build(deps): bump @fuels/vm-asm from 0.54.0 to 0.55.0
5 changes: 5 additions & 0 deletions .changeset/shiny-paws-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fuels": patch
---

feat: add minified `fuels` distribution
5 changes: 5 additions & 0 deletions .changeset/sixty-plums-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-fuels": patch
---

build(deps-dev): bump the dev-deps group with 9 updates
2 changes: 2 additions & 0 deletions .changeset/tall-foxes-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/wild-pears-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-fuels": patch
---

build(deps): bump @tanstack/react-query from 5.29.2 to 5.51.1
6 changes: 3 additions & 3 deletions apps/create-fuels-counter-guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"@fuels/connectors": "^0.8.1",
"@fuels/react": "^0.20.0",
"fuels": "workspace:*",
"@tanstack/react-query": "^5.29.2",
"@tanstack/react-query": "^5.51.1",
"dotenv": "^16.4.5",
"next": "14.2.4",
"next": "14.2.5",
"react": "^18.3",
"react-dom": "^18.3",
"react-hot-toast": "^2.4.1",
Expand All @@ -29,7 +29,7 @@
"@types/react-dom": "^18.3",
"autoprefixer": "^10.4.19",
"eslint": "^8",
"eslint-config-next": "14.2.4",
"eslint-config-next": "14.2.5",
"postcss": "^8",
"tailwindcss": "^3.4.4",
"typescript": "^5"
Expand Down
2 changes: 1 addition & 1 deletion apps/demo-bun-fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"version": null,
"devDependencies": {
"bun": "^1.1.18"
"bun": "^1.1.20"
}
}
4 changes: 2 additions & 2 deletions apps/demo-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"pretest": "pnpm original:build"
},
"dependencies": {
"@fuels/vm-asm": "0.54.0",
"@fuels/vm-asm": "0.55.0",
"@types/node": "18.15.3",
"@types/react-dom": "18.3.0",
"@types/react": "18.3.3",
"fuels": "workspace:*",
"next": "14.2.4",
"next": "14.2.5",
"react-dom": "18.3.1",
"react": "18.3.1",
"typescript": "~5.4.5"
Expand Down
2 changes: 1 addition & 1 deletion apps/demo-react-cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.29",
"private": true,
"dependencies": {
"@fuels/vm-asm": "0.54.0",
"@fuels/vm-asm": "0.55.0",
"@testing-library/react": "^16.0.0",
"@types/node": "^16.18.34",
"@types/react": "^18.3.3",
Expand Down
4 changes: 2 additions & 2 deletions apps/demo-react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"pretest": "pnpm original:build"
},
"dependencies": {
"@fuels/vm-asm": "0.54.0",
"@fuels/vm-asm": "0.55.0",
"fuels": "workspace:*",
"react-dom": "^18.3.1",
"react": "^18.3.1"
Expand All @@ -24,7 +24,7 @@
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"eslint-plugin-react-refresh": "^0.4.8",
"typescript": "~5.4.5",
"vite": "^5.3.3"
}
Expand Down
4 changes: 2 additions & 2 deletions apps/demo-wallet-sdk-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"dependencies": {
"@fuels/connectors": "^0.2.2",
"@fuels/react": "^0.20.0",
"@tanstack/react-query": "^5.29.2",
"@tanstack/react-query": "^5.51.1",
"fuels": "workspace:*",
"next": "14.2.4",
"next": "14.2.5",
"react": "^18.3.1",
"react-dom": "^18"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { CoinQuantityLike, ExcludeResourcesOption } from 'fuels';
import { FUEL_NETWORK_URL, Provider, ScriptTransactionRequest } from 'fuels';
import { generateTestWallet } from 'fuels/test-utils';

Expand Down Expand Up @@ -44,7 +45,7 @@ describe('querying the chain', () => {

it('get spendable resources', async () => {
// #region get-spendable-resources-1
// #import { Provider, FUEL_NETWORK_URL, generateTestWallet, ScriptTransactionRequest };
// #import { Provider, FUEL_NETWORK_URL, generateTestWallet, ScriptTransactionRequest, CoinQuantityLike, ExcludeResourcesOption };

const provider = await Provider.create(FUEL_NETWORK_URL);
const assetIdA = '0x0101010101010101010101010101010101010101010101010101010101010101';
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"replace": "^1.2.2",
"typedoc": "^0.25.13",
"typedoc-plugin-merge-modules": "^5.1.0",
"vitepress": "1.2.3",
"vitepress": "1.3.1",
"vitepress-plugin-search": "1.0.4-alpha.19",
"vue": "^3.4.31"
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@typescript-eslint/parser": "^6.9.0",
"@vitest/browser": "^1.6.0",
"@vitest/coverage-istanbul": "^1.6.0",
"compare-versions": "^6.1.0",
"compare-versions": "^6.1.1",
"coverage-diff": "^3.2.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
Expand All @@ -89,17 +89,17 @@
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react": "^7.34.4",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-tsdoc": "^0.3.0",
"glob": "^10.2.6",
"knip": "^5.24.1",
"knip": "^5.26.0",
"memfs": "^4.9.3",
"nodemon": "^3.1.4",
"npm-run-all": "^4.1.5",
"nyc": "^17.0.0",
"open": "^8.4.2",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"rimraf": "^5.0.8",
"textlint": "^13.3.2",
"textlint-rule-no-dead-link": "^5.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@fuel-ts/transactions": "workspace:*",
"@fuel-ts/utils": "workspace:*",
"@fuel-ts/versions": "workspace:*",
"@fuels/vm-asm": "0.54.0",
"@fuels/vm-asm": "0.55.0",
"@noble/curves": "^1.4.2",
"events": "^3.3.0",
"graphql": "^16.9.0",
Expand Down
6 changes: 5 additions & 1 deletion packages/fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@
"dist"
],
"scripts": {
"build": "tsup && pnpm vite build",
"build": "run-s build:package build:browser build:minified",
"build:package": "tsup",
"build:browser": "pnpm vite build",
"build:minified": "pnpm uglifyjs --compress --mangle --output dist/browser.min.mjs -- dist/browser.mjs",
"postbuild": "tsc --emitDeclarationOnly -p tsconfig.dts.json",
"prepublishOnly": "cp ../../README.md ./README.md"
},
Expand Down Expand Up @@ -84,6 +87,7 @@
"lodash.camelcase": "^4.3.0",
"portfinder": "^1.0.32",
"toml": "^3.0.0",
"uglify-js": "^3.18.0",
"yup": "^1.4.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/program/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@fuel-ts/math": "workspace:*",
"@fuel-ts/transactions": "workspace:*",
"@fuel-ts/utils": "workspace:*",
"@fuels/vm-asm": "0.54.0"
"@fuels/vm-asm": "0.55.0"
},
"devDependencies": {
"@types/ramda": "^0.29.3"
Expand Down
Loading

0 comments on commit ebf1cd4

Please sign in to comment.