Skip to content
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

feat: add scaffolding CLI tool #1408

Closed
wants to merge 128 commits into from
Closed
Show file tree
Hide file tree
Changes from 127 commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
827ccc7
feat: add scaffolding CLI tool
Dhaiwat10 Nov 6, 2023
4a382d1
Update pr-release.yaml
Dhaiwat10 Nov 6, 2023
f42b2d3
add tempalte to monorepo
Dhaiwat10 Nov 8, 2023
818b8d7
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Nov 8, 2023
d47bbcc
suggest pnpm instead of pnpm in help
Dhaiwat10 Nov 8, 2023
6bb106e
bump node version
Dhaiwat10 Nov 8, 2023
626435b
remove template from workspace
Dhaiwat10 Nov 8, 2023
c2b4ecc
Removing unnecessary [extra] tsconfig file
arboleya Nov 8, 2023
bc0275d
Fixing lint warnings
arboleya Nov 8, 2023
8b03b64
Nit
arboleya Nov 8, 2023
1a228c1
Removing problematic pnpm configs
arboleya Nov 8, 2023
736f73b
Adding `fuels` as a dependency so it’s available when building templates
arboleya Nov 8, 2023
a2814cb
Removing template dir from pnpm workspace
arboleya Nov 8, 2023
5278742
Adding a prebuild step for generating sway types before the next build
arboleya Nov 8, 2023
644ec18
Automating templates checks
arboleya Nov 8, 2023
634746b
Creating stub `contract-ids.json` if it doesn’t exist yet
arboleya Nov 8, 2023
db457b3
Moving templates directory around
arboleya Nov 8, 2023
b3f90b3
WIP
arboleya Nov 8, 2023
47dee0e
Inlining `prebuild` execution (otherwise it breaks turbo pipelines)
arboleya Nov 8, 2023
1382bde
Merging with master
arboleya Nov 8, 2023
e55cb6b
Bumping node version for all packages
arboleya Nov 8, 2023
2aac97a
Bumping node in missing files
arboleya Nov 8, 2023
2e437ae
Adjusting outdated path
arboleya Nov 8, 2023
340c77f
add `injectFuelsVersion` script
Dhaiwat10 Nov 8, 2023
1591dde
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Nov 9, 2023
14310fc
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Nov 9, 2023
3959dc9
update script
Dhaiwat10 Nov 9, 2023
1d03fa3
remove stuff from public dir
Dhaiwat10 Nov 10, 2023
d749909
refactor the `rewrite` script
Dhaiwat10 Nov 10, 2023
1ac087b
update tsup config
Dhaiwat10 Nov 10, 2023
4ad681d
rename stuff
Dhaiwat10 Nov 10, 2023
e4f3f63
fix typo
Dhaiwat10 Nov 10, 2023
4546c20
fix template prebuild script
Dhaiwat10 Nov 10, 2023
bcc73fa
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Nov 10, 2023
1efff1a
revert back to `--deploy`
Dhaiwat10 Nov 10, 2023
4d3af60
add changesets
Dhaiwat10 Nov 10, 2023
faf3fc4
add templates to md-links-ignore
Dhaiwat10 Nov 10, 2023
9d5c3c1
add some docs for the scaffold CLI
Dhaiwat10 Nov 10, 2023
9ad7fb5
small refactor
Dhaiwat10 Nov 10, 2023
f812ba1
remove localhost link because it is considered dead by linter
Dhaiwat10 Nov 10, 2023
09807cd
rename docs page due to lint error
Dhaiwat10 Nov 10, 2023
856adfd
spelling
Dhaiwat10 Nov 10, 2023
253f2cd
add a test
Dhaiwat10 Nov 10, 2023
bd1ca67
rename file
Dhaiwat10 Nov 10, 2023
f0e3c2d
update template readme
Dhaiwat10 Nov 10, 2023
fe7c659
Merge branch 'master' into dp/scaffolding-tool-new
arboleya Nov 14, 2023
853918b
chore: force rebuild
danielbate Nov 14, 2023
0eaad36
feat: remove trailing slash from docs links
danielbate Nov 14, 2023
d23c1bf
a fix for the template
Dhaiwat10 Nov 14, 2023
8a55b6b
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Nov 14, 2023
eeb3cae
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Nov 16, 2023
72f1f49
fix template, add fuels:dev command
Dhaiwat10 Nov 28, 2023
c8e498d
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Nov 28, 2023
21e044a
Update README.md
Dhaiwat10 Nov 28, 2023
22d24a2
Merge branch 'dp/scaffolding-tool-new' of https://github.com/FuelLabs…
Dhaiwat10 Nov 28, 2023
bf7cf02
make the template pretty ✨
Dhaiwat10 Nov 30, 2023
90dfcd5
fix lint errors
Dhaiwat10 Nov 30, 2023
a7ee023
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Nov 30, 2023
8cd9c50
Update quickstart message
Dhaiwat10 Nov 30, 2023
5cc9815
Merge branch 'dp/scaffolding-tool-new' of https://github.com/FuelLabs…
Dhaiwat10 Nov 30, 2023
c82694d
throw if projectPath not empty
Dhaiwat10 Nov 30, 2023
d8a225a
fix broken link
Dhaiwat10 Nov 30, 2023
ec13166
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Dec 5, 2023
8f8d8a7
add auto-dependency install
Dhaiwat10 Dec 5, 2023
74620fc
bump `react` version in template
Dhaiwat10 Dec 5, 2023
d3171f9
fix log
Dhaiwat10 Dec 5, 2023
a18bc17
fix log
Dhaiwat10 Dec 5, 2023
630f17a
Merge branch 'master' into dp/scaffolding-tool-new
arboleya Dec 5, 2023
cbf1aea
Merge branch 'master' into dp/scaffolding-tool-new
arboleya Dec 5, 2023
622e270
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Dec 6, 2023
cd99e17
Adding RCs list
arboleya Dec 8, 2023
2b9495a
Ignoring RC labels
arboleya Dec 8, 2023
4dfd727
Configuring RC label
arboleya Dec 8, 2023
75ed18d
Re-configuring RC label
arboleya Dec 8, 2023
820b5e2
Adjusting PRs accepted labels
arboleya Dec 8, 2023
8b2c663
Merge branch 'master' into rc/salamander
arboleya Dec 10, 2023
8f38343
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Dec 11, 2023
fb7e862
update pnpm lock
Dhaiwat10 Dec 11, 2023
499eb8b
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Dec 11, 2023
8ebd388
chore: updating code owners (#1496)
arboleya Dec 12, 2023
4b3c8ea
Merge branch 'master' into rc/salamander
arboleya Dec 12, 2023
29179bf
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Dec 12, 2023
f1fd17b
Merge branch 'rc/salamander' into dp/scaffolding-tool-new
Dhaiwat10 Dec 13, 2023
e12a62d
Merge branch 'master' into rc/salamander
arboleya Dec 13, 2023
c7b9b92
Merge branch 'master' into rc/salamander
arboleya Dec 13, 2023
cdc3e84
Merge branch 'master' into rc/salamander
arboleya Dec 13, 2023
a65a904
Merge branch 'rc/salamander' into dp/scaffolding-tool-new
Dhaiwat10 Dec 14, 2023
c32f4c7
add some console logs
Dhaiwat10 Dec 14, 2023
b6a36b5
add debug console log
Dhaiwat10 Dec 14, 2023
f56720b
add log
Dhaiwat10 Dec 14, 2023
1ac2a15
add console llog
Dhaiwat10 Dec 14, 2023
3d3c9bb
remove fuel wallet package from template (not needed)
Dhaiwat10 Dec 14, 2023
8bea836
docs: purge hardcoded snippets on 'using typegen' page (#1403)
Dhaiwat10 Dec 14, 2023
24f700a
Merge branch 'rc/salamander' into dp/scaffolding-tool-new
Dhaiwat10 Dec 14, 2023
c1f33ae
add a helpful comment
Dhaiwat10 Dec 14, 2023
e94589d
remove bun and console logs
Dhaiwat10 Dec 14, 2023
5d5c939
chore: remove method that's same as base method (#1445)
nedsalk Dec 14, 2023
cf6c921
revert pr release
Dhaiwat10 Dec 14, 2023
0dc6c7d
Merge branch 'rc/salamander' into dp/scaffolding-tool-new
Dhaiwat10 Dec 14, 2023
cd7aed5
Merge branch 'master' into rc/salamander
arboleya Dec 14, 2023
b64b4e8
Merge branch 'rc/salamander' into dp/scaffolding-tool-new
Dhaiwat10 Dec 14, 2023
16d4e99
possible fix for bun support
Dhaiwat10 Dec 15, 2023
8fd4103
Revert "possible fix for bun support"
Dhaiwat10 Dec 15, 2023
5261579
chore: implement RC workflow (#1497)
danielbate Dec 15, 2023
6a1c2f1
chore: fix rc release string replace (#1529)
danielbate Dec 15, 2023
9f58add
add fix for bun
Dhaiwat10 Dec 15, 2023
aaf1f67
Merge branch 'rc/salamander' into dp/scaffolding-tool-new
Dhaiwat10 Dec 15, 2023
9abe0ee
add notice for bun
Dhaiwat10 Dec 15, 2023
ba8736f
Merge branch 'dp/scaffolding-tool-new' of https://github.com/FuelLabs…
Dhaiwat10 Dec 15, 2023
d675e8b
update docs
Dhaiwat10 Dec 15, 2023
79dffb5
update comment
Dhaiwat10 Dec 15, 2023
1337e30
fix link
Dhaiwat10 Dec 15, 2023
a24b277
add link
Dhaiwat10 Dec 15, 2023
8494b66
Revert "add link"
Dhaiwat10 Dec 15, 2023
b52c137
Merge branch 'master' into rc/salamander
arboleya Dec 15, 2023
e236fc8
Merge branch 'master' into rc/salamander
arboleya Dec 15, 2023
666d47a
Merge branch 'rc/salamander' into dp/scaffolding-tool-new
Dhaiwat10 Dec 15, 2023
ec80cf3
update rewrite script
Dhaiwat10 Dec 15, 2023
55e8301
docs: Update some hyperlinks to reference the new documentation hub (…
petertonysmith94 Dec 18, 2023
42ba1fb
Merge branch 'rc/salamander' into dp/scaffolding-tool-new
Dhaiwat10 Dec 18, 2023
c803c08
possible fix?
Dhaiwat10 Dec 18, 2023
ebdf6e8
checking something
Dhaiwat10 Dec 18, 2023
142907d
checking something
Dhaiwat10 Dec 18, 2023
645827b
Update main.sw
Dhaiwat10 Dec 18, 2023
7e5a2ae
revert unnecessary changes
Dhaiwat10 Dec 18, 2023
b252443
fix for unhappy docs ci
Dhaiwat10 Dec 18, 2023
3e9dc6e
disable pr release
Dhaiwat10 Dec 18, 2023
a003675
Merge branch 'master' into dp/scaffolding-tool-new
Dhaiwat10 Dec 19, 2023
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
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://unpkg.com/@changesets/config@2.0.0/schema.json",
"changelog": "../scripts/changelog.js",
"commit": false,
"fixed": [["@fuel-ts/*", "fuels"]],
"fixed": [["@fuel-ts/*", "fuels", "create-fuels"]],
"linked": [],
"access": "public",
"baseBranch": "master",
Expand Down
2 changes: 2 additions & 0 deletions .changeset/flat-dodos-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/late-mugs-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/odd-kids-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/poor-ravens-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
30 changes: 30 additions & 0 deletions .changeset/pretty-files-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
"@fuel-ts/abi-coder": minor
"@fuel-ts/abi-typegen": minor
"@fuel-ts/address": minor
"@fuel-ts/contract": minor
"create-fuels": minor
"@fuel-ts/crypto": minor
"@fuel-ts/errors": minor
"fuels": minor
"@fuel-ts/hasher": minor
"@fuel-ts/hdwallet": minor
"@fuel-ts/interfaces": minor
"@fuel-ts/math": minor
"@fuel-ts/merkle": minor
"@fuel-ts/mnemonic": minor
"@fuel-ts/predicate": minor
"@fuel-ts/program": minor
"@fuel-ts/providers": minor
"@fuel-ts/script": minor
"@fuel-ts/signer": minor
"@fuel-ts/transactions": minor
"@fuel-ts/utils": minor
"@fuel-ts/versions": minor
"@fuel-ts/wallet": minor
"@fuel-ts/wallet-manager": minor
"@fuel-ts/wordlists": minor
"nextjs": minor
---

Add `pnpm create fuels` CLI tool
2 changes: 2 additions & 0 deletions .changeset/selfish-wombats-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/stale-lizards-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
6 changes: 5 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ dist/
out/

apps/demo-fuels/src/sway-programs-api
apps/demo-typegen/src/generated-types
apps/demo-typegen/src/contract-types
apps/demo-typegen/src/script-types
apps/demo-typegen/src/predicate-types
apps/demo-nextjs
apps/demo-react-cra
apps/demo-react-vite
Expand All @@ -16,3 +18,5 @@ out
CHANGELOG.md

*.hbs

templates/nextjs
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @digorithm @arboleya @camsjams @Torres-ssf @Dhaiwat10 @danielbate @nedsalk
* @digorithm @arboleya @Torres-ssf @Dhaiwat10 @danielbate @nedsalk
2 changes: 1 addition & 1 deletion .github/actions/ci-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "CI Setup"
inputs:
node-version:
description: "Node version"
default: 18.14.1
default: 18.17.1
pnpm-version:
description: "PNPM version"
default: 8.9.0
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/test-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Test Setup"
inputs:
node-version:
description: "Node version"
default: 18.14.1
default: 18.17.1
pnpm-version:
description: "PNPM version"
default: 8.9.0
Expand Down Expand Up @@ -31,4 +31,4 @@ runs:

- name: Build
run: pnpm build
shell: bash
shell: bash
148 changes: 148 additions & 0 deletions .github/rc-list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
- [ ] African Elephant
- [ ] Albatross
- [ ] Alpaca
- [ ] Angelfish
- [ ] Ant
- [ ] Appaloosa
- [ ] Arabian Horse
- [ ] Arctic Fox
- [ ] Asian Elephant
- [ ] Bactrian Camel
- [ ] Bald Eagle
- [ ] Beagle
- [ ] Bee
- [ ] Beluga Whale
- [ ] Black Bear
- [ ] Blue Jay
- [ ] Blue Whale
- [ ] Bobcat
- [ ] Brown Bear
- [ ] Bulldog
- [ ] Butterfly
- [ ] Camel
- [ ] Caracal
- [ ] Cardinal
- [ ] Cheetah
- [ ] Chicken
- [ ] Chimpanzee
- [ ] Clownfish
- [ ] Clydesdale
- [ ] Cockatoo
- [ ] Cockroach
- [ ] Coral
- [ ] Cougar
- [ ] Coyote
- [ ] Crab
- [ ] Cricket
- [ ] Crow
- [ ] Cuttlefish
- [ ] Dachshund
- [ ] Dingo
- [ ] Dolphin
- [ ] Domestic Cat
- [ ] Domestic Dog
- [ ] Dragonfly
- [ ] Dromedary
- [ ] Duck
- [ ] Elephant
- [ ] Falcon
- [ ] Fennec Fox
- [ ] Finch
- [ ] Firefly
- [ ] Flamingo
- [ ] Friesian
- [ ] German Shepherd
- [ ] Giraffe
- [ ] Golden Retriever
- [ ] Goose
- [ ] Gorilla
- [ ] Grasshopper
- [ ] Grevy's Zebra
- [ ] Grizzly Bear
- [ ] Hawk
- [ ] Hermit Crab
- [ ] Hippopotamus
- [ ] Hornet
- [ ] Horse
- [ ] Hummingbird
- [ ] Humpback Whale
- [ ] Husky
- [ ] Hyena
- [ ] Jaguar
- [ ] Jellyfish
- [ ] Kangaroo
- [ ] Katydid
- [ ] Kingfisher
- [ ] Koala
- [ ] Labrador Retriever
- [ ] Ladybug
- [ ] Leopard
- [ ] Lion
- [ ] Llama
- [ ] Lobster
- [ ] Lynx
- [ ] Macaw
- [ ] Magpie
- [ ] Manatee
- [ ] Mantis Shrimp
- [ ] Moth
- [ ] Mountain Lion
- [ ] Mountain Zebra
- [ ] Mustang
- [ ] Narwhal
- [ ] Nautilus
- [ ] Octopus
- [ ] Orca
- [ ] Ostrich
- [ ] Owl
- [ ] Palomino
- [ ] Panda
- [ ] Panther
- [ ] Parrot
- [ ] Peacock
- [ ] Pelican
- [ ] Penguin
- [ ] Pigeon
- [ ] Plains Zebra
- [ ] Polar Bear
- [ ] Pony
- [ ] Poodle
- [ ] Praying Mantis
- [ ] Pufferfish
- [ ] Puffin
- [ ] Quarter Horse
- [ ] Raven
- [ ] Red Panda
- [ ] Rhino
- [ ] Rhinoceros Beetle
- [ ] Robin
- [ ] Rooster
- [ ] Rottweiler
- [x] Salamander
- [ ] Scarab Beetle
- [ ] Sea Anemone
- [ ] Sea Cucumber
- [ ] Sea Lion
- [ ] Sea Urchin
- [ ] Seahorse
- [ ] Seal
- [ ] Serval
- [ ] Shetland Pony
- [ ] Shrimp
- [ ] Snow Leopard
- [ ] Sparrow
- [ ] Sperm Whale
- [ ] Squid
- [ ] Starfish
- [ ] Stork
- [ ] Swan
- [ ] Thoroughbred
- [ ] Tiger
- [ ] Toucan
- [ ] Turkey
- [ ] Vicuña
- [ ] Walrus
- [ ] Wasp
- [ ] Wolf
- [ ] Woodpecker
- [ ] Zebra
8 changes: 8 additions & 0 deletions .github/workflows/pr-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ jobs:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
docs
ci
rc

validate-changeset:
name: Validate PR Changeset
Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/rc-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Release to @rc-<name> tag on npm

on:
push:
branches:
- "rc/*"

jobs:
release-pr:
name: "Release RC to npm"
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: CI Setup
uses: ./.github/actions/ci-setup

- name: Ensure NPM access
run: npm whoami
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build
run: pnpm build

- name: Get RC name
uses: frabert/replace-string-action@v2
id: rc_name
with:
string: ${{ github.ref }}
pattern: "refs/heads/rc/"
replace-with: "rc-"

- name: Release to @${{ steps.rc_name.outputs.replaced }} tag on npm
id: release
run: |
echo "${{ steps.rc_name.outputs.replaced }}"
pnpm changeset:next
git add .changeset/fuel-labs-ci.md
pnpm changeset version --snapshot ${{ steps.rc_name.outputs.replaced }}
changetsets=$(pnpm changeset publish --tag ${{ steps.rc_name.outputs.replaced }})
published_version=$(echo "$changetsets" | grep -oP '@\K([0-9]+\.){2}[0-9]+-${{ steps.rc_name.outputs.replaced }}-\d+' | head -1)
echo "published_version=$published_version" >> $GITHUB_OUTPUT
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: mshick/add-pr-comment@v2
with:
message: |
This RC is published in NPM with version **${{ steps.rc_name.outputs.replaced }}**
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.14.1
18.17.1
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ apps/demo-fuels/src/sway-programs-api
apps/demo-nextjs
apps/demo-react-cra
apps/demo-react-vite
apps/demo-typegen/src/generated-types
apps/demo-typegen/src/contract-types
apps/demo-typegen/src/script-types
apps/demo-typegen/src/predicate-types
apps/docs/.vitepress/cache/

packages/fuels/test/fixtures/project
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@

[![test](https://github.com/FuelLabs/fuels-ts/actions/workflows/test.yaml/badge.svg)](https://github.com/FuelLabs/fuels-ts/actions/workflows/test.yaml)
[![npm](https://img.shields.io/npm/v/fuels)](https://www.npmjs.com/package/fuels)
[![docs](https://img.shields.io/badge/docs-fuels.ts-brightgreen.svg?style=flat)](https://fuellabs.github.io/fuels-ts/)
[![docs](https://img.shields.io/badge/docs-fuels.ts-brightgreen.svg?style=flat)](https://docs.fuel.network/docs/fuels-ts/)
[![discord](https://img.shields.io/badge/chat%20on-discord-orange?&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/xfpK4Pe)

# Resources

The [documentation](https://fuellabs.github.io/fuels-ts) site is your main stop for resources.
The [documentation](https://docs.fuel.network/docs/fuels-ts/) site is your main stop for resources.

- [Quickstart](https://fuellabs.github.io/fuel-docs/master/quickstart/developer-quickstart.html)
- [Documentation](https://fuellabs.github.io/fuels-ts)
- [Wallets](https://fuellabs.github.io/fuels-ts/guide/wallets/)
- [Contracts](https://fuellabs.github.io/fuels-ts/guide/contracts/)
- [Scripts](https://fuellabs.github.io/fuels-ts/guide/scripts/)
- [Predicates](https://fuellabs.github.io/fuels-ts/guide/predicates/)
- [ABI Typegen](https://fuellabs.github.io/fuels-ts/guide/abi-typegen/)
- [Quickstart](https://docs.fuel.network/docs/intro/quickstart-contract/)
- [Documentation](https://docs.fuel.network/docs/fuels-ts/)
- [Wallets](https://docs.fuel.network/docs/fuels-ts/wallets/)
- [Contracts](https://docs.fuel.network/docs/fuels-ts/contracts/)
- [Scripts](https://docs.fuel.network/docs/fuels-ts/scripts/)
- [Predicates](https://docs.fuel.network/docs/fuels-ts/predicates/)
- [ABI Typegen](https://docs.fuel.network/docs/fuels-ts/abi-typegen/)
- [Contributing](https://github.com/FuelLabs/fuels-ts/blob/master/CONTRIBUTING.md)
- [The Fuel Forum](https://forum.fuel.network/)
- [The Fuel Ecosystem](#the-fuel-ecosystem)
Expand Down Expand Up @@ -49,7 +49,7 @@ console.log(new Wallet("0x0000...0000"));

Fuels include some utility commands via built-in CLI tool.

Check the [docs](https://fuellabs.github.io/fuels-ts) for more info.
Check the [docs](https://docs.fuel.network/docs/fuels-ts/) for more info.

```console
$ npm add fuels
Expand Down Expand Up @@ -78,8 +78,8 @@ Commands:

Learn more about the Fuel Ecosystem.

- [🌴 Sway](https://fuellabs.github.io/sway/) — The new language, empowering everyone to build reliable and efficient smart contracts
- [🧰 Forc](https://fuellabs.github.io/sway/v0.30.1/forc/index.html) — The Fuel toolbox: _Build, deploy and manage your sway projects_
- [🌴 Sway](https://docs.fuel.network/docs/sway/) — The new language, empowering everyone to build reliable and efficient smart contracts
- [🧰 Forc](https://docs.fuel.network/docs/forc/) — The Fuel toolbox: _Build, deploy and manage your sway projects_
- [⚙️ Fuel Core](https://github.com/FuelLabs/fuel-core) — The new FuelVM, a blazingly fast blockchain VM
- [🔗 Fuel Specs](https://github.com/FuelLabs/fuel-specs) — The Fuel protocol specifications
- [💼 Fuels Wallet](https://github.com/FuelLabs/fuels-wallet) — The Official Fuels Wallet
Expand Down
4 changes: 3 additions & 1 deletion apps/demo-typegen/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
node_modules
src/generated-types
src/contract-types
src/predicate-types
src/script-types

# Forc
**/out/debug/**
Loading
Loading