Skip to content

Commit 68d6999

Browse files
author
Zappar
committed
Zappar for A-Frame v0.3.28
1 parent 6b67471 commit 68d6999

File tree

76 files changed

+30473
-2
lines changed

Some content is hidden

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

76 files changed

+30473
-2
lines changed

.eslintrc.js

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
node: true,
6+
jest: true,
7+
},
8+
globals: {
9+
page: true,
10+
browser: true,
11+
context: true,
12+
jestPuppeteer: true,
13+
"Atomics": "readonly",
14+
"SharedArrayBuffer": "readonly"
15+
},
16+
extends: ["airbnb-base", "plugin:prettier/recommended"],
17+
parser: "@typescript-eslint/parser",
18+
parserOptions: {
19+
ecmaVersion: 12,
20+
sourceType: "module",
21+
},
22+
plugins: ["@typescript-eslint", "eslint-plugin-tsdoc"],
23+
rules: {
24+
"tsdoc/syntax": 2,
25+
// "require-jsdoc": 1,
26+
"@typescript-eslint/explicit-member-accessibility": 1,
27+
"no-console": [0],
28+
"eol-last": 0,
29+
"no-use-before-define": [0],
30+
"@typescript-eslint/no-use-before-define": [1],
31+
"no-shadow": [0],
32+
"no-multi-assign": [0],
33+
"import/extensions": [0],
34+
"import/prefer-default-export": [0],
35+
"max-classes-per-file": [0],
36+
"no-unused-vars": [0],
37+
"no-unused-expressions": [0],
38+
"import/no-extraneous-dependencies": [0],
39+
"no-restricted-imports": [
40+
"error",
41+
{
42+
name: "three",
43+
message: "Please import THREE from './src/three.ts'",
44+
},
45+
],
46+
"max-len": [
47+
"error",
48+
{
49+
code: 155,
50+
},
51+
],
52+
"prettier/prettier": [
53+
"error",
54+
{
55+
printWidth: 155,
56+
},
57+
],
58+
},
59+
settings: {
60+
"import/resolver": {
61+
node: {
62+
extensions: [".js", ".jsx", ".ts", ".tsx", ".d.ts"],
63+
},
64+
},
65+
},
66+
};
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 5
8+
ignore:
9+
- dependency-name: "three"
10+
- dependency-name: "aframe"

.github/scripts/draft-release.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
JSON_STRING='{"tag_name":"'"$CI_COMMIT_TAG"'","draft":true}'
3+
echo "🚀 Creating a draft GitHub release"
4+
curl \
5+
-X POST \
6+
-H "Accept: application/vnd.github.v3+json" \
7+
-H "Authorization: token $GIT_TOKEN" \
8+
https://api.github.com/repos/zappar-xr/zappar-aframe/releases \
9+
-d $JSON_STRING

0 commit comments

Comments
 (0)