@tamagui/static 1.135.4 → 1.135.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.
Files changed (181) hide show
  1. package/dist/check-dep-versions.mjs +268 -0
  2. package/dist/check-dep-versions.mjs.map +1 -0
  3. package/dist/checkDeps.mjs +33 -0
  4. package/dist/checkDeps.mjs.map +1 -0
  5. package/dist/constants.mjs +50 -0
  6. package/dist/constants.mjs.map +1 -0
  7. package/dist/exports.mjs +42 -0
  8. package/dist/exports.mjs.map +1 -0
  9. package/dist/extractor/accessSafe.mjs +47 -0
  10. package/dist/extractor/accessSafe.mjs.map +1 -0
  11. package/dist/extractor/babelParse.mjs +55 -0
  12. package/dist/extractor/babelParse.mjs.map +1 -0
  13. package/dist/extractor/bundle.mjs +149 -0
  14. package/dist/extractor/bundle.mjs.map +1 -0
  15. package/dist/extractor/bundleConfig.mjs +331 -0
  16. package/dist/extractor/bundleConfig.mjs.map +1 -0
  17. package/dist/extractor/concatClassName.mjs +79 -0
  18. package/dist/extractor/concatClassName.mjs.map +1 -0
  19. package/dist/extractor/createEvaluator.mjs +76 -0
  20. package/dist/extractor/createEvaluator.mjs.map +1 -0
  21. package/dist/extractor/createExtractor.mjs +976 -0
  22. package/dist/extractor/createExtractor.mjs.map +1 -0
  23. package/dist/extractor/createLogger.mjs +46 -0
  24. package/dist/extractor/createLogger.mjs.map +1 -0
  25. package/dist/extractor/errors.mjs +27 -0
  26. package/dist/extractor/errors.mjs.map +1 -0
  27. package/dist/extractor/esbuildAliasPlugin.mjs +45 -0
  28. package/dist/extractor/esbuildAliasPlugin.mjs.map +1 -0
  29. package/dist/extractor/esbuildTsconfigPaths.mjs +85 -0
  30. package/dist/extractor/esbuildTsconfigPaths.mjs.map +1 -0
  31. package/dist/extractor/evaluateAstNode.mjs +84 -0
  32. package/dist/extractor/evaluateAstNode.mjs.map +1 -0
  33. package/dist/extractor/extractHelpers.mjs +121 -0
  34. package/dist/extractor/extractHelpers.mjs.map +1 -0
  35. package/dist/extractor/extractMediaStyle.mjs +129 -0
  36. package/dist/extractor/extractMediaStyle.mjs.map +1 -0
  37. package/dist/extractor/extractToClassNames.mjs +304 -0
  38. package/dist/extractor/extractToClassNames.mjs.map +1 -0
  39. package/dist/extractor/extractToNative.mjs +262 -0
  40. package/dist/extractor/extractToNative.mjs.map +1 -0
  41. package/dist/extractor/findTopmostFunction.mjs +35 -0
  42. package/dist/extractor/findTopmostFunction.mjs.map +1 -0
  43. package/dist/extractor/{generatedUid.native.js → generatedUid.mjs} +26 -23
  44. package/dist/extractor/generatedUid.mjs.map +1 -0
  45. package/dist/extractor/getPrefixLogs.mjs +30 -0
  46. package/dist/extractor/getPrefixLogs.mjs.map +1 -0
  47. package/dist/extractor/getPropValueFromAttributes.mjs +68 -0
  48. package/dist/extractor/getPropValueFromAttributes.mjs.map +1 -0
  49. package/dist/extractor/getSourceModule.mjs +65 -0
  50. package/dist/extractor/getSourceModule.mjs.map +1 -0
  51. package/dist/extractor/getStaticBindingsForScope.mjs +149 -0
  52. package/dist/extractor/getStaticBindingsForScope.mjs.map +1 -0
  53. package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.mjs +36 -0
  54. package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.mjs.map +1 -0
  55. package/dist/extractor/literalToAst.mjs +85 -0
  56. package/dist/extractor/literalToAst.mjs.map +1 -0
  57. package/dist/extractor/loadFile.mjs +12 -0
  58. package/dist/extractor/loadFile.mjs.map +1 -0
  59. package/dist/extractor/loadTamagui.mjs +296 -0
  60. package/dist/extractor/loadTamagui.mjs.map +1 -0
  61. package/dist/extractor/logLines.mjs +36 -0
  62. package/dist/extractor/logLines.mjs.map +1 -0
  63. package/dist/extractor/{normalizeTernaries.native.js → normalizeTernaries.mjs} +45 -31
  64. package/dist/extractor/normalizeTernaries.mjs.map +1 -0
  65. package/dist/extractor/propsToFontFamilyCache.mjs +39 -0
  66. package/dist/extractor/propsToFontFamilyCache.mjs.map +1 -0
  67. package/dist/extractor/regenerateConfig.mjs +145 -0
  68. package/dist/extractor/regenerateConfig.mjs.map +1 -0
  69. package/dist/extractor/removeUnusedHooks.mjs +77 -0
  70. package/dist/extractor/removeUnusedHooks.mjs.map +1 -0
  71. package/dist/extractor/timer.mjs +44 -0
  72. package/dist/extractor/timer.mjs.map +1 -0
  73. package/dist/extractor/{validHTMLAttributes.native.js → validHTMLAttributes.mjs} +17 -16
  74. package/dist/extractor/validHTMLAttributes.mjs.map +1 -0
  75. package/dist/extractor/watchTamaguiConfig.mjs +59 -0
  76. package/dist/extractor/watchTamaguiConfig.mjs.map +1 -0
  77. package/dist/getPragmaOptions.mjs +55 -0
  78. package/dist/getPragmaOptions.mjs.map +1 -0
  79. package/dist/helpers/memoize.mjs +38 -0
  80. package/dist/helpers/memoize.mjs.map +1 -0
  81. package/dist/helpers/requireTamaguiCore.mjs +34 -0
  82. package/dist/helpers/requireTamaguiCore.mjs.map +1 -0
  83. package/dist/index.mjs +41 -0
  84. package/dist/index.mjs.map +1 -0
  85. package/dist/registerRequire.mjs +107 -0
  86. package/dist/registerRequire.mjs.map +1 -0
  87. package/dist/server.mjs +76 -0
  88. package/dist/server.mjs.map +1 -0
  89. package/dist/setup.mjs +2 -0
  90. package/dist/setup.mjs.map +1 -0
  91. package/dist/{types.native.js → types.mjs} +8 -6
  92. package/dist/types.mjs.map +1 -0
  93. package/package.json +19 -21
  94. package/dist/check-dep-versions.native.js +0 -602
  95. package/dist/check-dep-versions.native.js.map +0 -6
  96. package/dist/checkDeps.native.js +0 -34
  97. package/dist/checkDeps.native.js.map +0 -6
  98. package/dist/constants.native.js +0 -45
  99. package/dist/constants.native.js.map +0 -6
  100. package/dist/exports.native.js +0 -52
  101. package/dist/exports.native.js.map +0 -6
  102. package/dist/extractor/accessSafe.native.js +0 -48
  103. package/dist/extractor/accessSafe.native.js.map +0 -6
  104. package/dist/extractor/babelParse.native.js +0 -62
  105. package/dist/extractor/babelParse.native.js.map +0 -6
  106. package/dist/extractor/bundle.native.js +0 -168
  107. package/dist/extractor/bundle.native.js.map +0 -6
  108. package/dist/extractor/bundleConfig.native.js +0 -394
  109. package/dist/extractor/bundleConfig.native.js.map +0 -6
  110. package/dist/extractor/concatClassName.native.js +0 -69
  111. package/dist/extractor/concatClassName.native.js.map +0 -6
  112. package/dist/extractor/createEvaluator.native.js +0 -63
  113. package/dist/extractor/createEvaluator.native.js.map +0 -6
  114. package/dist/extractor/createExtractor.native.js +0 -1229
  115. package/dist/extractor/createExtractor.native.js.map +0 -6
  116. package/dist/extractor/createLogger.native.js +0 -35
  117. package/dist/extractor/createLogger.native.js.map +0 -6
  118. package/dist/extractor/errors.native.js +0 -119
  119. package/dist/extractor/errors.native.js.map +0 -6
  120. package/dist/extractor/esbuildAliasPlugin.native.js +0 -52
  121. package/dist/extractor/esbuildAliasPlugin.native.js.map +0 -6
  122. package/dist/extractor/esbuildTsconfigPaths.native.js +0 -79
  123. package/dist/extractor/esbuildTsconfigPaths.native.js.map +0 -6
  124. package/dist/extractor/evaluateAstNode.native.js +0 -98
  125. package/dist/extractor/evaluateAstNode.native.js.map +0 -6
  126. package/dist/extractor/extractHelpers.native.js +0 -183
  127. package/dist/extractor/extractHelpers.native.js.map +0 -6
  128. package/dist/extractor/extractMediaStyle.native.js +0 -138
  129. package/dist/extractor/extractMediaStyle.native.js.map +0 -6
  130. package/dist/extractor/extractToClassNames.native.js +0 -332
  131. package/dist/extractor/extractToClassNames.native.js.map +0 -6
  132. package/dist/extractor/extractToNative.native.js +0 -276
  133. package/dist/extractor/extractToNative.native.js.map +0 -6
  134. package/dist/extractor/findTopmostFunction.native.js +0 -37
  135. package/dist/extractor/findTopmostFunction.native.js.map +0 -6
  136. package/dist/extractor/generatedUid.native.js.map +0 -6
  137. package/dist/extractor/getPrefixLogs.native.js +0 -30
  138. package/dist/extractor/getPrefixLogs.native.js.map +0 -6
  139. package/dist/extractor/getPropValueFromAttributes.native.js +0 -68
  140. package/dist/extractor/getPropValueFromAttributes.native.js.map +0 -6
  141. package/dist/extractor/getSourceModule.native.js +0 -80
  142. package/dist/extractor/getSourceModule.native.js.map +0 -6
  143. package/dist/extractor/getStaticBindingsForScope.native.js +0 -183
  144. package/dist/extractor/getStaticBindingsForScope.native.js.map +0 -6
  145. package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.native.js +0 -37
  146. package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +0 -6
  147. package/dist/extractor/literalToAst.native.js +0 -106
  148. package/dist/extractor/literalToAst.native.js.map +0 -6
  149. package/dist/extractor/loadFile.native.js +0 -21
  150. package/dist/extractor/loadFile.native.js.map +0 -6
  151. package/dist/extractor/loadTamagui.native.js +0 -314
  152. package/dist/extractor/loadTamagui.native.js.map +0 -6
  153. package/dist/extractor/logLines.native.js +0 -53
  154. package/dist/extractor/logLines.native.js.map +0 -6
  155. package/dist/extractor/normalizeTernaries.native.js.map +0 -6
  156. package/dist/extractor/propsToFontFamilyCache.native.js +0 -40
  157. package/dist/extractor/propsToFontFamilyCache.native.js.map +0 -6
  158. package/dist/extractor/regenerateConfig.native.js +0 -148
  159. package/dist/extractor/regenerateConfig.native.js.map +0 -6
  160. package/dist/extractor/removeUnusedHooks.native.js +0 -111
  161. package/dist/extractor/removeUnusedHooks.native.js.map +0 -6
  162. package/dist/extractor/timer.native.js +0 -44
  163. package/dist/extractor/timer.native.js.map +0 -6
  164. package/dist/extractor/validHTMLAttributes.native.js.map +0 -6
  165. package/dist/extractor/watchTamaguiConfig.native.js +0 -60
  166. package/dist/extractor/watchTamaguiConfig.native.js.map +0 -6
  167. package/dist/getPragmaOptions.native.js +0 -62
  168. package/dist/getPragmaOptions.native.js.map +0 -6
  169. package/dist/helpers/memoize.native.js +0 -40
  170. package/dist/helpers/memoize.native.js.map +0 -6
  171. package/dist/helpers/requireTamaguiCore.native.js +0 -34
  172. package/dist/helpers/requireTamaguiCore.native.js.map +0 -6
  173. package/dist/index.native.js +0 -35
  174. package/dist/index.native.js.map +0 -6
  175. package/dist/registerRequire.native.js +0 -124
  176. package/dist/registerRequire.native.js.map +0 -6
  177. package/dist/server.native.js +0 -70
  178. package/dist/server.native.js.map +0 -6
  179. package/dist/setup.native.js +0 -2
  180. package/dist/setup.native.js.map +0 -6
  181. package/dist/types.native.js.map +0 -6
