react-native-asleep 0.0.13 → 1.0.0
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/.releaserc.js +58 -0
- package/CHANGELOG.md +39 -0
- package/ios/Asleep.podspec +1 -1
- package/package.json +10 -2
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
package/.releaserc.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
branches: ["main"],
|
|
3
|
+
plugins: [
|
|
4
|
+
[
|
|
5
|
+
"@semantic-release/commit-analyzer",
|
|
6
|
+
{
|
|
7
|
+
// Configure parser to recognize entire commit message as title
|
|
8
|
+
parserOpts: {
|
|
9
|
+
headerPattern: /^(.*)$/,
|
|
10
|
+
headerCorrespondence: ["subject"],
|
|
11
|
+
},
|
|
12
|
+
// Set rules to make any commit trigger a 'patch' release
|
|
13
|
+
releaseRules: [{ release: "patch" }],
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"@semantic-release/release-notes-generator",
|
|
18
|
+
{
|
|
19
|
+
// Configure parser to recognize entire commit message as title
|
|
20
|
+
parserOpts: {
|
|
21
|
+
headerPattern: /^(.*)$/,
|
|
22
|
+
headerCorrespondence: ["subject"],
|
|
23
|
+
},
|
|
24
|
+
// Customize release notes generator
|
|
25
|
+
writerOpts: {
|
|
26
|
+
// Function to transform commit objects
|
|
27
|
+
transform: (commit) => {
|
|
28
|
+
// Since commit objects cannot be modified directly, create a copy to modify
|
|
29
|
+
const newCommit = { ...commit };
|
|
30
|
+
|
|
31
|
+
// Force assign 'fix' type recognized by release notes generator
|
|
32
|
+
// so that all commits are included in release notes.
|
|
33
|
+
// This will display all commits under the "Bug Fixes" section.
|
|
34
|
+
newCommit.type = "fix";
|
|
35
|
+
|
|
36
|
+
return newCommit;
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
"@semantic-release/changelog",
|
|
42
|
+
[
|
|
43
|
+
"@semantic-release/npm",
|
|
44
|
+
{
|
|
45
|
+
npmPublish: true,
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
"@semantic-release/git",
|
|
50
|
+
{
|
|
51
|
+
assets: ["package.json", "yarn.lock", "CHANGELOG.md"],
|
|
52
|
+
message:
|
|
53
|
+
"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
"@semantic-release/github",
|
|
57
|
+
],
|
|
58
|
+
};
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# 1.0.0 (2025-06-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### fix
|
|
5
|
+
|
|
6
|
+
* 0.0.13 add isSetupComplete ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/461cd0e9ff62dec74f99709a3ab0ef36c2b01d1c))
|
|
7
|
+
* 0.0.4 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/5ed45984b5324d3097a7d7fa64d9b7c2014429dc))
|
|
8
|
+
* 0.0.7 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/6fc466af0a1e9104bb6c3d936dd3b61e3db0ca8b))
|
|
9
|
+
* add github action (#22) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/2c3d9280988e2a1b11154349cddcbd342ebe06bf)), closes [#22](https://github.com/asleep-ai/asleep-sdk-react-native/issues/22)
|
|
10
|
+
* Add isTrackingPaused isInitialized getTrackingDurationMinutes ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/dc3920dafbcd0625c3fe36c3d00234f8d7c92295))
|
|
11
|
+
* Add isTrackingPaused isInitialized getTrackingDurationMinutes ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/dc2af995f679f61be81968dd8d6aecd6233257e1))
|
|
12
|
+
* Add Readme.md ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/6c50de3121f754f21f8a76e8234d89333314951c))
|
|
13
|
+
* Add realtime analysis for ODA (#19) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/3cc1242f21a16bdd4e146469c453b94326f0eac4)), closes [#19](https://github.com/asleep-ai/asleep-sdk-react-native/issues/19) [#20](https://github.com/asleep-ai/asleep-sdk-react-native/issues/20)
|
|
14
|
+
* Apply iOS, Android SDK v3.1.1 (#11) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/e374ea0cbecbaeef75efbe12e2b5e8713e0f36d4)), closes [#11](https://github.com/asleep-ai/asleep-sdk-react-native/issues/11)
|
|
15
|
+
* Bump @babel/helpers from 7.24.8 to 7.26.10 (#10) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/39a1d6709fe50015ff19a68b747fb9a021674a75)), closes [#10](https://github.com/asleep-ai/asleep-sdk-react-native/issues/10)
|
|
16
|
+
* Bump @babel/runtime from 7.25.6 to 7.26.10 in /example (#9) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/79f6855788612497982e8d7ab46d0029d5aff204)), closes [#9](https://github.com/asleep-ai/asleep-sdk-react-native/issues/9)
|
|
17
|
+
* Bump cross-spawn from 7.0.3 to 7.0.6 (#8) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/d28d41f5384f39f2776307c3485a1f446afb2d1a)), closes [#8](https://github.com/asleep-ai/asleep-sdk-react-native/issues/8)
|
|
18
|
+
* Bump fast-xml-parser from 4.4.0 to 4.5.0 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/91ff087453b33bbb71a4b0d948908f049d41ecf3))
|
|
19
|
+
* Bump micromatch from 4.0.7 to 4.0.8 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/6f40058d4d971b15bce9c650a413644d09a814d1))
|
|
20
|
+
* Bump nanoid from 3.3.7 to 3.3.8 in /example ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/595e6354b7a682bdf199178db5ae7231f75f0474))
|
|
21
|
+
* Bump serve-static from 1.15.0 to 1.16.2 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/bdb015fb17ad263fc498ad111c5ce02c8cf6e8d0))
|
|
22
|
+
* Bump serve-static from 1.15.0 to 1.16.2 in /example ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/587c81a8f2acea6fbeea46fe8a53350102d56680))
|
|
23
|
+
* Enhance session tracking and setup functionality (#17) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/ef7bea220617918cd0e49c307309792c622a0c57)), closes [#17](https://github.com/asleep-ai/asleep-sdk-react-native/issues/17)
|
|
24
|
+
* Feat/zustand (#18) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/429a24db9b3424adfe3922f90ce9aac758e89862)), closes [#18](https://github.com/asleep-ai/asleep-sdk-react-native/issues/18)
|
|
25
|
+
* fix isInitialized logic ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/76b6fb677386aa7e7de527fd3b2d644546b0f5a8))
|
|
26
|
+
* fix isInitialized logic ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/5fb64f2e6f161869fbcdcf624c46ee9f1e9a5d9d))
|
|
27
|
+
* Fix release workflow to use semantic-release with Yarn ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/8a674962c9e091a759f3f4ccdecafceaa9dff8e0))
|
|
28
|
+
* Fix release workflow to use semantic-release with Yarn (#23) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/959771bc8c59ecf8db76e28fcc6dd17caee6c277)), closes [#23](https://github.com/asleep-ai/asleep-sdk-react-native/issues/23)
|
|
29
|
+
* Fix version ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/cdb9258bb255bc711eb4ac2d4b5211ea54543cc6))
|
|
30
|
+
* init project ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/9f7a63fbbd945c393bd6b716089f3c6118e9ba65))
|
|
31
|
+
* Merge pull request #1 from asleep-ai/dependabot/npm_and_yarn/micromatch-4.0.8 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/581a1f063b18995a5baf2919d5558af5b4771f4c)), closes [#1](https://github.com/asleep-ai/asleep-sdk-react-native/issues/1)
|
|
32
|
+
* Merge pull request #2 from asleep-ai/dependabot/npm_and_yarn/fast-xml-parser-4.5.0 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/21ce0936f2d8a76b60908001288b3f4a59106dd4)), closes [#2](https://github.com/asleep-ai/asleep-sdk-react-native/issues/2)
|
|
33
|
+
* Merge pull request #3 from asleep-ai/dependabot/npm_and_yarn/serve-static-1.16.2 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/20a5ce510fc9083912513854d5904fdbf783a21a)), closes [#3](https://github.com/asleep-ai/asleep-sdk-react-native/issues/3)
|
|
34
|
+
* Merge pull request #4 from asleep-ai/dependabot/npm_and_yarn/example/serve-static-1.16.2 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/132c63333f7ad365f9ed7c665d7fcc873f207cc2)), closes [#4](https://github.com/asleep-ai/asleep-sdk-react-native/issues/4)
|
|
35
|
+
* Merge pull request #7 from asleep-ai/dependabot/npm_and_yarn/example/nanoid-3.3.8 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/dcd7a282349bb75b69ef6fada7ed0ebc417b09df)), closes [#7](https://github.com/asleep-ai/asleep-sdk-react-native/issues/7)
|
|
36
|
+
* Update License ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/8b1854ded091203d8f7c53b6692c58f6c010dba1))
|
|
37
|
+
* Update package.json scripts to use npx for Expo commands, expo-cli is now legacy (#16) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/d79c10049aca7be6e51ca73acd07c850676b4b8c)), closes [#16](https://github.com/asleep-ai/asleep-sdk-react-native/issues/16)
|
|
38
|
+
* Upgrade AsleepSDK to version 3.1.3 and bump package version to 0.0.14 (#21) ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/121606af98be62dea41d0cc51a18c4a2dc30ee84)), closes [#21](https://github.com/asleep-ai/asleep-sdk-react-native/issues/21)
|
|
39
|
+
* useTracking 훅으로 변경 및 useAsleep 초기화 코드 제거, 스타일에 배경색 추가 ([](https://github.com/asleep-ai/asleep-sdk-react-native/commit/4993a3c91fe85fb42e8668e503de3b8c6b773315))
|
package/ios/Asleep.podspec
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-asleep",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Asleep SDK for React Native",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -30,10 +30,17 @@
|
|
|
30
30
|
"license": "SEE LICENSE IN <filename>",
|
|
31
31
|
"homepage": "https://github.com/asleep-ai/asleep-sdk-react-native#readme",
|
|
32
32
|
"devDependencies": {
|
|
33
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
34
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
35
|
+
"@semantic-release/git": "^10.0.1",
|
|
36
|
+
"@semantic-release/github": "^11.0.3",
|
|
37
|
+
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
33
38
|
"@types/react": "^18.0.25",
|
|
34
39
|
"@types/react-native": "^0.73.0",
|
|
35
40
|
"expo-module-scripts": "^3.5.2",
|
|
36
41
|
"expo-modules-core": "^1.12.19",
|
|
42
|
+
"semantic-release": "^24.2.5",
|
|
43
|
+
"semantic-release-yarn": "^3.0.2",
|
|
37
44
|
"zustand": "^5.0.5"
|
|
38
45
|
},
|
|
39
46
|
"peerDependencies": {
|
|
@@ -41,5 +48,6 @@
|
|
|
41
48
|
"react": "*",
|
|
42
49
|
"react-native": "*",
|
|
43
50
|
"zustand": "^5.0.1"
|
|
44
|
-
}
|
|
51
|
+
},
|
|
52
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
45
53
|
}
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|