Skip to content

Commit 4f8eccc

Browse files
author
nyxb
committed
🔰❌Due to an untraceable error I had to delete the entire git folder so this is the new initial commit although the program is already advanced.
0 parents  commit 4f8eccc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+10899
-0
lines changed

.eslintignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
coverage
3+
dist
4+
web

.eslintrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"@nyxb"
4+
]
5+
}

.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [nyxb]

.github/ISSUE_TEMPLATE/bug_report.yml

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: 🐞 Bug report
2+
description: Create a report to help us improve this Project
3+
labels: [pending triage]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
- type: markdown
10+
attributes:
11+
value: |
12+
Please carefully read the contribution docs before creating a bug report
13+
👉 [Contributing Guide](https://github.com/nyxb/contribute/tree/main)
14+
15+
Please use a template below to create a minimal reproduction
16+
👉 [Stackblitz](https://node.new/)
17+
👉 [Codesandbox](https://codesandbox.io/p/sandbox/fervent-lehmann-vnx6nj?file=README.md)
18+
- type: textarea
19+
id: reproduction
20+
attributes:
21+
label: Reproduction
22+
description: Please provide a link to a repo that can reproduce the problem you ran into. A [**minimal reproduction**](#) is required unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided we might close it.
23+
placeholder: Reproduction
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: bug-description
28+
attributes:
29+
label: Describe the bug
30+
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
31+
placeholder: Bug description
32+
validations:
33+
required: true
34+
- type: textarea
35+
id: system-info
36+
attributes:
37+
label: System Info
38+
description: Output of `npx envinfo --system --binaries --browsers`
39+
render: Shell
40+
placeholder: System, Binaries, Browsers
41+
validations:
42+
required: true
43+
- type: dropdown
44+
id: package-manager
45+
attributes:
46+
label: Used Package Manager
47+
description: Select the used package manager
48+
options:
49+
- npm
50+
- yarn
51+
- pnpm
52+
- bun
53+
- n/a
54+
validations:
55+
required: true
56+
- type: textarea
57+
id: additonal
58+
attributes:
59+
label: Additional context
60+
description: If applicable, add any other context about the problem here
61+
- type: textarea
62+
id: logs
63+
attributes:
64+
label: Logs
65+
description: |
66+
Optional if provided reproduction. Please try not to insert an image but copy paste the log text.
67+
render: shell-script
68+
- type: checkboxes
69+
id: checkboxes
70+
attributes:
71+
label: Validations
72+
description: Before submitting the issue, please make sure you do the following
73+
options:
74+
- label: Follow our [Code of Conduct](https://github.com/nyxb/.github/blob/main/CODE_OF_CONDUCT.md)
75+
required: true
76+
- label: Read the [Contributing Guide](https://github.com/nyxb/contribute).
77+
required: true
78+
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
79+
required: true
80+
- label: Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
81+
required: true
82+
- label: The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
83+
required: true

.github/ISSUE_TEMPLATE/config.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
contact_links:
2+
- name: 🙌 Contribution Guide
3+
url: https://github.com/nyxb/contribute
4+
about: Please read through before making contributions.
5+
- name: 💬 Nyxb's Discord Server
6+
url: https://chat.nyxb.yxz/
7+
about: Want to discuss / chat with the community? Here you go!
8+
- name: ⁉️ Why and How to make a reproduction?
9+
url: https://dev.to/nyxb/reproductions-3o7o
10+
about: Reproduction is very important for maintainer to help on your issues!
+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: "🚀 Feature request"
2+
description: Suggest a feature that will improve this Project
3+
labels: [enhancement]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for your interest in the project and taking the time to fill out this feature report!
9+
10+
Please carefully read the contribution docs before suggesting a new feature
11+
👉 Contributing Guide(https://github.com/nyxb/contribute/tree/main)
12+
- type: textarea
13+
id: feature-description
14+
attributes:
15+
label: Clear and concise description of the problem
16+
description: 'As a developer using [Project:xyz] I want [goal / wish] so that [benefit]. If you intend to submit a PR for this issue, tell us in the description. Thanks!'
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: suggested-solution
21+
attributes:
22+
label: Suggested solution
23+
description: 'In module [xy] we could provide following implementation...'
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: alternative
28+
attributes:
29+
label: Alternative
30+
description: Clear and concise description of any alternative solutions or features you've considered.
31+
- type: textarea
32+
id: additional-context
33+
attributes:
34+
label: Additional context
35+
description: Any other context or screenshots about the feature request here.
36+
- type: checkboxes
37+
id: additional-info
38+
attributes:
39+
label: Additional information
40+
description: Additional information that helps us decide how to proceed.
41+
options:
42+
- label: Would you be willing to help implement this feature?
43+
- type: checkboxes
44+
id: required-info
45+
attributes:
46+
label: Final checks
47+
description: Before submitting, please make sure you do the following
48+
options:
49+
- label: Read the [contribution guide](https://github.com/nyxb/contribute/tree/main).
50+
required: true
51+
- label: Check existing [discussions](chat.nyxb.yxz).
52+
required: true
53+
- type: checkboxes
54+
id: checkboxes
55+
attributes:
56+
label: Validations
57+
description: Before submitting the issue, please make sure you do the following
58+
options:
59+
- label: Follow our [Code of Conduct](https://github.com/nyxb/.github/blob/main/CODE_OF_CONDUCT.md)
60+
required: true
61+
- label: Read the [Contributing Guide](https://github.com/nyxb/contribute).
62+
required: true
63+
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
64+
required: true

.github/ISSUE_TEMPLATE/typo.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 👀 Typo / Grammar fix
2+
description: You can just go ahead and send a PR! Thank you!
3+
labels: []
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
## PR Welcome!
9+
10+
If the typo / grammar issue is trivial and straightforward, you can help by **directly sending a quick pull request**!
11+
If you spot multiple of them, we suggest combining them into a single PR. Thanks!
12+
- type: textarea
13+
id: context
14+
attributes:
15+
label: Additional context

.github/PULL_REQUEST_TEMPLATE.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!---
2+
☝️ PR title should follow conventional emoji commits (https://conventional-emoji-commits.org)
3+
4+
Please carefully read the contribution docs before creating a pull request
5+
👉 [Contribution Guidelines](https://github.com/nyxb/contribute/tree/main)
6+
-->
7+
8+
### 🔗 Linked issue
9+
10+
<!-- Please ensure there is an open issue and mention its number as #123 -->
11+
12+
### ❓ Type of change
13+
14+
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. -->
15+
16+
- [ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
17+
- [ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
18+
- [ ] 👌 Enhancement (improving an existing functionality like performance)
19+
- [ ] ✨ New feature (a non-breaking change that adds functionality)
20+
- [ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
21+
- [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)
22+
23+
### 📚 Description
24+
25+
<!-- Describe your changes in detail -->
26+
<!-- Why is this change required? What problem does it solve? -->
27+
<!-- If it resolves an open issue, please link to the issue here. For example "Resolves #1337" -->
28+
29+
### 📝 Checklist
30+
31+
<!-- Put an `x` in all the boxes that apply. -->
32+
<!-- If your change requires a documentation PR, please link it appropriately -->
33+
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
34+
35+
- [ ] I have linked an issue or discussion.
36+
- [ ] I have updated the documentation accordingly.

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
*.log
3+
.DS_Store
4+
coverage
5+
dist
6+
.tmp
7+
/*.js

.npmrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
shamefully-hoist=true
2+
strict-peer-dependencies=false

.vscode/settings.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"prettier.enable": false,
3+
"editor.formatOnSave": false,
4+
"editor.tabSize": 3,
5+
"editor.insertSpaces": true,
6+
"editor.codeActionsOnSave": {
7+
"source.fixAll.eslint": true
8+
},
9+
"files.insertFinalNewline": true,
10+
"editor.trimAutoWhitespace": true,
11+
"files.encoding": "utf8",
12+
"[*]": {
13+
"files.eol": "\n"
14+
},
15+
}

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Changelog
2+
3+
4+
## v0.0.3
5+
6+
[compare changes](https://github.com/nyxblabs/typiqus/compare/v0.0.2...v0.0.3)
7+
8+
9+
### 🏡 Chore
10+
11+
- **build): add build configuration file and update loader and types 🔧 chore(vercel): add vercel.json file to silence GitHub deployment notifications 🔧 chore(vite:** Add test coverage configuration to vite.config.ts The build configuration file is added to the project to define the build configuration options. The loader and types are updated to reflect the changes in the build configuration. The vercel.json file is added to silence GitHub deployment notifications. The test coverage configuration is added to the vite.config.ts file to enable test coverage reporting. ([b0246ee](https://github.com/nyxblabs/typiqus/commit/b0246ee))
12+
13+
### ❤️ Contributors
14+
15+
16+

CODE_OF_CONDUCT.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

CONTRIBUTING.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Please refer to https://github.com/nyxb/contribute

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Dennis Ollhoff
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:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
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.

build.config.ts

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { defineBuildConfig } from 'unbuild'
2+
3+
export default defineBuildConfig({
4+
declaration: true,
5+
entries: [
6+
'./src/index',
7+
'./src/loader/babel',
8+
'./src/loader/transform',
9+
'./src/loader/loader',
10+
'./src/cli',
11+
],
12+
rollup: {
13+
// inlineDependencies: true,
14+
emitCJS: true,
15+
},
16+
})

loader.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/loader'

0 commit comments

Comments
 (0)