plug-code 1.1.15 → 1.1.16

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 (3) hide show
  1. package/LICENSE +14 -17
  2. package/README.md +3 -4
  3. package/package.json +1 -1
package/LICENSE CHANGED
@@ -1,21 +1,18 @@
1
- MIT License
1
+ Plug&Code License
2
2
 
3
- Copyright (c) 2025 Alan Mendez
3
+ Copyright (c) 2026 [TU NOMBRE]
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
5
+ All rights reserved.
11
6
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
7
+ Permission is hereby granted to use this software for personal and commercial projects.
8
+ You may modify the software for your own internal use.
14
9
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
10
+ You may NOT:
11
+ - Redistribute this software or any modified version of it.
12
+ - Sell, sublicense, publish, or share this software.
13
+ - Use this software as the basis for another framework, library, or competing product.
14
+
15
+ This software is provided "as is", without warranty of any kind, express or implied,
16
+ including but not limited to the warranties of merchantability, fitness for a
17
+ particular purpose and noninfringement. In no event shall the author be liable
18
+ for any claim, damages or other liability arising from the use of this software.
package/README.md CHANGED
@@ -4,8 +4,8 @@
4
4
  It empowers developers to build complex applications by **plugging in independent feature modules** without tightly coupling the codebase.
5
5
 
6
6
  > **License**
7
- > You may use Plug&Code in personal or commercial projects.
8
- > **Modification or redistribution of the framework source code is prohibited** without explicit permission.
7
+ > This project is licensed under the Plug&Code License.
8
+ > See the LICENSE file for details.
9
9
 
10
10
  ---
11
11
 
@@ -67,8 +67,7 @@ import { PaginationFeature } from './features/PaginationFeature';
67
67
  import { SalesFeature } from './features/SalesFeature';
68
68
 
69
69
  export const { useSystemPlc, SystemPlcRoot } = createPlugAndCode((api) => {
70
- api.createData("root", { appName: "My Dashboard", theme: "dark" });
71
-
70
+ // It creates root automatically | root = {}
72
71
  PaginationFeature(api);
73
72
  SalesFeature(api);
74
73
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plug-code",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "",
5
5
  "main": "src/plug-code.tsx",
6
6
  "types": "types/plug-code.d.ts",