Skip to content

Commit

Permalink
Merge pull request #2 from true-runes/development
Browse files Browse the repository at this point in the history
Release v0.5.0
  • Loading branch information
nikukyugamer authored May 15, 2020
2 parents 3b0e1fb + 8799fdd commit 44499e8
Show file tree
Hide file tree
Showing 17 changed files with 6,790 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .clasp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"scriptId": "<your_script_id>",
"rootDir": "dist"
}
2 changes: 2 additions & 0 deletions .claspignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.history/*.js
.history/*.ts
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
# root = true

# [*]
# charset = utf-8
# indent_style = space
# indent_size = 2
# insert_final_newline = true
# trim_trailing_whitespace = true

# [*.md]
# max_line_length = off
# trim_trailing_whitespace = false
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint"
],
"plugins": [
"@typescript-eslint"
],
"env": { "node": true, "es6": true },
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
}
}
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/issue_normal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: 通常のissue
about: 普通に課題などがある場合はこちらを使ってください
title: ''
labels:
assignees: ''
---
# 課題

# 困ってること
23 changes: 23 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: 'Breaking change'
labels:
- 'Breaking Change'
- title: 'Features'
labels:
- 'feature'
- 'enhancement'
- title: 'Fixes'
labels:
- 'bug'
- title: 'Dependencies'
labels:
- 'dependencies'
- title: 'Refactor'
labels:
- 'refactor'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
template: |
## Changes
$CHANGES
19 changes: 19 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on: [push]
name: Suikoden Election 2020 Spreadsheet
jobs:
suikoden_election_2020_spreadsheet_github_actions:
name: Suikoden Election 2020 Spreadsheet CI
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
14 changes: 14 additions & 0 deletions .github/workflows/release_drafter_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Release Drafter

on:
push:
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.2.0
4 changes: 4 additions & 0 deletions .prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
singleQuote: true,
trailingComma: 'all',
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# suikoden-election-2020-spreadsheet
Spreadsheet (Suikoden election 2020)

# GAS Template
A GAS template is powered by [howdy39/gas-clasp-starter: A starter template for Google Apps Script by clasp](https://github.com/howdy39/gas-clasp-starter)
61 changes: 61 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"name": "gas-clasp-starter",
"version": "1.2.1",
"description": "",
"main": "index.js",
"scripts": {
"lint": "eslint --fix src/**/*.ts",
"test": "jest",
"build": "npm run lint && npm run test && rimraf dist && webpack && cpx src/appsscript.json dist && cpx \"src/**/*.html\" dist",
"push": "npm run build && clasp push"
},
"repository": {
"type": "git",
"url": "git+https://github.com/howdy39/gas-clasp-starter.git"
},
"keywords": [
"gas",
"google-apps-script",
"clasp"
],
"author": "howdy39",
"license": "MIT",
"bugs": {
"url": "https://github.com/howdy39/gas-clasp-starter/issues"
},
"homepage": "https://github.com/howdy39/gas-clasp-starter#readme",
"devDependencies": {
"@google/clasp": "^2.3.0",
"@types/google-apps-script": "^1.0.14",
"@types/jest": "25.1.4",
"@typescript-eslint/eslint-plugin": "2.23.0",
"@typescript-eslint/parser": "2.23.0",
"cpx": "1.5.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-prettier": "3.1.2",
"gas-webpack-plugin": "1.0.2",
"jest": "25.1.0",
"prettier": "1.19.1",
"rimraf": "3.0.2",
"ts-jest": "25.2.1",
"ts-loader": "6.2.1",
"typescript": "3.8.3",
"webpack": "4.42.0",
"webpack-cli": "3.3.11"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(src/.+(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}
5 changes: 5 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"config:base"
]
}
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// index.ts
7 changes: 7 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"compilerOptions": {
"sourceMap": true,
"target": "es5",
"module": "es2015"
}
}
24 changes: 24 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const path = require('path')
const GasPlugin = require('gas-webpack-plugin')

module.exports = {
mode: 'development',
entry: './src/index.ts',
devtool: false,
output: {
filename: 'bundle.js',
path: path.join(__dirname, 'dist'),
},
module: {
rules: [
{
test: /\.ts$/,
use: 'ts-loader',
},
],
},
resolve: {
extensions: ['.ts'],
},
plugins: [new GasPlugin()],
}
Loading

0 comments on commit 44499e8

Please sign in to comment.