Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e9da3e

Browse files
committed
Initial commit
0 parents  commit6e9da3e

18 files changed

+6483
-0
lines changed

‎.editorconfig‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root =true
2+
3+
[*]
4+
indent_style =space
5+
indent_size =2
6+
charset =utf-8
7+
trim_trailing_whitespace =true
8+
insert_final_newline =true
9+
10+
[*.md]
11+
trim_trailing_whitespace =false

‎.eslintignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/dist
2+
*.test.ts

‎.eslintrc‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["pythoncoderas-combo"]
3+
}

‎.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:"daily"
7+
-package-ecosystem:"github-actions"
8+
directory:"/"
9+
schedule:
10+
interval:"daily"

‎.github/workflows/auto-update.yml‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name:Auto NPM Update
2+
3+
# Controls when the workflow will run
4+
on:
5+
workflow_dispatch:
6+
schedule:
7+
-cron:"0 0 * * *"# Runs every day at midnight
8+
9+
jobs:
10+
update:
11+
runs-on:ubuntu-latest
12+
13+
steps:
14+
-uses:actions/checkout@v3
15+
-name:Setup node
16+
uses:actions/setup-node@v3.3.0
17+
with:
18+
node-version:18
19+
-name:Update dependencies
20+
run:npm upgrade
21+
-uses:tibdex/github-app-token@v1
22+
id:generate-token
23+
with:
24+
app_id:${{ secrets.APP_ID }}
25+
private_key:${{ secrets.APP_PRIVATE_KEY }}
26+
-name:Create Pull Request
27+
uses:peter-evans/create-pull-request@v4
28+
with:
29+
title:"Auto NPM Update"
30+
body:"This PR was created automatically by the Auto NPM Update workflow."
31+
signoff:true
32+
commit-message:"Update dependencies via `npm upgrade`."
33+
branch:"create-pull-request/auto-npm-update"
34+
branch-suffix:"timestamp"
35+
labels:"auto-npm-update,dependencies,javascript"
36+
delete-branch:true
37+
token:${{ steps.generate-token.outputs.token }}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name:"CodeQL"
13+
14+
on:
15+
push:
16+
branches:[master]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches:[master]
20+
schedule:
21+
-cron:"40 21 * * 3"
22+
23+
jobs:
24+
analyze:
25+
name:Analyze
26+
runs-on:ubuntu-latest
27+
permissions:
28+
actions:read
29+
contents:read
30+
security-events:write
31+
32+
strategy:
33+
fail-fast:false
34+
matrix:
35+
language:["javascript"]
36+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
38+
39+
steps:
40+
-name:Checkout repository
41+
uses:actions/checkout@v3
42+
43+
# Initializes the CodeQL tools for scanning.
44+
-name:Initialize CodeQL
45+
uses:github/codeql-action/init@v2
46+
with:
47+
languages:${{ matrix.language }}
48+
# If you wish to specify custom queries, you can do so here or in a config file.
49+
# By default, queries listed here will override any specified in a config file.
50+
# Prefix the list here with "+" to use these queries and those in the config file.
51+
52+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53+
# queries: security-extended,security-and-quality
54+
55+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
56+
# If this step fails, then you should remove it and run the build manually (see below)
57+
-name:Autobuild
58+
uses:github/codeql-action/autobuild@v2
59+
60+
# ℹ️ Command-line programs to run using the OS shell.
61+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
62+
63+
# If the Autobuild fails above, remove it and uncomment the following three lines.
64+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
65+
66+
# - run: |
67+
# echo "Run, Build Application using script"
68+
# ./location_of_script_within_repo/buildscript.sh
69+
70+
-name:Perform CodeQL Analysis
71+
uses:github/codeql-action/analyze@v2

‎.github/workflows/lint.yml‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name:Node.js Lint
5+
6+
on:
7+
push:
8+
branches:[master]
9+
pull_request:
10+
branches:[master]
11+
12+
jobs:
13+
lint:
14+
runs-on:ubuntu-latest
15+
16+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
17+
18+
steps:
19+
-uses:actions/checkout@v3
20+
-name:Use Node.js 18
21+
uses:actions/setup-node@v3.3.0
22+
with:
23+
node-version:18
24+
cache:"npm"
25+
-run:npm ci
26+
-run:npm run build
27+
-run:npm run lint

‎.github/workflows/publish.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name:Node.js Package
2+
3+
on:
4+
release:
5+
types:[created]
6+
7+
jobs:
8+
publish-npm:
9+
runs-on:ubuntu-latest
10+
steps:
11+
-uses:actions/checkout@v3
12+
-uses:actions/setup-node@v3.3.0
13+
with:
14+
node-version:16
15+
registry-url:https://registry.npmjs.org/
16+
-run:npm ci
17+
-run:npm run build
18+
-run:npm publish --access public
19+
env:
20+
NODE_AUTH_TOKEN:${{secrets.npm_token}}

‎.github/workflows/test.yml‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name:Node.js CI
5+
6+
on:
7+
push:
8+
branches:[master]
9+
10+
jobs:
11+
build:
12+
runs-on:ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version:[14.x, 16.x, 18.x]
17+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18+
19+
steps:
20+
-uses:actions/checkout@v3
21+
-name:Use Node.js ${{ matrix.node-version }}
22+
uses:actions/setup-node@v3.3.0
23+
with:
24+
node-version:${{ matrix.node-version }}
25+
cache:"npm"
26+
-run:npm ci
27+
-run:npm run build
28+
-run:npm run test
29+
env:
30+
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}

‎.gitignore‎

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
*.lcov
24+
25+
# nyc test coverage
26+
.nyc_output
27+
28+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29+
.grunt
30+
31+
# Bower dependency directory (https://bower.io/)
32+
bower_components
33+
34+
# node-waf configuration
35+
.lock-wscript
36+
37+
# Compiled binary addons (https://nodejs.org/api/addons.html)
38+
build/Release
39+
40+
# Dependency directories
41+
node_modules/
42+
jspm_packages/
43+
44+
# TypeScript v1 declaration files
45+
typings/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Microbundle cache
57+
.rpt2_cache/
58+
.rts2_cache_cjs/
59+
.rts2_cache_es/
60+
.rts2_cache_umd/
61+
62+
# Optional REPL history
63+
.node_repl_history
64+
65+
# Output of 'npm pack'
66+
*.tgz
67+
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
# dotenv environment variables file
72+
.env
73+
.env.test
74+
75+
# parcel-bundler cache (https://parceljs.org/)
76+
.cache
77+
78+
# Next.js build output
79+
.next
80+
81+
# Nuxt.js build / generate output
82+
.nuxt
83+
dist
84+
85+
# Gatsby files
86+
.cache/
87+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88+
# https://nextjs.org/blog/next-9-1#public-directory-support
89+
# public
90+
91+
# vuepress build output
92+
.vuepress/dist
93+
94+
# Serverless directories
95+
.serverless/
96+
97+
# FuseBox cache
98+
.fusebox/
99+
100+
# DynamoDB Local files
101+
.dynamodb/
102+
103+
# TernJS port file
104+
.tern-port

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp