@runeditrun/rer 0.2.110 → 0.2.111
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 +24 -0
- package/cli/agent-door.mjs +12 -45
- package/cli/agent-history-database.mjs +13 -6
- package/cli/bounded.mjs +3 -3
- package/cli/contract.mjs +5 -1
- package/cli/deploy-command.mjs +2 -2
- package/cli/hosted-output.mjs +30 -10
- package/cli/hosted-owner.mjs +85 -0
- package/cli/inspect.mjs +6 -2
- package/cli/lifecycle.mjs +3 -1
- package/cli/main.mjs +13 -0
- package/cli/parse.mjs +4 -4
- package/cli/size/build-facts.mjs +58 -0
- package/cli/size/build-paths.mjs +3 -0
- package/cli/size/check.mjs +16 -0
- package/cli/size/clauses.mjs +21 -0
- package/cli/size/clock.mjs +21 -0
- package/cli/size/command.mjs +64 -0
- package/cli/size/declaration.mjs +87 -0
- package/cli/size/dml-parts.mjs +108 -0
- package/cli/size/examples/happytohelp.json +68 -0
- package/cli/size/expression-depth.mjs +45 -0
- package/cli/size/expression.mjs +33 -0
- package/cli/size/fixture.mjs +139 -0
- package/cli/size/flows.mjs +81 -0
- package/cli/size/from-items.mjs +124 -0
- package/cli/size/grow.mjs +83 -0
- package/cli/size/install.mjs +136 -0
- package/cli/size/json-duplicates.mjs +45 -0
- package/cli/size/limits.mjs +9 -0
- package/cli/size/measure.mjs +9 -0
- package/cli/size/meter.mjs +167 -0
- package/cli/size/personas.mjs +138 -0
- package/cli/size/report.mjs +23 -0
- package/cli/size/schema-objects.mjs +80 -0
- package/cli/size/schema.mjs +56 -0
- package/cli/size/statements.mjs +53 -0
- package/cli/size/validate-flows.mjs +109 -0
- package/cli/size/validate-kit.mjs +44 -0
- package/cli/size/validate-shape.mjs +75 -0
- package/cli/size/verdict.mjs +131 -0
- package/cli/size/verify-step.mjs +35 -0
- package/global/CHANGELOG.md +31 -0
- package/global/README.md +24 -0
- package/modules/agent-door/conformance/audit.mjs +3 -0
- package/modules/d1-transport/limits.mjs +5 -1
- package/modules/deploy-kit/sql-tokens.mjs +5 -4
- package/modules/operator-auth/accounts/one-click.mjs +2 -0
- package/modules/operator-auth/dev/index.mjs +7 -1
- package/modules/operator-auth/dev/invited.mjs +11 -0
- package/modules/operator-auth/dev-gate.mjs +3 -2
- package/modules/operator-auth/routes.mjs +4 -0
- package/modules/release/README.md +8 -0
- package/modules/release/archive-guard.mjs +22 -0
- package/modules/release/archive-members.mjs +49 -0
- package/modules/release/export.mjs +7 -1
- package/package.json +2 -1
|
@@ -3,6 +3,7 @@ import { resolve, dirname } from 'node:path';
|
|
|
3
3
|
import { execFileSync } from 'node:child_process';
|
|
4
4
|
import { git } from './source.mjs';
|
|
5
5
|
import { sha256 } from './catalogue.mjs';
|
|
6
|
+
import { assertArchiveTracked } from './archive-guard.mjs';
|
|
6
7
|
|
|
7
8
|
// Read the checked Git blobs directly. export-ignore/export-subst attributes
|
|
8
9
|
// cannot silently remove or change bytes after publication inspection.
|
|
@@ -46,6 +47,11 @@ export function cleanHistory(source, temporary, tagged = false) {
|
|
|
46
47
|
export function publicExport(source, temporary, output) {
|
|
47
48
|
const tree = sourceTree(source, resolve(temporary, 'public-source'));
|
|
48
49
|
const archive = resolve(output, 'public-source.tar');
|
|
49
|
-
|
|
50
|
+
// macOS tar turns extended attributes into `._*` members and pax headers.
|
|
51
|
+
// COPYFILE_DISABLE is ignored elsewhere; the flag is added only on macOS so
|
|
52
|
+
// other hosts run the exact command they always did.
|
|
53
|
+
const flags = process.platform === 'darwin' ? ['--no-xattrs'] : [];
|
|
54
|
+
execFileSync('tar', ['-cf', archive, ...flags, '-C', tree, '.'], { stdio: ['ignore', 'pipe', 'pipe'], env: { ...process.env, COPYFILE_DISABLE: '1' } });
|
|
55
|
+
assertArchiveTracked(archive, source.entries.keys());
|
|
50
56
|
return { path: 'public-source.tar', sha256: sha256(readFileSync(archive)), format: 'tar', revision: source.commit };
|
|
51
57
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runeditrun/rer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.111",
|
|
4
4
|
"description": "The rer command: install, set up, run and launch Run Edit Run checkouts.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"./jsonc": "./cli/jsonc.mjs",
|
|
25
25
|
"./parse": "./cli/parse.mjs",
|
|
26
26
|
"./scheduled": "./cli/scheduled.mjs",
|
|
27
|
+
"./size-fixture": "./cli/size/fixture.mjs",
|
|
27
28
|
"./dev-identity": "./cli/dev-identity.mjs",
|
|
28
29
|
"./local-installer": "./onboarding/adapter.mjs",
|
|
29
30
|
"./state": "./onboarding/state.mjs",
|