@vivd-studio/cli 1.9.332

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/LICENSE +111 -0
  2. package/README.md +63 -0
  3. package/index.js +34510 -0
  4. package/package.json +40 -0
package/LICENSE ADDED
@@ -0,0 +1,111 @@
1
+ Business Source License 1.1
2
+
3
+ Licensor: Felix Pahlke, except where another licensor is expressly identified
4
+
5
+ Licensed Work: The Vivd source code and related documentation made available in
6
+ this repository, excluding third-party components governed by their own
7
+ licenses and excluding generated website output created by users with the
8
+ Licensed Work.
9
+
10
+ Additional Use Grant: You may make production use of the Licensed Work,
11
+ including for commercial purposes and including modified versions, without
12
+ purchasing a separate commercial license, only for Own Use. "Own Use" means
13
+ use by you, your business or organization, and entities under common control
14
+ with you, in a deployment dedicated to that person, business, organization, or
15
+ commonly controlled group, for your own internal business operations and for
16
+ websites, content, domains, and digital properties that you own or operate.
17
+ This Additional Use Grant includes Vivd's solo install profile and
18
+ substantially similar single-tenant
19
+ deployments, including the normal frontend, backend, administration, user,
20
+ organization, project, domain, and plugin-management surfaces within such a
21
+ deployment. You may modify the Licensed Work and run those modifications in
22
+ production only for Own Use. This Additional Use Grant does not permit use of
23
+ the Licensed Work, including modified versions, to create, edit, manage, host,
24
+ publish, maintain, operate, or deliver websites, content, projects, or digital
25
+ properties for third-party clients or customers. This restriction applies
26
+ whether the use is provided as consulting, freelance work, agency work, a
27
+ managed service, a hosted service, a reseller offering, white-label service,
28
+ OEM service, embedded product feature, service bureau, or similar commercial
29
+ offering. A third-party contractor may provide technical installation,
30
+ maintenance, security, backup, migration, or operational support for your Own
31
+ Use deployment, provided the contractor does not use the Licensed Work to
32
+ deliver website creation, website editing, publishing, content production, or
33
+ project delivery services to third-party clients or customers. This Additional
34
+ Use Grant also does not permit any multi-tenant or shared-control-plane
35
+ deployment serving multiple unrelated customers or end users, providing the
36
+ Licensed Work as a hosted or managed service to multiple unrelated customers
37
+ from a shared deployment or shared administrative, routing, billing, or
38
+ runtime control layer, or white-label, OEM, embedded, or other productized
39
+ commercial distribution of the Licensed Work.
40
+
41
+ Change Date: The fourth anniversary of the first publicly available
42
+ distribution of each specific version of the Licensed Work.
43
+
44
+ Change License: GPL-3.0-or-later
45
+
46
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
47
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
48
+
49
+ Terms
50
+
51
+ The Licensor hereby grants you the right to copy, modify, create derivative
52
+ works, redistribute, and make non-production use of the Licensed Work. The
53
+ Licensor may make an Additional Use Grant, above, permitting limited
54
+ production use.
55
+
56
+ Effective on the Change Date, or the fourth anniversary of the first publicly
57
+ available distribution of a specific version of the Licensed Work under this
58
+ License, whichever comes first, the Licensor hereby grants you rights under
59
+ the terms of the Change License, and the rights granted in the paragraph above
60
+ terminate.
61
+
62
+ If your use of the Licensed Work does not comply with the requirements
63
+ currently in effect as described in this License, you must purchase a
64
+ commercial license from the Licensor, its affiliated entities, or authorized
65
+ resellers, or you must refrain from using the Licensed Work.
66
+
67
+ All copies of the original and modified Licensed Work, and derivative works of
68
+ the Licensed Work, are subject to this License. This License applies
69
+ separately for each version of the Licensed Work and the Change Date may vary
70
+ for each version of the Licensed Work released by Licensor.
71
+
72
+ You must conspicuously display this License on each original or modified copy
73
+ of the Licensed Work. If you receive the Licensed Work in original or modified
74
+ form from a third party, the terms and conditions set forth in this License
75
+ apply to your use of that work.
76
+
77
+ Any use of the Licensed Work in violation of this License will automatically
78
+ terminate your rights under this License for the current and all other
79
+ versions of the Licensed Work.
80
+
81
+ This License does not grant you any right in any trademark or logo of
82
+ Licensor or its affiliates (provided that you may use a trademark or logo of
83
+ Licensor as expressly required by this License).
84
+
85
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN
86
+ "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
87
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
88
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
89
+ TITLE.
90
+
91
+ MariaDB hereby grants you permission to use this License's text to license
92
+ your works, and to refer to it using the trademark "Business Source License",
93
+ as long as you comply with the Covenants of Licensor below.
94
+
95
+ Covenants of Licensor
96
+
97
+ In consideration of the right to use this License's text and the "Business
98
+ Source License" name and trademark, Licensor covenants to MariaDB, and to all
99
+ other recipients of the licensed work to be provided by Licensor:
100
+
101
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
102
+ or a license that is compatible with GPL Version 2.0 or a later version,
103
+ where "compatible" means that software provided under the Change License
104
+ can be included in a program with software provided under GPL Version 2.0
105
+ or a later version. Licensor may specify additional Change Licenses without
106
+ limitation.
107
+ 2. To either: (a) specify an additional grant of rights to use that does not
108
+ impose any additional restriction on the right granted in this License, as
109
+ the Additional Use Grant; or (b) insert the text "None".
110
+ 3. To specify a Change Date.
111
+ 4. Not to modify this License in any other way.
package/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # @vivd-studio/cli
2
+
3
+ The Vivd command line. Work on your Vivd website from a folder on your own
4
+ computer, with your own editor or coding agent, and see every change in the
5
+ Vivd tab.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ npm install -g @vivd-studio/cli
11
+ ```
12
+
13
+ Requires Node.js 20 or newer.
14
+
15
+ ## Sign in
16
+
17
+ ```sh
18
+ vivd login
19
+ ```
20
+
21
+ `vivd login` shows a code and opens Vivd in your browser. Confirm the code there
22
+ and the CLI is signed in to your organization.
23
+
24
+ ## Connect a website
25
+
26
+ ```sh
27
+ vivd studio connect <project-slug>
28
+ cd <project-slug>
29
+ ```
30
+
31
+ This copies the website into a new folder, links it to Vivd Studio and writes an
32
+ `AGENTS.md` guide your coding agent can read.
33
+
34
+ ## The loop
35
+
36
+ ```sh
37
+ vivd studio attach & # keep Studio open while you work
38
+ git commit -am "Update the opening section" # edit files, then commit
39
+ vivd studio push # waits until the change shows in the Vivd tab
40
+ vivd browser screenshot / # check the result
41
+ vivd studio pull && git rebase vivd/main # when Studio has newer commits
42
+ vivd studio save -m "Save edits" # save edits made in the Vivd tab
43
+ ```
44
+
45
+ Publishing, plugin settings and support requests stay in the Vivd tab. The CLI
46
+ tells you when to go there.
47
+
48
+ Run `vivd help` for every command and `vivd version` for the installed version.
49
+
50
+ ## Learn more
51
+
52
+ Read [Work with your own coding agent](https://docs.vivd.studio/local-agents/)
53
+ in the Vivd docs.
54
+
55
+ ## Releases
56
+
57
+ Each Vivd release publishes a matching `@vivd-studio/cli` version from the Vivd
58
+ repository with npm provenance. A maintainer publishes the first release by
59
+ hand; later releases use npm trusted publishing without stored tokens.
60
+
61
+ ## License
62
+
63
+ Business Source License 1.1 with the Vivd Additional Use Grant. See `LICENSE`.