lim 0.33.0 → 0.33.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/README.md
CHANGED
|
@@ -817,9 +817,11 @@ lim xcode run -- mise use --pin node@24.5.0
|
|
|
817
817
|
|
|
818
818
|
`lim xcode tools install` syncs the project and runs `mise install` in that sandbox. Use `--no-sync` to install its current selections without syncing, `--cwd apps/mobile` for a nested project, and `--id` to choose an existing sandbox. The command never creates or replaces an instance.
|
|
819
819
|
|
|
820
|
-
`lim xcode use xcode@27` is equivalent to `lim xcode version set 27`: it remembers the workspace Xcode major and switches the existing sandbox. With no sandbox, it saves the preference for the next one.
|
|
820
|
+
`lim xcode use xcode@27` is equivalent to `lim xcode version set 27`: it remembers the workspace Xcode major and switches the existing sandbox. With no sandbox, it saves the preference for the next one. You can combine requests, for example `lim xcode use xcode@27 node@24`; only the other tools go into mise. Xcode requires a bare major. `--cwd` applies only to mise tools; `--workspace` chooses the Limrun workspace preference.
|
|
821
821
|
|
|
822
|
-
|
|
822
|
+
`lim xcode use` selects tools in an existing sandbox after project sync. Mise installs a requested version if needed; use `lim xcode tools install` to install tools declared by synced project files. Use `--cwd apps/mobile` for a nested project. Sandbox selections take precedence over synced project tool requests and apply to later runs and builds.
|
|
823
|
+
|
|
824
|
+
Each run or build resolves `mise env --json` once. Synced project tool declarations override package-manager detection and image defaults. The first operation with project tool declarations installs them once; later changes require `lim xcode tools install`. Project numeric requests retain the major, except Ruby, Python, Go, Flutter, Dart and pre-1.0 tools retain `major.minor`. Limrun imports the `[tools]` declarations from project mise files. Use an explicit sandbox `mise use --pin` command to select an exact release.
|
|
823
825
|
|
|
824
826
|
Both Node 22 and 24 are preinstalled, with Node 22 as the default. Image tools stay outside workspace caches. User-installed versions under `.limbuild-sandbox/home/.mise/` can be cached when the configured cache paths cover them, after a successful managed build. If a restored user gem references its old sandbox path, reinstall it explicitly, for example `lim xcode run -- mise install --force bundler`. Homebrew and Apple tools have separate management; select Xcode with `lim xcode use xcode@27` and inspect it with `lim xcode version`.
|
|
825
827
|
|
|
@@ -1124,17 +1126,10 @@ lim gradle tools
|
|
|
1124
1126
|
|
|
1125
1127
|
`lim gradle tools install` syncs the project and runs `mise install` in that sandbox. Use `--no-sync` to install its current selections without syncing, `--cwd apps/mobile` for a nested project, and `--id` to choose an existing sandbox. The command never creates or replaces an instance.
|
|
1126
1128
|
|
|
1127
|
-
`use`
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
`lim gradle tools install --cwd apps/mobile`.
|
|
1132
|
-
|
|
1133
|
-
Project `[tools]` declarations override package-manager detection and image
|
|
1134
|
-
defaults. Personal mise configuration on the client is not read or forwarded.
|
|
1135
|
-
Limrun imports only tool declarations, without executing client mise tasks or
|
|
1136
|
-
loading its environment settings. Client `mise.lock` pins do not control the
|
|
1137
|
-
sandbox selection. Most numeric requests retain the major version;
|
|
1129
|
+
`lim gradle use` selects tools in an existing sandbox after project sync. Mise installs a requested version if needed. Use `--cwd apps/mobile` for a nested project, and the same directory with `lim gradle tools install --cwd apps/mobile` when installing its synced project tools.
|
|
1130
|
+
|
|
1131
|
+
Limrun imports `[tools]` declarations from synced project mise files. These
|
|
1132
|
+
declarations override package-manager detection and image defaults. Most numeric project requests retain the major version;
|
|
1138
1133
|
Ruby, Python, Go, Flutter, Dart, and pre-1.0 tools retain `major.minor`.
|
|
1139
1134
|
Limrun can update patch and minor releases within those lines independently.
|
|
1140
1135
|
`latest` opts out of a fixed line.
|
|
@@ -1145,8 +1140,7 @@ This happens once per sandbox. Without a project mise file, commands use image d
|
|
|
1145
1140
|
Later changes require `lim gradle tools install`. A failed or cancelled first install
|
|
1146
1141
|
stops that operation and also requires an explicit retry. To select an exact release, run
|
|
1147
1142
|
`lim gradle run -- mise use --pin node@24.5.0`. Subsequent operations respect
|
|
1148
|
-
that override. `lim gradle use node@24`
|
|
1149
|
-
directory and returns to the client preference.
|
|
1143
|
+
that override. `lim gradle use node@24` replaces it with a Node 24 selection in the sandbox.
|
|
1150
1144
|
|
|
1151
1145
|
Run a command with the selected tools, or supply environment variables to a build:
|
|
1152
1146
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-use-command.d.ts","sourceRoot":"","sources":["../../src/lib/build-use-command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build-use-command.d.ts","sourceRoot":"","sources":["../../src/lib/build-use-command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAI9C,wBAAgB,eAAe,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,WAAW,CAuDhF"}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.buildUseCommand = buildUseCommand;
|
|
7
|
-
const path_1 = __importDefault(require("path"));
|
|
8
4
|
const core_1 = require("@oclif/core");
|
|
9
5
|
const mise_tools_1 = require("@limrun/api/mise-tools");
|
|
10
6
|
const base_command_1 = require("../base-command");
|
|
11
7
|
const xcode_version_1 = require("./xcode-version");
|
|
12
|
-
const sync_flags_1 = require("./sync-flags");
|
|
13
8
|
const build_command_helpers_1 = require("./build-command-helpers");
|
|
14
9
|
function buildUseCommand(platform) {
|
|
15
10
|
var _a;
|
|
@@ -29,40 +24,18 @@ function buildUseCommand(platform) {
|
|
|
29
24
|
requests.push(request);
|
|
30
25
|
}
|
|
31
26
|
}
|
|
32
|
-
|
|
33
|
-
const directory = path_1.default.resolve(process.cwd(), flags.cwd);
|
|
34
|
-
const relative = path_1.default.relative(process.cwd(), directory);
|
|
35
|
-
if (relative === '..' || relative.startsWith(`..${path_1.default.sep}`) || path_1.default.isAbsolute(relative))
|
|
36
|
-
this.error('--cwd must stay inside the synced directory.');
|
|
27
|
+
(0, mise_tools_1.parseToolRequests)(requests);
|
|
37
28
|
if (xcodeMajor)
|
|
38
29
|
await this.setPreferredXcodeVersion(xcodeMajor, flags.id);
|
|
39
30
|
if (!requests.length)
|
|
40
31
|
return;
|
|
41
|
-
const file = await (0, mise_tools_1.writeMiseTools)(directory, tools);
|
|
42
|
-
this.info(`Saved ${Object.entries(tools)
|
|
43
|
-
.map(([name, version]) => `${name}@${version}`)
|
|
44
|
-
.join(', ')} in ${file}.`);
|
|
45
32
|
await this.withAuth(async () => {
|
|
46
|
-
const { client } = await this.resolveBuildToolClient(platform, flags.id);
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
await (0, build_command_helpers_1.syncBuildProject)(client, {
|
|
50
|
-
...sync,
|
|
51
|
-
include: (p) => p === fileRelative ||
|
|
52
|
-
fileRelative.startsWith(p.endsWith('/') ? p : `${p}/`) ||
|
|
53
|
-
(sync?.include?.(p) ?? false),
|
|
54
|
-
}, (message) => this.info(message));
|
|
55
|
-
// Remove explicit sandbox overrides for these tools before resolving the new project requests.
|
|
56
|
-
const remove = Object.keys(tools)
|
|
57
|
-
.map((name) => `'${name}'`)
|
|
58
|
-
.join(' ');
|
|
59
|
-
const command = [
|
|
60
|
-
`if test -f .limrun-runtime-mise.toml; then mise unuse --no-prune --path .limrun-runtime-mise.toml ${remove}; fi`,
|
|
61
|
-
'mise ls --current',
|
|
62
|
-
].join(' && ');
|
|
33
|
+
const { client } = await this.resolveBuildToolClient(platform, flags.id, 'existing');
|
|
34
|
+
const quoted = requests.map((request) => `'${request.split("'").join("'\"'\"'")}'`).join(' ');
|
|
35
|
+
const command = `mise --quiet use ${quoted}`;
|
|
63
36
|
const proc = client.run(command, { cwd: flags.cwd });
|
|
64
|
-
await (0, build_command_helpers_1.streamBuildCommand)(proc, (message, options) => this.error(message, options), 'Tool selection failed
|
|
65
|
-
this.info(`
|
|
37
|
+
await (0, build_command_helpers_1.streamBuildCommand)(proc, (message, options) => this.error(message, options), 'Tool selection failed');
|
|
38
|
+
this.info(`Selected ${requests.join(', ')} in the ${platform} sandbox.`);
|
|
66
39
|
});
|
|
67
40
|
}
|
|
68
41
|
},
|
|
@@ -70,19 +43,18 @@ function buildUseCommand(platform) {
|
|
|
70
43
|
_a.description = (platform === 'xcode' ?
|
|
71
44
|
'xcode@<major> selects Xcode for the workspace, like lim xcode version set. '
|
|
72
45
|
: '') +
|
|
73
|
-
`
|
|
46
|
+
`Select tool versions in an existing sandbox after syncing your project. Mise installs a requested version if needed. Use lim ${platform} tools install for synced project tool selections.`,
|
|
74
47
|
_a.strict = false,
|
|
75
48
|
_a.args = {
|
|
76
49
|
tools: core_1.Args.string({ required: true, description: 'One or more tool@version requests' }),
|
|
77
50
|
},
|
|
78
51
|
_a.examples = [
|
|
79
52
|
...(platform === 'xcode' ? ['<%= config.bin %> xcode use xcode@27'] : []),
|
|
80
|
-
`<%= config.bin %> ${platform} use node@24 pnpm@10
|
|
53
|
+
`<%= config.bin %> ${platform} use node@24 pnpm@10`,
|
|
81
54
|
`<%= config.bin %> ${platform} use --cwd apps/mobile yarn@4`,
|
|
82
55
|
],
|
|
83
56
|
_a.flags = {
|
|
84
57
|
...base_command_1.BaseCommand.baseFlags,
|
|
85
|
-
...sync_flags_1.syncFlags,
|
|
86
58
|
id: core_1.Flags.string({
|
|
87
59
|
description: `${platform} instance ID. Defaults to the most recent ${platform} target.`,
|
|
88
60
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-use-command.js","sourceRoot":"","sources":["../../src/lib/build-use-command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build-use-command.js","sourceRoot":"","sources":["../../src/lib/build-use-command.ts"],"names":[],"mappings":";;AAMA,0CAuDC;AA7DD,sCAA0C;AAC1C,uDAA2D;AAC3D,kDAA8C;AAC9C,mDAAkD;AAClD,mEAA6D;AAE7D,SAAgB,eAAe,CAAC,QAA4B;;IAC1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EAAE,WAAW,EAAE,8CAA8C,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;SAChG;WA+BF;AACJ,CAAC"}
|
|
@@ -5,15 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const events_1 = require("events");
|
|
7
7
|
const api_1 = require("@limrun/api");
|
|
8
|
-
const mise_tools_1 = require("@limrun/api/mise-tools");
|
|
9
8
|
const use_1 = __importDefault(require("../commands/xcode/use"));
|
|
10
9
|
const set_1 = __importDefault(require("../commands/xcode/version/set"));
|
|
11
10
|
const use_2 = __importDefault(require("../commands/gradle/use"));
|
|
12
11
|
const config_1 = require("./config");
|
|
13
|
-
jest.mock('@limrun/api/mise-tools', () => ({
|
|
14
|
-
...jest.requireActual('@limrun/api/mise-tools'),
|
|
15
|
-
writeMiseTools: jest.fn(),
|
|
16
|
-
}));
|
|
17
12
|
jest.mock('./config', () => ({
|
|
18
13
|
...jest.requireActual('./config'),
|
|
19
14
|
clearLastInstanceId: jest.fn(),
|
|
@@ -57,7 +52,6 @@ function setup(CommandClass = use_1.default, argv = ['xcode@27'], flags = {}) {
|
|
|
57
52
|
beforeEach(() => {
|
|
58
53
|
jest.clearAllMocks();
|
|
59
54
|
jest.mocked(config_1.loadXcodeVersionPreference).mockReturnValue('26');
|
|
60
|
-
jest.mocked(mise_tools_1.writeMiseTools).mockResolvedValue(`${process.cwd()}/mise.toml`);
|
|
61
55
|
});
|
|
62
56
|
it.each([use_1.default, set_1.default])('shares Xcode selection and preference behavior', async (CommandClass) => {
|
|
63
57
|
const { command, client, resolveTarget, resolveBuild, output } = setup(CommandClass, CommandClass === use_1.default ? ['xcode@27'] : ['27'], { id: target.id });
|
|
@@ -67,7 +61,6 @@ it.each([use_1.default, set_1.default])('shares Xcode selection and preference b
|
|
|
67
61
|
expect(config_1.setXcodeVersionPreference).toHaveBeenCalledWith('27');
|
|
68
62
|
expect(output).toHaveBeenCalledWith(expect.stringContaining('27.0 (27A5252f)'));
|
|
69
63
|
expect(output).toHaveBeenCalledWith(expect.stringContaining('invalidated'));
|
|
70
|
-
expect(mise_tools_1.writeMiseTools).not.toHaveBeenCalled();
|
|
71
64
|
expect(resolveBuild).not.toHaveBeenCalled();
|
|
72
65
|
expect(client.sync).not.toHaveBeenCalled();
|
|
73
66
|
expect(client.run).not.toHaveBeenCalled();
|
|
@@ -104,48 +97,40 @@ it('does not replace a missing sandbox during Xcode selection', async () => {
|
|
|
104
97
|
await expect(command.run()).rejects.toThrow('was not found');
|
|
105
98
|
expect(create).not.toHaveBeenCalled();
|
|
106
99
|
});
|
|
107
|
-
it('combines Xcode selection with mise tools
|
|
100
|
+
it('combines Xcode selection with remote mise tools', async () => {
|
|
108
101
|
const { command, client } = setup(use_1.default, ['xcode@27', 'node@24.5.0', 'ruby@3.3.7']);
|
|
109
102
|
await command.run();
|
|
110
103
|
expect(config_1.setXcodeVersionPreference).toHaveBeenCalledWith('27');
|
|
111
|
-
expect(
|
|
112
|
-
expect(client.
|
|
113
|
-
expect(client.run).toHaveBeenCalledWith(expect.stringContaining("'node' 'ruby'"), { cwd: '.' });
|
|
104
|
+
expect(client.sync).not.toHaveBeenCalled();
|
|
105
|
+
expect(client.run).toHaveBeenCalledWith("mise --quiet use 'node@24.5.0' 'ruby@3.3.7'", { cwd: '.' });
|
|
114
106
|
expect(client.run.mock.calls[0][0]).not.toContain('xcode');
|
|
115
|
-
expect(client.setXcode.mock.invocationCallOrder[0]).toBeLessThan(client.
|
|
107
|
+
expect(client.setXcode.mock.invocationCallOrder[0]).toBeLessThan(client.run.mock.invocationCallOrder[0]);
|
|
116
108
|
});
|
|
117
109
|
it.each(['xcode@27.1', 'xcode@latest', 'xcode@'])('rejects invalid Xcode request %s before mutations', async (request) => {
|
|
118
110
|
const { command, client } = setup(use_1.default, ['node@24', request]);
|
|
119
111
|
await expect(command.run()).rejects.toThrow('takes an Xcode major');
|
|
120
112
|
expect(client.setXcode).not.toHaveBeenCalled();
|
|
121
113
|
expect(config_1.setXcodeVersionPreference).not.toHaveBeenCalled();
|
|
122
|
-
expect(mise_tools_1.writeMiseTools).not.toHaveBeenCalled();
|
|
123
114
|
});
|
|
124
|
-
it
|
|
125
|
-
{
|
|
126
|
-
{ argv: ['xcode@27'], flags: { cwd: '..' } },
|
|
127
|
-
])('validates all requests and scope flags before switching Xcode', async ({ argv, flags }) => {
|
|
128
|
-
const { command, client } = setup(use_1.default, argv, flags);
|
|
115
|
+
it('validates all requests before switching Xcode', async () => {
|
|
116
|
+
const { command, client } = setup(use_1.default, ['xcode@27', 'invalid']);
|
|
129
117
|
await expect(command.run()).rejects.toThrow();
|
|
130
118
|
expect(client.setXcode).not.toHaveBeenCalled();
|
|
131
|
-
expect(mise_tools_1.writeMiseTools).not.toHaveBeenCalled();
|
|
132
119
|
});
|
|
133
120
|
it('keeps Xcode out of Gradle tool selection', async () => {
|
|
134
121
|
const { command, client } = setup(use_2.default);
|
|
135
122
|
await expect(command.run()).rejects.toThrow('Select Xcode with lim xcode use');
|
|
136
123
|
expect(client.setXcode).not.toHaveBeenCalled();
|
|
137
|
-
expect(mise_tools_1.writeMiseTools).not.toHaveBeenCalled();
|
|
138
124
|
});
|
|
139
|
-
it.each([use_1.default, use_2.default])('
|
|
140
|
-
const { command, client } = setup(CommandClass, ['node@24
|
|
125
|
+
it.each([use_1.default, use_2.default])('selects tools in an existing sandbox without syncing', async (CommandClass) => {
|
|
126
|
+
const { command, client, resolveBuild, create } = setup(CommandClass, ['node@24', 'ruby@3.3', 'java@jbr-21'], { cwd: 'apps/mobile', id: target.id });
|
|
141
127
|
await command.run();
|
|
142
|
-
expect(
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
java: 'jbr-21',
|
|
128
|
+
expect(resolveBuild).toHaveBeenCalledWith(CommandClass === use_1.default ? 'xcode' : 'gradle', target.id, 'existing');
|
|
129
|
+
expect(client.run).toHaveBeenCalledWith("mise --quiet use 'node@24' 'ruby@3.3' 'java@jbr-21'", {
|
|
130
|
+
cwd: 'apps/mobile',
|
|
146
131
|
});
|
|
147
|
-
expect(client.sync).
|
|
148
|
-
expect(
|
|
132
|
+
expect(client.sync).not.toHaveBeenCalled();
|
|
133
|
+
expect(create).not.toHaveBeenCalled();
|
|
149
134
|
expect(client.setXcode).not.toHaveBeenCalled();
|
|
150
135
|
});
|
|
151
136
|
//# sourceMappingURL=build-use-command.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-use-command.test.js","sourceRoot":"","sources":["../../src/lib/build-use-command.test.ts"],"names":[],"mappings":";;;;;AAAA,mCAAsC;AACtC,qCAA4C;
|
|
1
|
+
{"version":3,"file":"build-use-command.test.js","sourceRoot":"","sources":["../../src/lib/build-use-command.test.ts"],"names":[],"mappings":";;;;;AAAA,mCAAsC;AACtC,qCAA4C;AAE5C,gEAA6C;AAC7C,wEAA4D;AAC5D,iEAA+C;AAC/C,qCAAiF;AAEjF,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC;IAC3B,GAAG,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC;IACjC,mBAAmB,EAAE,IAAI,CAAC,EAAE,EAAE;IAC9B,0BAA0B,EAAE,IAAI,CAAC,EAAE,EAAE;IACrC,yBAAyB,EAAE,IAAI,CAAC,EAAE,EAAE;CACrC,CAAC,CAAC,CAAC;AACJ,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;AAE5F,MAAM,MAAM,GAAG,EAAE,EAAE,EAAE,uBAAuB,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC9D,MAAM,SAAS,GAAG,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,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,CAAC;IAC/E,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;AACjD,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,IAAI,CAAC,CAAC,aAAQ,EAAE,aAAS,CAAC,CAAC,CAC5B,sDAAsD,EACtD,KAAK,EAAE,YAAY,EAAE,EAAE;IACrB,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CACrD,YAAY,EACZ,CAAC,SAAS,EAAE,UAAU,EAAE,aAAa,CAAC,EACtC,EAAE,GAAG,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,CACtC,CAAC;IACF,MAAM,OAAO,CAAC,GAAG,EAAE,CAAC;IACpB,MAAM,CAAC,YAAY,CAAC,CAAC,oBAAoB,CACvC,YAAY,KAAK,aAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAC9C,MAAM,CAAC,EAAE,EACT,UAAU,CACX,CAAC;IACF,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,oBAAoB,CAAC,qDAAqD,EAAE;QAC7F,GAAG,EAAE,aAAa;KACnB,CAAC,CAAC;IACH,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;IAC3C,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;IACtC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;AACjD,CAAC,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lim",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.1",
|
|
4
4
|
"description": "Use remote XCode, Gradle, iOS Simulator, Android Emulator and more to build and test apps from Linux, Windows or macOS.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"lim": "./bin/run.js"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"test": "jest"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@limrun/api": "^0.50.
|
|
28
|
+
"@limrun/api": "^0.50.1",
|
|
29
29
|
"@oclif/core": "^4",
|
|
30
30
|
"cli-progress": "^3.12.0",
|
|
31
31
|
"cli-table3": "^0.6.5",
|