The project has lived only as a folder on the Mac Studio and, briefly, as a transfer tarball. This is the first commit: the Express server and its web front end, the Capacitor iOS and Android wrappers, and the release and backup scripts. The repo is the source, not a backup of the machine. Left out on purpose, by the .gitignore files that were already in the tree: node_modules, build output, mobile/www (regenerated from server/public on every build), and server/data, which holds the live checklists and belongs on the NAS rather than in git. Every credential is excluded too — server/.env, the Play upload keystore and its properties file, the App Store Connect key and ios-signing.config. The one secret that was not in an ignored file was the NAS SSH password, hard-coded in build-deploy.sh and grepped back out of it by backup-to-drive.sh. Both now read it from the login keychain (service checklist-nas, account Christian), falling back to NAS_PASS in the environment, so rotating it is one keychain entry rather than a history rewrite. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
40 lines
1.9 KiB
Swift
40 lines
1.9 KiB
Swift
// swift-tools-version: 5.9
|
|
import PackageDescription
|
|
|
|
// DO NOT MODIFY THIS FILE - managed by Capacitor CLI commands
|
|
let package = Package(
|
|
name: "CapApp-SPM",
|
|
platforms: [.iOS(.v15)],
|
|
products: [
|
|
.library(
|
|
name: "CapApp-SPM",
|
|
targets: ["CapApp-SPM"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", exact: "8.5.1"),
|
|
.package(name: "CapacitorApp", path: "../../../node_modules/@capacitor/app"),
|
|
.package(name: "CapacitorBrowser", path: "../../../node_modules/@capacitor/browser"),
|
|
.package(name: "CapacitorHaptics", path: "../../../node_modules/@capacitor/haptics"),
|
|
.package(name: "CapacitorKeyboard", path: "../../../node_modules/@capacitor/keyboard"),
|
|
.package(name: "CapacitorNetwork", path: "../../../node_modules/@capacitor/network"),
|
|
.package(name: "CapacitorSplashScreen", path: "../../../node_modules/@capacitor/splash-screen"),
|
|
.package(name: "CapacitorStatusBar", path: "../../../node_modules/@capacitor/status-bar")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "CapApp-SPM",
|
|
dependencies: [
|
|
.product(name: "Capacitor", package: "capacitor-swift-pm"),
|
|
.product(name: "Cordova", package: "capacitor-swift-pm"),
|
|
.product(name: "CapacitorApp", package: "CapacitorApp"),
|
|
.product(name: "CapacitorBrowser", package: "CapacitorBrowser"),
|
|
.product(name: "CapacitorHaptics", package: "CapacitorHaptics"),
|
|
.product(name: "CapacitorKeyboard", package: "CapacitorKeyboard"),
|
|
.product(name: "CapacitorNetwork", package: "CapacitorNetwork"),
|
|
.product(name: "CapacitorSplashScreen", package: "CapacitorSplashScreen"),
|
|
.product(name: "CapacitorStatusBar", package: "CapacitorStatusBar")
|
|
]
|
|
)
|
|
]
|
|
)
|