node-lifecycle 1.0.4 โ†’ 1.0.6

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Kelsey Salguera
3
+ Copyright (c) 2025-2026 Kelsey Salguera
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # node-lifecycle
2
2
 
3
- Check the lifecycle status (Current, Active LTS, Maintenance, or EOL) of any Node.js version โ€” right from your terminal.
3
+ Check the lifecycle status (Current, Active LTS, Maintenance, or EOL) of any Node.js version.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/node-lifecycle.svg)](https://www.npmjs.com/package/node-lifecycle)
6
6
  [![license](https://img.shields.io/npm/l/node-lifecycle.svg)](LICENSE)
@@ -59,7 +59,9 @@ npx node-lifecycle
59
59
 
60
60
  This will fetch the latest version from npm on demand.
61
61
 
62
- ### Option 4: CircleCi Only - See CI Config Below
62
+ ### Option 4: CircleCI configuration example
63
+
64
+ See the [CircleCI configuration example](documentation/circleci-config-example.md).
63
65
 
64
66
  ## ๐Ÿš€ Usage
65
67
 
@@ -116,60 +118,13 @@ node-lifecycle --version=18.20.4 --no-fail
116
118
 
117
119
  ## ๐Ÿงช CI Integration and GitHub Actions
118
120
 
119
- ### CircleCI
120
-
121
- There are two ways to use `node-lifecycle` in CircleCI:
122
-
123
- **Without installing in your repo (uses npx)**
124
-
125
- This always fetches the latest published version from npm:
126
-
127
- ```
128
- jobs:
129
- verify:
130
- docker:
131
- - image: cimg/node:20.12
132
- steps:
133
- - checkout
134
- - run:
135
- name: Node lifecycle check
136
- command: npx node-lifecycle --warn-days=180
137
- ```
138
-
139
- **With devDependencies (preferred if already in your repo)**
140
-
141
- If you already have `node-lifecycle` in devDependencies, `npm ci` will install it and you can run it directly:
142
-
143
- ```
144
- jobs:
145
- verify:
146
- docker:
147
- - image: cimg/node:20.12
148
- steps:
149
- - checkout
150
- - run: npm ci
151
- - run:
152
- name: Node lifecycle check
153
- command: node-lifecycle --warn-days=180
154
- ```
155
-
156
121
  ### GitHub Actions
157
122
 
158
- Example GitHub Actions job to fail if Node.js is near or past EOL:
159
-
160
- ```
161
- jobs:
162
- check-node-lifecycle:
163
- runs-on: ubuntu-latest
164
- steps:
165
- - uses: actions/checkout@v4
166
- - run: npm install -g node-lifecycle
167
- - run: node-lifecycle
168
- ```
123
+ See the [GitHub Actions configuration example](documentation/github-actions-config-example.md).
169
124
 
170
125
 
171
126
  ## ๐Ÿ“„ License
172
127
 
173
- MIT ยฉ 2025 Kelsey Salguera
128
+ MIT ยฉ 2026 Kelsey Salguera
174
129
 
175
- Note: This tool fetches Node.js release schedules from official sources (nodejs/Release and endoflife.date) and caches them locally for faster performance.
130
+ Note: This tool fetches Node.js release schedules from official sources (nodejs/Release and endoflife.date) and caches them locally for faster performance.
package/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-lifecycle",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "CLI tool to check Node.js version lifecycle and EOL status",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "start": "ts-node src/cli.ts",
14
+ "start": "npm run build && node dist/cli.js",
15
15
  "test": "jest",
16
16
  "test:watch": "jest --watch",
17
17
  "prepublishOnly": "npm run build"
@@ -29,24 +29,25 @@
29
29
  "license": "MIT",
30
30
  "repository": {
31
31
  "type": "git",
32
- "url": "git@github.com:ksalguera/node-lifecycle.git"
32
+ "url": "git+https://github.com/ksalguera/node-lifecycle.git"
33
33
  },
34
34
  "bugs": {
35
35
  "url": "https://github.com/ksalguera/node-lifecycle/issues"
36
36
  },
37
37
  "homepage": "https://github.com/ksalguera/node-lifecycle#readme",
38
38
  "dependencies": {
39
- "node-lifecycle": "^1.0.3",
40
- "semver": "^7.6.0"
39
+ "semver": "^7.8.5"
41
40
  },
42
41
  "devDependencies": {
42
+ "@babel/core": "^7.29.7",
43
+ "@babel/preset-env": "^7.29.7",
44
+ "@babel/preset-typescript": "^7.29.7",
43
45
  "@types/jest": "^30.0.0",
44
- "@types/node": "^20.0.0",
45
- "@types/semver": "^7.5.8",
46
- "jest": "^29.7.0",
47
- "ts-jest": "^29.4.1",
48
- "ts-node": "^10.9.1",
49
- "typescript": "^5.0.0"
46
+ "@types/node": "^26.5.1",
47
+ "@types/semver": "^7.8.0",
48
+ "babel-jest": "^30.5.1",
49
+ "jest": "^30.5.1",
50
+ "typescript": "^7.0.2"
50
51
  },
51
52
  "engines": {
52
53
  "node": ">=18.0.0"