@e2b/cli 0.0.10 → 0.0.12

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 (4) hide show
  1. package/README.md +44 -27
  2. package/dist/index.js +72 -81
  3. package/package.json +16 -21
  4. package/LICENSE +0 -92
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@e2b/cli",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "CLI for managing e2b environments",
5
- "homepage": "https://usedevbook.com",
6
- "license": "SEE LICENSE IN LICENSE",
5
+ "homepage": "https://e2b.dev",
6
+ "license": "MIT",
7
7
  "author": {
8
8
  "name": "FoundryLabs, Inc.",
9
9
  "email": "hello@e2b.dev",
@@ -18,15 +18,21 @@
18
18
  "access": "public"
19
19
  },
20
20
  "sideEffects": false,
21
+ "scripts": {
22
+ "prepublishOnly": "npm run build",
23
+ "build": "tsup --minify",
24
+ "dev": "tsup --watch",
25
+ "test-e2b": "cd testground/demo-basic && ../../dist/index.js env build",
26
+ "check-deps": "knip"
27
+ },
21
28
  "devDependencies": {
22
29
  "@types/common-tags": "^1.8.2",
23
- "@types/inquirer": "^8.0.0",
24
30
  "@types/node": "16.11",
25
31
  "@types/node-fetch": "^2.6.5",
26
- "@types/parse-gitignore": "^1.0.0",
27
- "@types/platform": "^1.3.4",
32
+ "@types/tar-fs": "^2.0.2",
33
+ "@types/tar-stream": "^3.1.1",
28
34
  "@types/update-notifier": "5.1.0",
29
- "platform": "^1.3.6",
35
+ "knip": "^2.19.5",
30
36
  "tsup": "^6.5.0",
31
37
  "typescript": "^4.9.3"
32
38
  },
@@ -41,34 +47,23 @@
41
47
  },
42
48
  "dependencies": {
43
49
  "@balena/dockerignore": "^1.0.2",
44
- "@devbookhq/sdk": "^2.6.88",
45
- "@iarna/toml": "^2.2.5",
50
+ "@e2b/sdk": "workspace:*",
46
51
  "@nodelib/fs.walk": "^1.2.8",
47
- "@types/tar-fs": "^2.0.2",
48
52
  "async-listen": "^3.0.1",
49
53
  "boxen": "^7.0.0",
50
54
  "chalk": "^5.1.2",
51
- "chokidar": "^3.5.3",
52
55
  "commander": "^9.4.1",
53
56
  "common-tags": "^1.8.2",
54
57
  "cross-blob": "^3.0.2",
55
- "docker-names": "^1.2.1",
56
58
  "formdata-node": "^5.0.1",
57
- "get-port": "^7.0.0",
58
59
  "ignore": "^5.2.4",
59
- "inquirer": "^8.0.0",
60
60
  "node-fetch": "^3.3.2",
61
61
  "open": "^8.4.2",
62
- "parse-gitignore": "^2.0.0",
63
62
  "tar-fs": "^3.0.4",
64
- "update-notifier": "5.1.0",
65
- "yup": "^0.32.11"
63
+ "tar-stream": "^3.1.6",
64
+ "update-notifier": "5.1.0"
66
65
  },
67
66
  "engines": {
68
67
  "node": ">=16"
69
- },
70
- "scripts": {
71
- "build": "rm -rf ./dist && tsup --minify",
72
- "dev": "tsup --watch"
73
68
  }
74
69
  }
package/LICENSE DELETED
@@ -1,92 +0,0 @@
1
- Business Source License 1.1
2
-
3
- Parameters
4
-
5
- Licensor: FoundryLabs, Inc.
6
- Licensed Work: Devbook CLI
7
- The Licensed Work is (c) 2022 FoundryLabs, Inc.
8
- Additional Use Grant:
9
-
10
- Change Date: 2026-01-19
11
-
12
- Change License: Apache License, Version 2.0
13
-
14
- Notice
15
-
16
- The Business Source License (this document, or the "License") is not an Open
17
- Source license. However, the Licensed Work will eventually be made available
18
- under an Open Source License, as stated in this License.
19
-
20
- License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
21
- "Business Source License" is a trademark of MariaDB Corporation Ab.
22
-
23
- -----------------------------------------------------------------------------
24
-
25
- Business Source License 1.1
26
-
27
- Terms
28
-
29
- The Licensor hereby grants you the right to copy, modify, create derivative
30
- works, redistribute, and make non-production use of the Licensed Work. The
31
- Licensor may make an Additional Use Grant, above, permitting limited
32
- production use.
33
-
34
- Effective on the Change Date, or the fourth anniversary of the first publicly
35
- available distribution of a specific version of the Licensed Work under this
36
- License, whichever comes first, the Licensor hereby grants you rights under
37
- the terms of the Change License, and the rights granted in the paragraph
38
- above terminate.
39
-
40
- If your use of the Licensed Work does not comply with the requirements
41
- currently in effect as described in this License, you must purchase a
42
- commercial license from the Licensor, its affiliated entities, or authorized
43
- resellers, or you must refrain from using the Licensed Work.
44
-
45
- All copies of the original and modified Licensed Work, and derivative works
46
- of the Licensed Work, are subject to this License. This License applies
47
- separately for each version of the Licensed Work and the Change Date may vary
48
- for each version of the Licensed Work released by Licensor.
49
-
50
- You must conspicuously display this License on each original or modified copy
51
- of the Licensed Work. If you receive the Licensed Work in original or
52
- modified form from a third party, the terms and conditions set forth in this
53
- License apply to your use of that work.
54
-
55
- Any use of the Licensed Work in violation of this License will automatically
56
- terminate your rights under this License for the current and all other
57
- versions of the Licensed Work.
58
-
59
- This License does not grant you any right in any trademark or logo of
60
- Licensor or its affiliates (provided that you may use a trademark or logo of
61
- Licensor as expressly required by this License).
62
-
63
- TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
64
- AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
65
- EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
66
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
67
- TITLE.
68
-
69
- MariaDB hereby grants you permission to use this License’s text to license
70
- your works, and to refer to it using the trademark "Business Source License",
71
- as long as you comply with the Covenants of Licensor below.
72
-
73
- Covenants of Licensor
74
-
75
- In consideration of the right to use this License’s text and the "Business
76
- Source License" name and trademark, Licensor covenants to MariaDB, and to all
77
- other recipients of the licensed work to be provided by Licensor:
78
-
79
- 1. To specify as the Change License the GPL Version 2.0 or any later version,
80
- or a license that is compatible with GPL Version 2.0 or a later version,
81
- where "compatible" means that software provided under the Change License can
82
- be included in a program with software provided under GPL Version 2.0 or a
83
- later version. Licensor may specify additional Change Licenses without
84
- limitation.
85
-
86
- 2. To either: (a) specify an additional grant of rights to use that does not
87
- impose any additional restriction on the right granted in this License, as
88
- the Additional Use Grant; or (b) insert the text "None".
89
-
90
- 3. To specify a Change Date.
91
-
92
- 4. Not to modify this License in any other way.