@webship.co/workspace-designs 0.0.0-stage → 1.0.0-alpha1

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
@@ -1,3 +1,34 @@
1
- # Temporary Holding Version
1
+ # @webship.co/workspace-designs
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The **Designs** workspace of the [Webship Workspace](https://github.com/webship/workspace) dashboard:
4
+ the `designs/` folder (type `sites`), its settings file (`core/config/workspace.designs.settings.yml`),
5
+ its commands and its docs, as a plugin.
6
+
7
+ ## Use it
8
+
9
+ ```bash
10
+ cd ~/workspace
11
+ bash core/scripts/plugins.sh --require github:webship/workspace-designs
12
+ bash core/scripts/plugins.sh --activate designs # puts `designs` on the workspaces list of settings.yml
13
+ bash core/scripts/plugins.sh --install designs # the folder, its settings file (once), its commands, its docs (once)
14
+ ```
15
+
16
+ The settings file and the docs are placed once and never overwritten: they hold what you put there.
17
+ `--deactivate` takes the workspace off the list; the folder and its content stay.
18
+
19
+ ## The commands
20
+
21
+ | Command |
22
+ | --- |
23
+ | `cmd-penpot-backup.sh` |
24
+ | `cmd-penpot-mcp.sh` |
25
+ | `cmd-penpot-project.sh` |
26
+ | `cmd-penpot-token.sh` |
27
+ | `cmd-tool-backup-design.sh` |
28
+ | `cmd-tools-graphify.sh` |
29
+ | `cmd-tools-obsidian.sh` |
30
+ | `cmd-tools-ragify.sh` |
31
+ | `cmd-tools-reclaim.sh` |
32
+ | `cmd-tools-remove.sh` |
33
+
34
+ The bash functions these commands call live in the dashboard's `core/scripts/functions`.
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Penpot (backup)
4
+
5
+ # Bootstrap.
6
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
7
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
8
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
9
+
10
+ # Load workspace settings — every default this command uses lives in the penpot: block there.
11
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.designs.settings.yml);
12
+
13
+ ARGPARSE_DESCRIPTION="Back up a Penpot instance (database + assets)"
14
+ source ${WORKSPACE_SCRIPTS}/args/arg-penpot-backup.sh || exit 1 ;
15
+
16
+ shift $#;
17
+
18
+ penpot_backup ;
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Penpot (mcp)
4
+
5
+ # Bootstrap.
6
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
7
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
8
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
9
+
10
+ # Load workspace settings — every default this command uses lives in the penpot: block there.
11
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.designs.settings.yml);
12
+
13
+ ARGPARSE_DESCRIPTION="Run and register the Penpot MCP server for design agents"
14
+ source ${WORKSPACE_SCRIPTS}/args/arg-penpot-mcp.sh || exit 1 ;
15
+
16
+ shift $#;
17
+
18
+ penpot_mcp ;
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Penpot (self-hosted design platform)
4
+
5
+ # Run Penpot self-hosted inside DDEV, in the designs workspace.
6
+ # One command for what products/ai_penpot/docs/penpot-on-ddev.md documents by hand:
7
+ # the DDEV project, the Penpot compose stack, and the nginx reverse proxy.
8
+
9
+ # Bootstrap.
10
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
11
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
12
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
13
+
14
+ # Load workspace settings.
15
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.designs.settings.yml);
16
+
17
+ ARGPARSE_DESCRIPTION="Run Penpot self-hosted in DDEV, with plugins and access tokens enabled for AI work"
18
+ source ${WORKSPACE_SCRIPTS}/args/arg-penpot.sh || exit 1 ;
19
+
20
+ shift $#;
21
+
22
+ build_penpot ;
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Penpot (token)
4
+
5
+ # Bootstrap.
6
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
7
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
8
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
9
+
10
+ # Load workspace settings — every default this command uses lives in the penpot: block there.
11
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.designs.settings.yml);
12
+
13
+ ARGPARSE_DESCRIPTION="Create a Penpot access token for the Drupal AI Penpot module"
14
+ source ${WORKSPACE_SCRIPTS}/args/arg-penpot-token.sh || exit 1 ;
15
+
16
+ shift $#;
17
+
18
+ penpot_token ;
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Back up a design
4
+
5
+ # Bootstrap.
6
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
7
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
8
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
9
+
10
+ # Load workspace settings and extra lists.
11
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.designs.settings.yml);
12
+
13
+ ARGPARSE_DESCRIPTION="Backup a design"
14
+ argparse "$@" <<ARGEOF || exit 1
15
+ parser.add_argument('PROJECT_NAME',
16
+ help='The name of the project.')
17
+ ARGEOF
18
+
19
+ shift $#;
20
+ trim_project_name ; # "v11x00b1/" -> "v11x00b1" — see functions/fun-project-name.sh
21
+
22
+ backup_workspace_item "${PROJECT_NAME}" || exit 1 ;
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # Map a project in this workspace into a queryable knowledge graph with
4
+ # graphify (https://github.com/Graphify-Labs/graphify), or ask an existing
5
+ # graph a question.
6
+
7
+ # Bootstrap.
8
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
9
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
10
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
11
+
12
+ # Load workspace settings and extra lists.
13
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.designs.settings.yml);
14
+
15
+ ARGPARSE_DESCRIPTION="Build or query the knowledge graph of a project in the designs workspace"
16
+ source ${WORKSPACE_SCRIPTS}/args/arg-graphify.sh || exit 1 ;
17
+
18
+ shift $#;
19
+
20
+ if [ ! "${STORE}" == '_none_' ] ; then
21
+ ensure_graphify || exit 1 ;
22
+ graphify_store_url "${WORKSPACE_ROOT}/${doc_name}/${PROJECT_NAME}" "${STORE}" ;
23
+ elif [ -n "${QUERY}" ] ; then
24
+ graphify_query_project ;
25
+ else
26
+ graphify_project ;
27
+ fi
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # Turn a project's knowledge graph into an Obsidian vault — one note per entity,
4
+ # a [[wikilink]] per relation, and a JSON Canvas of the map. Written next to the
5
+ # graph in graphs/designs/<project>/obsidian/.
6
+ #
7
+ # Build the graph first with cmd-tools-graphify.sh: this reads what that wrote
8
+ # rather than parsing the project a second time.
9
+
10
+ # Bootstrap.
11
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
12
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
13
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
14
+
15
+ # Load workspace settings and extra lists.
16
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.designs.settings.yml);
17
+
18
+ ARGPARSE_DESCRIPTION="Build an Obsidian vault from the knowledge graph of a project in the designs workspace"
19
+ source ${WORKSPACE_SCRIPTS}/args/arg-obsidian.sh || exit 1 ;
20
+
21
+ shift $#;
22
+
23
+ export MAX_CANVAS_NODES="${MAX_CANVAS_NODES}";
24
+
25
+ if [ "${REMOVE}" == 'yes' ] ; then
26
+ obsidian_remove ;
27
+ elif [ "${STATUS}" == 'yes' ] ; then
28
+ obsidian_status ;
29
+ else
30
+ obsidian_project ;
31
+ fi
@@ -0,0 +1,28 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # Index a project in this workspace into the Milvus vector database
4
+ # (https://github.com/milvus-io/milvus) held in ~/workspace/rag, or ask an
5
+ # existing index a question.
6
+ #
7
+ # The RAG counterpart of cmd-tools-graphify.sh: graphify parses the CODE into a
8
+ # graph and reads no Markdown, Twig, *.module hooks or Drupal wiring YAML — this
9
+ # indexes the text of exactly those and retrieves passages from them.
10
+
11
+ # Bootstrap.
12
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
13
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
14
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
15
+
16
+ # Load workspace settings and extra lists.
17
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.designs.settings.yml);
18
+
19
+ ARGPARSE_DESCRIPTION="Build or query the Milvus RAG index of a project in the designs workspace"
20
+ source ${WORKSPACE_SCRIPTS}/args/arg-ragify.sh || exit 1 ;
21
+
22
+ shift $#;
23
+
24
+ if [ -n "${QUERY}" ] ; then
25
+ ragify_query_project ;
26
+ else
27
+ ragify_project ;
28
+ fi
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # Reclaim the disk that REMOVED projects left behind — their DDEV databases, snapshots, built images
4
+ # and containers. A project whose folder is still on disk is never touched, stopped or not.
5
+ #
6
+ # The sweep is machine-wide wherever you run it: it takes no project name, reads WORKSPACE_ROOT, and
7
+ # protects every project folder in the tree — so this copy behaves identically to the one in any other
8
+ # workspace. It ships in each workspace that leans on DDEV, graphify or RAG for the same reason
9
+ # cmd-tools-graphify.sh does: the folder you are standing in is where you look for a cmd-tools-*.
10
+
11
+ # Bootstrap.
12
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
13
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
14
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
15
+
16
+ # Load workspace settings and extra lists.
17
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.designs.settings.yml);
18
+
19
+ ARGPARSE_DESCRIPTION="Reclaim disk from projects that no longer have a folder — dry run unless --apply"
20
+ source ${WORKSPACE_SCRIPTS}/args/arg-reclaim.sh || exit 1 ;
21
+
22
+ shift $#;
23
+
24
+ reclaim_command ;
@@ -0,0 +1,45 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Remove a design project
4
+
5
+ # Bootstrap.
6
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
7
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
8
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
9
+
10
+ # Load workspace settings and extra lists.
11
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.designs.settings.yml);
12
+
13
+
14
+ ARGPARSE_DESCRIPTION="Remove a project"
15
+ argparse "$@" <<EOF || exit 1
16
+ parser.add_argument('PROJECT_NAME',
17
+ default='_none_',
18
+ nargs='?',
19
+ help='The name of the project.')
20
+ parser.add_argument('-f', '--force',
21
+ action='store_true',
22
+ default=False,
23
+ help='Remove even when the folder is the main git checkout other worktrees depend on, or holds commits and changes that are on no remote. Both are refused without it.')
24
+ parser.add_argument('-o', '--orphans',
25
+ action='store_true',
26
+ default=False,
27
+ help='List DDEV entries whose project directory is gone, instead of removing anything.')
28
+ EOF
29
+
30
+ shift $#;
31
+ trim_project_name ; # "v11x00b1/" -> "v11x00b1" — see functions/fun-project-name.sh
32
+
33
+
34
+ # Change directory to the workspace for this full operation.
35
+ cd ${WORKSPACE_ROOT}/${doc_name};
36
+
37
+ if [ "${ORPHANS}" == 'yes' ] ; then
38
+ report_orphans ;
39
+ elif [ "${PROJECT_NAME}" == '_none_' ] ; then
40
+ echo "Name the project to remove, or pass --orphans to see DDEV entries with no directory." ;
41
+ exit 1 ;
42
+ else
43
+ remove_project "${PROJECT_NAME}" || exit 1 ;
44
+ fi
45
+
@@ -0,0 +1,71 @@
1
+ doc:
2
+ name: designs
3
+
4
+ # Designs both builds and holds: Penpot instances are DDEV projects (so the page needs the
5
+ # project table, the Build form and the DDEV actions), and the Figma exports and mockups sit
6
+ # in the same folder as files.
7
+ presentation:
8
+ icon: tabler:palette
9
+ subtitle: Penpot Instances, Figma Sources & Exports
10
+ noun: design
11
+ kind: projects
12
+ also_files: true
13
+
14
+ # Penpot, self-hosted in DDEV (designs/cmd-penpot-project.sh).
15
+ # These are the DEFAULTS for that command; every one of them is overridable per run
16
+ # by the matching argument, so a one-off instance needs no settings edit.
17
+ penpot:
18
+ # Default project name, and so the hostname. One instance per design system is the point:
19
+ # bash cmd-penpot-project.sh penpot-website_starter
20
+ # bash cmd-penpot-project.sh penpot-haven
21
+ # gives https://penpot-website_starter.designs.workspace.ddev.site (and the canonical
22
+ # https://penpot-website_starter.ddev.site), each with its own database, assets and account.
23
+ project: penpot
24
+ # First port for the instance's mail catcher. Each instance needs its own — the router
25
+ # publishes it on the host — so the command takes the next free pair from here upwards
26
+ # and prints the one it used.
27
+ mail_port: 1080
28
+ # Which hostname the instance IS. Penpot's frontend calls its API at PENPOT_PUBLIC_URI, so
29
+ # exactly one origin works in a browser: from any other host the calls are cross-origin and
30
+ # CORS blocks them, and the app boots to a blank page. `hub` is the hierarchical
31
+ # <project>.designs.workspace.ddev.site; `canonical` is <project>.ddev.site; anything else is
32
+ # used verbatim (a public domain, say).
33
+ public_uri: hub
34
+ # Image tag used for the frontend, backend and exporter.
35
+ version: "2.16"
36
+ # PENPOT_FLAGS, set on both the frontend and the backend. enable-plugins is what the
37
+ # Penpot MCP needs; enable-access-tokens is what the Drupal AI Penpot module needs —
38
+ # without it a token is silently ignored (requests resolve to Anonymous, not a 401).
39
+ flags: "disable-email-verification enable-smtp enable-prepl-server disable-secure-session-cookies enable-registration enable-plugins enable-access-tokens"
40
+ # PENPOT_SECRET_KEY. Left empty, each project gets its own derived key, so the session
41
+ # cookies of one instance are not forgeable from another instance's config.
42
+ secret_key:
43
+ # The first account the command registers, the same three facts the Drupal installs take
44
+ # from `account:` in settings.yml. Leave any of them empty to fall back to that block —
45
+ # one identity per machine rather than two. As with `account:`, the password here is a
46
+ # local development login, not a secret.
47
+ account:
48
+ fullname:
49
+ email:
50
+ password:
51
+ CHANGE_ME
52
+ # a live file. It runs in a node:24 container on the host network: the host's own Node may be
53
+ # too old, and @penpot/mcp needs node:sqlite. `package` is pinned by tag, not by version,
54
+ # because the published versions skip 2.16.x entirely.
55
+ mcp:
56
+ package: "@penpot/mcp@stable"
57
+ image: "node:24"
58
+ port: 4401
59
+ plugin_port: 4400
60
+ bridge_port: 4402
61
+
62
+ # What this folder's projects are, and which actions their rows offer:
63
+ # sites | code | files | media | ai-items — see core/workspace-app/WORKSPACES.md.
64
+ type: sites
65
+
66
+ # What the assistant is called on THIS workspace's page, and what its composer says when empty.
67
+ # `default` in either means "whatever settings.yml says" — the global value, so a rename there
68
+ # still reaches this page. Set a value here to override it for this workspace alone.
69
+ assistant:
70
+ name: default
71
+ placeholder: default
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The Designs workspace for Webship Workspace: the `designs/` folder as a plugin.
3
+ *
4
+ * What the package carries is placed by the installer from the manifest (the folder's settings file,
5
+ * its commands and its docs) and listed by --activate; the dashboard draws the workspace from the
6
+ * settings file like any other. Nothing to register at run time yet: this is where the folder's own
7
+ * rail buttons, row menus or assistant context would go.
8
+ */
9
+ import type { PluginApi } from '@webship.co/workspace-plugin-api';
10
+ export declare const WORKSPACE_KEY = "designs";
11
+ export declare function register(api: PluginApi): void;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * The Designs workspace for Webship Workspace: the `designs/` folder as a plugin.
4
+ *
5
+ * What the package carries is placed by the installer from the manifest (the folder's settings file,
6
+ * its commands and its docs) and listed by --activate; the dashboard draws the workspace from the
7
+ * settings file like any other. Nothing to register at run time yet: this is where the folder's own
8
+ * rail buttons, row menus or assistant context would go.
9
+ */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.WORKSPACE_KEY = void 0;
12
+ exports.register = register;
13
+ exports.WORKSPACE_KEY = 'designs';
14
+ function register(api) {
15
+ api.addAssistantContext(() => `The designs/ workspace is the Designs workspace (a plugin, @webship.co/workspace-designs); its commands are the cmd-*.sh scripts in that folder.`);
16
+ }
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAMH,4BAEC;AAJY,QAAA,aAAa,GAAG,SAAS,CAAC;AAEvC,SAAgB,QAAQ,CAAC,GAAc;IACrC,GAAG,CAAC,mBAAmB,CAAC,GAAG,EAAE,CAAC,kJAAkJ,CAAC,CAAC;AACpL,CAAC"}
package/docs/AGENTS.md ADDED
@@ -0,0 +1,31 @@
1
+ # Designs
2
+
3
+ Design instances, sources and exports.
4
+
5
+ Part of the **Webship Workspace** (`~/workspace`), a DDEV-only harness. The rules in the root
6
+ `CLAUDE.md` apply here too; what follows is what is specific to this folder.
7
+
8
+ ## The rule that matters here
9
+
10
+ Everything goes through DDEV. Never a host `composer`, `drush` or `mysql`:
11
+
12
+ ```bash
13
+ ddev composer require drupal/something
14
+ ddev drush cr
15
+ ddev export-db --file=… # not mysqldump
16
+ ddev delete -y -O # not a dropped database
17
+ ```
18
+
19
+ `ddev start` takes `-y`; **`ddev stop` does not**. Never write a `$databases` block into
20
+ `settings.php` — DDEV's `settings.ddev.php` owns the connection.
21
+
22
+ ## Commands here
23
+
24
+ ```bash
25
+ bash cmd-tools-graphify.sh # Map a project in this workspace into a queryable knowledge graph with
26
+ bash cmd-tools-obsidian.sh # Turn a project graph into an Obsidian vault
27
+ bash cmd-tools-ragify.sh # Index a project in this workspace into the Milvus vector database
28
+ ```
29
+
30
+ Every one locates the workspace from its own path, so there is nothing to export and nothing to
31
+ install. `--help` on any of them lists its arguments.
package/docs/CLAUDE.md ADDED
@@ -0,0 +1,7 @@
1
+ # Designs — workspace context
2
+
3
+ You are inside the **designs** workspace of the Webship Workspace (`~/workspace`).
4
+
5
+ @AGENTS.md
6
+
7
+ The rules in it apply to everything under this folder, however deep.
package/docs/README.md ADDED
@@ -0,0 +1,8 @@
1
+ # Designs
2
+
3
+ Design work for the things this workspace builds: the running design-tool instances, and the
4
+ sources and exports beside them.
5
+
6
+ An instance is a DDEV project like any other, so it is built, started, stopped and backed up from
7
+ the dashboard page the same way. The exports live in the same folder because a mockup is only
8
+ useful next to the thing it describes.
@@ -0,0 +1,12 @@
1
+ Feature: The Designs workspace plugin
2
+ Once the plugin is activated and installed, the designs workspace is on the dashboard, and the
3
+ Plugins page lists the plugin with its four steps.
4
+
5
+ Scenario: The workspace page is there
6
+ Given I am on "/designs"
7
+ Then I should see "Designs"
8
+
9
+ Scenario: The plugin is listed on the Plugins page
10
+ Given I am on "/settings/plugins"
11
+ Then I should see "Designs"
12
+ And I should see "@webship.co/workspace-designs"
package/package.json CHANGED
@@ -1,6 +1,62 @@
1
1
  {
2
2
  "name": "@webship.co/workspace-designs",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0-alpha1",
4
+ "description": "The Designs workspace for Webship Workspace: the `designs/` folder (type sites), its settings file, its 10 commands and its docs, activated as a plugin.",
5
+ "main": "dist/src/index.js",
6
+ "types": "dist/src/index.d.ts",
7
+ "license": "ISC",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/webship/workspace-designs.git"
11
+ },
12
+ "files": [
13
+ "dist/src",
14
+ "commands",
15
+ "config",
16
+ "docs",
17
+ "features",
18
+ "README.md"
19
+ ],
20
+ "scripts": {
21
+ "build": "tsc -p tsconfig.json",
22
+ "prepare": "npm run build",
23
+ "test": "npm run build && node --test dist/tests/*.test.js",
24
+ "lint": "tsc -p tsconfig.json --noEmit"
25
+ },
26
+ "workspacePlugin": {
27
+ "name": "designs",
28
+ "label": "Designs",
29
+ "workspace": {
30
+ "key": "designs",
31
+ "settingsTemplate": "config/workspace.designs.settings.yml",
32
+ "files": [
33
+ "commands/cmd-penpot-backup.sh",
34
+ "commands/cmd-penpot-mcp.sh",
35
+ "commands/cmd-penpot-project.sh",
36
+ "commands/cmd-penpot-token.sh",
37
+ "commands/cmd-tool-backup-design.sh",
38
+ "commands/cmd-tools-graphify.sh",
39
+ "commands/cmd-tools-obsidian.sh",
40
+ "commands/cmd-tools-ragify.sh",
41
+ "commands/cmd-tools-reclaim.sh",
42
+ "commands/cmd-tools-remove.sh"
43
+ ],
44
+ "docs": [
45
+ "docs/AGENTS.md",
46
+ "docs/CLAUDE.md",
47
+ "docs/README.md"
48
+ ]
49
+ },
50
+ "features": [
51
+ "features/designs.feature"
52
+ ]
53
+ },
54
+ "devDependencies": {
55
+ "@types/node": "^24.0.0",
56
+ "@webship.co/workspace-plugin-api": "^1.0.0-alpha1",
57
+ "typescript": "^5.9.0"
58
+ },
59
+ "publishConfig": {
60
+ "access": "public"
61
+ }
62
+ }