native-update 1.3.0 → 1.3.2

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.
Files changed (66) hide show
  1. package/Readme.md +5 -5
  2. package/cli/index.js +5 -6
  3. package/cli/node_modules/.yarn-integrity +16 -0
  4. package/cli/node_modules/commander/LICENSE +22 -0
  5. package/cli/node_modules/commander/Readme.md +1148 -0
  6. package/cli/node_modules/commander/esm.mjs +16 -0
  7. package/cli/node_modules/commander/index.js +26 -0
  8. package/cli/node_modules/commander/lib/argument.js +145 -0
  9. package/cli/node_modules/commander/lib/command.js +2179 -0
  10. package/cli/node_modules/commander/lib/error.js +43 -0
  11. package/cli/node_modules/commander/lib/help.js +462 -0
  12. package/cli/node_modules/commander/lib/option.js +329 -0
  13. package/cli/node_modules/commander/lib/suggestSimilar.js +100 -0
  14. package/cli/node_modules/commander/package-support.json +16 -0
  15. package/cli/node_modules/commander/package.json +80 -0
  16. package/cli/node_modules/commander/typings/esm.d.mts +3 -0
  17. package/cli/node_modules/commander/typings/index.d.ts +884 -0
  18. package/cli/yarn.lock +8 -0
  19. package/dist/esm/__tests__/delta-processor.test.d.ts +1 -0
  20. package/dist/esm/__tests__/delta-processor.test.js +77 -0
  21. package/dist/esm/__tests__/delta-processor.test.js.map +1 -0
  22. package/dist/esm/__tests__/firestore-schema.test.d.ts +1 -0
  23. package/dist/esm/__tests__/firestore-schema.test.js +74 -0
  24. package/dist/esm/__tests__/firestore-schema.test.js.map +1 -0
  25. package/dist/esm/__tests__/manifest-reader.test.d.ts +1 -0
  26. package/dist/esm/__tests__/manifest-reader.test.js +271 -0
  27. package/dist/esm/__tests__/manifest-reader.test.js.map +1 -0
  28. package/dist/esm/__tests__/rollout-checker.test.d.ts +1 -0
  29. package/dist/esm/__tests__/rollout-checker.test.js +210 -0
  30. package/dist/esm/__tests__/rollout-checker.test.js.map +1 -0
  31. package/dist/esm/core/config.d.ts +26 -0
  32. package/dist/esm/core/config.js +6 -0
  33. package/dist/esm/core/config.js.map +1 -1
  34. package/dist/esm/firestore/firestore-client.d.ts +109 -0
  35. package/dist/esm/firestore/firestore-client.js +260 -0
  36. package/dist/esm/firestore/firestore-client.js.map +1 -0
  37. package/dist/esm/firestore/index.d.ts +11 -0
  38. package/dist/esm/firestore/index.js +11 -0
  39. package/dist/esm/firestore/index.js.map +1 -0
  40. package/dist/esm/firestore/manifest-reader.d.ts +87 -0
  41. package/dist/esm/firestore/manifest-reader.js +294 -0
  42. package/dist/esm/firestore/manifest-reader.js.map +1 -0
  43. package/dist/esm/firestore/schema.d.ts +504 -0
  44. package/dist/esm/firestore/schema.js +69 -0
  45. package/dist/esm/firestore/schema.js.map +1 -0
  46. package/dist/esm/live-update/delta-processor.d.ts +94 -0
  47. package/dist/esm/live-update/delta-processor.js +212 -0
  48. package/dist/esm/live-update/delta-processor.js.map +1 -0
  49. package/dist/esm/live-update/rollout-checker.d.ts +86 -0
  50. package/dist/esm/live-update/rollout-checker.js +305 -0
  51. package/dist/esm/live-update/rollout-checker.js.map +1 -0
  52. package/dist/esm/live-update/version-manager.d.ts +12 -0
  53. package/dist/esm/live-update/version-manager.js +67 -0
  54. package/dist/esm/live-update/version-manager.js.map +1 -1
  55. package/dist/plugin.cjs.js +1 -1
  56. package/dist/plugin.cjs.js.map +1 -1
  57. package/dist/plugin.esm.js +1 -1
  58. package/dist/plugin.esm.js.map +1 -1
  59. package/dist/plugin.js +1 -1
  60. package/dist/plugin.js.map +1 -1
  61. package/docs/QUICK_START.md +3 -3
  62. package/docs/README.md +4 -4
  63. package/docs/api/API.md +4 -3
  64. package/docs/getting-started/installation.md +2 -2
  65. package/docs/play-console-rejection-rules.json +428 -0
  66. package/package.json +20 -18
package/Readme.md CHANGED
@@ -451,10 +451,10 @@ This package is **open-source** and created by **Ahsan Mahmood** for the develop
451
451
 
