Skip to content

Commit

Permalink
Merge branch 'master' into aa/chore/updating-codeowners
Browse files Browse the repository at this point in the history
  • Loading branch information
nedsalk authored Jan 10, 2025
2 parents c3ea4d4 + 68ef74d commit 137f02e
Show file tree
Hide file tree
Showing 18 changed files with 1,438 additions and 3,610 deletions.
9 changes: 9 additions & 0 deletions .changeset/witty-mice-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fuel-ts/contract": patch
"@fuel-ts/crypto": patch
"fuels": patch
"create-fuels": patch
"@fuel-ts/script": patch
---

chore: remove unused deps + update knip config
34 changes: 10 additions & 24 deletions .knip.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
{
"ignore": [
".github/**",
"**/*/fuels.config.*",
"**/*/.vitepress/*",
"/apps/docs/*",
"/packages/abi-typegen/test/**",
"templates/**",
"/apps/docs/**/*.test.ts",
"apps/create-fuels-counter-guide/**",
"apps/docs-api/**"
"entry": [
"apps/docs/src/versions.data.ts",
"apps/docs/src/guide/types/snippets/numbers/for-u8-u16-and-u32-2.ts"
],
"ignore": [".github/**"],
"ignoreDependencies": [
"autocannon",
"bun",
"@/sway-api/*",
"@fuel-ts/*",
"@fuels/connectors",
"@internal/fuel-core",
"@internal/forc",
"@types/jest",
"fuels",
"bun",
"@types/rimraf",
"@graphql-codegen*",
"graphql-tag",
"@fuel-ts/abi-typegen",
"@internal/fuel-core",
"get-graphql-schema",
"events",
"eslint-plugin-jsdoc",
Expand All @@ -30,14 +19,11 @@
"eslint-plugin-react",
"eslint-plugin-react-hooks",
"dotenv",
"ethers",
"kill",
"lsof",
"memfs",
"open",
"markdown-link-check",
"ts-generator",
"webdriverio",
"syncpack"
"vitepress-plugin-search",
"vue"
]
}
8 changes: 0 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,6 @@ pnpm bench:node
pnpm bench:node packages/my-desired-package
```

# Profiling

We currently use [`clinic`](https://clinicjs.org/) to profile and debug our tooling. For instance you can run clinic's flame command to create a flamegraph for a specific package:

```sh
# creates a flamegraph for a specific package
npm_config_package_name=account pnpm clinic:flame // runs flame against the account package
```

### CI Test

Expand Down
4 changes: 1 addition & 3 deletions apps/create-fuels-counter-guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test:ui": "sh ./test/ui/test-ui.sh",
"original:dev": "vite",
"original:build": "tsc -b && vite build",
"original:start": "next start",
"original:start": "vite start",
"original:lint": "eslint .",
"fuels:build": "fuels build",
"fuels:dev": "fuels dev",
Expand All @@ -18,8 +18,6 @@
"@fuels/react": "0.36.1",
"@tanstack/react-query": "5.55.4",
"clsx": "2.1.1",
"@wagmi/connectors": "5.1.14",
"@wagmi/core": "2.13.9",
"dotenv": "16.4.5",
"fuels": "workspace:*",
"react": "18.3.1",
Expand Down
2 changes: 0 additions & 2 deletions apps/demo-bun-fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
},
"license": "Apache-2.0",
"dependencies": {
"@fuel-ts/account": "workspace:*",
"@fuel-ts/errors": "workspace:*",
"fuels": "workspace:*"
},
"devDependencies": {
Expand Down
2 changes: 0 additions & 2 deletions apps/demo-fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
},
"license": "Apache-2.0",
"dependencies": {
"@fuel-ts/errors": "workspace:*",
"@fuel-ts/account": "workspace:*",
"fuels": "workspace:*"
}
}
2 changes: 0 additions & 2 deletions apps/demo-typegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
"fuels": "workspace:*"
},
"devDependencies": {
"@fuel-ts/account": "workspace:*",
"@fuel-ts/errors": "workspace:*",
"@internal/forc": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/docs/.vitepress/plugins/codeInContextPlugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
CodeSnippetToken,
} from './codeInContextPlugin';
import MarkdownIt from 'markdown-it';
import Token from 'markdown-it/lib/token';
import { Token } from 'markdown-it';

/**
* @group node
Expand Down
3 changes: 0 additions & 3 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@
},
"devDependencies": {
"@types/markdown-it": "14.1.2",
"@vue/devtools-api": "6.6.3",
"flexsearch": "0.7.43",
"glob": "10.4.5",
"markdown-it": "14.1.0",
"nodemon": "3.1.7",
"replace": "1.2.2",
"vitepress-plugin-search": "1.0.4-alpha.22",
"vitepress": "1.3.4",
"vue": "3.5.12"
Expand Down
10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build:packages": "turbo run build --filter=!docs --filter=!template-*",
"ci:test": "./scripts/tests-ci.sh",
"pretest": "turbo run pretest",
"depcheck": "knip --dependencies --tags=-knipignore",
"depcheck": "knip --include-libs --dependencies --tags=-knipignore",
"knip:fix": "knip --fix",
"depsync:lint": "syncpack list-mismatches",
"depsync:fix": "syncpack fix-mismatches",
Expand All @@ -30,10 +30,6 @@
"test:validate": "./scripts/tests-validate.sh",
"test:browser:filter": "vitest --run --coverage false --config vitest.browser.config.mts",
"test:e2e": "vitest --run --config vitest.node.config.mts $(scripts/tests-find.sh --e2e)",
"clinic:flame": "clinic flame --autocannon [ / ] -- node packages/${npm_config_package_name}/dist/profile.js",
"clinic:bubble": "clinic bubbleprof --autocannon [ -c 5 -a 500 / ] -- node packages/${npm_config_package_name}/dist/profile.js",
"clinic:doctor": "clinic doctor --autocannon [ / ] -- node packages/${npm_config_package_name}/dist/profile.js",
"clinic:heap": "clinic heapprofiler --autocannon [ / ] -- node packages/${npm_config_package_name}/dist/profile.js",
"test:integration": "vitest --run --config vitest.node.config.mts $(scripts/tests-find.sh --integration)",
"lint": "run-s type:check-tests lint:check prettier:check type:check",
"lint:check": "eslint . --ext .ts --max-warnings 0",
Expand Down Expand Up @@ -88,8 +84,6 @@
"@typescript-eslint/parser": "6.21.0",
"@vitest/browser": "2.0.5",
"@vitest/coverage-istanbul": "2.0.5",
"autocannon": "7.15.0",
"clinic": "13.0.0",
"compare-versions": "6.1.1",
"coverage-diff": "3.2.0",
"eslint": "8.57.0",
Expand All @@ -105,7 +99,7 @@
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-tsdoc": "0.3.0",
"glob": "10.4.5",
"knip": "5.30.6",
"knip": "5.41.1",
"markdown-link-check": "3.12.2",
"memfs": "4.14.0",
"nodemon": "3.1.7",
Expand Down
1 change: 0 additions & 1 deletion packages/contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"@fuel-ts/program": "workspace:*",
"@fuel-ts/transactions": "workspace:*",
"@fuel-ts/utils": "workspace:*",
"@fuel-ts/versions": "workspace:*",
"@fuels/vm-asm": "0.58.2",
"ramda": "0.30.1"
},
Expand Down
1 change: 0 additions & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"license": "Apache-2.0",
"dependencies": {
"@fuel-ts/errors": "workspace:*",
"@fuel-ts/math": "workspace:*",
"@fuel-ts/utils": "workspace:*",
"@noble/hashes": "1.5.0"
}
Expand Down
1 change: 0 additions & 1 deletion packages/fuel-gauge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"@fuel-ts/errors": "workspace:*",
"@fuel-ts/merkle": "workspace:*",
"@fuel-ts/utils": "workspace:*",
"@internal/forc": "workspace:*",
"@internal/utils": "workspace:*"
}
}
1 change: 0 additions & 1 deletion packages/fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"@fuel-ts/errors": "workspace:*",
"@fuel-ts/hasher": "workspace:*",
"@fuel-ts/math": "workspace:*",
"@fuel-ts/merkle": "workspace:*",
"@fuel-ts/program": "workspace:*",
"@fuel-ts/script": "workspace:*",
"@fuel-ts/transactions": "workspace:*",
Expand Down
1 change: 0 additions & 1 deletion packages/script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"dependencies": {
"@fuel-ts/abi-coder": "workspace:*",
"@fuel-ts/account": "workspace:*",
"@fuel-ts/address": "workspace:*",
"@fuel-ts/errors": "workspace:*",
"@fuel-ts/math": "workspace:*",
"@fuel-ts/program": "workspace:*",
Expand Down
Loading

0 comments on commit 137f02e

Please sign in to comment.