remove package.swift as it is not stable

This commit is contained in:
Riccardo Cipolleschi
2025-09-09 15:15:08 +01:00
parent c95b2e1c22
commit 2a21c82e2d
2 changed files with 0 additions and 127 deletions
@@ -1,68 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`execute test-app "Package.swift" should match snapshot 1`] = `
"// swift-tools-version: 6.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: \\"React-GeneratedCode\\",
platforms: [.iOS(.v15), .macCatalyst(SupportedPlatform.MacCatalystVersion.v13)],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: \\"ReactCodegen\\",
targets: [\\"ReactCodegen\\"]),
.library(
name: \\"ReactAppDependencyProvider\\",
targets: [\\"ReactAppDependencyProvider\\"]),
],
dependencies: [
.package(name: \\"React\\", path: \\"../../../../../../../../../../../../../../../../../..\\")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: \\"ReactCodegen\\",
dependencies: [\\"React\\"],
path: \\"ReactCodegen\\",
exclude: [\\"ReactCodegen.podspec\\"],
publicHeadersPath: \\".\\",
cSettings: [
.headerSearchPath(\\"headers\\")
],
cxxSettings: [
.headerSearchPath(\\"headers\\"),
.unsafeFlags([\\"-std=c++20\\"]),
],
linkerSettings: [
.linkedFramework(\\"Foundation\\")
]
),
.target(
name: \\"ReactAppDependencyProvider\\",
dependencies: [\\"ReactCodegen\\"],
path: \\"ReactAppDependencyProvider\\",
exclude: [\\"ReactAppDependencyProvider.podspec\\"],
publicHeadersPath: \\".\\",
cSettings: [
.headerSearchPath(\\"headers\\"),
],
cxxSettings: [
.headerSearchPath(\\"headers\\"),
.unsafeFlags([\\"-std=c++20\\"]),
],
linkerSettings: [
.linkedFramework(\\"Foundation\\")
]
)
]
)
"
`;
exports[`execute test-app "ReactAppDependencyProvider/RCTAppDependencyProvider.h" should match snapshot 1`] = `
"/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
@@ -570,69 +507,6 @@ end
"
`;
exports[`execute test-app-legacy "Package.swift" should match snapshot 1`] = `
"// swift-tools-version: 6.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: \\"React-GeneratedCode\\",
platforms: [.iOS(.v15), .macCatalyst(SupportedPlatform.MacCatalystVersion.v13)],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: \\"ReactCodegen\\",
targets: [\\"ReactCodegen\\"]),
.library(
name: \\"ReactAppDependencyProvider\\",
targets: [\\"ReactAppDependencyProvider\\"]),
],
dependencies: [
.package(name: \\"React\\", path: \\"../../../../../../../../../../../../../../../../../..\\")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: \\"ReactCodegen\\",
dependencies: [\\"React\\"],
path: \\"ReactCodegen\\",
exclude: [\\"ReactCodegen.podspec\\"],
publicHeadersPath: \\".\\",
cSettings: [
.headerSearchPath(\\"headers\\")
],
cxxSettings: [
.headerSearchPath(\\"headers\\"),
.unsafeFlags([\\"-std=c++20\\"]),
],
linkerSettings: [
.linkedFramework(\\"Foundation\\")
]
),
.target(
name: \\"ReactAppDependencyProvider\\",
dependencies: [\\"ReactCodegen\\"],
path: \\"ReactAppDependencyProvider\\",
exclude: [\\"ReactAppDependencyProvider.podspec\\"],
publicHeadersPath: \\".\\",
cSettings: [
.headerSearchPath(\\"headers\\"),
],
cxxSettings: [
.headerSearchPath(\\"headers\\"),
.unsafeFlags([\\"-std=c++20\\"]),
],
linkerSettings: [
.linkedFramework(\\"Foundation\\")
]
)
]
)
"
`;
exports[`execute test-app-legacy "ReactAppDependencyProvider/RCTAppDependencyProvider.h" should match snapshot 1`] = `
"/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
@@ -54,7 +54,6 @@ const packageJson = JSON.stringify({
'ReactCodegen/ReactCodegen.podspec',
'ReactCodegen/RCTUnstableModulesRequiringMainQueueSetupProvider.h',
'ReactCodegen/RCTUnstableModulesRequiringMainQueueSetupProvider.mm',
'Package.swift'
].forEach(file => {
it(`"${file}" should match snapshot`, () => {
const generatedFileDir = path.join(outputDir, 'build/generated/ios');