flaglint 0.1.0 → 0.1.1

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.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Find stale feature flags. Detect flag debt. Plan your OpenFeature migration.**
4
4
 
5
- [![CI](https://github.com/flaglint/flaglint/actions/workflows/ci.yml/badge.svg)](https://github.com/flaglint/flaglint/actions/workflows/ci.yml)
5
+ [![CI](https://https://github.com/flaglint/flagkit-cli/actions/workflows/ci.yml/badge.svg)](https://https://github.com/flaglint/flagkit-cli/actions/workflows/ci.yml)
6
6
  [![npm version](https://img.shields.io/npm/v/flaglint.svg)](https://www.npmjs.com/package/flaglint)
7
7
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
8
 
@@ -334,7 +334,7 @@ function formatHTML(result, options) {
334
334
  return `<tr class="${cls}"><td><code>${esc(key)}</code></td><td>${data.usages.length}</td><td>${fileList}</td><td>${[...data.callTypes].map(esc).join(", ")}</td><td>${status}</td></tr>`;
335
335
  }).join("\n ");
336
336
  const title = options.title ? esc(options.title) : "FlagLint Scan Report";
337
- const version = true ? "0.1.0" : "0.1.0";
337
+ const version = true ? "0.1.1" : "0.1.0";
338
338
  return `<!DOCTYPE html>
339
339
  <html lang="en">
340
340
  <head>
@@ -740,7 +740,7 @@ function analyze(result) {
740
740
  function formatMigrationReport(analysis) {
741
741
  const { readinessScore, requiredPackages, items, manualReviewCount, autoMigrateCount } = analysis;
742
742
  const date = (/* @__PURE__ */ new Date()).toLocaleDateString();
743
- const version = true ? "0.1.0" : "0.1.0";
743
+ const version = true ? "0.1.1" : "0.1.0";
744
744
  let scoreLabel;
745
745
  if (readinessScore >= 80) scoreLabel = "\u2713 Your codebase is ready for migration";
746
746
  else if (readinessScore >= 50) scoreLabel = "\u26A0 Some manual work required before migration";
@@ -925,7 +925,7 @@ Examples:
925
925
  // src/cli.ts
926
926
  function createCLI() {
927
927
  const program2 = new Command();
928
- program2.name("flaglint").description("Find stale feature flags. Detect flag debt. Plan your OpenFeature migration.").version("0.1.0", "-v, --version", "output the current version").addHelpText(
928
+ program2.name("flaglint").description("Find stale feature flags. Detect flag debt. Plan your OpenFeature migration.").version("0.1.1", "-v, --version", "output the current version").addHelpText(
929
929
  "after",
930
930
  `
931
931
  Examples:
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "flaglint",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Find stale feature flags. Detect flag debt. Plan your OpenFeature migration.",
5
5
  "type": "module",
6
6
  "bin": {
7
- "flaglint": "./dist/bin/flaglint.js"
7
+ "flaglint": "dist/bin/flaglint.js"
8
8
  },
9
9
  "files": [
10
10
  "dist/",
@@ -13,7 +13,7 @@
13
13
  "LICENSE"
14
14
  ],
15
15
  "engines": {
16
- "node": ">=18"
16
+ "node": ">=22"
17
17
  },
18
18
  "keywords": [
19
19
  "feature-flags",
@@ -27,11 +27,11 @@
27
27
  "license": "MIT",
28
28
  "repository": {
29
29
  "type": "git",
30
- "url": "https://github.com/flaglint/flaglint.git"
30
+ "url": "git+https://https://github.com/flaglint/flagkit-cli.git"
31
31
  },
32
32
  "homepage": "https://flaglint.dev",
33
33
  "bugs": {
34
- "url": "https://github.com/flaglint/flaglint/issues"
34
+ "url": "https://https://github.com/flaglint/flagkit-cli/issues"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "tsup",