@syntropysoft/syntropyfront 0.4.3 → 0.4.4

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.
@@ -0,0 +1,46 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ ## Our Standards
8
+
9
+ Examples of behavior that contributes to creating a positive environment include:
10
+
11
+ * Using welcoming and inclusive language
12
+ * Being respectful of differing viewpoints and experiences
13
+ * Gracefully accepting constructive criticism
14
+ * Focusing on what is best for the community
15
+ * Showing empathy towards other community members
16
+
17
+ Examples of unacceptable behavior by participants include:
18
+
19
+ * The use of sexualized language or imagery and unwelcome sexual attention or advances
20
+ * Trolling, insulting/derogatory comments, and personal or political attacks
21
+ * Public or private harassment
22
+ * Publishing others' private information, such as a physical or electronic address, without explicit permission
23
+ * Other conduct which could reasonably be considered inappropriate in a professional setting
24
+
25
+ ## Our Responsibilities
26
+
27
+ Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28
+
29
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ ## Scope
32
+
33
+ This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34
+
35
+ ## Enforcement
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at gabriel70@gmail.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38
+
39
+ Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40
+
41
+ ## Attribution
42
+
43
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html][version]
44
+
45
+ [homepage]: https://www.contributor-covenant.org
46
+ [version]: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
@@ -0,0 +1,73 @@
1
+ # Contributing to SyntropyFront
2
+
3
+ Thank you for your interest in contributing to SyntropyFront! We welcome contributions from the community to help make this observability library even better.
4
+
5
+ ## Development Workflow
6
+
7
+ ### Prerequisites
8
+
9
+ - Node.js >= 20.0.0
10
+ - pnpm
11
+
12
+ ### Setup
13
+
14
+ 1. Clone the repository:
15
+ ```bash
16
+ git clone https://github.com/Syntropysoft/syntropyfront.git
17
+ cd syntropyfront
18
+ ```
19
+
20
+ 2. Install dependencies:
21
+ ```bash
22
+ pnpm install
23
+ ```
24
+
25
+ ### Running Tests
26
+
27
+ We maintain high quality through extensive testing. Please ensure all tests pass before submitting a pull request.
28
+
29
+ ```bash
30
+ # Run all tests
31
+ pnpm test
32
+
33
+ # Run tests with coverage
34
+ pnpm run test:coverage
35
+
36
+ # Run mutation testing (Stryker)
37
+ pnpm run test:mutation
38
+ ```
39
+
40
+ ### Linting
41
+
42
+ We use ESLint to maintain code style and quality.
43
+
44
+ ```bash
45
+ # Run linter
46
+ pnpm run lint
47
+
48
+ # Fix linting issues automatically
49
+ pnpm run lint:fix
50
+ ```
51
+
52
+ ### Building
53
+
54
+ To build the library:
55
+
56
+ ```bash
57
+ pnpm run build
58
+ ```
59
+
60
+ ## Pull Request Process
61
+
62
+ 1. Create a new branch for your feature or bug fix.
63
+ 2. Ensure your code follows the existing style and is well-tested.
64
+ 3. Update the `README.md` or documentation if applicable.
65
+ 4. Submit a pull request with a clear description of the changes.
66
+
67
+ ## Code of Conduct
68
+
69
+ Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
70
+
71
+ ## License
72
+
73
+ By contributing, you agree that your contributions will be licensed under the [Apache License 2.0](LICENSE).
package/README.md CHANGED
@@ -104,7 +104,7 @@ syntropyFront.configure({
104
104
  pnpm add @syntropysoft/syntropyfront
105
105
  ```
106
106
 
107
- ## 🚀 **Quality & Performance (v0.4.3)**
107
+ ## 🚀 **Quality & Performance (v0.4.4)**
108
108
 
109
109
  SyntropyFront has been optimized for maximum performance and minimal bundle size:
110
110
 
package/SECURITY.md ADDED
@@ -0,0 +1,25 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ Only the latest version of SyntropyFront is supported for security updates.
6
+
7
+ | Version | Supported |
8
+ | ------- | ------------------ |
9
+ | >= 0.4.x| :white_check_mark: |
10
+ | < 0.4.0 | :x: |
11
+
12
+ ## Reporting a Vulnerability
13
+
14
+ We take the security of SyntropyFront seriously. If you believe you have found a security vulnerability, please report it to us as soon as possible.
15
+
16
+ **Please do not report security vulnerabilities through public GitHub issues.**
17
+
18
+ Instead, please report vulnerabilities by emailing Gabriel Alejandro Gomez at gabriel70@gmail.com.
19
+
20
+ When reporting a vulnerability, please include:
21
+ - A clear description of the vulnerability.
22
+ - Steps to reproduce the issue.
23
+ - Potential impact.
24
+
25
+ We will acknowledge your report within 48 hours and provide a timeline for addressing the issue. We appreciate your efforts to keep the project and its users secure.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syntropysoft/syntropyfront",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "type": "module",
5
5
  "description": "🚀 Observability library with automatic capture - Just 1 line of code! Automatically captures clicks, errors, HTTP calls, and console logs with flexible error handling.",
6
6
  "main": "dist/index.js",
@@ -18,24 +18,11 @@
18
18
  "dist",
19
19
  "README.md",
20
20
  "LICENSE",
21
- "NOTICE"
21
+ "NOTICE",
22
+ "CONTRIBUTING.md",
23
+ "SECURITY.md",
24
+ "CODE_OF_CONDUCT.md"
22
25
  ],
23
- "scripts": {
24
- "build": "rollup -c",
25
- "build:watch": "rollup -c -w",
26
- "dev": "pnpm run build:watch",
27
- "test": "jest",
28
- "test:watch": "jest --watch",
29
- "test:coverage": "jest --config jest.config.coverage.cjs",
30
- "test:mutation": "stryker run",
31
- "test:mutation:watch": "stryker run",
32
- "test:mutation:quick": "stryker run stryker.quick.conf.json",
33
- "clean": "rm -rf dist",
34
- "lint": "eslint src --ext .js",
35
- "lint:fix": "eslint src --ext .js --fix",
36
- "postbuild": "cp src/index.d.ts dist/index.d.ts",
37
- "prepublishOnly": "pnpm run clean && pnpm run build && pnpm test"
38
- },
39
26
  "keywords": [
40
27
  "frontend",
41
28
  "frontend-monitoring",
@@ -117,17 +104,24 @@
117
104
  "jest-environment-jsdom": "^30.2.0",
118
105
  "rollup": "^4.59.0"
119
106
  },
120
- "pnpm": {
121
- "overrides": {
122
- "serialize-javascript": "^7.0.3"
123
- },
124
- "ignoredBuiltDependencies": [
125
- "unrs-resolver"
126
- ]
127
- },
128
107
  "browserslist": [
129
108
  "> 1%",
130
109
  "last 2 versions",
131
110
  "not dead"
132
- ]
111
+ ],
112
+ "scripts": {
113
+ "build": "rollup -c",
114
+ "build:watch": "rollup -c -w",
115
+ "dev": "pnpm run build:watch",
116
+ "test": "jest",
117
+ "test:watch": "jest --watch",
118
+ "test:coverage": "jest --config jest.config.coverage.cjs",
119
+ "test:mutation": "stryker run",
120
+ "test:mutation:watch": "stryker run",
121
+ "test:mutation:quick": "stryker run stryker.quick.conf.json",
122
+ "clean": "rm -rf dist",
123
+ "lint": "eslint src --ext .js",
124
+ "lint:fix": "eslint src --ext .js --fix",
125
+ "postbuild": "cp src/index.d.ts dist/index.d.ts"
126
+ }
133
127
  }