452
452
  ### Community Resources
453
453
 
454
- - **[GitHub Repository](https://github.com/aoneahsan/native-update)** - Source code and issues
454
+ - **[NPM Package](https://www.npmjs.com/package/native-update)** - Package and versions
455
+ - **[Website](https://nativeupdate.aoneahsan.com)** - Official website and dashboard
455
456
  - **[Documentation](./docs/README.md)** - Comprehensive documentation
456
457
  - **[Examples](./docs/examples/)** - Real-world usage examples
457
- - **[Contributing Guide](./CONTRIBUTING.md)** - How to contribute
458
458
 
459
459
  ### Professional Support
460
460
 
@@ -477,15 +477,15 @@ MIT License - see [LICENSE](./LICENSE) for details.
477
477
  ## Support
478
478
 
479
479
  - 📧 Email: aoneahsan@gmail.com
480
- - 🌐 Website: [Ahsan Mahmood](https://aoneahsan.com)
480
+ - 🌐 Website: [nativeupdate.aoneahsan.com](https://nativeupdate.aoneahsan.com)
481
+ - 📦 NPM: [native-update](https://www.npmjs.com/package/native-update)
481
482
  - 💼 LinkedIn: [Ahsan Mahmood](https://linkedin.com/in/aoneahsan)
482
- - 🐛 Issues: [GitHub Issues](https://github.com/aoneahsan/native-update/issues)
483
483
 
484
484
  ## Author
485
485
 
486
486
  **Ahsan Mahmood**
487
487
 
488
488
  - Portfolio: [aoneahsan.com](https://aoneahsan.com)
489
- - GitHub: [aoneahsan](https://github.com/aoneahsan)
489
+ - LinkedIn: [linkedin.com/in/aoneahsan](https://linkedin.com/in/aoneahsan)
490
490
  - Email: aoneahsan@gmail.com
491
491
  - Phone: +923046619706
package/cli/index.js CHANGED
@@ -30,7 +30,7 @@ ${chalk.bold('Quick Start:')}
30
30
  ${chalk.gray('npx native-update bundle create ./www')} # Create update bundle
31
31
 
32
32
  ${chalk.bold('Documentation:')}
33
- ${chalk.blue('https://github.com/aoneahsan/native-update/blob/main/docs/cli-reference.md')}`)
33
+ ${chalk.blue('https://nativeupdate.aoneahsan.com/docs')}`)
34
34
  .version(packageJson.version)
35
35
  .configureHelp({
36
36
  sortSubcommands: true,
@@ -249,14 +249,13 @@ program.on('--help', () => {
249
249
  console.log(' $ npx native-update backend create vercel --with-admin');
250
250
  console.log('');
251
251
  console.log(chalk.bold('Resources:'));
252
- console.log(' Documentation: ' + chalk.blue('https://github.com/aoneahsan/native-update/blob/main/docs/'));
253
- console.log(' CLI Reference: ' + chalk.blue('https://github.com/aoneahsan/native-update/blob/main/docs/cli-reference.md'));
254
- console.log(' Quick Start: ' + chalk.blue('https://github.com/aoneahsan/native-update/blob/main/docs/getting-started/quick-start.md'));
252
+ console.log(' Website: ' + chalk.blue('https://nativeupdate.aoneahsan.com'));
253
+ console.log(' Documentation: ' + chalk.blue('https://nativeupdate.aoneahsan.com/docs'));
254
+ console.log(' NPM Package: ' + chalk.blue('https://www.npmjs.com/package/native-update'));
255
255
  console.log('');
256
256
  console.log(chalk.bold('Support:'));
257
- console.log(' Issues: ' + chalk.blue('https://github.com/aoneahsan/native-update/issues'));
258
- console.log(' Author: Ahsan Mahmood (' + chalk.blue('https://aoneahsan.com') + ')');
259
257
  console.log(' Email: ' + chalk.blue('aoneahsan@gmail.com'));
258
+ console.log(' Author: Ahsan Mahmood (' + chalk.blue('https://aoneahsan.com') + ')');
260
259
  });
261
260
 
262
261
  // Error handling
@@ -0,0 +1,16 @@
1
+ {
2
+ "systemParams": "linux-x64-137",
3
+ "modulesFolders": [
4
+ "node_modules"
5
+ ],
6
+ "flags": [],
7
+ "linkedModules": [],
8
+ "topLevelPatterns": [
9
+ "commander@^11.0.0"
10
+ ],
11
+ "lockfileEntries": {
12
+ "commander@^11.0.0": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz#62fdce76006a68e5c1ab3314dc92e800eb83d906"
13
+ },
14
+ "files": [],
15
+ "artifacts": {}
16
+ }
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.