<commit_before>// swift-tools-version:4.0

import PackageDescription

let package = Package(
    name: "tapcrate-api",
    dependencies: [
        .package(url: "https://github.com/vapor/vapor.git", from: "2.0.0"),
        .package(url: "https://github.com/vapor/mysql-provider.git", from: "2.0.0"),
        .package(url: "https://github.com/vapor/jwt.git", from: "2.0.0"),
        .package(url: "https://github.com/vapor/auth-provider.git", from: "1.0.0"),
        .package(url: "https://github.com/nodes-vapor/paginator.git", from: "1.0.0"),
        .package(url: "https://github.com/khanlou/Promise.git", from: "1.0.0")
    ],
    targets: [
        .target(
            name: "lib",
            dependencies: [
                Target.Dependency(stringLiteral: "Vapor"),
                Target.Dependency(stringLiteral: "MySQLProvider"),
                Target.Dependency(stringLiteral: "JWT"),
                Target.Dependency(stringLiteral: "AuthProvider"),
                Target.Dependency(stringLiteral: "Paginator")
            ],
            path: "Sources",
            exclude: [
                "Config",
                "Database",
                "Public"
            ]
        ),
        .target(
            name: "api",
            dependencies: [
                Target.Dependency(stringLiteral: "lib")
            ]
        )
    ]   
)
<commit_msg>remove promise lib<commit_after>// swift-tools-version:4.0

import PackageDescription

let package = Package(
    name: "tapcrate-api",
    products: [
        .library(name: "lib", targets: ["lib"]),
        .executable(name: "api", targets: ["api"])
    ],
    dependencies: [
        .package(url: "https://github.com/vapor/vapor.git", from: "2.0.0"),
        .package(url: "https://github.com/vapor/mysql-provider.git", from: "2.0.0"),
        .package(url: "https://github.com/vapor/jwt.git", from: "2.0.0"),
        .package(url: "https://github.com/vapor/auth-provider.git", from: "1.0.0"),
        .package(url: "https://github.com/nodes-vapor/paginator.git", from: "1.0.0")
    ],
    targets: [
        .target(
            name: "lib",
            dependencies: [
                "Vapor",
                "MySQLProvider",
                "JWT",
                "AuthProvider",
                "Paginator",
                "Promise"
            ],
            path: "Sources",
            exclude: [
                "Config",
                "Database",
                "Public"
            ]
        ),
        .target(
            name: "api",
            dependencies: [
                "lib"
            ]
        )
    ]   
)

{'fraction_non_alphanumeric': 0.16621983914209115, 'fraction_numerical': 0.014170815779394868, 'mean_word_length': 1.5359223300970875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5122802', 'n_tokens_mistral': 805, 'n_tokens_neox': 787, 'n_words': 124}