Skip to content

Commit

Permalink
Add edition entry in each Scarb.toml (#2649)
Browse files Browse the repository at this point in the history
<!-- Reference any GitHub issues resolved by this PR -->

Closes #2632

## Introduced changes

<!-- A brief description of the changes -->

-

## Checklist

<!-- Make sure all of these are complete -->

- [x] Linked relevant issue
- [x] Updated relevant documentation
- [x] Added relevant tests
- [x] Performed self-review of the code
- [x] Added changes to `CHANGELOG.md`
  • Loading branch information
kkawula authored Nov 7, 2024
1 parent 41dd99e commit 8eb8ca8
Show file tree
Hide file tree
Showing 63 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/cheatnet/tests/contracts/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "cheatnet_testing_contracts"
version = "0.1.0"
edition = "2023_01"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest
[[target.starknet-contract]]
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/collection_with_lib/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "collection_with_lib"
version = "0.1.0"
edition = "2023_10"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/collection_without_lib/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "collection_without_lib"
version = "0.1.0"
edition = "2023_10"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/component_macros/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "component_macros"
version = "0.1.0"
edition = "2023_01"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/contract_printing/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "contract_printing"
version = "0.1.0"
edition = "2023_01"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest

Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/coverage_project/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "coverage_project"
version = "0.1.0"
edition = "2024_07"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/empty/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "empty"
version = "0.1.0"
edition = "2024_07"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/env/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "env"
version = "0.1.0"
edition = "2024_07"

[dependencies]

Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/erc20_package/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "erc20_package"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.4.0"
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/exit_first/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "exit_first"
version = "0.1.0"
edition = "2023_10"

[dependencies]
starknet = "2.4.0"
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/features/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "features"
version = "0.1.0"
edition = "2023_10"

[dependencies]
starknet = "2.4.0"
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/file_reading/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "file_reading"
version = "0.1.0"
edition = "2023_01"

[[target.starknet-contract]]
sierra = true
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/forking/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "forking"
version = "0.1.0"
edition = "2024_07"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/fuzzing/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "fuzzing"
version = "0.1.0"
edition = "2023_10"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/hello_workspaces/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ version = "0.1.0"
[package]
name = "hello_workspaces"
version.workspace = true
edition = "2023_10"

[scripts]
test.workspace = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "addition"
version.workspace = true
edition = "2023_10"

[dependencies]
starknet.workspace = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "fibonacci"
version.workspace = true
edition = "2023_10"

[scripts]
test.workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/panic_decoding/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "panic_decoding"
version = "0.1.0"
edition = "2023_01"

[dependencies]
assert_macros = "0.1.0"
1 change: 1 addition & 0 deletions crates/forge/tests/data/should_panic_test/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[package]
name = "should_panic_test"
version = "0.1.0"
edition = "2023_01"
1 change: 1 addition & 0 deletions crates/forge/tests/data/simple_package/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "simple_package"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.4.0"
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/steps/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "steps"
version = "0.1.0"
edition = "2024_07"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/targets/custom_target/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "custom_target"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.7.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "custom_target_custom_names"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.7.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "custom_target_only_integration"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.7.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "only_integration"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.7.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "only_lib_integration"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.7.0"
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/targets/only_unit/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "only_unit"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.7.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "unit_and_integration"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.7.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "unit_and_lib_integration"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.7.0"
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/targets/with_features/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "with_features"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.7.0"
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/trace/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "trace_info"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.4.0"
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/trace_resources/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "trace_resources"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = "2.4.0"
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/data/virtual_workspace/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ snforge_std = { path = "../../../../../snforge_std" }

[workspace.package]
version = "0.1.0"
edition = "2023_10"

[scripts]
test.workspace = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "fibonacci2"
version.workspace = true
edition = "2023_10"

[scripts]
test.workspace = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "subtraction"
version.workspace = true
edition = "2023_10"

[dependencies]
starknet.workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/scarb-api/tests/data/basic_package/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "basic_package"
version = "0.1.0"
edition = "2024_07"

[dependencies]
starknet = "2.4.0"
Expand Down
1 change: 1 addition & 0 deletions crates/scarb-api/tests/data/empty_lib/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[package]
name = "empty_lib"
version = "0.1.0"
edition = "2024_07"
1 change: 1 addition & 0 deletions crates/sncast/tests/data/contracts/build_fails/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "build_fails"
version = "0.1.0"
edition = "2023_10"

[dependencies]
starknet = ">=2.0.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "constructor_with_params"
version = "0.1.0"
edition = "2023_10"

[dependencies]
starknet = ">=2.0.2"
Expand Down
1 change: 1 addition & 0 deletions crates/sncast/tests/data/contracts/map/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "map"
version = "0.1.0"
edition = "2023_10"

[dependencies]
starknet = ">=2.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ version = "0.1.0"
[package]
name = "main_workspace"
version.workspace = true
edition = "2023_10"

[dependencies]
starknet.workspace = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "package1"
version.workspace = true
edition = "2023_10"

[dependencies]
starknet.workspace = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "package2"
version.workspace = true
edition = "2023_10"

[dependencies]
starknet.workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/sncast/tests/data/contracts/no_casm/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "build_fails_no_casm"
version = "0.1.0"
edition = "2023_10"

[dependencies]
starknet = ">=2.0.2"
Expand Down
1 change: 1 addition & 0 deletions crates/sncast/tests/data/contracts/no_sierra/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "build_fails_no_sierra"
version = "0.1.0"
edition = "2023_10"

[dependencies]
starknet = ">=2.0.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "cast_addition"
version = "0.1.0"
edition = "2023_10"

[dependencies]
starknet.workspace = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "cast_fibonacci"
version = "0.1.0"
edition = "2023_10"

[dependencies]
cast_addition = { path = "../cast_addition" }
Expand Down
1 change: 1 addition & 0 deletions crates/sncast/tests/data/scripts/call/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "call_test_scripts"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = ">=2.3.0"
Expand Down
1 change: 1 addition & 0 deletions crates/sncast/tests/data/scripts/declare/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "declare_test_scripts"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = ">=2.3.0"
Expand Down
1 change: 1 addition & 0 deletions crates/sncast/tests/data/scripts/deploy/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "deploy_test_scripts"
version = "0.1.0"
edition = "2023_01"

[dependencies]
starknet = ">=2.4.0"
Expand Down
Loading

0 comments on commit 8eb8ca8

Please sign in to comment.