Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4388398
fix: update version to 3.2.1-dev.0 in package.json and package-lock.json
otnc Jan 19, 2026
561578b
fix: update README and tests for consistent code style; skip .coffee …
otnc Jan 20, 2026
3d19c58
fix: update version to 3.2.1 in package.json and package-lock.json; r…
otnc Jan 20, 2026
26680d4
Merge pull request #27 from otoneko1102:version-test
otnc Jan 20, 2026
6745ab1
chore: update build artifacts
github-actions[bot] Jan 20, 2026
d05db96
fix: update donation section in README files; move links to a new sec…
otnc Jan 20, 2026
355937e
fix: update version to 3.2.2 in package.json and package-lock.json; a…
otnc Jan 20, 2026
063706d
fix: add ignoreUpdate option to README files for update notification …
otnc Jan 20, 2026
98e10f5
feat: add reset-dist-tags script for managing npm dist-tags
otnc Jan 20, 2026
b70ade0
fix: add support for .litcoffee files in .gitattributes
otnc Jan 21, 2026
ed6c5be
fix: update version to 3.2.3 in package.json and package-lock.json
otnc Jan 21, 2026
175c6e7
feat: add lts npm dist-tag for versioning support
otnc Jan 21, 2026
037a63b
fix: update version to 3.2.4 in package.json and package-lock.json; i…
otnc Jan 22, 2026
cc0e98e
Merge pull request #28 from otoneko1102:fix-watchmode
otnc Jan 22, 2026
081c8dc
chore: update build artifacts
github-actions[bot] Jan 22, 2026
b8d5d4f
fix: add ☕ to description in README and package.json
otnc Jan 22, 2026
858db22
Merge branch 'main' of https://github.com/otoneko1102/coffeescript-mi…
otnc Jan 22, 2026
6c7a74e
feat: update project setup with new templates and configuration files…
otnc Jan 25, 2026
85df69f
test: enhance setup tests with file creation and overwrite scenarios
otnc Jan 25, 2026
06666a2
refactor: simplify SETUP_KEYWORDS array and enhance test setup with c…
otnc Jan 25, 2026
049a9ff
fix: skip confirmation prompt in non-interactive environments and upd…
otnc Jan 25, 2026
d5a3885
chore: update build artifacts
github-actions[bot] Jan 25, 2026
4c21f7f
fix: skip adding lts dist-tag for dev versions in npm publish workflow
otnc Jan 25, 2026
a713305
Merge branch 'main' of https://github.com/otoneko1102/coffeescript-mi…
otnc Jan 25, 2026
ae72ab9
chore: bump version to 3.3.0 and update dependencies
otnc Jan 25, 2026
f8a7e46
feat: add GitHub Actions workflow for mirroring to organization
otnc Jan 31, 2026
1c9f8a6
fix: update remote repository URL in GitHub Actions workflow
otnc Jan 31, 2026
ffc9d65
Add 'dev' branch to mirror workflow triggers
otnc Feb 8, 2026
c7fa421
Fix formatting in mirror.yml branch list
otnc Feb 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.coffee linguist-language=CoffeeScript
*.litcoffee linguist-language=CoffeeScript
dist/** linguist-generated
scripts/** linguist-vendored
test/** linguist-vendored
23 changes: 23 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Mirror to Organization

on:
push:
branches: [ "main" , "dev" , "patch-*" ]
workflow_dispatch:

jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.SYNC_TOKEN }}

- name: Mirror to Org
run: |
REMOTE_REPO="https://github.com/coffeescript-milkee/milkee.git"
git remote add target "$REMOTE_REPO"
git push --force --prune target "refs/remotes/origin/*:refs/heads/*"
git push --tags target
15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,18 @@ jobs:
VERSION=$(node -p "require('./package.json').version")
git tag "v$VERSION"
git push origin "v$VERSION"

- name: Add vX.Y-lts npm dist-tag
run: |
VERSION=$(node -p "require('./package.json').version")
# Skip adding lts tag for dev versions
if echo "$VERSION" | grep -q 'dev'; then
echo "Dev version detected; skipping lts dist-tag."
else
PKG=$(node -p "require('./package.json').name")
VER="$VERSION"
TAG="v${VER%.*}-lts"
npm dist-tag add "$PKG@$VER" "$TAG"
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20 changes: 13 additions & 7 deletions README-ja.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
# Milkee

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Vitest](https://github.com/otoneko1102/coffeescript-milkee/actions/workflows/test.yml/badge.svg)](https://github.com/otoneko1102/coffeescript-milkee/actions)
[![npm version](https://img.shields.io/npm/v/milkee.svg)](https://www.npmjs.com/package/milkee)
[![Downloads](https://img.shields.io/npm/dw/milkee.svg)](https://www.npmjs.com/package/milkee)
[![License](https://img.shields.io/npm/l/milkee.svg)](./LICENSE)

<a href="https://www.buymeacoffee.com/devuloper" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

<a href='https://ko-fi.com/E1E41LY2C9' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi6.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>

[English](./README.md) | **日本語**

[![Milkee logo](./img/Milkee-logo.png)](https://milkee.org)

`coffee.config.cjs` を使ったシンプルな CoffeeScript ビルドツール
[coffee.config.cjs](./temp/setup/coffee.config.cjs) を使ったシンプルな CoffeeScript ビルドツール

公式サイト: https://milkee.org

Expand Down Expand Up @@ -46,7 +43,7 @@ npm i -D coffeescript @babel/core

### セットアップ

`-s` (`--setup`) コマンドを実行すると、`coffee.config.cjs` が生成されます!
`-s` (`--setup`) コマンドを実行すると、[coffee.config.cjs](./temp/setup/coffee.config.cjs) が生成されます!

```bash
# グローバル
Expand Down Expand Up @@ -86,6 +83,8 @@ module.exports = {
// (任意) Milkee ビルダーの追加オプション / プラグイン。
milkee: {
options: {
// アップデート通知を無視します。
// ignoreUpdate: false,
// コンパイル前に出力ディレクトリをリセットします。
// refresh: false,
// コンパイル前に「実行しますか?」と確認します。
Expand Down Expand Up @@ -121,6 +120,7 @@ module.exports = {

| オプション | 型 | デフォルト | 説明 |
| :--- | :--- | :--- | :--- |
| `ignoreUpdate` | `boolean` | `false` | アップデート通知を無視する |
| `refresh` | `boolean` | `false` | コンパイル前に出力ディレクトリをリセットする |
| `confirm` | `boolean` | `false` | コンパイル前に「実行しますか?」と確認する |
| `copy` | `boolean` | `false` | コンパイル後に entry から output へ非 CoffeeScript ファイルをコピーする(`options.join` が false の場合のみ) |
Expand Down Expand Up @@ -148,7 +148,7 @@ module.exports = {

### コンパイル

Milkee は自動で `coffee.config.cjs` を読み、`options` からコマンドを組み立ててコンパイルを開始します!
Milkee は自動で [coffee.config.cjs](./temp/setup/coffee.config.cjs) を読み、`options` からコマンドを組み立ててコンパイルを開始します!

```bash
# グローバル
Expand All @@ -164,3 +164,9 @@ npx milkee

- [English](./docs/PLUGIN.md)
- [日本語](./docs/PLUGIN-ja.md)

## 寄付

<a href="https://www.buymeacoffee.com/devuloper" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

<a href='https://ko-fi.com/E1E41LY2C9' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi6.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
# Milkee

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Vitest](https://github.com/otoneko1102/coffeescript-milkee/actions/workflows/test.yml/badge.svg)](https://github.com/otoneko1102/coffeescript-milkee/actions)
[![npm version](https://img.shields.io/npm/v/milkee.svg)](https://www.npmjs.com/package/milkee)
[![Downloads](https://img.shields.io/npm/dw/milkee.svg)](https://www.npmjs.com/package/milkee)
[![License](https://img.shields.io/npm/l/milkee.svg)](./LICENSE)

<a href="https://www.buymeacoffee.com/devuloper" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

<a href='https://ko-fi.com/E1E41LY2C9' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi6.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>

**English** | [日本語](./README-ja.md)

[![Milkee logo](./img/Milkee-logo.png)](https://milkee.org)

A simple CoffeeScript build tool with [coffee.config.cjs](./temp/coffee.config.cjs)
A simple CoffeeScript build tool with [coffee.config.cjs](./temp/setup/coffee.config.cjs)

Official site: https://milkee.org

Expand Down Expand Up @@ -46,7 +43,7 @@ npm i -D coffeescript @babel/core

### Setup

Run `-s` (`--setup`) command, generate [coffee.config.cjs](./temp/coffee.config.cjs)!
Run `-s` (`--setup`) command, generate [coffee.config.cjs](./temp/setup/coffee.config.cjs)!

```bash
# global
Expand Down Expand Up @@ -86,9 +83,11 @@ module.exports = {
// (Optional) Additional options/plugins for the Milkee builder.
milkee: {
options: {
// Ignore update notifications.
// ignoreUpdate: false,
// Before compiling, reset the directory.
// refresh: false,
// Before compiling, prompt "Do you want to Continue?".
// Before compiling, confirm "Do you want to Continue?"
// confirm: false,
// After compiling, copy non-coffee files from entry to output directory. (Only works when options.join is false)
// copy: false,
Expand Down Expand Up @@ -121,6 +120,7 @@ These options control Milkee's behavior.

| Option | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `ignoreUpdate` | `boolean` | `false` | Ignore update notifications. |
| `refresh` | `boolean` | `false` | Before compiling, reset the output directory. |
| `confirm` | `boolean` | `false` | Before compiling, prompt "Do you want to Continue?". |
| `copy` | `boolean` | `false` | After compiling, copy non-coffee files from entry to output directory. (Only works when `options.join` is `false`) |
Expand Down Expand Up @@ -148,7 +148,7 @@ module.exports = {

### Compile

Milkee will automatically read `coffee.config.cjs`, assemble the command from your `options`, and start compilation!
Milkee will automatically read [coffee.config.cjs](./temp/setup/coffee.config.cjs), assemble the command from your `options`, and start compilation!

```bash
# global
Expand All @@ -164,3 +164,9 @@ Want to create your own Milkee plugin? Check out the plugin documentation:

- [English](./docs/PLUGIN.md)
- [日本語](./docs/PLUGIN-ja.md)

## Donate

<a href="https://www.buymeacoffee.com/devuloper" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

<a href='https://ko-fi.com/E1E41LY2C9' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi6.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
10 changes: 9 additions & 1 deletion dist/commands/compile.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading