From fdfd336731cdb303bfdd307e38473f6ce5df4dc6 Mon Sep 17 00:00:00 2001 From: Cheng Date: Wed, 3 Apr 2024 11:41:14 +0900 Subject: [PATCH] Cleanup unused things --- .gitignore | 1 - .npmignore | 1 - README.md | 2 +- docs/sign-mac-app.md | 12 ++++++++---- tsconfig.json | 2 -- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 6eab8aa..4c5490c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ # TypeScript compiled files /dist/ -/types/**/*.d.ts # Everything else should keep same with .npmignore *.swp diff --git a/.npmignore b/.npmignore index 7245402..ea9746c 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,5 @@ # Unused source files /src/ -/types/ .github tsconfig.json diff --git a/README.md b/README.md index 835998d..e374be3 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ cross-platform desktop apps with system webview and native GUI widgets. ## Docs -* [Sign mac app](https://github.com/yue/boilerplate-js/blob/main/docs/sign-mac-app.md) +* [Sign mac app](https://github.com/yue/boilerplate-nodejs/blob/main/docs/sign-mac-app.md) * [Yue documents (external link)](http://libyue.com/docs/latest/js/) ## License diff --git a/docs/sign-mac-app.md b/docs/sign-mac-app.md index 4bd9e95..ebd72ed 100644 --- a/docs/sign-mac-app.md +++ b/docs/sign-mac-app.md @@ -5,13 +5,17 @@ and you need to set following secrects in repo/orgnaization to make it work. ## `BUILD_CERTIFICATE_BASE64`/`P12_PASSWORD`/`KEYCHAIN_PASSWORD` -https://docs.github.com/en/actions/deployment/deploying-xcode-applications/installing-an-apple-certificate-on-macos-runners-for-xcode-development +Check [Installing an Apple certificate on macOS runners for Xcode development](https://docs.github.com/en/actions/deployment/deploying-xcode-applications/installing-an-apple-certificate-on-macos-runners-for-xcode-development) +on how to generate the required secrects for Apple certificate. ## `APPLE_TEAM_ID` -https://developer.apple.com/help/account/manage-your-team/locate-your-team-id/ +The [Team ID](https://developer.apple.com/help/account/manage-your-team/locate-your-team-id/) +of your Apple Developer account is used for signing and notarizing the app +bundle. ## `APPLE_ID`/`APPLE_PASSWORD` -https://github.com/lando/notarize-action -https://support.apple.com/en-us/102654 +This repo uses the [Notarize Action](https://github.com/lando/notarize-action) +to notarize the app bundle, which requires your Apple ID and an [app-specific +password](https://support.apple.com/en-us/102654). diff --git a/tsconfig.json b/tsconfig.json index 3744e78..4d1a70b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,5 @@ { "compilerOptions": { - "declaration": true, - "declarationDir": "types", "baseUrl": "src", "outDir": "dist", "allowJs": true,