Skip to content

Commit

Permalink
release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tengu712 authored May 25, 2024
2 parents 62f7122 + 1cf34a6 commit 9debafd
Show file tree
Hide file tree
Showing 80 changed files with 5,181 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text eol=lf
*.lockb binary
*.png binary
35 changes: 35 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: publish

on:
push:
branches:
- release
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
path: skdassoc.com
- uses: actions/setup-node@v4
- uses: oven-sh/setup-bun@v1
- run: bun test
- run: bun run build
- uses: actions/upload-pages-artifact@v3
with:
path: pages
deploy:
needs: build
permissions:
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- uses: actions/deploy-pages@v4
id: deployment
178 changes: 178 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore

# Logs

logs
_.log
npm-debug.log_
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Caches

.cache

# Diagnostic reports (https://nodejs.org/api/report.html)

report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json

# Runtime data

pids
_.pid
_.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover

lib-cov

# Coverage directory used by tools like istanbul

coverage
*.lcov

# nyc test coverage

.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)

.grunt

# Bower dependency directory (https://bower.io/)

bower_components

# node-waf configuration

.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)

build/Release

# Dependency directories

node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)

web_modules/

# TypeScript cache

*.tsbuildinfo

# Optional npm cache directory

.npm

# Optional eslint cache

.eslintcache

# Optional stylelint cache

.stylelintcache

# Microbundle cache

.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history

.node_repl_history

# Output of 'npm pack'

*.tgz

# Yarn Integrity file

.yarn-integrity

# dotenv environment variable files

.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)

.parcel-cache

# Next.js build output

.next
out

# Nuxt.js build / generate output

.nuxt
dist

# Gatsby files

# Comment in the public line in if your project uses Gatsby and not Next.js

# https://nextjs.org/blog/next-9-1#public-directory-support

# public

# vuepress build output

.vuepress/dist

# vuepress v2.x temp and cache directory

.temp

# Docusaurus cache and generated files

.docusaurus

# Serverless directories

.serverless/

# FuseBox cache

.fusebox/

# DynamoDB Local files

.dynamodb/

# TernJS port file

.tern-port

# Stores VSCode versions used for testing VSCode extensions

.vscode-test

# yarn v2

.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# IntelliJ based IDEs
.idea

# Finder (MacOS) folder config
.DS_Store

# Appendix
pages/index.js
23 changes: 23 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"quoteProps": "consistent",
"jsxSingleQuote": true,
"trailingComma": "es5",
"bracketSpacing": false,
"bracketSameLine": false,
"arrowParens": "always",
"rangeStart": 0,
"rangeEnd": 99999999,
"requirePragma": false,
"insertPragma": false,
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"vueIndentScriptAndStyle": false,
"endOfLine": "lf",
"embeddedLanguageFormatting": "auto",
"singleAttributePerLine": true
}
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<p align="center">
<img src="./pages/iam-mml-logo.svg" alt="Logo" height=120></a>
</p>

<h1 align="center">IAM.mml</h1>

<p align="center">
<img src="https://github.com/Tengu712/iam-mml/actions/workflows/publish.yaml/badge.svg" alt="Deployment">
<img height=20 src="https://img.shields.io/badge/license-CC0_1.0-blue">
</p>

## What is this?

Online AM/FM Synthesizer for Generating and Playing WAV from MML.

## Build

To build, follow these steps:

1. Install [bun](https://bun.sh/)
2. Run `bun install`
3. Run `bun run build`
4. Host the pages directory
Binary file added bun.lockb
Binary file not shown.
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "iam-mml",
"module": "index.ts",
"type": "module",
"scripts": {
"build": "bunx prettier --write ./src && bun build ./src/index.ts --outdir ./pages --minify",
"format": "bunx prettier --write ./src",
"test": "bun test"
},
"devDependencies": {
"@types/bun": "latest",
"prettier": "^3.2.5"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
16 changes: 16 additions & 0 deletions pages/build.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions pages/docs/jp/about/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="ja">

<head>
<meta charset="utf8">
<title>IAM.mml Docs</title>
<link rel="icon" href="../../../iam-mml-logo.svg" type="image/svg+xml">
<link rel="stylesheet" type="text/css" href="../index.css?0">
<script src="../index.js?0"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/stackoverflow-light.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
</head>

<body>
<div id="menu"></div>
<script>createMenu("")</script>

<div id="main">
<h1>IAM.mmlとは?</h1>

<hr>

<h2>概要</h2>

<div class="center">
<a href="../../../">
<img width="25%" src="../../../iam-mml-logo.svg">
</a>
</div>

<p>
IAM.mmlはWebブラウザ上で動作するFM音源MMLコンパイラです。
</p>

<ul>
<li>自由な命名</li>
<li>小数による直感的な数値指定</li>
<li>制限のないシンセサイザ</li>
<li>Webブラウザベースなクロスプラットフォームアプリケーション</li>
</ul>

<br>

<div class="center">
<a href="../../../">IAM.mmlのアプリケーションページへ移動する</a>
</div>
</div>
</body>

</html>
Loading

0 comments on commit 9debafd

Please sign in to comment.