milkee 3.1.0 → 3.1.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
@@ -7,9 +7,11 @@
7
7
 
8
8
  [English](./README.md) | **日本語**
9
9
 
10
- ![Milkee logo](./img/Milkee-logo.png)
10
+ [![Milkee logo](./img/Milkee-logo.png)](https://milkee.org)
11
11
 
12
- `coffee.config.cjs` を使ったシンプルな CoffeeScript ビルドツール
12
+ `coffee.config.cjs` を使ったシンプルな CoffeeScript ビルドツール
13
+
14
+ 公式サイト: https://milkee.org
13
15
 
14
16
  ## はじめに
15
17
 
@@ -157,4 +159,4 @@ npx milkee
157
159
  独自の Milkee プラグインを作成したいですか?プラグインのドキュメントを確認してください:
158
160
 
159
161
  - [English](./docs/PLUGIN.md)
160
- - [日本語](./docs/PLUGIN-ja.md)
162
+ - [日本語](./docs/PLUGIN-ja.md)
package/README.md CHANGED
@@ -7,10 +7,12 @@
7
7
 
8
8
  **English** | [日本語](./README-ja.md)
9
9
 
10
- ![Milkee logo](./img/Milkee-logo.png)
10
+ [![Milkee logo](./img/Milkee-logo.png)](https://milkee.org)
11
11
 
12
12
  A simple CoffeeScript build tool with [coffee.config.cjs](./temp/coffee.config.cjs)
13
13
 
14
+ Official site: https://milkee.org
15
+
14
16
  ## How to get started
15
17
 
16
18
  ### Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "milkee",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "A simple CoffeeScript build tool with coffee.config.cjs",
5
5
  "main": "dist/main.js",
6
6
  "bin": {
@@ -10,6 +10,7 @@
10
10
  "test": "prettier --write ./test && vitest",
11
11
  "test:ci": "vitest --run",
12
12
  "coverage": "vitest --run --coverage",
13
+ "checkversion": "ncu",
13
14
  "build": "coffee --output dist/ --compile --bare src/",
14
15
  "format": "node ./scripts/format.js",
15
16
  "deprecate:dev": "node ./scripts/deprecate-dev-versions.js"
@@ -34,7 +35,7 @@
34
35
  "bugs": {
35
36
  "url": "https://github.com/otoneko1102/coffeescript-milkee/issues"
36
37
  },
37
- "homepage": "https://milkee.oto.im",
38
+ "homepage": "https://milkee.org",
38
39
  "dependencies": {
39
40
  "@milkee/d": "^0.2.1",
40
41
  "consola": "^3.4.2",
@@ -42,13 +43,14 @@
42
43
  "yargs": "^18.0.0"
43
44
  },
44
45
  "devDependencies": {
45
- "@babel/core": "^7.28.5",
46
+ "@babel/core": "^7.28.6",
46
47
  "@types/coffeescript": "^2.5.7",
47
48
  "@vitest/coverage-v8": "^4.0.17",
48
49
  "coffee-fmt": "^0.12.0",
49
50
  "coffeescript": "^2.7.0",
50
51
  "dotenv": "^17.2.3",
51
52
  "execa": "^9.6.1",
53
+ "npm-check-updates": "^19.3.1",
52
54
  "prettier": "^3.8.0",
53
55
  "vitest": "^4.0.17"
54
56
  }
@@ -35,7 +35,15 @@ jobs:
35
35
  git push
36
36
 
37
37
  - name: Publish to npm
38
- run: npm publish --provenance --access public
38
+ run: |
39
+ VERSION=$(node -p "require('./package.json').version")
40
+ # If version includes 'dev', publish with 'dev' tag, otherwise use 'latest'
41
+ if echo "$VERSION" | grep -q 'dev'; then
42
+ TAG=dev
43
+ else
44
+ TAG=latest
45
+ fi
46
+ npm publish --provenance --access public --tag "$TAG"
39
47
  env:
40
48
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
41
49
 
package/vitest.config.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { defineConfig } from 'vitest/config'
1
+ import { defineConfig } from 'vitest/config';
2
2
 
3
3
  export default defineConfig({
4
4
  test: {
@@ -9,6 +9,6 @@ export default defineConfig({
9
9
  coverage: {
10
10
  provider: 'v8',
11
11
  reporter: ['text', 'lcov'],
12
- exclude: ['**/*.coffee']
13
- }
14
- })
12
+ exclude: ['**/*.coffee'],
13
+ },
14
+ });