@appinit/cli 1.1.0 → 1.2.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.
Files changed (39) hide show
  1. package/LICENSE +33 -0
  2. package/dist/index.js +82 -10
  3. package/dist/templates/frontend-react/.appinit-generate/project/README.md +14 -0
  4. package/dist/templates/frontend-react/.appinit-generate/project/index.html +12 -0
  5. package/dist/templates/frontend-react/.appinit-generate/project/package.json +26 -0
  6. package/dist/templates/frontend-react/.appinit-generate/project/public/vite.svg +30 -0
  7. package/dist/templates/frontend-react/.appinit-generate/project/src/App.tsx +16 -0
  8. package/dist/templates/frontend-react/.appinit-generate/project/src/assets/react.svg +1 -0
  9. package/dist/templates/frontend-react/.appinit-generate/project/src/index.css +9 -0
  10. package/dist/templates/frontend-react/.appinit-generate/project/src/main.tsx +10 -0
  11. package/dist/templates/frontend-react/.appinit-generate/project/tsconfig.app.json +31 -0
  12. package/dist/templates/frontend-react/.appinit-generate/project/tsconfig.json +7 -0
  13. package/dist/templates/frontend-react/.appinit-generate/project/tsconfig.node.json +26 -0
  14. package/dist/templates/frontend-react/.appinit-generate/project/vite.config.ts +16 -0
  15. package/dist/templates/frontend-react/docs/README.md +12 -0
  16. package/dist/templates/frontend-react/hooks/afterRender.ts +3 -0
  17. package/dist/templates/frontend-react/hooks/afterWrite.ts +3 -0
  18. package/dist/templates/frontend-react/hooks/beforeRender.ts +3 -0
  19. package/dist/templates/frontend-react/hooks/beforeWrite.ts +3 -0
  20. package/dist/templates/frontend-react/package.json +16 -0
  21. package/dist/templates/frontend-react/template/.env__tmpl +1 -0
  22. package/dist/templates/frontend-react/template/README.md__tmpl +14 -0
  23. package/dist/templates/frontend-react/template/_gitignore +41 -0
  24. package/dist/templates/frontend-react/template/index.html__tmpl +12 -0
  25. package/dist/templates/frontend-react/template/package.json__tmpl +26 -0
  26. package/dist/templates/frontend-react/template/public/vite.svg +30 -0
  27. package/dist/templates/frontend-react/template/src/App.tsx__tmpl +16 -0
  28. package/dist/templates/frontend-react/template/src/assets/react.svg +1 -0
  29. package/dist/templates/frontend-react/template/src/index.css__tmpl +9 -0
  30. package/dist/templates/frontend-react/template/src/main.tsx__tmpl +10 -0
  31. package/dist/templates/frontend-react/template/tsconfig.app.json__tmpl +31 -0
  32. package/dist/templates/frontend-react/template/tsconfig.json__tmpl +7 -0
  33. package/dist/templates/frontend-react/template/tsconfig.node.json__tmpl +26 -0
  34. package/dist/templates/frontend-react/template/vite.config.ts__tmpl +16 -0
  35. package/dist/templates/frontend-react/template.config.ts +30 -0
  36. package/dist/templates/frontend-react/variables/defaults.ts +6 -0
  37. package/dist/templates/frontend-react/variables/schema.ts +17 -0
  38. package/dist/templates/frontend-react/variables/transform.ts +10 -0
  39. package/package.json +24 -3
package/LICENSE ADDED
@@ -0,0 +1,33 @@
1
+ MIT License (Modified for Proprietary CLI Distribution)
2
+
3
+ Copyright © 2025 Pradeep, AppInit OS Authors
4
+ All Rights Reserved.
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining an official copy
7
+ of the compiled CLI distributable package `@appinit/cli` (the "Software"), to install,
8
+ execute, and use the CLI for project initialization on their local machine or authorized
9
+ environments, subject to the following conditions:
10
+
11
+ ✅ Allowed:
12
+
13
+ 1. Installing and executing the official CLI via npm (`npx appinit`, `npm i -g @appinit/cli`)
14
+ 2. Using the CLI to initialize new projects and install owner-approved template packs/addons
15
+ 3. Modifying generated _output_ inside initialized projects (not the CLI core)
16
+ 4. Creating addons/plugins/templates using AppInit public contracts (future SDK/specs)
17
+
18
+ 🚫 Not Allowed (Strict Restrictions):
19
+
20
+ 1. Copying, cloning, or extracting the CLI internal implementation or bundled engine code
21
+ 2. Republishing internal implementation, architecture, or behavior in any form
22
+ 3. Creating derivative tools, generator systems, or runtime competitors using the CLI internals
23
+ 4. Distributing modified versions of AppInit core implementation as independent or competing systems
24
+ 5. Reverse engineering, de-bundling, or re-creating internal resolution, addon, or engine layers
25
+
26
+ The above copyright notice and this permission notice shall be included in all written
27
+ references to the official AppInit CLI distributable only.
28
+
29
+ Liability Disclaimer:
30
+
31
+ THE SOFTWARE IS PROVIDED "AS IS" (COMPILED CLI DISTRIBUTABLE ONLY), WITHOUT WARRANTY OF ANY KIND,
32
+ EXPRESS OR IMPLIED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
33
+ DAMAGES, OR OTHER LIABILITY ARISING FROM USE OF THE DISTRIBUTED CLI.