Skip to content

Commit c37cd0d

Browse files
committed
first
0 parents  commit c37cd0d

275 files changed

Lines changed: 24547 additions & 0 deletions

File tree

Some content is hidden

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

.babelrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"plugins": [
3+
"transform-object-rest-spread",
4+
["react-intl", {
5+
"messagesDir": "./translations/messages/"
6+
}]
7+
],
8+
"presets": [["@babel/preset-env", {"targets": {"browsers": ["last 3 versions", "Safari >= 8", "iOS >= 8"]}}], "@babel/preset-react"]
9+
}

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
9+
indent_style = space
10+
indent_size = 4
11+
12+
[*.{yml,json,json5}]
13+
indent_size = 2

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/*
2+
dist/*
3+
playground/
4+
scripts/*

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['scratch', 'scratch/es6', 'scratch/node']
3+
};

.gitattributes

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly specify line endings for as many files as possible.
5+
# People who (for example) rsync between Windows and Linux need this.
6+
7+
# File types which we know are binary
8+
*.sb2 binary
9+
10+
# Prefer LF for most file types
11+
*.css text eol=lf
12+
*.frag text eol=lf
13+
*.htm text eol=lf
14+
*.html text eol=lf
15+
*.iml text eol=lf
16+
*.js text eol=lf
17+
*.js.map text eol=lf
18+
*.json text eol=lf
19+
*.json5 text eol=lf
20+
*.md text eol=lf
21+
*.vert text eol=lf
22+
*.xml text eol=lf
23+
*.yml text eol=lf
24+
25+
# Prefer LF for these files
26+
.editorconfig text eol=lf
27+
.eslintignore text eol=lf
28+
.eslintrc text eol=lf
29+
.gitattributes text eol=lf
30+
.gitignore text eol=lf
31+
.gitmodules text eol=lf
32+
.npmignore text eol=lf
33+
LICENSE text eol=lf
34+
Makefile text eol=lf
35+
README text eol=lf
36+
TRADEMARK text eol=lf
37+
38+
# Use CRLF for Windows-specific file types

.github/ISSUE_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Expected Behavior
2+
3+
_Please describe what should happen_
4+
5+
### Actual Behavior
6+
7+
_Describe what actually happens_
8+
9+
### Steps to Reproduce
10+
11+
_Explain what someone needs to do in order to see what's described in *Actual behavior* above_
12+
13+
### Operating System and Browser
14+
15+
_e.g. Mac OS 10.11.6 Safari 10.0_

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Resolves
2+
3+
_What Github issue does this resolve (please include link)?_
4+
5+
### Proposed Changes
6+
7+
_Describe what this Pull Request does_
8+
9+
### Reason for Changes
10+
11+
_Explain why these changes should be made_
12+
13+
### Test Coverage
14+
15+
_Please show how you have added tests to cover your changes_

.github/workflows/deploy.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Deploy playground
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [develop]
7+
8+
concurrency:
9+
group: "deploy"
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
persist-credentials: false
19+
- name: Install Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 22
23+
- name: Install dependencies
24+
run: npm ci
25+
- name: Build playground
26+
run: npm run build
27+
- name: Upload artifact
28+
uses: actions/upload-pages-artifact@v3
29+
with:
30+
path: ./playground/
31+
32+
deploy:
33+
environment:
34+
name: github-pages
35+
url: ${{ steps.deployment.outputs.page_url }}
36+
permissions:
37+
pages: write
38+
id-token: write
39+
runs-on: ubuntu-latest
40+
needs: build
41+
steps:
42+
- name: Deploy to GitHub Pages
43+
id: deployment
44+
uses: actions/deploy-pages@v4

.github/workflows/node.js.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
persist-credentials: false
14+
- name: Install Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 22
18+
cache: npm
19+
- run: npm ci
20+
- run: npm run lint
21+
- run: npm run build
22+
- run: npm run test

.nvmrc

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

0 commit comments

Comments
 (0)