Skip to content

Commit

Permalink
feat: beta-4 and beta-5 (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz authored Feb 9, 2024
1 parent 3fc94cf commit 7f19221
Show file tree
Hide file tree
Showing 1,734 changed files with 172,488 additions and 4,482 deletions.
7 changes: 6 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"extends": ["plugin:@fuels/next"],
"rules": {
"import/no-unresolved": "off"
"import/no-named-as-default-member": "off",
"import/no-named-as-default": "off",
"import/default": "off",
"import/namespace": "off",
"import/no-unresolved": "off",
"import/order": "off"
}
}
4 changes: 4 additions & 0 deletions .eslintrc.prod
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"extends": ["plugin:@fuels/next"],
"rules": {
"import/no-named-as-default-member": "off",
"import/no-named-as-default": "off",
"import/default": "off",
"import/namespace": "off",
"import/no-unresolved": "off",
"import/order": "off"
}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-node/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.18.2
pnpm-version:
description: "PNPM version"
default: latest
Expand Down
16 changes: 2 additions & 14 deletions .github/workflows/guides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,32 +53,20 @@ jobs:
- uses: ./.github/actions/setup-node
with:
install: false
- uses: dtolnay/rust-toolchain@stable

# INSTALLATIONS
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install cargo-generate
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-generate
run: cargo install cargo-generate --locked
- name: Install Fuelup
run: |
curl --proto '=https' --tlsv1.2 -sSf https://install.fuel.network/fuelup-init.sh | sh
- name: Modify Path
run: echo "$HOME/.fuelup/bin:${GITHUB_PATH}" >> $GITHUB_PATH

# CONFIGURE FUEL TOOLCHAIN
- name: Set Default Beta-4 Toolchain
run: fuelup toolchain install beta-4 && fuelup default beta-4

