@plexus-ms/cli 0.131.0 → 0.132.0
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/plx.js +2464 -2518
- package/dist/templates/app-nextjs/files/docker/Dockerfile +1 -1
- package/dist/templates/app-nextjs/files/docker/compose.ci.yaml.jinja +1 -1
- package/dist/templates/app-nextjs/template.yml +0 -2
- package/dist/templates/repo-operations/files/.github/workflows/deploy.yml.jinja +3 -3
- package/dist/templates/repo-operations/files/.github/workflows/on_commit.yml.jinja +2 -2
- package/dist/templates/repo-operations/files/.github/workflows/on_pr.yml.jinja +2 -2
- package/dist/templates/repo-operations/files/.github/workflows/plx-update.yml.jinja +2 -2
- package/dist/templates/repo-operations/files/.github/workflows/{% if ci_strategy == 'hybrid' or ci_registry == 'own' %}housekeeping.yml{% endif %}.jinja +2 -2
- package/dist/templates/repo-operations/files/PLEXUS.md.jinja +1 -1
- package/dist/templates/repo-operations/files/ansible-playbookw +1 -1
- package/dist/templates/repo-operations/files/inventory/group_vars/all.yml.jinja +1 -1
- package/dist/templates/repo-operations/files/inventory/group_vars/platform.yml.jinja +1 -1
- package/dist/templates/repo-operations/files/inventory/hosts.yml.jinja +1 -1
- package/dist/templates/repo-operations/files/mise.toml.jinja +3 -4
- package/dist/templates/repo-operations/files/platform.yml.jinja +1 -1
- package/dist/templates/repo-operations/files/requirements.yml +5 -5
- package/dist/templates/repo-operations/files/{% if ci_strategy != 'github' %}ci.yml{% endif %}.jinja +1 -1
- package/dist/templates/repo-operations/files/{% if infrastructure %}infrastructure.yml{% endif %}.jinja +1 -1
- package/dist/templates/repo-operations/template.yml +0 -2
- package/dist/templates/repo-turbo/files/.github/workflows/on_pr.yml.jinja +6 -6
- package/dist/templates/repo-turbo/files/.github/workflows/on_push.yml.jinja +7 -7
- package/dist/templates/repo-turbo/files/.github/workflows/plx-update.yml.jinja +2 -2
- package/dist/templates/repo-turbo/files/.github/workflows/{% if not publishes_packages %}on_commit.yml{% endif %}.jinja +2 -2
- package/dist/templates/repo-turbo/files/.github/workflows/{% if not publishes_packages and ci_registry == 'ghcr' %}housekeeping.yml{% endif %}.jinja +2 -2
- package/dist/templates/repo-turbo/files/PLEXUS.md.jinja +1 -1
- package/dist/templates/repo-turbo/files/mise.toml.jinja +2 -5
- package/dist/templates/repo-turbo/files/turbo.json.jinja +3 -15
- package/dist/templates/repo-turbo/template.yml +1 -3
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# syntax=docker/dockerfile:1
|
|
2
|
-
# Generated from plexus-ms/
|
|
2
|
+
# Generated from plexus-ms/tooling, templates/app-nextjs.
|
|
3
3
|
# The image build of a Next.js standalone app in the monorepo, from its root or a pruned context (PLX-App/Dockerfile).
|
|
4
4
|
FROM node:24-slim@sha256:c86ecead9e55a5210ac1727de38a4ca840bf03dcaf34dc9749addbf383b1920c AS builder
|
|
5
5
|
ARG APP
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated from plexus-ms/
|
|
1
|
+
# Generated from plexus-ms/tooling, templates/app-nextjs.
|
|
2
2
|
# The override of compose.yaml that `plx-ci test` reads beside it, never the deploy verb (§ 1 PLX-Delivery).
|
|
3
3
|
|
|
4
4
|
# Added to the environment the specs run in, on the runner beside the stack, to CI, PLEXUS_LOOPBACK_PORT and E2E_BASE_URL.
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
# Until the version that cuts over from copier is out, this template and
|
|
2
|
-
# template-app-nextjs are one: a change to either is made in both.
|
|
3
1
|
# files/.gitignore.jinja is a .gitignore: npm leaves a file of that name out of a package, so the
|
|
4
2
|
# template carries it with the suffix, which renders it to the same bytes.
|
|
5
3
|
name: app-nextjs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% raw %}name: deploy
|
|
2
2
|
|
|
3
|
-
# Generated from plexus-ms/
|
|
3
|
+
# Generated from plexus-ms/tooling, templates/repo-operations: edit the template, never this file.
|
|
4
4
|
# Mounts the deploy verb for the third-party apps under apps/ (PLX-App/SourceRepo, § 6 PLX-Delivery).
|
|
5
5
|
|
|
6
6
|
on:
|
|
@@ -14,7 +14,7 @@ permissions:
|
|
|
14
14
|
|
|
15
15
|
jobs:
|
|
16
16
|
deploy-targets:
|
|
17
|
-
uses: plexus-ms/tooling/.github/workflows/_deploy-targets.yml@0.
|
|
17
|
+
uses: plexus-ms/tooling/.github/workflows/_deploy-targets.yml@0.132.0
|
|
18
18
|
with:
|
|
19
19
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
20
20
|
|
|
@@ -26,7 +26,7 @@ jobs:
|
|
|
26
26
|
fail-fast: false
|
|
27
27
|
matrix:
|
|
28
28
|
include: ${{ fromJSON(needs.deploy-targets.outputs.matrix) }}
|
|
29
|
-
uses: plexus-ms/tooling/.github/workflows/_deploy.yml@0.
|
|
29
|
+
uses: plexus-ms/tooling/.github/workflows/_deploy.yml@0.132.0
|
|
30
30
|
with:
|
|
31
31
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
32
32
|
app: ${{ matrix.app }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% raw %}name: on_commit
|
|
2
2
|
|
|
3
|
-
# Generated from plexus-ms/
|
|
3
|
+
# Generated from plexus-ms/tooling, templates/repo-operations: edit the template, never this file.
|
|
4
4
|
# The check of a push to main, the trunk that takes an operator's direct pushes (§ 2 PLX-Delivery).
|
|
5
5
|
|
|
6
6
|
on:
|
|
@@ -17,7 +17,7 @@ concurrency:
|
|
|
17
17
|
|
|
18
18
|
jobs:
|
|
19
19
|
check:
|
|
20
|
-
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.
|
|
20
|
+
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.132.0
|
|
21
21
|
with:
|
|
22
22
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
23
23
|
size: small
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% raw %}name: on_pr
|
|
2
2
|
|
|
3
|
-
# Generated from plexus-ms/
|
|
3
|
+
# Generated from plexus-ms/tooling, templates/repo-operations: edit the template, never this file.
|
|
4
4
|
# The check of a pull request, as the merge result (§ 2 PLX-Delivery).
|
|
5
5
|
|
|
6
6
|
on:
|
|
@@ -16,7 +16,7 @@ concurrency:
|
|
|
16
16
|
|
|
17
17
|
jobs:
|
|
18
18
|
check:
|
|
19
|
-
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.
|
|
19
|
+
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.132.0
|
|
20
20
|
with:
|
|
21
21
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
22
22
|
size: small
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% raw %}name: plx-update
|
|
2
2
|
|
|
3
|
-
# Generated from plexus-ms/
|
|
3
|
+
# Generated from plexus-ms/tooling, templates/repo-operations: edit the template, never this file.
|
|
4
4
|
# Mounts the update verb, `plx update` (§ 3 PLX-Updates).
|
|
5
5
|
|
|
6
6
|
on:
|
|
@@ -18,7 +18,7 @@ permissions:
|
|
|
18
18
|
|
|
19
19
|
jobs:
|
|
20
20
|
update:
|
|
21
|
-
uses: plexus-ms/tooling/.github/workflows/_plx-update.yml@0.
|
|
21
|
+
uses: plexus-ms/tooling/.github/workflows/_plx-update.yml@0.132.0
|
|
22
22
|
with:
|
|
23
23
|
version: ${{ inputs.version || '' }}
|
|
24
24
|
now: ${{ github.event_name == 'workflow_dispatch' }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% raw %}name: housekeeping
|
|
2
2
|
|
|
3
|
-
# Generated from plexus-ms/
|
|
3
|
+
# Generated from plexus-ms/tooling, templates/repo-operations: edit the template, never this file.
|
|
4
4
|
# The daily housekeeping of the tenant's CI: its throwaway instances, its registry buckets (§ 8 PLX-Delivery).
|
|
5
5
|
|
|
6
6
|
on:
|
|
@@ -19,7 +19,7 @@ permissions:
|
|
|
19
19
|
|
|
20
20
|
jobs:
|
|
21
21
|
housekeeping:
|
|
22
|
-
uses: plexus-ms/tooling/.github/workflows/_housekeeping.yml@0.
|
|
22
|
+
uses: plexus-ms/tooling/.github/workflows/_housekeeping.yml@0.132.0
|
|
23
23
|
with:
|
|
24
24
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
25
25
|
registry: {% endraw %}{{ 'own' if ci_registry == 'own' else 'none' }}{% raw %}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
- The operations repo of `{{ tenant }}`: the playbooks that mount the `plexus.*` collections, one per layer, the inventory they run on, and the third-party apps under `apps/`, each with a marker of its own.
|
|
2
2
|
- `mise :platform` applies the platform layer{% if infrastructure %}, `mise :infrastructure` the infrastructure layer{% endif %}{% if ci_strategy != 'github' %}, `mise :ci` the runner host{% endif %}; `mise :verify` checks the repo.
|
|
3
|
-
- The Plexus version the repo is on is its `plx` pin in `mise.toml
|
|
3
|
+
- The Plexus version the repo is on is the `version` of this marker, and its `plx` pin in `mise.toml` follows it, the collections in `requirements.yml` pinned to the same.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
|
-
# Generated from plexus-ms/
|
|
2
|
+
# Generated from plexus-ms/tooling, templates/repo-operations.
|
|
3
3
|
# Runs a playbook with the op:// pointers of secrets.env resolved (§ 1 PLX-Secrets): ./ansible-playbookw <playbook> [args...]
|
|
4
4
|
|
|
5
5
|
playbook="${1:?Usage: $0 <playbook> [extra args...]}"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated from plexus-ms/
|
|
1
|
+
# Generated from plexus-ms/tooling, templates/repo-operations.
|
|
2
2
|
# The verbs of the operations repo (PLX-Tenancy/OperationsRepo): one per layer's playbook, and the contract verbs.
|
|
3
3
|
|
|
4
4
|
# `mise :verb` needs the root marker, though the repo has no sub-projects (§ 2 PLX-Repo).
|
|
@@ -13,12 +13,11 @@ hk = "latest"
|
|
|
13
13
|
python = "3.14"
|
|
14
14
|
uv = "latest"
|
|
15
15
|
ansible = { version = "latest", uvx = true }
|
|
16
|
-
copier = { version = "latest", uvx = true }
|
|
17
16
|
# The plx pins are written with each Plexus version, never by the update bot (§ 1 PLX-Updates);
|
|
18
17
|
# allow_low_downloads only waives npm's young-package heuristics.
|
|
19
|
-
"npm:@plexus-ms/cli" = { version = "0.
|
|
18
|
+
"npm:@plexus-ms/cli" = { version = "0.132.0", allow_low_downloads = true }
|
|
20
19
|
{%- if ci_strategy == 'hybrid' or ci_registry == 'own' %}
|
|
21
|
-
"npm:@plexus-ms/cli-ci" = { version = "0.
|
|
20
|
+
"npm:@plexus-ms/cli-ci" = { version = "0.132.0", allow_low_downloads = true }
|
|
22
21
|
{%- endif %}
|
|
23
22
|
|
|
24
23
|
[hooks]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
# Generated from plexus-ms/
|
|
2
|
+
# Generated from plexus-ms/tooling, templates/repo-operations.
|
|
3
3
|
# Mounts plexus.platform.playbook for the app hosts of the group `platform` (§ 1 PLX-Platform): `mise platform`.
|
|
4
4
|
- import_playbook: plexus.platform.playbook
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# Generated from plexus-ms/
|
|
1
|
+
# Generated from plexus-ms/tooling, templates/repo-operations.
|
|
2
2
|
# The plexus.* collections at the Plexus version (§ 1.5 PLX), moved only by the pull request that takes a version.
|
|
3
3
|
collections:
|
|
4
4
|
- name: https://github.com/plexus-ms/tooling.git#/ansible/host/
|
|
5
5
|
type: git
|
|
6
|
-
version: 0.
|
|
6
|
+
version: 0.132.0
|
|
7
7
|
- name: https://github.com/plexus-ms/tooling.git#/ansible/platform/
|
|
8
8
|
type: git
|
|
9
|
-
version: 0.
|
|
9
|
+
version: 0.132.0
|
|
10
10
|
- name: https://github.com/plexus-ms/tooling.git#/ansible/infrastructure/
|
|
11
11
|
type: git
|
|
12
|
-
version: 0.
|
|
12
|
+
version: 0.132.0
|
|
13
13
|
- name: https://github.com/plexus-ms/tooling.git#/ansible/ci/
|
|
14
14
|
type: git
|
|
15
|
-
version: 0.
|
|
15
|
+
version: 0.132.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
# Generated from plexus-ms/
|
|
2
|
+
# Generated from plexus-ms/tooling, templates/repo-operations.
|
|
3
3
|
# Mounts plexus.infrastructure.playbook for the hypervisor and its guests (§ 1 PLX-Infrastructure): `mise infrastructure`.
|
|
4
4
|
- import_playbook: plexus.infrastructure.playbook
|
|
5
5
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
# Until the version that cuts over from copier is out, this template and
|
|
2
|
-
# template-repo-operations are one: a change to either is made in both.
|
|
3
1
|
# files/.gitignore.jinja is a .gitignore: npm leaves a file of that name out of a package, so the
|
|
4
2
|
# template carries it with the suffix, which renders it to the same bytes.
|
|
5
3
|
name: repo-operations
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% if publishes_packages %}{% raw %}name: on_pr
|
|
2
2
|
|
|
3
|
-
# Generated from plexus-ms/
|
|
3
|
+
# Generated from plexus-ms/tooling, templates/repo-turbo: edit the template, never this file.
|
|
4
4
|
# A package repo's pull-request mount, check and the changeset guard (§ 5 PLX-Delivery).
|
|
5
5
|
|
|
6
6
|
on:
|
|
@@ -16,7 +16,7 @@ concurrency:
|
|
|
16
16
|
|
|
17
17
|
jobs:
|
|
18
18
|
check:
|
|
19
|
-
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.
|
|
19
|
+
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.132.0
|
|
20
20
|
with:
|
|
21
21
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
22
22
|
tasks: verify{% endraw %}{% if private_packages_scope %}
|
|
@@ -43,7 +43,7 @@ jobs:
|
|
|
43
43
|
|
|
44
44
|
changeset:
|
|
45
45
|
if: ${{ startsWith(github.head_ref, 'renovate/') }}
|
|
46
|
-
uses: plexus-ms/tooling/.github/workflows/_changeset.yml@0.
|
|
46
|
+
uses: plexus-ms/tooling/.github/workflows/_changeset.yml@0.132.0
|
|
47
47
|
with:
|
|
48
48
|
gh-client-id: ${{ vars.GH_CLIENT_ID }}
|
|
49
49
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
@@ -52,7 +52,7 @@ jobs:
|
|
|
52
52
|
op-service-account-token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
|
|
53
53
|
{% endraw %}{% else %}{% raw %}name: on_pr
|
|
54
54
|
|
|
55
|
-
# Generated from plexus-ms/
|
|
55
|
+
# Generated from plexus-ms/tooling, templates/repo-turbo: edit the template, never this file.
|
|
56
56
|
# An app repo's pull-request mount, check then verify (§ 2 PLX-Delivery).
|
|
57
57
|
|
|
58
58
|
on:
|
|
@@ -70,7 +70,7 @@ concurrency:
|
|
|
70
70
|
|
|
71
71
|
jobs:
|
|
72
72
|
check:
|
|
73
|
-
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.
|
|
73
|
+
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.132.0
|
|
74
74
|
with:
|
|
75
75
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
76
76
|
turbo-cache: {% endraw %}{{ 'true' if ci_registry == 'own' else 'false' }}{% if private_packages_scope %}
|
|
@@ -80,7 +80,7 @@ jobs:
|
|
|
80
80
|
|
|
81
81
|
verify:
|
|
82
82
|
needs: check
|
|
83
|
-
uses: plexus-ms/tooling/.github/workflows/_verify.yml@0.
|
|
83
|
+
uses: plexus-ms/tooling/.github/workflows/_verify.yml@0.132.0
|
|
84
84
|
with:
|
|
85
85
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
86
86
|
registry: {% endraw %}{{ ci_registry }}{% raw %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% if publishes_packages %}{% raw %}name: on_push
|
|
2
2
|
|
|
3
|
-
# Generated from plexus-ms/
|
|
3
|
+
# Generated from plexus-ms/tooling, templates/repo-turbo: edit the template, never this file.
|
|
4
4
|
# A package repo's trunk mount, check then publish; started by hand on a branch, snapshot versions of it (§ 5 PLX-Delivery).
|
|
5
5
|
|
|
6
6
|
on:
|
|
@@ -27,7 +27,7 @@ permissions:
|
|
|
27
27
|
|
|
28
28
|
jobs:
|
|
29
29
|
check:
|
|
30
|
-
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.
|
|
30
|
+
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.132.0
|
|
31
31
|
with:
|
|
32
32
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
33
33
|
tasks: verify{% endraw %}{% if private_packages_scope %}
|
|
@@ -35,14 +35,14 @@ jobs:
|
|
|
35
35
|
|
|
36
36
|
publish:
|
|
37
37
|
needs: check
|
|
38
|
-
uses: plexus-ms/tooling/.github/workflows/_publish-package.yml@0.
|
|
38
|
+
uses: plexus-ms/tooling/.github/workflows/_publish-package.yml@0.132.0
|
|
39
39
|
with:
|
|
40
40
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
41
41
|
registry: {% endraw %}{{ package_registry }}{% raw %}
|
|
42
42
|
snapshot: ${{ inputs.snapshot }}
|
|
43
43
|
{% endraw %}{% else %}{% raw %}name: on_push
|
|
44
44
|
|
|
45
|
-
# Generated from plexus-ms/
|
|
45
|
+
# Generated from plexus-ms/tooling, templates/repo-turbo: edit the template, never this file.
|
|
46
46
|
# An app repo's environment-branch mount, check, verify, release (§§ 2 and 3 PLX-Delivery).
|
|
47
47
|
|
|
48
48
|
on:
|
|
@@ -61,7 +61,7 @@ jobs:
|
|
|
61
61
|
concurrency:
|
|
62
62
|
group: on_push-verify-${{ github.ref }}
|
|
63
63
|
cancel-in-progress: true
|
|
64
|
-
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.
|
|
64
|
+
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.132.0
|
|
65
65
|
with:
|
|
66
66
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
67
67
|
turbo-cache: {% endraw %}{{ 'true' if ci_registry == 'own' else 'false' }}{% if private_packages_scope %}
|
|
@@ -74,7 +74,7 @@ jobs:
|
|
|
74
74
|
concurrency:
|
|
75
75
|
group: on_push-verify-${{ github.ref }}
|
|
76
76
|
cancel-in-progress: true
|
|
77
|
-
uses: plexus-ms/tooling/.github/workflows/_verify.yml@0.
|
|
77
|
+
uses: plexus-ms/tooling/.github/workflows/_verify.yml@0.132.0
|
|
78
78
|
with:
|
|
79
79
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
80
80
|
registry: {% endraw %}{{ ci_registry }}{% raw %}
|
|
@@ -95,7 +95,7 @@ jobs:
|
|
|
95
95
|
contents: write
|
|
96
96
|
packages: write
|
|
97
97
|
actions: read{% endraw %}{% endif %}{% raw %}
|
|
98
|
-
uses: plexus-ms/tooling/.github/workflows/_release.yml@0.
|
|
98
|
+
uses: plexus-ms/tooling/.github/workflows/_release.yml@0.132.0
|
|
99
99
|
with:
|
|
100
100
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
101
101
|
registry: {% endraw %}{{ ci_registry }}{% raw %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% raw %}name: plx-update
|
|
2
2
|
|
|
3
|
-
# Generated from plexus-ms/
|
|
3
|
+
# Generated from plexus-ms/tooling, templates/repo-turbo: edit the template, never this file.
|
|
4
4
|
# Mounts the update verb, `plx update` (§ 3 PLX-Updates).
|
|
5
5
|
|
|
6
6
|
on:
|
|
@@ -18,7 +18,7 @@ permissions:
|
|
|
18
18
|
|
|
19
19
|
jobs:
|
|
20
20
|
update:
|
|
21
|
-
uses: plexus-ms/tooling/.github/workflows/_plx-update.yml@0.
|
|
21
|
+
uses: plexus-ms/tooling/.github/workflows/_plx-update.yml@0.132.0
|
|
22
22
|
with:
|
|
23
23
|
version: ${{ inputs.version || '' }}
|
|
24
24
|
now: ${{ github.event_name == 'workflow_dispatch' }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% raw %}name: on_commit
|
|
2
2
|
|
|
3
|
-
# Generated from plexus-ms/
|
|
3
|
+
# Generated from plexus-ms/tooling, templates/repo-turbo: edit the template, never this file.
|
|
4
4
|
# An app repo's mount for a push to any other branch, check alone (§ 2 PLX-Delivery).
|
|
5
5
|
|
|
6
6
|
on:
|
|
@@ -18,7 +18,7 @@ concurrency:
|
|
|
18
18
|
|
|
19
19
|
jobs:
|
|
20
20
|
check:
|
|
21
|
-
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.
|
|
21
|
+
uses: plexus-ms/tooling/.github/workflows/_check.yml@0.132.0
|
|
22
22
|
with:
|
|
23
23
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
24
24
|
turbo-cache: {% endraw %}{{ 'true' if ci_registry == 'own' else 'false' }}{% if private_packages_scope %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% raw %}name: housekeeping
|
|
2
2
|
|
|
3
|
-
# Generated from plexus-ms/
|
|
3
|
+
# Generated from plexus-ms/tooling, templates/repo-turbo: edit the template, never this file.
|
|
4
4
|
# The retention of the candidates this repo leaves in the forge's registry (§ 8 PLX-Delivery).
|
|
5
5
|
|
|
6
6
|
on:
|
|
@@ -20,7 +20,7 @@ permissions:
|
|
|
20
20
|
|
|
21
21
|
jobs:
|
|
22
22
|
housekeeping:
|
|
23
|
-
uses: plexus-ms/tooling/.github/workflows/_housekeeping.yml@0.
|
|
23
|
+
uses: plexus-ms/tooling/.github/workflows/_housekeeping.yml@0.132.0
|
|
24
24
|
with:
|
|
25
25
|
strategy: ${{ vars.CI_STRATEGY || '{% endraw %}{{ ci_strategy }}{% raw %}' }}
|
|
26
26
|
registry: ghcr
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
- Display versions (PLX-Releases): a production release that changes an app cuts the version tag `<major>.<minor>` with a GitHub Release, and the apps show their display version.
|
|
9
9
|
`major` above is the major the next version takes; raise it in the pull request that warrants it, and the minor counts up by itself.
|
|
10
10
|
{% endif -%}
|
|
11
|
-
- The Plexus version the repo is on is its `plx` pin in `mise.toml
|
|
11
|
+
- The Plexus version the repo is on is the `version` of this marker, and its `plx` pin in `mise.toml` follows it; `plx update` takes in the template's changes.
|
|
@@ -35,14 +35,11 @@ config_roots = [{% if not publishes_packages %}"apps/*", {% endif %}"packages/*"
|
|
|
35
35
|
[tools]
|
|
36
36
|
node = "24"
|
|
37
37
|
hk = "latest"
|
|
38
|
-
python = "3.14"
|
|
39
|
-
uv = "latest"
|
|
40
|
-
copier = { version = "latest", uvx = true }
|
|
41
38
|
# The plx pins are written with each Plexus version, never by the update bot (§ 1 PLX-Updates);
|
|
42
39
|
# allow_low_downloads only waives npm's young-package heuristics.
|
|
43
|
-
"npm:@plexus-ms/cli" = { version = "0.
|
|
40
|
+
"npm:@plexus-ms/cli" = { version = "0.132.0", allow_low_downloads = true }
|
|
44
41
|
{%- if not publishes_packages %}
|
|
45
|
-
"npm:@plexus-ms/cli-ci" = { version = "0.
|
|
42
|
+
"npm:@plexus-ms/cli-ci" = { version = "0.132.0", allow_low_downloads = true }
|
|
46
43
|
{%- endif %}
|
|
47
44
|
|
|
48
45
|
[settings]
|
|
@@ -3,28 +3,16 @@
|
|
|
3
3
|
"tasks": {
|
|
4
4
|
"build": {
|
|
5
5
|
"dependsOn": ["^build"],
|
|
6
|
-
"inputs": [
|
|
7
|
-
"$TURBO_DEFAULT$",
|
|
8
|
-
"!**/{README,AGENTS,PLEXUS}.md",
|
|
9
|
-
"!.copier-answers.yml",
|
|
10
|
-
"!docs/**",
|
|
11
|
-
"!docker/compose*.yaml"
|
|
12
|
-
],
|
|
6
|
+
"inputs": ["$TURBO_DEFAULT$", "!**/{README,AGENTS,PLEXUS}.md", "!docs/**", "!docker/compose*.yaml"],
|
|
13
7
|
"outputs": [{% if not publishes_packages %}".next/**", "!.next/cache/**", {% endif %}"dist/**"]
|
|
14
8
|
},
|
|
15
9
|
"check": {
|
|
16
10
|
"dependsOn": ["^build"],
|
|
17
|
-
"inputs": [
|
|
18
|
-
"$TURBO_DEFAULT$",
|
|
19
|
-
"!**/{README,AGENTS,PLEXUS}.md",
|
|
20
|
-
"!.copier-answers.yml",
|
|
21
|
-
"!docs/**",
|
|
22
|
-
"!docker/compose*.yaml"
|
|
23
|
-
]
|
|
11
|
+
"inputs": ["$TURBO_DEFAULT$", "!**/{README,AGENTS,PLEXUS}.md", "!docs/**", "!docker/compose*.yaml"]
|
|
24
12
|
},
|
|
25
13
|
"test": {
|
|
26
14
|
"dependsOn": ["build"],
|
|
27
|
-
"inputs": ["$TURBO_DEFAULT$", "!**/{README,AGENTS,PLEXUS}.md", "
|
|
15
|
+
"inputs": ["$TURBO_DEFAULT$", "!**/{README,AGENTS,PLEXUS}.md", "!docs/**"],
|
|
28
16
|
"passThroughEnv": ["CI", "DATABASE_URL", "E2E_*", "PLAYWRIGHT_*", "PW_TEST_*"]
|
|
29
17
|
},
|
|
30
18
|
"dev": {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
# Until the version that cuts over from copier is out, this template and
|
|
2
|
-
# template-repo-turbo are one: a change to either is made in both.
|
|
3
1
|
name: repo-turbo
|
|
4
2
|
|
|
5
3
|
questions:
|
|
@@ -25,7 +23,7 @@ questions:
|
|
|
25
23
|
type: str
|
|
26
24
|
help: "The npm scope of the tenant's private packages this repo installs from the forge's package registry (§ 5 PLX-Delivery), as in @acme-corp; empty when it installs none"
|
|
27
25
|
default: ""
|
|
28
|
-
#
|
|
26
|
+
# The pattern ^@[a-z0-9][a-z0-9._-]*$ as string tests: the engine has no regex.
|
|
29
27
|
validator: >-
|
|
30
28
|
{% if private_packages_scope %}{% set bad %}{% for c in private_packages_scope[1:] %}{% if c not in
|
|
31
29
|
'abcdefghijklmnopqrstuvwxyz0123456789._-' %}x{% endif %}{% endfor %}{% endset %}{% if not
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plexus-ms/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.132.0",
|
|
4
4
|
"description": "plx, the Plexus command-line tool: a single-script adapter over @plexus-ms/lib",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"type": "module",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@inquirer/prompts": "^8.8.0",
|
|
27
|
-
"@plexus-ms/cli-template": "0.
|
|
28
|
-
"@plexus-ms/lib": "0.
|
|
27
|
+
"@plexus-ms/cli-template": "0.132.0",
|
|
28
|
+
"@plexus-ms/lib": "0.132.0",
|
|
29
29
|
"commander": "^15.1.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|