create-disposabl-app 0.20.21 → 0.20.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Create a Disposabl app for web, mobile, desktop, and developer tools.
|
|
|
4
4
|
|
|
5
5
|
## Get started
|
|
6
6
|
|
|
7
|
-
Install [Bun](https://bun.sh), [Git](https://git-scm.com), and [Node.js](https://nodejs.org) 24.8 or newer, then run:
|
|
7
|
+
Install [Bun](https://bun.sh) 1.4.4 or newer, [Git](https://git-scm.com), and [Node.js](https://nodejs.org) 24.8 or newer, then run:
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
10
|
bunx create-disposabl-app@latest
|
|
@@ -25,7 +25,7 @@ Use the app name you chose instead of `my-app`. Your website opens automatically
|
|
|
25
25
|
|
|
26
26
|
You can also launch setup with npm, pnpm, or Yarn 2+. The generated project still requires Bun. Tests need Node.js 22.22.3 or newer on Node 22, or Node.js 24.8 or newer.
|
|
27
27
|
|
|
28
|
-
Scaffolding
|
|
28
|
+
Scaffolding requires Bun's formatter so the initial commit passes formatting checks. `--skip-install` skips dependency installation; Bun is still required.
|
|
29
29
|
|
|
30
30
|
| Tool | Command |
|
|
31
31
|
| ---- | -------------------------------------- |
|
package/dist/disposabl.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1563,7 +1563,7 @@ import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
|
1563
1563
|
import { Command, CommanderError } from "commander";
|
|
1564
1564
|
import * as p2 from "@clack/prompts";
|
|
1565
1565
|
// package.json
|
|
1566
|
-
var version = "0.20.
|
|
1566
|
+
var version = "0.20.23";
|
|
1567
1567
|
|
|
1568
1568
|
// ../cli/telemetry.ts
|
|
1569
1569
|
var import_proper_lockfile2 = __toESM(require_proper_lockfile(), 1);
|
|
@@ -9228,12 +9228,14 @@ function validateAndroidArchitectures(values = defaultAndroidArchitectures) {
|
|
|
9228
9228
|
}
|
|
9229
9229
|
|
|
9230
9230
|
// scaffold.ts
|
|
9231
|
-
function
|
|
9231
|
+
function requireFormatter() {
|
|
9232
9232
|
if (spawnSync("bun", ["fmt", "--no-script", "--help"], {
|
|
9233
|
-
cwd: directory,
|
|
9234
9233
|
stdio: "ignore"
|
|
9235
9234
|
}).status !== 0)
|
|
9236
|
-
|
|
9235
|
+
throw new Error("Bun 1.4.4 or newer with fmt support is required. Install or upgrade Bun, then retry.");
|
|
9236
|
+
}
|
|
9237
|
+
function formatGenerated(directory, files = []) {
|
|
9238
|
+
requireFormatter();
|
|
9237
9239
|
try {
|
|
9238
9240
|
execFileSync("bun", ["fmt", "--no-script", ...files], {
|
|
9239
9241
|
cwd: directory,
|
|
@@ -9273,6 +9275,7 @@ async function createApp(template, destination, name, config, overwrite = false)
|
|
|
9273
9275
|
throw new Error("The bundled starter is missing " + folder + "/package.json. Rebuild the CLI.");
|
|
9274
9276
|
}
|
|
9275
9277
|
}
|
|
9278
|
+
requireFormatter();
|
|
9276
9279
|
if (overwrite)
|
|
9277
9280
|
await rm4(destination, { recursive: true, force: true });
|
|
9278
9281
|
await mkdir3(destination);
|
|
@@ -10040,8 +10043,8 @@ Setup complete.
|
|
|
10040
10043
|
if (spawnSync4("git", ["--version"], { stdio: "ignore" }).status !== 0)
|
|
10041
10044
|
throw new Error("Install Git first to create the app's initial commit.");
|
|
10042
10045
|
const hasBun = spawnSync4("bun", ["--version"], { stdio: "ignore" }).status === 0;
|
|
10043
|
-
if (!
|
|
10044
|
-
throw new Error("Install Bun
|
|
10046
|
+
if (!hasBun)
|
|
10047
|
+
throw new Error("Install Bun 1.4.4 or newer before creating an app. --skip-install skips dependency installation, not the required formatter.");
|
|
10045
10048
|
const template = fileURLToPath2(new URL("./templates/default", import.meta.url));
|
|
10046
10049
|
await createApp(template, directory, name, config, overwrite);
|
|
10047
10050
|
if (!options.skipInstall) {
|
|
@@ -7,6 +7,6 @@ description: Build, test, and submit an iOS release.
|
|
|
7
7
|
2. **Build and upload.** Build a signed production iOS binary with EAS and upload it to App Store Connect. Upload success is not approval. Wait for [Apple processing](https://developer.apple.com/help/app-store-connect/manage-builds/upload-builds/), resolve export-compliance questions accurately, and select the processed build for the correct version.
|
|
8
8
|
3. **Test the installed build.** Install through TestFlight or an appropriate signed distribution, then exercise login, the main flow, persistence, privacy controls, and account deletion. TestFlight purchases use Apple's sandbox. Verify the real transaction through the app, RevenueCat, and your billing balance before enabling production purchase readiness. Configure all products and the Paid Apps Agreement as needed; [Apple reviews in-app purchases in sandbox](https://developer.apple.com/help/app-review/before-submitting-for-review/configure-in-app-purchases/).
|
|
9
9
|
4. **Complete the listing and review details.** Use genuine screenshots from the relevant Apple devices and accurate descriptions, privacy information, support and privacy URLs. Provide the dedicated Apple review account and clear steps to the main features. Include external services and other details Apple needs. Keep the account usable throughout review.
|
|
10
|
-
5. **Submit and follow the status.** Associate the correct build with the version,
|
|
10
|
+
5. **Submit and follow the status.** Associate the correct build with the version. For the first purchase of each type, add the app version and purchase to the same draft submission; include a new subscription group with its subscription too. Check the draft contains every intended item, then submit it and monitor App Review. See [Apple's purchase submission instructions](https://developer.apple.com/help/app-store-connect/manage-submissions-to-app-review/submit-an-in-app-purchase/). [Selecting a build](https://developer.apple.com/help/app-store-connect/manage-builds/choose-a-build-to-submit/) and uploading it are separate from submitting it for review and releasing it. Choose automatic release after approval or complete the manual release step.
|
|
11
11
|
|
|
12
12
|
See [review access and updates](/publishing) for shared preparation. A compatible EAS Update can update JavaScript and assets, but it cannot replace a new signed binary when native capabilities change.
|
|
@@ -5,7 +5,7 @@ description: Sign, test, and submit an Android release.
|
|
|
5
5
|
|
|
6
6
|
1. **Keep the same signing identity.** Confirm the package name and increase the version code. Build a release Android App Bundle with the correct upload key. A debug APK proves neither release signing nor upgrade continuity. With Play App Signing, Google uses the app signing key for distributed installs; the upload key signs the bundle you send to Play. Preserve the upload keystore and its recovery process. See [Android app signing](https://developer.android.com/studio/publish/app-signing).
|
|
7
7
|
2. **Check the right fingerprint.** In Play Console's App Integrity page, distinguish the upload certificate from the app signing certificate and compare the complete fingerprint and algorithm. Google Android OAuth clients commonly require the app signing certificate's **SHA-1**; other registration flows may request **SHA-256**. Neither fingerprint is a substitute for the other. See [Google's client authentication guide](https://developers.google.com/android/guides/client-auth).
|
|
8
|
-
3. **Upload and test.** Upload the signed bundle to a suitable Play testing track and install the Play-delivered build on a device. EAS can build a bundle without a Play service account. If automated submission is not configured, download the verified bundle and upload it manually in Play Console. A successful EAS build or upload is not a Play review decision.
|
|
8
|
+
3. **Upload and test.** Upload the signed bundle to a suitable Play testing track and install the Play-delivered build on a device. EAS can build a bundle without a Play service account. If automated submission is not configured, download the verified bundle and upload it manually in Play Console. Configure [license testers](https://developer.android.com/google/play/billing/test) for genuine test purchases and verify credit or entitlement delivery. Test-track users who are not license testers can incur real charges. A successful EAS build or upload is not a Play review decision.
|
|
9
9
|
4. **Complete review access and declarations.** Provide a dedicated Google review account that works without the reviewer's own provider accounts, personal payment, or an inaccessible one-time code. Test its complete flow and credits first. Complete the Data safety form, privacy policy, and app access instructions from the actual release. If users can create accounts, provide both the in-app deletion path and an accessible [web deletion request link](https://support.google.com/googleplay/android-developer/answer/13327111), including any retained-data exceptions. Give users a way to report offensive AI-generated content when applicable.
|
|
10
10
|
5. **Submit and follow the status.** Verify the intended track, release notes, device screenshots, content declarations, and signing details. Submit in Play Console and follow the release through review and publication; a testing-track upload alone does not mean the production release is live.
|
|
11
11
|
|