@uniformdev/cli 19.14.1-alpha.11 → 19.14.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.
Files changed (2) hide show
  1. package/dist/index.mjs +12 -7
  2. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -69,7 +69,7 @@ async function createArraySyncEngineDataSource({
69
69
  }
70
70
 
71
71
  // src/sync/fileSyncEngineDataSource.ts
72
- import { red } from "colorette";
72
+ import ansicolors from "ansi-colors";
73
73
  import { existsSync, mkdirSync } from "fs";
74
74
  import { readdir, unlink } from "fs/promises";
75
75
  import { extname as extname2, join } from "path";
@@ -219,6 +219,7 @@ async function* paginateAsync(fetchPage, options) {
219
219
  }
220
220
 
221
221
  // src/sync/fileSyncEngineDataSource.ts
222
+ var { red } = ansicolors;
222
223
  async function createFileSyncEngineDataSource({
223
224
  directory,
224
225
  format = "yaml",
@@ -437,7 +438,8 @@ ${innerError}`
437
438
  };
438
439
 
439
440
  // src/sync/syncEngineConsoleLogger.ts
440
- import { gray, green, red as red2, white, yellow } from "colorette";
441
+ import ansicolors2 from "ansi-colors";
442
+ var { gray, green, red: red2, white, yellow } = ansicolors2;
441
443
  function createSyncEngineConsoleLogger(options) {
442
444
  const { diffMode = "off", indent, prefix } = options ?? {};
443
445
  return function syncEngineConsoleLogger({ action, displayName, whatIf, diff }) {
@@ -2148,9 +2150,10 @@ import yargs7 from "yargs";
2148
2150
 
2149
2151
  // src/commands/context/commands/manifest/get.ts
2150
2152
  import { ApiClientError, UncachedManifestClient } from "@uniformdev/context/api";
2151
- import { gray as gray2, green as green2, red as red3 } from "colorette";
2153
+ import ansicolors3 from "ansi-colors";
2152
2154
  import { writeFile } from "fs";
2153
2155
  import { exit } from "process";
2156
+ var { gray: gray2, green: green2, red: red3 } = ansicolors3;
2154
2157
  var ManifestGetModule = {
2155
2158
  command: "get [output]",
2156
2159
  aliases: ["dl", "download"],
@@ -2213,8 +2216,9 @@ var ManifestGetModule = {
2213
2216
 
2214
2217
  // src/commands/context/commands/manifest/publish.ts
2215
2218
  import { ApiClientError as ApiClientError2, UncachedManifestClient as UncachedManifestClient2 } from "@uniformdev/context/api";
2216
- import { gray as gray3, red as red4 } from "colorette";
2219
+ import ansicolors4 from "ansi-colors";
2217
2220
  import { exit as exit2 } from "process";
2221
+ var { gray: gray3, red: red4 } = ansicolors4;
2218
2222
  var ManifestPublishModule = {
2219
2223
  command: "publish",
2220
2224
  describe: "Publish the Uniform Context manifest for a project",
@@ -3097,7 +3101,7 @@ import { PostHog } from "posthog-node";
3097
3101
  // package.json
3098
3102
  var package_default = {
3099
3103
  name: "@uniformdev/cli",
3100
- version: "19.14.0",
3104
+ version: "19.14.1",
3101
3105
  description: "Uniform command line interface tool",
3102
3106
  license: "SEE LICENSE IN LICENSE.txt",
3103
3107
  main: "./cli.js",
@@ -3117,7 +3121,7 @@ var package_default = {
3117
3121
  "@uniformdev/context": "workspace:*",
3118
3122
  "@uniformdev/project-map": "workspace:*",
3119
3123
  "@uniformdev/redirect": "workspace:*",
3120
- colorette: "2.0.20",
3124
+ "ansi-colors": "^4.1.3",
3121
3125
  diff: "^5.0.0",
3122
3126
  dotenv: "^16.0.3",
3123
3127
  execa: "5.1.1",
@@ -4131,7 +4135,7 @@ import yargs13 from "yargs";
4131
4135
  import yargs12 from "yargs";
4132
4136
 
4133
4137
  // src/commands/optimize/manifest/download.ts
4134
- import { gray as gray4, green as green3, red as red5, yellow as yellow2 } from "colorette";
4138
+ import ansicolors5 from "ansi-colors";
4135
4139
  import { writeFile as writeFile2 } from "fs";
4136
4140
  import fetch2 from "isomorphic-unfetch";
4137
4141
  import { exit as exit3 } from "process";
@@ -4140,6 +4144,7 @@ import { exit as exit3 } from "process";
4140
4144
  var UniformBaseUrl = "https://uniform.app";
4141
4145
 
4142
4146
  // src/commands/optimize/manifest/download.ts
4147
+ var { gray: gray4, green: green3, red: red5, yellow: yellow2 } = ansicolors5;
4143
4148
  var module = {
4144
4149
  command: "download [output]",
4145
4150
  describe: "Download intent manifest",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "19.14.1-alpha.11+89dabee14",
3
+ "version": "19.14.1",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -16,11 +16,11 @@
16
16
  "format": "prettier --write \"src/**/*.{js,ts,tsx}\""
17
17
  },
18
18
  "dependencies": {
19
- "@uniformdev/canvas": "19.14.1-alpha.11+89dabee14",
20
- "@uniformdev/context": "19.14.1-alpha.11+89dabee14",
21
- "@uniformdev/project-map": "19.14.1-alpha.11+89dabee14",
22
- "@uniformdev/redirect": "19.14.1-alpha.11+89dabee14",
23
- "colorette": "2.0.20",
19
+ "@uniformdev/canvas": "19.14.1",
20
+ "@uniformdev/context": "19.14.1",
21
+ "@uniformdev/project-map": "19.14.1",
22
+ "@uniformdev/redirect": "19.14.1",
23
+ "ansi-colors": "^4.1.3",
24
24
  "diff": "^5.0.0",
25
25
  "dotenv": "^16.0.3",
26
26
  "execa": "5.1.1",
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "89dabee148728ef7f329e18b7194766a9e6b9631"
62
+ "gitHead": "edd5e3bb74b148c5b947109a794a3bab42384cb7"
63
63
  }