@uniformdev/cli 19.14.1 → 19.14.2-alpha.11

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 +7 -12
  2. package/package.json +8 -8
package/dist/index.mjs CHANGED
@@ -69,7 +69,7 @@ async function createArraySyncEngineDataSource({
69
69
  }
70
70
 
71
71
  // src/sync/fileSyncEngineDataSource.ts
72
- import ansicolors from "ansi-colors";
72
+ import { red } from "colorette";
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,7 +219,6 @@ async function* paginateAsync(fetchPage, options) {
219
219
  }
220
220
 
221
221
  // src/sync/fileSyncEngineDataSource.ts
222
- var { red } = ansicolors;
223
222
  async function createFileSyncEngineDataSource({
224
223
  directory,
225
224
  format = "yaml",
@@ -438,8 +437,7 @@ ${innerError}`
438
437
  };
439
438
 
440
439
  // src/sync/syncEngineConsoleLogger.ts
441
- import ansicolors2 from "ansi-colors";
442
- var { gray, green, red: red2, white, yellow } = ansicolors2;
440
+ import { gray, green, red as red2, white, yellow } from "colorette";
443
441
  function createSyncEngineConsoleLogger(options) {
444
442
  const { diffMode = "off", indent, prefix } = options ?? {};
445
443
  return function syncEngineConsoleLogger({ action, displayName, whatIf, diff }) {
@@ -2150,10 +2148,9 @@ import yargs7 from "yargs";
2150
2148
 
2151
2149
  // src/commands/context/commands/manifest/get.ts
2152
2150
  import { ApiClientError, UncachedManifestClient } from "@uniformdev/context/api";
2153
- import ansicolors3 from "ansi-colors";
2151
+ import { gray as gray2, green as green2, red as red3 } from "colorette";
2154
2152
  import { writeFile } from "fs";
2155
2153
  import { exit } from "process";
2156
- var { gray: gray2, green: green2, red: red3 } = ansicolors3;
2157
2154
  var ManifestGetModule = {
2158
2155
  command: "get [output]",
2159
2156
  aliases: ["dl", "download"],
@@ -2216,9 +2213,8 @@ var ManifestGetModule = {
2216
2213
 
2217
2214
  // src/commands/context/commands/manifest/publish.ts
2218
2215
  import { ApiClientError as ApiClientError2, UncachedManifestClient as UncachedManifestClient2 } from "@uniformdev/context/api";
2219
- import ansicolors4 from "ansi-colors";
2216
+ import { gray as gray3, red as red4 } from "colorette";
2220
2217
  import { exit as exit2 } from "process";
2221
- var { gray: gray3, red: red4 } = ansicolors4;
2222
2218
  var ManifestPublishModule = {
2223
2219
  command: "publish",
2224
2220
  describe: "Publish the Uniform Context manifest for a project",
@@ -3121,7 +3117,7 @@ var package_default = {
3121
3117
  "@uniformdev/context": "workspace:*",
3122
3118
  "@uniformdev/project-map": "workspace:*",
3123
3119
  "@uniformdev/redirect": "workspace:*",
3124
- "ansi-colors": "^4.1.3",
3120
+ colorette: "2.0.20",
3125
3121
  diff: "^5.0.0",
3126
3122
  dotenv: "^16.0.3",
3127
3123
  execa: "5.1.1",
@@ -3148,7 +3144,7 @@ var package_default = {
3148
3144
  "@types/js-yaml": "4.0.5",
3149
3145
  "@types/jsonwebtoken": "9.0.2",
3150
3146
  "@types/lodash.isequalwith": "4.4.7",
3151
- "@types/node": "18.16.15",
3147
+ "@types/node": "18.16.16",
3152
3148
  "@types/yargs": "17.0.24"
3153
3149
  },
3154
3150
  bin: {
@@ -4135,7 +4131,7 @@ import yargs13 from "yargs";
4135
4131
  import yargs12 from "yargs";
4136
4132
 
4137
4133
  // src/commands/optimize/manifest/download.ts
4138
- import ansicolors5 from "ansi-colors";
4134
+ import { gray as gray4, green as green3, red as red5, yellow as yellow2 } from "colorette";
4139
4135
  import { writeFile as writeFile2 } from "fs";
4140
4136
  import fetch2 from "isomorphic-unfetch";
4141
4137
  import { exit as exit3 } from "process";
@@ -4144,7 +4140,6 @@ import { exit as exit3 } from "process";
4144
4140
  var UniformBaseUrl = "https://uniform.app";
4145
4141
 
4146
4142
  // src/commands/optimize/manifest/download.ts
4147
- var { gray: gray4, green: green3, red: red5, yellow: yellow2 } = ansicolors5;
4148
4143
  var module = {
4149
4144
  command: "download [output]",
4150
4145
  describe: "Download intent manifest",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "19.14.1",
3
+ "version": "19.14.2-alpha.11+79c4dd05d",
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",
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",
19
+ "@uniformdev/canvas": "19.14.2-alpha.11+79c4dd05d",
20
+ "@uniformdev/context": "19.14.2-alpha.11+79c4dd05d",
21
+ "@uniformdev/project-map": "19.14.2-alpha.11+79c4dd05d",
22
+ "@uniformdev/redirect": "19.14.2-alpha.11+79c4dd05d",
23
+ "colorette": "2.0.20",
24
24
  "diff": "^5.0.0",
25
25
  "dotenv": "^16.0.3",
26
26
  "execa": "5.1.1",
@@ -47,7 +47,7 @@
47
47
  "@types/js-yaml": "4.0.5",
48
48
  "@types/jsonwebtoken": "9.0.2",
49
49
  "@types/lodash.isequalwith": "4.4.7",
50
- "@types/node": "18.16.15",
50
+ "@types/node": "18.16.16",
51
51
  "@types/yargs": "17.0.24"
52
52
  },
53
53
  "bin": {
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "edd5e3bb74b148c5b947109a794a3bab42384cb7"
62
+ "gitHead": "79c4dd05dd9fb452762d03812539d5cf0eba44fa"
63
63
  }