react-native-asleep 1.0.15 → 1.0.17
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 +65 -14
- package/android/build.gradle +1 -1
- package/android/src/main/java/ai/asleep/reactnative/AsleepModule.kt +52 -64
- package/build/Asleep.types.d.ts +1 -1
- package/build/Asleep.types.d.ts.map +1 -1
- package/build/Asleep.types.js.map +1 -1
- package/build/AsleepStore.d.ts.map +1 -1
- package/build/AsleepStore.js +53 -27
- package/build/AsleepStore.js.map +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/ios/AsleepModule.swift +4 -0
- package/package.json +45 -14
- package/src/Asleep.types.ts +4 -8
- package/src/AsleepStore.ts +74 -77
- package/src/index.ts +15 -41
- package/.eslintrc.js +0 -5
- package/.releaserc.js +0 -58
- package/AGENTS.md +0 -107
- package/docs/PUBLISHING.md +0 -36
- package/tsconfig.json +0 -9
- /package/{License.md → LICENSE.md} +0 -0
package/docs/PUBLISHING.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Publishing Guide
|
|
2
|
-
|
|
3
|
-
This package uses [semantic-release](https://semantic-release.gitbook.io/) for automated version management and package publishing.
|
|
4
|
-
|
|
5
|
-
## Automated Release Process
|
|
6
|
-
|
|
7
|
-
Releases are triggered automatically via GitHub Actions when changes are pushed to the `main` branch:
|
|
8
|
-
|
|
9
|
-
1. Push changes to `main` branch
|
|
10
|
-
2. GitHub Actions runs the Release workflow
|
|
11
|
-
3. semantic-release analyzes commits and determines version bump
|
|
12
|
-
4. Automatically publishes to npm if needed
|
|
13
|
-
|
|
14
|
-
## Manual Release
|
|
15
|
-
|
|
16
|
-
To trigger a release manually:
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
# From GitHub UI
|
|
20
|
-
# Go to Actions → Release → Run workflow
|
|
21
|
-
|
|
22
|
-
# Or using GitHub CLI
|
|
23
|
-
gh workflow run release.yml --ref main
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Important Notes
|
|
27
|
-
|
|
28
|
-
- **DO NOT** add a custom `publish` script to package.json
|
|
29
|
-
- **DO NOT** run `npm publish` manually
|
|
30
|
-
- All releases must go through semantic-release to maintain version consistency
|
|
31
|
-
|
|
32
|
-
## Configuration
|
|
33
|
-
|
|
34
|
-
- Release configuration: `.releaserc.js`
|
|
35
|
-
- Publish settings: `package.json` → `publishConfig`
|
|
36
|
-
- Workflow: `.github/workflows/release.yml`
|
package/tsconfig.json
DELETED
|
File without changes
|