@@ -1,602 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var check_dep_versions_exports = {};
17
- __export(check_dep_versions_exports, {
18
- CDVC: () => CDVC
19
- });
20
- module.exports = __toCommonJS(check_dep_versions_exports);
21
- var import_fast_glob = require("fast-glob"), import_js_yaml = require("js-yaml"), import_node_fs = require("node:fs"), import_node_path = require("node:path");
22
- function _class_call_check(instance, Constructor) {
23
- if (!(instance instanceof Constructor))
24
- throw new TypeError("Cannot call a class as a function");
25
- }
26
- function _defineProperties(target, props) {
27
- for (var i = 0; i < props.length; i++) {
28
- var descriptor = props[i];
29
- descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
30
- }
31
- }
32
- function _create_class(Constructor, protoProps, staticProps) {
33
- return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
34
- }
35
- function _define_property(obj, key, value) {
36
- return key in obj ? Object.defineProperty(obj, key, {
37
- value,
38
- enumerable: !0,
39
- configurable: !0,
40
- writable: !0
41
- }) : obj[key] = value, obj;
42
- }
43
- function calculateVersionsForEachDependency(packages) {
44
- var depType = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : DEFAULT_DEP_TYPES, dependenciesToVersionsSeen = /* @__PURE__ */ new Map(), _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
45
- try {
46
- for (var _iterator = packages[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
47
- var package_ = _step.value;
48
- recordDependencyVersionsForPackageJson(dependenciesToVersionsSeen, package_, depType);
49
- }
50
- } catch (err) {
51
- _didIteratorError = !0, _iteratorError = err;
52
- } finally {
53
- try {
54
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
55
- } finally {
56
- if (_didIteratorError)
57
- throw _iteratorError;
58
- }
59
- }
60
- return dependenciesToVersionsSeen;
61
- }
62
- function recordDependencyVersionsForPackageJson(dependenciesToVersionsSeen, package_, depType) {
63
- if (package_.packageJson.name && package_.packageJson.version && recordDependencyVersion(dependenciesToVersionsSeen, package_.packageJson.name, package_.packageJson.version, package_, !0), depType.includes("dependencies") && package_.packageJson.dependencies) {
64
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
65
- try {
66
- for (var _iterator = Object.entries(package_.packageJson.dependencies)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
67
- var [dependency, dependencyVersion] = _step.value;
68
- dependencyVersion && recordDependencyVersion(dependenciesToVersionsSeen, dependency, dependencyVersion, package_);
69
- }
70
- } catch (err) {
71
- _didIteratorError = !0, _iteratorError = err;
72
- } finally {
73
- try {
74
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
75
- } finally {
76
- if (_didIteratorError)
77
- throw _iteratorError;
78
- }
79
- }
80
- }
81
- if (depType.includes("devDependencies") && package_.packageJson.devDependencies) {
82
- var _iteratorNormalCompletion1 = !0, _didIteratorError1 = !1, _iteratorError1 = void 0;
83
- try {
84
- for (var _iterator1 = Object.entries(package_.packageJson.devDependencies)[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = !0) {
85
- var [dependency1, dependencyVersion1] = _step1.value;
86
- dependencyVersion1 && recordDependencyVersion(dependenciesToVersionsSeen, dependency1, dependencyVersion1, package_);
87
- }
88
- } catch (err) {
89
- _didIteratorError1 = !0, _iteratorError1 = err;
90
- } finally {
91
- try {
92
- !_iteratorNormalCompletion1 && _iterator1.return != null && _iterator1.return();
93
- } finally {
94
- if (_didIteratorError1)
95
- throw _iteratorError1;
96
- }
97
- }
98
- }
99
- if (depType.includes("optionalDependencies") && package_.packageJson.optionalDependencies) {
100
- var _iteratorNormalCompletion2 = !0, _didIteratorError2 = !1, _iteratorError2 = void 0;
101
- try {
102
- for (var _iterator2 = Object.entries(package_.packageJson.optionalDependencies)[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = !0) {
103
- var [dependency2, dependencyVersion2] = _step2.value;
104
- dependencyVersion2 && recordDependencyVersion(dependenciesToVersionsSeen, dependency2, dependencyVersion2, package_);
105
- }
106
- } catch (err) {
107
- _didIteratorError2 = !0, _iteratorError2 = err;
108
- } finally {
109
- try {
110
- !_iteratorNormalCompletion2 && _iterator2.return != null && _iterator2.return();
111
- } finally {
112
- if (_didIteratorError2)
113
- throw _iteratorError2;
114
- }
115
- }
116
- }
117
- if (depType.includes("peerDependencies") && package_.packageJson.peerDependencies) {
118
- var _iteratorNormalCompletion3 = !0, _didIteratorError3 = !1, _iteratorError3 = void 0;
119
- try {
120
- for (var _iterator3 = Object.entries(package_.packageJson.peerDependencies)[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = !0) {
121
- var [dependency3, dependencyVersion3] = _step3.value;
122
- dependencyVersion3 && recordDependencyVersion(dependenciesToVersionsSeen, dependency3, dependencyVersion3, package_);
123
- }
124
- } catch (err) {
125
- _didIteratorError3 = !0, _iteratorError3 = err;
126
- } finally {
127
- try {
128
- !_iteratorNormalCompletion3 && _iterator3.return != null && _iterator3.return();
129
- } finally {
130
- if (_didIteratorError3)
131
- throw _iteratorError3;
132
- }
133
- }
134
- }
135
- if (depType.includes("resolutions") && package_.packageJson.resolutions) {
136
- var _iteratorNormalCompletion4 = !0, _didIteratorError4 = !1, _iteratorError4 = void 0;
137
- try {
138
- for (var _iterator4 = Object.entries(package_.packageJson.resolutions)[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = !0) {
139
- var [dependency4, dependencyVersion4] = _step4.value;
140
- dependencyVersion4 && recordDependencyVersion(dependenciesToVersionsSeen, dependency4, dependencyVersion4, package_);
141
- }
142
- } catch (err) {
143
- _didIteratorError4 = !0, _iteratorError4 = err;
144
- } finally {
145
- try {
146
- !_iteratorNormalCompletion4 && _iterator4.return != null && _iterator4.return();
147
- } finally {
148
- if (_didIteratorError4)
149
- throw _iteratorError4;
150
- }
151
- }
152
- }
153
- }
154
- function recordDependencyVersion(dependenciesToVersionsSeen, dependency, version, package_) {
155
- var isLocalPackageVersion = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
156
- dependenciesToVersionsSeen.has(dependency) || dependenciesToVersionsSeen.set(dependency, []);
157
- var list = dependenciesToVersionsSeen.get(dependency);
158
- list && list.push({
159
- package: package_,
160
- version,
161
- isLocalPackageVersion
162
- });
163
- }
164
- function calculateDependenciesAndVersions(dependencyVersions) {
165
- return [
166
- ...dependencyVersions.entries()
167
- ].sort(function(a, b) {
168
- return a[0].localeCompare(b[0]);
169
- }).flatMap(function(param) {
170
- var [dependency, versionObjectsForDep] = param;
171
- if (!versionObjectsForDep)
172
- return [];
173
- var versions = versionObjectsForDep.filter(function(versionObject) {
174
- return !versionObject.isLocalPackageVersion;
175
- }).map(function(versionObject) {
176
- return versionObject.version;
177
- }), localPackageVersions = versionObjectsForDep.filter(function(versionObject) {
178
- return versionObject.isLocalPackageVersion;
179
- }).map(function(versionObject) {
180
- return versionObject.version;
181
- }), allVersionsHaveWorkspacePrefix = versions.every(function(version) {
182
- return version.startsWith("workspace:");
183
- }), hasIncompatibilityWithLocalPackageVersion = versions.some(function(version) {
184
- return localPackageVersions[0] !== version;
185
- });
186
- localPackageVersions.length === 1 && !allVersionsHaveWorkspacePrefix && hasIncompatibilityWithLocalPackageVersion && (versions = [
187
- ...versions,
188
- ...localPackageVersions
189
- ]);
190
- var uniqueVersions = [
191
- ...new Set(versions)
192
- ], uniqueVersionsWithInfo = versionsObjectsWithSortedPackages(uniqueVersions, versionObjectsForDep);
193
- return {
194
- dependency,
195
- versions: uniqueVersionsWithInfo
196
- };
197
- });
198
- }
199
- function versionsObjectsWithSortedPackages(versions, versionObjects) {
200
- return versions.map(function(version) {
201
- var matchingVersionObjects = versionObjects.filter(function(versionObject) {
202
- return versionObject.version === version;
203
- });
204
- return {
205
- version,
206
- packages: matchingVersionObjects.map(function(object) {
207
- return object.package;
208
- }).sort(function(a, b) {
209
- return Package.comparator(a, b);
210
- })
211
- };
212
- });
213
- }
214
- var HARDCODED_IGNORED_DEPENDENCIES = /* @__PURE__ */ new Set([
215
- "//"
216
- ]);
217
- function filterOutIgnoredDependencies(mismatchingVersions, ignoredDependencies, includedDependencyPatterns) {
218
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
219
- try {
220
- for (var _loop = function() {
221
- var ignoreDependency = _step.value;
222
- if (!mismatchingVersions.some(function(mismatchingVersion) {
223
- return mismatchingVersion.dependency === ignoreDependency;
224
- }))
225
- throw new Error(`Specified option '--ignore-dep ${ignoreDependency}', but no version mismatches detected for this dependency.`);
226
- }, _iterator = ignoredDependencies[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
227
- } catch (err) {
228
- _didIteratorError = !0, _iteratorError = err;
229
- } finally {
230
- try {
231
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
232
- } finally {
233
- if (_didIteratorError)
234
- throw _iteratorError;
235
- }
236
- }
237
- return ignoredDependencies.length > 0 || includedDependencyPatterns.length > 0 || mismatchingVersions.some(function(mismatchingVersion) {
238
- return HARDCODED_IGNORED_DEPENDENCIES.has(mismatchingVersion.dependency);
239
- }) ? mismatchingVersions.filter(function(mismatchingVersion) {
240
- return !ignoredDependencies.includes(mismatchingVersion.dependency) && includedDependencyPatterns.some(function(ignoreDependencyPattern) {
241
- return mismatchingVersion.dependency.match(ignoreDependencyPattern);
242
- }) && !HARDCODED_IGNORED_DEPENDENCIES.has(mismatchingVersion.dependency);
243
- }) : mismatchingVersions;
244
- }
245
- function getPackages(root, ignorePackages, ignorePackagePatterns, ignorePaths, ignorePathPatterns) {
246
- if (!Package.exists(root))
247
- throw new Error("No package.json found at provided path.");
248
- var packages = accumulatePackages(root, [
249
- "."
250
- ]), _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
251
- try {
252
- for (var _loop = function() {
253
- var ignoredPackage = _step.value;
254
- if (!Package.some(packages, function(package_) {
255
- return package_.name === ignoredPackage;
256
- }))
257
- throw new Error(`Specified option '--ignore-package ${ignoredPackage}', but no such package detected in workspace.`);
258
- }, _iterator = ignorePackages[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
259
- } catch (err) {
260
- _didIteratorError = !0, _iteratorError = err;
261
- } finally {
262
- try {
263
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
264
- } finally {
265
- if (_didIteratorError)
266
- throw _iteratorError;
267
- }
268
- }
269
- var _iteratorNormalCompletion1 = !0, _didIteratorError1 = !1, _iteratorError1 = void 0;
270
- try {
271
- for (var _loop1 = function() {
272
- var ignoredPackagePattern = _step1.value;
273
- if (
274
- // eslint-disable-next-line unicorn/no-array-method-this-argument,unicorn/no-array-callback-reference -- false positive
275
- !Package.some(packages, function(package_) {
276
- return ignoredPackagePattern.test(package_.name);
277
- })
278
- )
279
- throw new Error(`Specified option '--ignore-package-pattern ${String(ignoredPackagePattern)}', but no matching packages detected in workspace.`);
280
- }, _iterator1 = ignorePackagePatterns[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = !0) _loop1();
281
- } catch (err) {
282
- _didIteratorError1 = !0, _iteratorError1 = err;
283
- } finally {
284
- try {
285
- !_iteratorNormalCompletion1 && _iterator1.return != null && _iterator1.return();
286
- } finally {
287
- if (_didIteratorError1)
288
- throw _iteratorError1;
289
- }
290
- }
291
- var _iteratorNormalCompletion2 = !0, _didIteratorError2 = !1, _iteratorError2 = void 0;
292
- try {
293
- for (var _loop2 = function() {
294
- var ignoredPath = _step2.value;
295
- if (
296
- // eslint-disable-next-line unicorn/no-array-method-this-argument,unicorn/no-array-callback-reference -- false positive
297
- !Package.some(packages, function(package_) {
298
- return package_.pathRelative.includes(ignoredPath);
299
- })
300
- )
301
- throw new Error(`Specified option '--ignore-path ${ignoredPath}', but no matching paths detected in workspace.`);
302
- }, _iterator2 = ignorePaths[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = !0) _loop2();
303
- } catch (err) {
304
- _didIteratorError2 = !0, _iteratorError2 = err;
305
- } finally {
306
- try {
307
- !_iteratorNormalCompletion2 && _iterator2.return != null && _iterator2.return();
308
- } finally {
309
- if (_didIteratorError2)
310
- throw _iteratorError2;
311
- }
312
- }
313
- var _iteratorNormalCompletion3 = !0, _didIteratorError3 = !1, _iteratorError3 = void 0;
314
- try {
315
- for (var _loop3 = function() {
316
- var ignoredPathPattern = _step3.value;
317
- if (
318
- // eslint-disable-next-line unicorn/no-array-method-this-argument,unicorn/no-array-callback-reference -- false positive
319
- !Package.some(packages, function(package_) {
320
- return ignoredPathPattern.test(package_.pathRelative);
321
- })
322
- )
323
- throw new Error(`Specified option '--ignore-path-pattern ${String(ignoredPathPattern)}', but no matching paths detected in workspace.`);
324
- }, _iterator3 = ignorePathPatterns[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = !0) _loop3();
325
- } catch (err) {
326
- _didIteratorError3 = !0, _iteratorError3 = err;
327
- } finally {
328
- try {
329
- !_iteratorNormalCompletion3 && _iterator3.return != null && _iterator3.return();
330
- } finally {
331
- if (_didIteratorError3)
332
- throw _iteratorError3;
333
- }
334
- }
335
- return ignorePackages.length > 0 || ignorePackagePatterns.length > 0 || ignorePaths.length > 0 || ignorePathPatterns.length > 0 ? packages.filter(function(package_) {
336
- return !ignorePackages.includes(package_.name) && !ignorePackagePatterns.some(function(ignorePackagePattern) {
337
- return package_.name.match(ignorePackagePattern);
338
- }) && !ignorePaths.some(function(ignorePath) {
339
- return package_.pathRelative.includes(ignorePath);
340
- }) && !ignorePathPatterns.some(function(ignorePathPattern) {
341
- return package_.pathRelative.match(ignorePathPattern);
342
- });
343
- }) : packages;
344
- }
345
- function expandWorkspaces(root, workspacePatterns) {
346
- return workspacePatterns.flatMap(function(workspace) {
347
- return workspace.includes("*") ? (0, import_fast_glob.globSync)(workspace, {
348
- onlyDirectories: !0,
349
- cwd: root,
350
- ignore: [
351
- "**/node_modules"
352
- ]
353
- }) : [
354
- workspace
355
- ];
356
- });
357
- }
358
- function accumulatePackages(root, paths) {
359
- var results = [], _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
360
- try {
361
- for (var _iterator = paths[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
362
- var relativePath = _step.value, path = (0, import_node_path.join)(root, relativePath);
363
- if (Package.exists(path)) {
364
- var package_ = new Package(path, root);
365
- results.push(
366
- // Add the current package.
367
- package_,
368
- ...accumulatePackages(path, expandWorkspaces(path, package_.workspacePatterns))
369
- );
370
- }
371
- }
372
- } catch (err) {
373
- _didIteratorError = !0, _iteratorError = err;
374
- } finally {
375
- try {
376
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
377
- } finally {
378
- if (_didIteratorError)
379
- throw _iteratorError;
380
- }
381
- }
382
- return results;
383
- }
384
- var Package = /* @__PURE__ */ function() {
385
- "use strict";
386
- function Package2(path, pathWorkspace) {
387
- _class_call_check(this, Package2), _define_property(this, "path", void 0), _define_property(this, "pathWorkspace", void 0), _define_property(this, "pathPackageJson", void 0), _define_property(this, "packageJson", void 0), _define_property(this, "packageJsonEndsInNewline", void 0), _define_property(this, "pnpmWorkspacePackages", void 0), this.path = path, this.pathWorkspace = pathWorkspace, this.pathPackageJson = (0, import_node_path.join)(path, "package.json");
388
- var packageJsonContents = (0, import_node_fs.readFileSync)(this.pathPackageJson, "utf8");
389
- this.packageJsonEndsInNewline = packageJsonContents.endsWith(`
390
- `), this.packageJson = JSON.parse(packageJsonContents);
391
- var pnpmWorkspacePath = (0, import_node_path.join)(path, "pnpm-workspace.yaml");
392
- if ((0, import_node_fs.existsSync)(pnpmWorkspacePath)) {
393
- var pnpmWorkspaceContents = (0, import_node_fs.readFileSync)(pnpmWorkspacePath, "utf8"), pnpmWorkspaceYaml = (0, import_js_yaml.load)(pnpmWorkspaceContents);
394
- this.pnpmWorkspacePackages = pnpmWorkspaceYaml.packages;
395
- }
396
- }
397
- return _create_class(Package2, [
398
- {
399
- key: "name",
400
- get: function() {
401
- if (this.workspacePatterns.length > 0 && !this.packageJson.name)
402
- return "(Root)";
403
- if (!this.packageJson.name)
404
- throw new Error(`${this.pathPackageJson} missing \`name\``);
405
- return this.packageJson.name;
406
- }
407
- },
408
- {
409
- key: "pathRelative",
410
- get: (
411
- /** Relative to workspace root. */
412
- function() {
413
- return (0, import_node_path.relative)(this.pathWorkspace, this.path);
414
- }
415
- )
416
- },
417
- {
418
- key: "workspacePatterns",
419
- get: function() {
420
- if (this.packageJson.workspaces) {
421
- if (Array.isArray(this.packageJson.workspaces))
422
- return this.packageJson.workspaces;
423
- if (this.packageJson.workspaces.packages) {
424
- if (!Array.isArray(this.packageJson.workspaces.packages))
425
- throw new TypeError("package.json `workspaces.packages` is not a string array.");
426
- return this.packageJson.workspaces.packages;
427
- } else
428
- throw new TypeError("package.json `workspaces` is not a string array.");
429
- }
430
- if (this.pnpmWorkspacePackages) {
431
- if (!Array.isArray(this.pnpmWorkspacePackages))
432
- throw new TypeError("pnpm-workspace.yaml `packages` is not a string array.");
433
- return this.pnpmWorkspacePackages;
434
- }
435
- return [];
436
- }
437
- }
438
- ], [
439
- {
440
- key: "exists",
441
- value: function(path) {
442
- var packageJsonPath = (0, import_node_path.join)(path, "package.json");
443
- return (0, import_node_fs.existsSync)(packageJsonPath);
444
- }
445
- },
446
- {
447
- key: "some",
448
- value: function(packages, callback) {
449
- return packages.some(function(package_) {
450
- return callback(package_);
451
- });
452
- }
453
- },
454
- {
455
- key: "comparator",
456
- value: function(package1, package2) {
457
- return package1.name.localeCompare(package2.name);
458
- }
459
- }
460
- ]), Package2;
461
- }(), DEPENDENCY_TYPE = /* @__PURE__ */ function(DEPENDENCY_TYPE2) {
462
- return DEPENDENCY_TYPE2.dependencies = "dependencies", DEPENDENCY_TYPE2.devDependencies = "devDependencies", DEPENDENCY_TYPE2.optionalDependencies = "optionalDependencies", DEPENDENCY_TYPE2.peerDependencies = "peerDependencies", DEPENDENCY_TYPE2.resolutions = "resolutions", DEPENDENCY_TYPE2;
463
- }(DEPENDENCY_TYPE || {}), DEFAULT_DEP_TYPES = [
464
- "dependencies",
465
- "devDependencies",
466
- "optionalDependencies",
467
- "resolutions"
468
- ];
469
- function check(path) {
470
- var options = {
471
- includeDepPattern: [
472
- "tamagui",
473
- "react-native-web-lite",
474
- "react-native-web-internals"
475
- ]
476
- };
477
- if (options && options.depType && options.depType.some(function(dt) {
478
- return !Object.keys(DEPENDENCY_TYPE).includes(dt);
479
- }))
480
- throw new Error(`Invalid depType provided. Choices are: ${Object.keys(DEPENDENCY_TYPE).join(", ")}.`);
481
- var optionsWithDefaults = {
482
- fix: !1,
483
- ignoreDep: [],
484
- includeDepPattern: [],
485
- ignorePackage: [],
486
- ignorePackagePattern: [],
487
- ignorePath: [],
488
- ignorePathPattern: [],
489
- ...options,
490
- // Fallback to default if no depType(s) provided.
491
- depType: options && options.depType && options.depType.length > 0 ? options.depType : DEFAULT_DEP_TYPES
492
- }, packages = getPackages(path, optionsWithDefaults.ignorePackage, optionsWithDefaults.ignorePackagePattern.map(function(s) {
493
- return new RegExp(s);
494
- }), optionsWithDefaults.ignorePath, optionsWithDefaults.ignorePathPattern.map(function(s) {
495
- return new RegExp(s);
496
- })), dependencies = calculateVersionsForEachDependency(packages, optionsWithDefaults.depType.map(function(dt) {
497
- return DEPENDENCY_TYPE[dt];
498
- })), dependenciesAndVersions = calculateDependenciesAndVersions(dependencies), dependenciesAndVersionsWithMismatches = dependenciesAndVersions.filter(function(param) {
499
- var { versions } = param;
500
- return versions.length > 1;
501
- }), dependenciesAndVersionsWithoutIgnored = filterOutIgnoredDependencies(dependenciesAndVersions, optionsWithDefaults.ignoreDep, optionsWithDefaults.includeDepPattern.map(function(s) {
502
- return new RegExp(s);
503
- })), dependenciesAndVersionsMismatchesWithoutIgnored = filterOutIgnoredDependencies(dependenciesAndVersionsWithMismatches, optionsWithDefaults.ignoreDep, optionsWithDefaults.includeDepPattern.map(function(s) {
504
- return new RegExp(s);
505
- }));
506
- return {
507
- // Information about all dependencies.
508
- dependencies: Object.fromEntries(dependenciesAndVersionsWithoutIgnored.map(function(param) {
509
- var { dependency, versions } = param;
510
- return [
511
- dependency,
512
- {
513
- isMismatching: dependenciesAndVersionsMismatchesWithoutIgnored.some(function(dep) {
514
- return dep.dependency === dependency;
515
- }),
516
- versions
517
- }
518
- ];
519
- }))
520
- };
521
- }
522
- var CDVC = /* @__PURE__ */ function() {
523
- "use strict";
524
- function CDVC2(path) {
525
- _class_call_check(this, CDVC2), _define_property(this, "dependencies", void 0);
526
- var { dependencies } = check(path);
527
- this.dependencies = dependencies;
528
- }
529
- return _create_class(CDVC2, [
530
- {
531
- key: "toMismatchSummary",
532
- value: function() {
533
- return dependenciesToMismatchSummary(this.dependencies);
534
- }
535
- },
536
- {
537
- key: "getDependencies",
538
- value: function() {
539
- var _this = this;
540
- return Object.keys(this.dependencies).map(function(dependency) {
541
- return _this.getDependency(dependency);
542
- });
543
- }
544
- },
545
- {
546
- key: "getDependency",
547
- value: function(name) {
548
- return {
549
- name,
550
- isMismatching: this.dependencies[name].isMismatching,
551
- versions: this.dependencies[name].versions.map(function(version) {
552
- return {
553
- version: version.version,
554
- packages: version.packages.map(function(package_) {
555
- return {
556
- pathRelative: package_.pathRelative
557
- };
558
- })
559
- };
560
- })
561
- };
562
- }
563
- },
564
- {
565
- key: "hasMismatchingDependencies",
566
- get: function() {
567
- return Object.values(this.dependencies).some(function(dep) {
568
- return dep.isMismatching;
569
- });
570
- }
571
- }
572
- ]), CDVC2;
573
- }();
574
- function dependenciesToMismatchSummary(dependencies) {
575
- var mismatchingDependencyVersions = Object.entries(dependencies).filter(function(param) {
576
- var [, value] = param;
577
- return value.isMismatching;
578
- }).map(function(param) {
579
- var [dependency, value] = param;
580
- return {
581
- dependency,
582
- versions: value.versions
583
- };
584
- });
585
- if (mismatchingDependencyVersions.length === 0)
586
- return "";
587
- var tables = mismatchingDependencyVersions.map(function(object) {
588
- return `${object.dependency} - ${object.versions.map(function(v) {
589
- return `${v.version}`;
590
- }).join(", ")}`;
591
- }).join("");
592
- return [
593
- `Found ${mismatchingDependencyVersions.length} ${mismatchingDependencyVersions.length === 1 ? "dependency" : "dependencies"} with mismatching versions across the workspace.`,
594
- tables
595
- ].join(`
596
- `);
597
- }
598
- // Annotate the CommonJS export names for ESM import in node:
599
- 0 && (module.exports = {
600
- CDVC
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M,OAAO,SAAS,IAAI,SAAS,GAAG;AAC7D,aAAO,GAAG,EAAE,OAAO;AAAA,IACvB,CAAC,EAAE,KAAK,IAAI,CAAC;AAAA,EACjB,CAAC,EAAE,KAAK,EAAE;AACV,SAAO;AAAA,IACH,SAAS,8BAA8B,MAAM,IAAI,8BAA8B,WAAW,IAAI,eAAe,cAAc;AAAA,IAC3H;AAAA,EACJ,EAAE,KAAK;AAAA,CAAI;AACf;",
5
- "names": ["Package", "DEPENDENCY_TYPE", "CDVC"]
6
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var checkDeps_exports = {};
17
- __export(checkDeps_exports, {
18
- DEPENDENCY_TYPE: () => DEPENDENCY_TYPE,
19
- checkDeps: () => checkDeps
20
- });
21
- module.exports = __toCommonJS(checkDeps_exports);
22
- var import_check_dep_versions = require("./check-dep-versions"), DEPENDENCY_TYPE = /* @__PURE__ */ function(DEPENDENCY_TYPE2) {
23
- return DEPENDENCY_TYPE2.dependencies = "dependencies", DEPENDENCY_TYPE2.devDependencies = "devDependencies", DEPENDENCY_TYPE2.optionalDependencies = "optionalDependencies", DEPENDENCY_TYPE2.peerDependencies = "peerDependencies", DEPENDENCY_TYPE2.resolutions = "resolutions", DEPENDENCY_TYPE2;
24
- }({});
25
- async function checkDeps(root) {
26
- var summary = new import_check_dep_versions.CDVC(root).toMismatchSummary();
27
- summary || (console.info("Tamagui dependencies look good \u2705"), process.exit(0)), console.error(summary), process.exit(1);
28
- }
29
- // Annotate the CommonJS export names for ESM import in node:
30
- 0 && (module.exports = {
31
- DEPENDENCY_TYPE,
32
- checkDeps
33
- });
34
- //# sourceMappingURL=checkDeps.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/checkDeps.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gCAAqB,iCACV,kBAAgC,yBAASA,kBAAiB;AACjE,SAAAA,iBAAgB,eAAkB,gBAClCA,iBAAgB,kBAAqB,mBACrCA,iBAAgB,uBAA0B,wBAC1CA,iBAAgB,mBAAsB,oBACtCA,iBAAgB,cAAiB,eAC1BA;AACX,EAAE,CAAC,CAAC;AAEJ,eAAsB,UAAU,MAAM;AAClC,MAAI,UAAU,IAAI,+BAAK,IAAI,EAAE,kBAAkB;AAC/C,EAAK,YACD,QAAQ,KAAK,uCAAkC,GAC/C,QAAQ,KAAK,CAAC,IAElB,QAAQ,MAAM,OAAO,GACrB,QAAQ,KAAK,CAAC;AAClB;",
5
- "names": ["DEPENDENCY_TYPE"]
6
- }