Skip to content

Commit f273cfd

Browse files
authored
Rename project to Swift Bedrock Library (#16)
* rename project * add acknowledgment to readme * [CI] update path * change project name in license headers * fix playground-backend build * swift format
1 parent 9071a74 commit f273cfd

File tree

182 files changed

+1408
-1453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+1408
-1453
lines changed

.github/workflows/build_soundness.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,23 @@ jobs:
99
- name: Checkout repository
1010
uses: actions/checkout@v4
1111
- name: Run tests
12-
working-directory: swift-bedrock-library
1312
run: swift test
1413

1514
playground-backend:
1615
runs-on: ubuntu-latest
1716
steps:
1817
- name: Checkout repository
1918
uses: actions/checkout@v4
20-
- name: Web playground backend tests
21-
working-directory: web-playground/backend
19+
- name: Web playground backend build
20+
working-directory: Examples/web-playground/backend
2221
run: swift build
2322

2423
soundness:
2524
name: Soundness
2625
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
2726
with:
2827
license_header_check_enabled: true
29-
license_header_check_project_name: "Swift Foundation Models Playground"
28+
license_header_check_project_name: "Swift Bedrock Library"
3029
shell_check_enabled: false
3130
python_lint_check_enabled: false
3231
api_breakage_check_enabled: false

.license_header_template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
@@===----------------------------------------------------------------------===@@
22
@@
3-
@@ This source file is part of the Swift Foundation Models Playground open source project
3+
@@ This source file is part of the Swift Bedrock Library open source project
44
@@
55
@@ Copyright (c) YEARS Amazon.com, Inc. or its affiliates
6-
@@ and the Swift Foundation Models Playground project authors
6+
@@ and the Swift Bedrock Library project authors
77
@@ Licensed under Apache License v2.0
88
@@
99
@@ See LICENSE.txt for license information
10-
@@ See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
10+
@@ See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
1111
@@
1212
@@ SPDX-License-Identifier: Apache-2.0
1313
@@

web-playground/backend/Package.swift renamed to Examples/web-playground/backend/Package.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ let package = Package(
1212
dependencies: [
1313
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0"),
1414
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.3.0"),
15-
.package(name: "swift-bedrock-library", path: "../.."),
15+
16+
// Uncomment the following line to use the Bedrock library from a specific branch or commit
17+
// .package(url: "https://github.com/build-on-aws/swift-bedrock-library.git", branch: "main"),
18+
19+
// for CI or testing purposes, you can use a local path
20+
.package(name: "swift-bedrock-library", path: "../../.."),
1621
],
1722
targets: [
1823
.executableTarget(

web-playground/backend/Sources/PlaygroundAPI/App.swift renamed to Examples/web-playground/backend/Sources/PlaygroundAPI/App.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the Swift Foundation Models Playground open source project
3+
// This source file is part of the Swift Bedrock Library open source project
44
//
55
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
6-
// and the Swift Foundation Models Playground project authors
6+
// and the Swift Bedrock Library project authors
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information
10-
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
10+
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
1111
//
1212
// SPDX-License-Identifier: Apache-2.0
1313
//

web-playground/backend/Sources/PlaygroundAPI/Application+build.swift renamed to Examples/web-playground/backend/Sources/PlaygroundAPI/Application+build.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the Swift Foundation Models Playground open source project
3+
// This source file is part of the Swift Bedrock Library open source project
44
//
55
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
6-
// and the Swift Foundation Models Playground project authors
6+
// and the Swift Bedrock Library project authors
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information
10-
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
10+
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
1111
//
1212
// SPDX-License-Identifier: Apache-2.0
1313
//

web-playground/backend/Sources/PlaygroundAPI/Types/Chat.swift renamed to Examples/web-playground/backend/Sources/PlaygroundAPI/Types/Chat.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the Swift Foundation Models Playground open source project
3+
// This source file is part of the Swift Bedrock Library open source project
44
//
55
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
6-
// and the Swift Foundation Models Playground project authors
6+
// and the Swift Bedrock Library project authors
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information
10-
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
10+
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
1111
//
1212
// SPDX-License-Identifier: Apache-2.0
1313
//

web-playground/backend/Sources/PlaygroundAPI/Types/ImageGeneration.swift renamed to Examples/web-playground/backend/Sources/PlaygroundAPI/Types/ImageGeneration.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the Swift Foundation Models Playground open source project
3+
// This source file is part of the Swift Bedrock Library open source project
44
//
55
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
6-
// and the Swift Foundation Models Playground project authors
6+
// and the Swift Bedrock Library project authors
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information
10-
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
10+
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
1111
//
1212
// SPDX-License-Identifier: Apache-2.0
1313
//

web-playground/backend/Sources/PlaygroundAPI/Types/ListModels.swift renamed to Examples/web-playground/backend/Sources/PlaygroundAPI/Types/ListModels.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the Swift Foundation Models Playground open source project
3+
// This source file is part of the Swift Bedrock Library open source project
44
//
55
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
6-
// and the Swift Foundation Models Playground project authors
6+
// and the Swift Bedrock Library project authors
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information
10-
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
10+
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
1111
//
1212
// SPDX-License-Identifier: Apache-2.0
1313
//

web-playground/backend/Sources/PlaygroundAPI/Types/TextGeneration.swift renamed to Examples/web-playground/backend/Sources/PlaygroundAPI/Types/TextGeneration.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the Swift Foundation Models Playground open source project
3+
// This source file is part of the Swift Bedrock Library open source project
44
//
55
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
6-
// and the Swift Foundation Models Playground project authors
6+
// and the Swift Bedrock Library project authors
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information
10-
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
10+
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
1111
//
1212
// SPDX-License-Identifier: Apache-2.0
1313
//

0 commit comments

Comments
 (0)