@tamagui/cli-color 2.0.0-rc.3 → 2.0.0-rc.31

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.
@@ -1,2 +1,2 @@
1
1
  $ tamagui-build
2
- built @tamagui/cli-color in 1017 ms
2
+ built @tamagui/cli-color in 2941 ms
package/dist/esm/index.js CHANGED
@@ -27,13 +27,7 @@ function colorString(color, string) {
27
27
  return `${color}${string}${Color.Reset}`;
28
28
  }
29
29
  function colorLog(color, ...args) {
30
- console.info(
31
- ...args.map((it) => typeof it == "string" ? colorString(color, it) : it)
32
- );
30
+ console.info(...args.map(it => typeof it == "string" ? colorString(color, it) : it));
33
31
  }
34
- export {
35
- Color,
36
- colorLog,
37
- colorString
38
- };
32
+ export { Color, colorLog, colorString };
39
33
  //# sourceMappingURL=index.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": "AAAO,MAAM,QAAQ;AAAA,EACnB,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,EAER,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EACT,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,SAAS;AAAA,EAET,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EACT,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,SAAS;AACX;AAEO,SAAS,YAAY,OAAe,QAAgB;AACzD,SAAO,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,KAAK;AACxC;AAEO,SAAS,SAAS,UAAkB,MAAM;AAC/C,UAAQ;AAAA,IACN,GAAG,KAAK,IAAI,CAAC,OAAQ,OAAO,MAAO,WAAW,YAAY,OAAO,EAAE,IAAI,EAAG;AAAA,EAC5E;AACF;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["Color","Reset","Bright","Dim","Underscore","Blink","Reverse","Hidden","FgBlack","FgRed","FgGreen","FgYellow","FgBlue","FgMagenta","FgCyan","FgWhite","BgBlack","BgRed","BgGreen","BgYellow","BgBlue","BgMagenta","BgCyan","BgWhite","colorString","color","string","colorLog","args","console","info","map","it"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAO,MAAMA,KAAA,GAAQ;EACnBC,KAAA,EAAO;EACPC,MAAA,EAAQ;EACRC,GAAA,EAAK;EACLC,UAAA,EAAY;EACZC,KAAA,EAAO;EACPC,OAAA,EAAS;EACTC,MAAA,EAAQ;EAERC,OAAA,EAAS;EACTC,KAAA,EAAO;EACPC,OAAA,EAAS;EACTC,QAAA,EAAU;EACVC,MAAA,EAAQ;EACRC,SAAA,EAAW;EACXC,MAAA,EAAQ;EACRC,OAAA,EAAS;EAETC,OAAA,EAAS;EACTC,KAAA,EAAO;EACPC,OAAA,EAAS;EACTC,QAAA,EAAU;EACVC,MAAA,EAAQ;EACRC,SAAA,EAAW;EACXC,MAAA,EAAQ;EACRC,OAAA,EAAS;AACX;AAEO,SAASC,YAAYC,KAAA,EAAeC,MAAA,EAAgB;EACzD,OAAO,GAAGD,KAAK,GAAGC,MAAM,GAAG1B,KAAA,CAAMC,KAAK;AACxC;AAEO,SAAS0B,SAASF,KAAA,KAAkBG,IAAA,EAAM;EAC/CC,OAAA,CAAQC,IAAA,CACN,GAAGF,IAAA,CAAKG,GAAA,CAAKC,EAAA,IAAQ,OAAOA,EAAA,IAAO,WAAWR,WAAA,CAAYC,KAAA,EAAOO,EAAE,IAAIA,EAAG,CAC5E;AACF","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/cli-color",
3
- "version": "2.0.0-rc.3",
3
+ "version": "2.0.0-rc.31",
4
4
  "type": "module",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -9,15 +9,12 @@
9
9
  "./package.json": "./package.json",
10
10
  ".": {
11
11
  "types": "./types/index.d.ts",
12
- "react-native": {
13
- "module": "./dist/esm/index.native.js",
14
- "import": "./dist/esm/index.native.js",
15
- "require": "./dist/cjs/index.native.js"
16
- },
12
+ "react-native": "./dist/esm/index.native.js",
13
+ "browser": "./dist/esm/index.mjs",
17
14
  "module": "./dist/esm/index.mjs",
18
15
  "import": "./dist/esm/index.mjs",
19
16
  "require": "./dist/cjs/index.cjs",
20
- "default": "./dist/cjs/index.native.js"
17
+ "default": "./dist/esm/index.mjs"
21
18
  }
22
19
  },
23
20
  "publishConfig": {
@@ -30,6 +27,6 @@
30
27
  "clean:build": "tamagui-build clean:build"
31
28
  },
32
29
  "devDependencies": {
33
- "@tamagui/build": "2.0.0-rc.3"
30
+ "@tamagui/build": "2.0.0-rc.31"
34
31
  }
35
32
  }
package/dist/cjs/index.js DELETED
@@ -1,55 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var index_exports = {};
16
- __export(index_exports, {
17
- Color: () => Color,
18
- colorLog: () => colorLog,
19
- colorString: () => colorString
20
- });
21
- module.exports = __toCommonJS(index_exports);
22
- const Color = {
23
- Reset: "\x1B[0m",
24
- Bright: "\x1B[1m",
25
- Dim: "\x1B[2m",
26
- Underscore: "\x1B[4m",
27
- Blink: "\x1B[5m",
28
- Reverse: "\x1B[7m",
29
- Hidden: "\x1B[8m",
30
- FgBlack: "\x1B[30m",
31
- FgRed: "\x1B[31m",
32
- FgGreen: "\x1B[32m",
33
- FgYellow: "\x1B[33m",
34
- FgBlue: "\x1B[34m",
35
- FgMagenta: "\x1B[35m",
36
- FgCyan: "\x1B[36m",
37
- FgWhite: "\x1B[37m",
38
- BgBlack: "\x1B[40m",
39
- BgRed: "\x1B[41m",
40
- BgGreen: "\x1B[42m",
41
- BgYellow: "\x1B[43m",
42
- BgBlue: "\x1B[44m",
43
- BgMagenta: "\x1B[45m",
44
- BgCyan: "\x1B[46m",
45
- BgWhite: "\x1B[47m"
46
- };
47
- function colorString(color, string) {
48
- return `${color}${string}${Color.Reset}`;
49
- }
50
- function colorLog(color, ...args) {
51
- console.info(
52
- ...args.map((it) => typeof it == "string" ? colorString(color, it) : it)
53
- );
54
- }
55
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,QAAQ;AAAA,EACnB,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,EAER,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EACT,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,SAAS;AAAA,EAET,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EACT,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,SAAS;AACX;AAEO,SAAS,YAAY,OAAe,QAAgB;AACzD,SAAO,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,KAAK;AACxC;AAEO,SAAS,SAAS,UAAkB,MAAM;AAC/C,UAAQ;AAAA,IACN,GAAG,KAAK,IAAI,CAAC,OAAQ,OAAO,MAAO,WAAW,YAAY,OAAO,EAAE,IAAI,EAAG;AAAA,EAC5E;AACF;",
5
- "names": []
6
- }