milkee 3.2.1-dev.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README-ja.md CHANGED
@@ -1,14 +1,11 @@
1
1
  # Milkee
2
2
 
3
+ [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
3
4
  [![Vitest](https://github.com/otoneko1102/coffeescript-milkee/actions/workflows/test.yml/badge.svg)](https://github.com/otoneko1102/coffeescript-milkee/actions)
4
5
  [![npm version](https://img.shields.io/npm/v/milkee.svg)](https://www.npmjs.com/package/milkee)
5
6
  [![Downloads](https://img.shields.io/npm/dw/milkee.svg)](https://www.npmjs.com/package/milkee)
6
7
  [![License](https://img.shields.io/npm/l/milkee.svg)](./LICENSE)
7
8
 
8
- <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>
9
-
10
- <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>
11
-
12
9
  [English](./README.md) | **日本語**
13
10
 
14
11
  [![Milkee logo](./img/Milkee-logo.png)](https://milkee.org)
@@ -86,6 +83,8 @@ module.exports = {
86
83
  // (任意) Milkee ビルダーの追加オプション / プラグイン。
87
84
  milkee: {
88
85
  options: {
86
+ // アップデート通知を無視します。
87
+ // ignoreUpdate: false,
89
88
  // コンパイル前に出力ディレクトリをリセットします。
90
89
  // refresh: false,
91
90
  // コンパイル前に「実行しますか?」と確認します。
@@ -121,6 +120,7 @@ module.exports = {
121
120
 
122
121
  | オプション | 型 | デフォルト | 説明 |
123
122
  | :--- | :--- | :--- | :--- |
123
+ | `ignoreUpdate` | `boolean` | `false` | アップデート通知を無視する |
124
124
  | `refresh` | `boolean` | `false` | コンパイル前に出力ディレクトリをリセットする |
125
125
  | `confirm` | `boolean` | `false` | コンパイル前に「実行しますか?」と確認する |
126
126
  | `copy` | `boolean` | `false` | コンパイル後に entry から output へ非 CoffeeScript ファイルをコピーする(`options.join` が false の場合のみ) |
@@ -164,3 +164,9 @@ npx milkee
164
164
 
165
165
  - [English](./docs/PLUGIN.md)
166
166
  - [日本語](./docs/PLUGIN-ja.md)
167
+
168
+ ## 寄付
169
+
170
+ <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>
171
+
172
+ <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>
package/README.md CHANGED
@@ -1,14 +1,11 @@
1
1
  # Milkee
2
2
 
3
+ [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
3
4
  [![Vitest](https://github.com/otoneko1102/coffeescript-milkee/actions/workflows/test.yml/badge.svg)](https://github.com/otoneko1102/coffeescript-milkee/actions)
4
5
  [![npm version](https://img.shields.io/npm/v/milkee.svg)](https://www.npmjs.com/package/milkee)
5
6
  [![Downloads](https://img.shields.io/npm/dw/milkee.svg)](https://www.npmjs.com/package/milkee)
6
7
  [![License](https://img.shields.io/npm/l/milkee.svg)](./LICENSE)
7
8
 
8
- <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>
9
-
10
- <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>
11
-
12
9
  **English** | [日本語](./README-ja.md)
13
10
 
14
11
  [![Milkee logo](./img/Milkee-logo.png)](https://milkee.org)
@@ -86,9 +83,11 @@ module.exports = {
86
83
  // (Optional) Additional options/plugins for the Milkee builder.
87
84
  milkee: {
88
85
  options: {
86
+ // Ignore update notifications.
87
+ // ignoreUpdate: false,
89
88
  // Before compiling, reset the directory.
90
89
  // refresh: false,
91
- // Before compiling, prompt "Do you want to Continue?".
90
+ // Before compiling, confirm "Do you want to Continue?"
92
91
  // confirm: false,
93
92
  // After compiling, copy non-coffee files from entry to output directory. (Only works when options.join is false)
94
93
  // copy: false,
@@ -121,6 +120,7 @@ These options control Milkee's behavior.
121
120
 
122
121
  | Option | Type | Default | Description |
123
122
  | :--- | :--- | :--- | :--- |
123
+ | `ignoreUpdate` | `boolean` | `false` | Ignore update notifications. |
124
124
  | `refresh` | `boolean` | `false` | Before compiling, reset the output directory. |
125
125
  | `confirm` | `boolean` | `false` | Before compiling, prompt "Do you want to Continue?". |
126
126
  | `copy` | `boolean` | `false` | After compiling, copy non-coffee files from entry to output directory. (Only works when `options.join` is `false`) |
@@ -164,3 +164,9 @@ Want to create your own Milkee plugin? Check out the plugin documentation:
164
164
 
165
165
  - [English](./docs/PLUGIN.md)
166
166
  - [日本語](./docs/PLUGIN-ja.md)
167
+
168
+ ## Donate
169
+
170
+ <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>
171
+
172
+ <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>
@@ -49,8 +49,11 @@ executeCopy = function(config) {
49
49
  }
50
50
  results.push(copyNonCoffeeFiles(srcItemPath, destItemPath));
51
51
  } else {
52
- // Skip .coffee files
53
- if (!item.endsWith('.coffee')) {
52
+ // Skip .coffee and .litcoffee files
53
+ if (/\.coffee$|\.litcoffee$/i.test(item)) {
54
+ // Skip
55
+ results.push(null);
56
+ } else {
54
57
  // Create parent directory if needed
55
58
  parentDir = path.dirname(destItemPath);
56
59
  if (!fs.existsSync(parentDir)) {
@@ -60,8 +63,6 @@ executeCopy = function(config) {
60
63
  }
61
64
  // Copy file
62
65
  results.push(fs.copyFileSync(srcItemPath, destItemPath));
63
- } else {
64
- results.push(void 0);
65
66
  }
66
67
  }
67
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "milkee",
3
- "version": "3.2.1-dev.0",
3
+ "version": "3.2.2",
4
4
  "description": "A simple CoffeeScript build tool with coffee.config.cjs",
5
5
  "main": "dist/main.js",
6
6
  "bin": {