Skip to content

Commit

Permalink
Version 5
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Dec 17, 2022
1 parent 981c0a0 commit 2318888
Show file tree
Hide file tree
Showing 649 changed files with 41,345 additions and 32,673 deletions.
24 changes: 0 additions & 24 deletions .babelrc

This file was deleted.

2 changes: 0 additions & 2 deletions .browserslistrc

This file was deleted.

5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ root = true
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
indent_size = 4
trim_trailing_whitespace = true

[*.{json,yml}]
indent_size = 2
12 changes: 12 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
root: true,
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'prefer-const': ['error', { destructuring: 'all' }],
},
ignorePatterns: ['dist/**/*', '*.js'],
};
127 changes: 0 additions & 127 deletions .eslintrc.json

This file was deleted.

8 changes: 0 additions & 8 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: '🐞 Bug report'
description: File a report to help us improve
labels: ['bug']
body:
- type: markdown
attributes:
value: |
## Thanks for taking the time to fill out this bug report
**Please use English or French**, I don't speak other languages.
Use [markdown codeblocks](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks) when posting code samples.
You can quickly create a demo by forking the [basic demo](https://photo-sphere-viewer.js.org/demos/basic/1-zero-config.html) to jsFiddle, Codepen or CodeSandbox.
- type: textarea
attributes:
label: Describe the bug
placeholder: Provide a clear description of the bug, with tests cases and steps to reproduce.
validations:
required: true

- type: input
attributes:
label: Online demo URL

- type: input
attributes:
label: Photo Sphere Viewer version
validations:
required: true

- type: input
attributes:
label: Plugins loaded

- type: input
attributes:
label: three.js version
validations:
required: true

- type: input
attributes:
label: OS & browser
validations:
required: true

- type: textarea
attributes:
label: Additional context
placeholder: Add any other context about the problem here.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: '💬 Share something'
url: https://github.com/mistic100/Photo-Sphere-Viewer/discussions/new
about: General discussion outside bugs, features and support
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: '🚀 Feature request'
description: Suggest an idea for this project
labels: ['feature']
body:
- type: markdown
attributes:
value: |
## Thanks for your interest on this project
**Please use English or French**, I don't speak other languages.
Consider searching [the documentation](https://photo-sphere-viewer.js.org/guide/) to verify the feature does not already exists.
Use [markdown codeblocks](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks) when posting code samples.
- type: textarea
attributes:
label: Describe the feature
placeholder: A clear and complete description of the feature you'd like to see in Photo Sphere Viewer.
validations:
required: true

- type: textarea
attributes:
label: Alternatives you've considered
placeholder: A description of any alternative solutions or features you've considered. If possible provided an online demo of your progression.

- type: textarea
attributes:
label: Additional context
placeholder: Add any other context about the feature request here.
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/support_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: '🆘 Support request'
description: If you need help to use this library
labels: ['question']
body:
- type: markdown
attributes:
value: |
## Let's try to solve your problem
**Please use English or French**, I don't speak other languages.
Consider searching [the documentation](https://photo-sphere-viewer.js.org/guide/) to find the solution by yourself.
Use [markdown codeblocks](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks) when posting code samples.
- type: textarea
attributes:
label: Describe your problem
placeholder: A clear description of what you want to achieve and what you already tried. If possible provided an online demo of your progression.
validations:
required: true

- type: input
attributes:
label: Online demo URL

- type: input
attributes:
label: Photo Sphere Viewer version
validations:
required: true

- type: input
attributes:
label: Plugins loaded

- type: textarea
attributes:
label: Additional context
placeholder: Add any other context about the feature request here.
7 changes: 3 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
**Merge request checklist**

- [ ] I created my branch from `dev` and I am issuing the PR to `dev`.
- [ ] All tests pass. If needed, new unit tests were added (only for utils).
- [ ] If needed, the [types](https://github.com/mistic100/Photo-Sphere-Viewer/tree/dev/types) have been updated.
- [ ] If needed, the [documentation](https://github.com/mistic100/Photo-Sphere-Viewer/tree/dev/docs) has been updated.
- [ ] I created my branch from `main` and I am issuing the PR to `main`.
- [ ] All lints and tests pass. If needed, new unit tests were added.
- [ ] If needed, the [documentation](https://github.com/mistic100/Photo-Sphere-Viewer/tree/main/docs) has been updated.
5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
directory: '/'
schedule:
interval: daily
assignees:
- mistic100
ignore:
- dependency-name: '*'
update-types: ['version-update:semver-patch']
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: build

on:
push:
branches:
- '*'
paths-ignore:
- 'docs/**'
- 'examples/**'
pull_request:
branches:
- main
workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'

- name: turbo cache
uses: actions/cache@v3
if: github.ref_name == 'main'
with:
path: .turbo
key: turbo-${{ github.sha }}
restore-keys: |
turbo-
- name: build
run: |
yarn install
yarn ci:build
Loading

0 comments on commit 2318888

Please sign in to comment.