@tamagui/cli 1.130.8 → 1.131.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/dist/cli.cjs +5 -5
- package/dist/generate.cjs +1 -1
- package/dist/index.cjs +1 -1
- package/package.json +7 -7
package/dist/cli.cjs
CHANGED
|
@@ -22,8 +22,8 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
var import_arg = __toESM(require("arg")),
|
|
24
24
|
import_chalk = __toESM(require("chalk")),
|
|
25
|
-
import_add = require("./add"),
|
|
26
|
-
import_utils = require("./utils"),
|
|
25
|
+
import_add = require("./add.cjs"),
|
|
26
|
+
import_utils = require("./utils.cjs"),
|
|
27
27
|
import_static = require("@tamagui/static");
|
|
28
28
|
["exit", "SIGINT"].forEach(_ => {
|
|
29
29
|
process.on(_, () => {
|
|
@@ -120,7 +120,7 @@ const COMMAND_MAP = {
|
|
|
120
120
|
} = (0, import_arg.default)(this.flags),
|
|
121
121
|
{
|
|
122
122
|
installGeneratedPackage
|
|
123
|
-
} = require("./add"),
|
|
123
|
+
} = require("./add.cjs"),
|
|
124
124
|
[cmd, type, path] = _;
|
|
125
125
|
await installGeneratedPackage(type, path);
|
|
126
126
|
}
|
|
@@ -142,7 +142,7 @@ const COMMAND_MAP = {
|
|
|
142
142
|
...flags2
|
|
143
143
|
} = (0, import_arg.default)(this.flags),
|
|
144
144
|
[_command, dir] = _,
|
|
145
|
-
imported = await import("./build
|
|
145
|
+
imported = await import("./build"),
|
|
146
146
|
options = await (0, import_utils.getOptions)({
|
|
147
147
|
debug: flags2["--debug"] ? flags2["--verbose"] ? "verbose" : !0 : !1
|
|
148
148
|
});
|
|
@@ -179,7 +179,7 @@ const COMMAND_MAP = {
|
|
|
179
179
|
} = (0, import_arg.default)(this.flags),
|
|
180
180
|
{
|
|
181
181
|
updateTemplate
|
|
182
|
-
} = require("./update-template");
|
|
182
|
+
} = require("./update-template.cjs");
|
|
183
183
|
if (!flags2["--template-repo"]) throw new Error("--template-repo is required");
|
|
184
184
|
await updateTemplate(flags2["--template-repo"], flags2["--ignored-patterns"]?.split(" "));
|
|
185
185
|
}
|
package/dist/generate.cjs
CHANGED
|
@@ -38,7 +38,7 @@ __export(generate_exports, {
|
|
|
38
38
|
module.exports = __toCommonJS(generate_exports);
|
|
39
39
|
var import_fs_extra = __toESM(require("fs-extra")),
|
|
40
40
|
import_ts_morph = require("ts-morph"),
|
|
41
|
-
import_utils = require("./utils");
|
|
41
|
+
import_utils = require("./utils.cjs");
|
|
42
42
|
async function generateTypes(options) {
|
|
43
43
|
const types = await getTypes(options);
|
|
44
44
|
await import_fs_extra.default.writeJSON(options.paths.types, types, {
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
require("./cli");
|
|
2
|
+
require("./cli.cjs");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.131.1",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"clean:build": "tamagui-build clean:build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tamagui/create-theme": "1.
|
|
27
|
-
"@tamagui/generate-themes": "1.
|
|
28
|
-
"@tamagui/static": "1.
|
|
29
|
-
"@tamagui/types": "1.
|
|
30
|
-
"@tamagui/vite-plugin": "1.
|
|
26
|
+
"@tamagui/create-theme": "1.131.1",
|
|
27
|
+
"@tamagui/generate-themes": "1.131.1",
|
|
28
|
+
"@tamagui/static": "1.131.1",
|
|
29
|
+
"@tamagui/types": "1.131.1",
|
|
30
|
+
"@tamagui/vite-plugin": "1.131.1",
|
|
31
31
|
"arg": "^5.0.2",
|
|
32
32
|
"chalk": "^4.1.2",
|
|
33
33
|
"change-case": "^4.1.2",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"url": "^0.11.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@tamagui/build": "1.
|
|
50
|
+
"@tamagui/build": "1.131.1",
|
|
51
51
|
"@types/chokidar": "^2.1.3",
|
|
52
52
|
"@types/marked": "^5.0.0"
|
|
53
53
|
}
|