Skip to content

Commit db1cb4c

Browse files
chore: initial setup
0 parents  commit db1cb4c

File tree

11 files changed

+3882
-0
lines changed

11 files changed

+3882
-0
lines changed

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: ".github/workflows"
5+
schedule:
6+
interval: "monthly"
7+
groups:
8+
gha:
9+
patterns:
10+
- "*"
11+
- package-ecosystem: "npm"
12+
directory: "."
13+
schedule:
14+
interval: "monthly"
15+
versioning-strategy: increase
16+
groups:
17+
npm:
18+
patterns:
19+
- "*"

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: ci
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
concurrency:
9+
group: ${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
test:
14+
strategy:
15+
matrix:
16+
os:
17+
- macos-15
18+
- ubuntu-24.04
19+
- windows-2025
20+
fail-fast: false
21+
runs-on: ${{ matrix.os }}
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@v4.1.1
25+
- name: Use Node version defined in manifest
26+
uses: volta-cli/action@v4
27+
- name: Node.js version
28+
- name: Install Node dependencies
29+
run: npm ci
30+
- name: Run Node tests
31+
run: npm t
32+

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
3+
__pycache__

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nwjs_build_type=sdk

CODE_OF_CONDUCT.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# "No Ideologies" Code of Conduct
2+
3+
The following are the guidelines we expect our community members and maintainers to follow.
4+
5+
---
6+
7+
## Terminology and Scope
8+
9+
**What defines a "maintainer"?**
10+
11+
- A maintainer is anyone that interacts with the community on behalf of this project. Amount of code written is not a qualifier. A maintainer may include those who solely help in support roles such as in resolving issues, improving documentation, administrating or moderating forums/chatrooms, or any other non-coding specific roles. Maintainers also include those that are responsible for the building and upkeep of the project.
12+
13+
**What defines a "community member"?**
14+
15+
- Anyone interacting with this project directly, including maintainers.
16+
17+
**What is the scope of these guidelines?**
18+
19+
- These guidelines apply only to this project and forms of communication directly related to it, such as issue trackers, forums, chatrooms, and in person events specific to this project. If a member is violating these guidelines outside of this project or on other platforms, that is beyond our scope and any grievances should be handled on those platforms.
20+
21+
**Discussing the guidelines:**
22+
23+
- Discussions around these guidelines, improving, updating, or altering them, is permitted so long as the discussions do not violate any existing guidelines.
24+
25+
---
26+
27+
## Guidelines
28+
29+
### Guidelines for community members
30+
31+
This project is technical in nature and not based around any particular non-technical ideology. As such, communication that is based primarily around ideologies unrelated to the technologies used by this repository are not permitted.
32+
33+
Any discussion or communication that is primarily focused around an ideology, be it about race, gender, politics, religion, or anything else non-technical, is not allowed. Everyone has their own ideological preferences, beliefs, and opinions. We do not seek to marginalize, exclude, or judge anyone for their ideologies. To prevent conflict between those with differing or opposing ideologies, all communication on these subjects are prohibited. Some discussions around these topics may be important, however this project is not the proper channel for these discussions.
34+
35+
### Guidelines for maintainers
36+
37+
- Maintainers must abide by the same rules as all other community members mentioned above. However, in addition, maintainers are held to a higher standard, explained below.
38+
- Maintainers should answer all questions politely.
39+
- If someone is upset or angry about something, it's probably because it's difficult to use, so thank them for bringing it to your attention and address ways to solve the problem. Maintainers should focus on the content of the message, and not on how it was delivered.
40+
- A maintainer should seek to update members when an issue they brought up is resolved.
41+
42+
---
43+
44+
## Appropriate response to violations
45+
46+
How to respond to a community member or maintainer violating a guideline.
47+
48+
1. If an issue is created that violates a guideline a maintainer should close and lock the issue, explaining "This issue is in violation of our code of conduct. Please review it before posting again." with a link to this document.
49+
1. If a member repeatedly violates the guidelines established in this document, they should be politely warned that continuing to violate the rules may result in being banned from the community. This means revoking access and support to interactions relating directly to the project (issue trackers, chatrooms, forums, in person events, etc.). However, they may continue to use the technology in accordance with its license.
50+
1. If a maintainer is in violation of a guideline, they should be informed of such with a link to this document. If additional actions are required of the maintainer but not taken, then other maintainers should be informed of these inactions.
51+
1. If a maintainer repeatedly violates the guidelines established in this document, they should be politely warned that continuing to violate the rules may result in being banned from the community. This means revoking access and support to interactions relating directly to the project (issue trackers, chatrooms, forums, in person events, etc.). However, they may continue to use the technology in accordance with its license. In addition, future contributions to this project may be ignored as well.
52+
53+
---
54+
55+
Based on version 1.0.3 from https://github.com/CodifiedConduct/coc-no-ideologies

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2025 NW.js Utilities
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
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, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# NW.js Testing Examples
2+
3+
## Getting Started
4+
5+
### JavaScript
6+
7+
1. `npm i` to install Node modules
8+
1. `npm t` to run tests
9+
10+
### Python
11+
12+
1. `npm i` to install Node modules
13+
1. `python3 -m pipenv install` to install Python dependencies
14+
1. `python3 -m pytest ./py/selenium/builder/test.py` to run tests
15+
16+
## Languages
17+
18+
- Java
19+
- JavaScript
20+
- Python

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Puppeteer</title>
8+
</head>
9+
10+
<body id="test">Hello, World!</body>
11+
12+
</html>

0 commit comments

Comments
 (0)