diff --git a/README.md b/README.md index 42f3d5d..eb03a2a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# apple-app-site-association +# universal-links-test Check apple-app-site-association file to verify universal links. @@ -7,11 +7,11 @@ Check apple-app-site-association file to verify universal links. The `verify` function detects provided path lauches the app or not. It depends on the `swcutil` command (preinstalled in macOS), so you must use this function in macOS and root permission. -If you don't use macOS, you can use `apple-app-site-association/sim` instead that simulates the behavior. +If you don't use macOS, you can use `universal-links-test/sim` instead that simulates the behavior. ```typescript -import { verify, type AppleAppSiteAssociation } from "apple-app-site-association"; -// import { verify, type AppleAppSiteAssociation } from "apple-app-site-association/sim"; +import { verify, type AppleAppSiteAssociation } from "universal-links-test"; +// import { verify, type AppleAppSiteAssociation } from "universal-links-test/sim"; const json = { applinks: { /* ... */ } } satisfies AppleAppSiteAssociation; @@ -22,7 +22,7 @@ console.log(result); // 'match' | 'block' | 'unset' Use `swcutil` command programmatically: ```typescript -import { swcutil } from 'apple-app-site-association/swcutil'; +import { swcutil } from 'universal-links-test/swcutil'; const { status, stdout, stderr } = await swcutil({ // ... }); diff --git a/demo/index.html b/demo/index.html index e774152..3d83300 100644 --- a/demo/index.html +++ b/demo/index.html @@ -2,9 +2,9 @@ - + - apple-app-site-association Demo + universal-links-test Demo
diff --git a/demo/package.json b/demo/package.json index d84834d..aff458d 100644 --- a/demo/package.json +++ b/demo/package.json @@ -20,9 +20,9 @@ }, "dependencies": { "@tailwindcss/vite": "4.0.0-beta.6", - "apple-app-site-association": "workspace:*", "lz-string": "^1.5.0", "monaco-editor": "^0.52.0", - "tailwindcss": "4.0.0-beta.6" + "tailwindcss": "4.0.0-beta.6", + "universal-links-test": "workspace:*" } } diff --git a/demo/src/App.svelte b/demo/src/App.svelte index c3e028c..4e46c1d 100644 --- a/demo/src/App.svelte +++ b/demo/src/App.svelte @@ -1,5 +1,5 @@