# RUN E2E TESTS
- name: Run Playwright tests for ${{ matrix.guide }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
- name: Check All Links
run: |
linkchecker --check-extern --no-warnings --ignore-url=crates.io --ignore-url=127.0.0.1 --ignore-url=block-explorer-v2 --ignore-url=localhost: --ignore-url=infura.io --ignore-url=chainsecurity.com --ignore-url=-indexer.fuel.network --ignore-url=beta-4.fuel.network/graphql ${{ github.event.deployment_status.environment_url }}/sitemap.xml
linkchecker --check-extern --no-warnings --ignore-url=crates.io --ignore-url=127.0.0.1 --ignore-url=block-explorer-v2 --ignore-url=localhost: --ignore-url=infura.io --ignore-url=chainsecurity.com --ignore-url=-indexer.fuel.network --ignore-url=beta-5.fuel.network/graphql ${{ github.event.deployment_status.environment_url }}/sitemap.xml
12 changes: 9 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-node
- run: pnpm audit --prod
with:
install: false
- run: |
pnpm install
pnpm audit --prod
lint:
name: Lint
Expand All @@ -36,9 +40,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node
uses: ./.github/actions/setup-node
- uses: ./.github/actions/setup-node
with:
install: false

- name: Run lint
run: |
pnpm install
pnpm check:prod
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
[submodule "docs/fuelup"]
path = docs/fuelup
url = https://github.com/FuelLabs/fuelup.git
[submodule "docs/fuel-indexer"]
path = docs/fuel-indexer
url = https://github.com/FuelLabs/fuel-indexer.git
[submodule "docs/fuel-specs"]
path = docs/fuel-specs
url = https://github.com/FuelLabs/fuel-specs.git
Expand Down Expand Up @@ -61,6 +58,3 @@
[submodule "docs/nightly/fuelup"]
path = docs/nightly/fuelup
url = https://github.com/FuelLabs/fuelup.git
[submodule "docs/nightly/fuel-indexer"]
path = docs/nightly/fuel-indexer
url = https://github.com/FuelLabs/fuel-indexer.git
1 change: 1 addition & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ docs/fuels-wallet
docs/fuel-specs
docs/fuel-indexer
docs/fuel-graphql-docs
docs/beta-4
41 changes: 21 additions & 20 deletions contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,56 +51,57 @@ const MdDoc = defineDocumentType(() => ({
}));

const includeDirs = [
// DEFAULT DOCS & GUIDES
'docs/sway/docs/book/src',
'docs/fuelup/docs/src',
'docs/fuels-rs/docs/src',
'docs/fuels-ts/apps/docs/src',
'docs/fuel-indexer/docs/src',
'docs/fuel-specs/src',
'docs/fuel-graphql-docs/docs',
'docs/fuels-wallet/packages/docs/docs',
'docs/guides/docs',
'docs/intro',
// 'docs/fuel-nix/book/src',
// 'docs/about-fuel',
// NIGHTLY DOCS
'docs/nightly/sway/docs/book/src',
'docs/nightly/fuelup/docs/src',
'docs/nightly/fuels-rs/docs/src',
'docs/nightly/fuels-ts/apps/docs/src',
'docs/nightly/fuel-indexer/docs/src',
'docs/nightly/fuel-specs/src',
'docs/nightly/fuel-graphql-docs/docs',
'docs/nightly/fuels-wallet/packages/docs/docs',
// 'docs/nightly/guides/docs',
// 'docs/nightly/about-fuel',
// BETA-4 DOCS
'docs/beta-4/sway/docs/book/src',
'docs/beta-4/fuelup/docs/src',
'docs/beta-4/fuels-rs/docs/src',
'docs/beta-4/fuels-ts/apps/docs/src',
'docs/beta-4/fuel-specs/src',
'docs/beta-4/fuel-graphql-docs/docs',
'docs/beta-4/fuels-wallet/packages/docs/docs',
// 'docs/beta-4/guides/docs',
];

const excludeDirs = [
// DEFAULT DOCS & GUIDES
'docs/guides/docs/guides.json',
'docs/guides/docs/nav.json',
'docs/guides/docs/migration-guide/breaking-change-log/README.md',
'docs/guides/docs/migration-guide/breaking-change-log/package.json',
'docs/guides/docs/migration-guide/breaking-change-log/pnpm-lock.yaml',
'docs/intro/nav.json',
// 'docs/about-fuel/nav.json',
'docs/sway/docs/book/src/SUMMARY.md',
'docs/sway/docs/book/src/forc/commands/forc_deploy.md',
'docs/sway/docs/book/src/forc/commands/forc_run.md',
'docs/fuelup/docs/src/SUMMARY.md',
'docs/fuels-rs/docs/src/SUMMARY.md',
'docs/fuel-indexer/docs/src/SUMMARY.md',
'docs/fuel-specs/src/SUMMARY.md',
// 'docs/nightly/guides/docs/guides.json',
// 'docs/nightly/guides/docs/nav.json',
// 'docs/nightly/about-fuel/nav.json',
// NIGHTLY DOCS
'docs/nightly/sway/docs/book/src/SUMMARY.md',
'docs/nightly/sway/docs/book/src/forc/commands/forc_deploy.md',
'docs/nightly/sway/docs/book/src/forc/commands/forc_run.md',
'docs/nightly/fuelup/docs/src/SUMMARY.md',
'docs/nightly/fuels-rs/docs/src/SUMMARY.md',
'docs/nightly/fuel-indexer/docs/src/SUMMARY.md',
'docs/nightly/fuel-specs/src/SUMMARY.md',
// 'docs/fuel-nix/book/src/SUMMARY.md',
'docs/guides/docs/migration-guide/breaking-change-log/README.md',
'docs/guides/docs/migration-guide/breaking-change-log/package.json',
'docs/guides/docs/migration-guide/breaking-change-log/pnpm-lock.yaml',
// BETA-4 DOCS
'docs/beta-4/sway/docs/book/src/SUMMARY.md',
'docs/beta-4/fuelup/docs/src/SUMMARY.md',
'docs/beta-4/fuels-rs/docs/src/SUMMARY.md',
'docs/beta-4/fuel-specs/src/SUMMARY.md',
];

export default makeSource({
Expand Down
224 changes: 224 additions & 0 deletions docs/beta-4/builds/sway/master/book/advanced/advanced_types.html

Large diffs are not rendered by default.

248 changes: 248 additions & 0 deletions docs/beta-4/builds/sway/master/book/advanced/assembly.html

Large diffs are not rendered by default.

248 changes: 248 additions & 0 deletions docs/beta-4/builds/sway/master/book/advanced/associated_types.html

Large diffs are not rendered by default.

293 changes: 293 additions & 0 deletions docs/beta-4/builds/sway/master/book/advanced/generic_types.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

207 changes: 207 additions & 0 deletions docs/beta-4/builds/sway/master/book/advanced/index.html

Large diffs are not rendered by default.

388 changes: 388 additions & 0 deletions docs/beta-4/builds/sway/master/book/advanced/traits.html

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions docs/beta-4/builds/sway/master/book/basics/blockchain_types.html

Large diffs are not rendered by default.

356 changes: 356 additions & 0 deletions docs/beta-4/builds/sway/master/book/basics/built_in_types.html

Large diffs are not rendered by default.

276 changes: 276 additions & 0 deletions docs/beta-4/builds/sway/master/book/basics/comments_and_logging.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

301 changes: 301 additions & 0 deletions docs/beta-4/builds/sway/master/book/basics/constants.html

Large diffs are not rendered by default.

338 changes: 338 additions & 0 deletions docs/beta-4/builds/sway/master/book/basics/control_flow.html

Large diffs are not rendered by default.

258 changes: 258 additions & 0 deletions docs/beta-4/builds/sway/master/book/basics/functions.html

Large diffs are not rendered by default.

212 changes: 212 additions & 0 deletions docs/beta-4/builds/sway/master/book/basics/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

235 changes: 235 additions & 0 deletions docs/beta-4/builds/sway/master/book/basics/variables.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

209 changes: 209 additions & 0 deletions docs/beta-4/builds/sway/master/book/blockchain-development/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

226 changes: 226 additions & 0 deletions docs/beta-4/builds/sway/master/book/blockchain-development/purity.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

208 changes: 208 additions & 0 deletions docs/beta-4/builds/sway/master/book/common-collections/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

249 changes: 249 additions & 0 deletions docs/beta-4/builds/sway/master/book/common-collections/vec.html

Large diffs are not rendered by default.

230 changes: 230 additions & 0 deletions docs/beta-4/builds/sway/master/book/examples/counter.html

Large diffs are not rendered by default.

227 changes: 227 additions & 0 deletions docs/beta-4/builds/sway/master/book/examples/fizzbuzz.html

Large diffs are not rendered by default.

205 changes: 205 additions & 0 deletions docs/beta-4/builds/sway/master/book/examples/index.html

Large diffs are not rendered by default.

292 changes: 292 additions & 0 deletions docs/beta-4/builds/sway/master/book/examples/subcurrency.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

218 changes: 218 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/forc_addr2line.html

Large diffs are not rendered by default.

308 changes: 308 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/forc_build.html

Large diffs are not rendered by default.

232 changes: 232 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/forc_check.html

Large diffs are not rendered by default.

213 changes: 213 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/forc_clean.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

237 changes: 237 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/forc_init.html

Large diffs are not rendered by default.

237 changes: 237 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/forc_new.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

215 changes: 215 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/forc_plugins.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

224 changes: 224 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/forc_template.html

Large diffs are not rendered by default.

302 changes: 302 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/forc_test.html

Large diffs are not rendered by default.

220 changes: 220 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/forc_update.html

Large diffs are not rendered by default.

215 changes: 215 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/commands/index.html

Large diffs are not rendered by default.

220 changes: 220 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/dependencies.html

Large diffs are not rendered by default.

201 changes: 201 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/index.html

Large diffs are not rendered by default.

378 changes: 378 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/manifest_reference.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

224 changes: 224 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/plugins/forc_doc.html

Large diffs are not rendered by default.

213 changes: 213 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/plugins/forc_explore.html

Large diffs are not rendered by default.

218 changes: 218 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/plugins/forc_fmt.html

Large diffs are not rendered by default.

200 changes: 200 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/plugins/forc_lsp.html

Large diffs are not rendered by default.

218 changes: 218 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/plugins/index.html

Large diffs are not rendered by default.

239 changes: 239 additions & 0 deletions docs/beta-4/builds/sway/master/book/forc/workspaces.html

Large diffs are not rendered by default.

201 changes: 201 additions & 0 deletions docs/beta-4/builds/sway/master/book/frontend/index.html

Large diffs are not rendered by default.

206 changes: 206 additions & 0 deletions docs/beta-4/builds/sway/master/book/frontend/typescript_sdk.html

Large diffs are not rendered by default.

261 changes: 261 additions & 0 deletions docs/beta-4/builds/sway/master/book/introduction/forc_project.html

Large diffs are not rendered by default.

216 changes: 216 additions & 0 deletions docs/beta-4/builds/sway/master/book/introduction/fuel_toolchain.html

Large diffs are not rendered by default.

206 changes: 206 additions & 0 deletions docs/beta-4/builds/sway/master/book/introduction/index.html

Large diffs are not rendered by default.

331 changes: 331 additions & 0 deletions docs/beta-4/builds/sway/master/book/introduction/installation.html

Large diffs are not rendered by default.

233 changes: 233 additions & 0 deletions docs/beta-4/builds/sway/master/book/introduction/standard_library.html

Large diffs are not rendered by default.

199 changes: 199 additions & 0 deletions docs/beta-4/builds/sway/master/book/introduction/sway_quickstart.html

Large diffs are not rendered by default.

222 changes: 222 additions & 0 deletions docs/beta-4/builds/sway/master/book/lsp/features.html

Large diffs are not rendered by default.

207 changes: 207 additions & 0 deletions docs/beta-4/builds/sway/master/book/lsp/index.html

Large diffs are not rendered by default.

213 changes: 213 additions & 0 deletions docs/beta-4/builds/sway/master/book/lsp/installation.html

Large diffs are not rendered by default.

228 changes: 228 additions & 0 deletions docs/beta-4/builds/sway/master/book/reference/attributes.html

Large diffs are not rendered by default.

360 changes: 360 additions & 0 deletions docs/beta-4/builds/sway/master/book/reference/compiler_intrinsics.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

208 changes: 208 additions & 0 deletions docs/beta-4/builds/sway/master/book/reference/index.html

Large diffs are not rendered by default.

280 changes: 280 additions & 0 deletions docs/beta-4/builds/sway/master/book/reference/keywords.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

224 changes: 224 additions & 0 deletions docs/beta-4/builds/sway/master/book/reference/rust_differences.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

203 changes: 203 additions & 0 deletions docs/beta-4/builds/sway/master/book/reference/style_guide.html

Large diffs are not rendered by default.

212 changes: 212 additions & 0 deletions docs/beta-4/builds/sway/master/book/sway-program-types/index.html

Large diffs are not rendered by default.

359 changes: 359 additions & 0 deletions docs/beta-4/builds/sway/master/book/sway-program-types/libraries.html

Large diffs are not rendered by default.

209 changes: 209 additions & 0 deletions docs/beta-4/builds/sway/master/book/sway-program-types/predicates.html

Large diffs are not rendered by default.

222 changes: 222 additions & 0 deletions docs/beta-4/builds/sway/master/book/sway-program-types/scripts.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

210 changes: 210 additions & 0 deletions docs/beta-4/builds/sway/master/book/testing/index.html

Large diffs are not rendered by default.

435 changes: 435 additions & 0 deletions docs/beta-4/builds/sway/master/book/testing/testing-with-rust.html

Large diffs are not rendered by default.

331 changes: 331 additions & 0 deletions docs/beta-4/builds/sway/master/book/testing/unit-testing.html

Large diffs are not rendered by default.

Loading

0 comments on commit 7f19221

Please sign in to comment.