@ingestron/core 0.12.5 → 0.12.6

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.
@@ -21,7 +21,7 @@
21
21
  "dist/core/installed-plugins.js": "817ed411aef6f5b966a1828893081406805d2c8764d2ca20fd7e250e8a2168a8",
22
22
  "dist/core/model-pack-schema.js": "e3eb7ff33ddc652643e3f896637de0034004cd0cf26b0e296a074f830ae0b870",
23
23
  "dist/core/model-packs.js": "fee776ea0804dc66c9f140e57d94a3922d69c52d03c72079842ec43417616b0d",
24
- "dist/core/operations.js": "c3d295df7450c6f0f730bf3ab05c223361fb4015f2e4cbffac7c09a16ef0f903",
24
+ "dist/core/operations.js": "8a002a9fdffc283964c0af7beac0b44bbdc27cf0b1855716e42d16e43b870c0c",
25
25
  "dist/core/package-references.js": "bd3085eb6dcdac399d79af109d0a9e710a0532eba61e5298dc842aec9c7ef10a",
26
26
  "dist/core/packages.js": "c6bcbc90aa3597fcd4205b27136221229d9efedc9bfa68a83a134cb5e8f51d2b",
27
27
  "dist/core/planner.js": "974c6bac5c533a32a7c45f797ef4d857c644448aa243a929caca5917fb9f3fb8",
@@ -61,7 +61,7 @@
61
61
  "src/core/installed-plugins.ts": "951d15cdd8ca4a2c7d97fb01a46838822fe1b2fcf083ff8cf4bdca20d0997a2d",
62
62
  "src/core/model-pack-schema.ts": "bc9b30ab257fd25766cba63aa2fb6891c05e4b3eccf56d820caaab2dcc4147b4",
63
63
  "src/core/model-packs.ts": "a110d319f6feeff22a2d0d3a99ce5e49e56817d0cc27ab77d831d04a945ddfd3",
64
- "src/core/operations.ts": "bdb6b3dfaa5acd8367853dbe2d08013f5d68f6443afaacbaec8973f3d96424f0",
64
+ "src/core/operations.ts": "933e611f83fbf740cf6e8693e2bd220504febb01deaf6575624c3a1d98eedfde",
65
65
  "src/core/package-references.ts": "5c5cee7e140158928e2e5a37f426520c7c2f042546a37eed4507d79326181f5a",
66
66
  "src/core/packages.ts": "8a9b6612325de68ab2610f540bd39e4f899b06d1cc1fbd54ecfd2abb8b4e9c40",
67
67
  "src/core/planner.ts": "2c6f0d53e21cbb60fc2433e7da1245707133336274c60b9a5678614dabf09bca",
@@ -613,8 +613,11 @@ export function execute(context, operation, request = {}) {
613
613
  if (connected.length) {
614
614
  check(!args.table && !args.step, "CONNECTION", "Validate connector flows as a whole");
615
615
  const checks = connected.map((f) => prepareConnection(root, environment, f.id, true));
616
- for (const flow of selected.filter((f) => !f.ingestion?.connection))
617
- planProject(root, environment, { ...args, flow: flow.id });
616
+ // Validate native flows as one complete target. Selecting each flow
617
+ // separately makes providers that own shared resources reject an
618
+ // otherwise valid full project as an unsafe partial deployment.
619
+ if (selected.some((f) => !f.ingestion?.connection))
620
+ planProject(root, environment, { nativeOnly: true });
618
621
  result = {
619
622
  mode: "strict",
620
623
  evidence: "offline",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ingestron/core",
3
- "version": "0.12.5",
3
+ "version": "0.12.6",
4
4
  "type": "module",
5
5
  "description": "Shared Ingestron project compiler, operations and editor schemas",
6
6
  "license": "Apache-2.0",
@@ -45,16 +45,6 @@
45
45
  "type": "git",
46
46
  "url": "git+https://github.com/ingestron/core.git"
47
47
  },
48
- "devDependencies": {
49
- "@types/node": "22.20.1",
50
- "prettier": "3.9.8",
51
- "tsx": "4.23.13",
52
- "typescript": "7.0.2"
53
- },
54
- "homepage": "https://ingestron.io",
55
- "bugs": {
56
- "url": "https://github.com/ingestron/core/issues"
57
- },
58
48
  "scripts": {
59
49
  "build": "node scripts/build-assets.mjs && tsc && node scripts/compiler-fingerprint.mjs",
60
50
  "test": "tsx --test --test-concurrency=1 test/unit/*.test.ts test/providers/*.test.ts test/integration/*.test.ts",
@@ -64,6 +54,19 @@
64
54
  "release:check": "node scripts/release-check.mjs",
65
55
  "package:check": "tsx scripts/package-check.ts",
66
56
  "validate": "pnpm format:check && pnpm build && pnpm test && pnpm secrets:check && pnpm release:check && pnpm package:check",
57
+ "prepack": "npm run build",
58
+ "prepublishOnly": "node scripts/release-check.mjs --publish",
67
59
  "licences:inventory": "node scripts/licence-inventory.mjs"
60
+ },
61
+ "packageManager": "pnpm@10.15.0",
62
+ "devDependencies": {
63
+ "@types/node": "22.20.1",
64
+ "prettier": "3.9.8",
65
+ "tsx": "4.23.13",
66
+ "typescript": "7.0.2"
67
+ },
68
+ "homepage": "https://ingestron.io",
69
+ "bugs": {
70
+ "url": "https://github.com/ingestron/core/issues"
68
71
  }
69
- }
72
+ }