@pgpmjs/slice 0.13.7 → 0.13.9
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/esm/index.js +5 -5
- package/esm/partition.js +1 -1
- package/esm/slice.js +1 -1
- package/index.d.ts +5 -5
- package/index.js +5 -5
- package/package.json +5 -5
- package/partition.js +1 -1
- package/slice.d.ts +2 -2
- package/slice.js +1 -1
- package/types.d.ts +1 -1
package/esm/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './types';
|
|
2
|
-
export * from './slice';
|
|
3
|
-
export * from './output';
|
|
4
|
-
export * from './refs';
|
|
5
1
|
export * from './closure';
|
|
6
|
-
export * from './partition';
|
|
7
2
|
export * from './exclude';
|
|
8
3
|
export * from './object-graph';
|
|
4
|
+
export * from './output';
|
|
5
|
+
export * from './partition';
|
|
6
|
+
export * from './refs';
|
|
7
|
+
export * from './slice';
|
|
8
|
+
export * from './types';
|
package/esm/partition.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { parsePlanFile } from '@pgpmjs/ast/files/plan/parser';
|
|
1
2
|
import { existsSync, readFileSync } from 'fs';
|
|
2
3
|
import { join } from 'path';
|
|
3
|
-
import { parsePlanFile } from '@pgpmjs/ast/files/plan/parser';
|
|
4
4
|
import { buildAstEdges } from './closure';
|
|
5
5
|
import { objectKey } from './object-graph';
|
|
6
6
|
import { extractSqlFacts } from './refs';
|
package/esm/slice.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { parsePlanFile } from '@pgpmjs/ast/files/plan/parser';
|
|
2
2
|
import { generateChangeLineContent, generateTagLineContent } from '@pgpmjs/ast/files/plan/writer';
|
|
3
|
-
import { buildAstEdges, expandClosures } from './closure';
|
|
4
3
|
import { minimatch } from 'minimatch';
|
|
4
|
+
import { buildAstEdges, expandClosures } from './closure';
|
|
5
5
|
/**
|
|
6
6
|
* Build a dependency graph from a parsed plan file
|
|
7
7
|
*/
|
package/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './types';
|
|
2
|
-
export * from './slice';
|
|
3
|
-
export * from './output';
|
|
4
|
-
export * from './refs';
|
|
5
1
|
export * from './closure';
|
|
6
|
-
export * from './partition';
|
|
7
2
|
export * from './exclude';
|
|
8
3
|
export * from './object-graph';
|
|
4
|
+
export * from './output';
|
|
5
|
+
export * from './partition';
|
|
6
|
+
export * from './refs';
|
|
7
|
+
export * from './slice';
|
|
8
|
+
export * from './types';
|
package/index.js
CHANGED
|
@@ -14,11 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./slice"), exports);
|
|
19
|
-
__exportStar(require("./output"), exports);
|
|
20
|
-
__exportStar(require("./refs"), exports);
|
|
21
17
|
__exportStar(require("./closure"), exports);
|
|
22
|
-
__exportStar(require("./partition"), exports);
|
|
23
18
|
__exportStar(require("./exclude"), exports);
|
|
24
19
|
__exportStar(require("./object-graph"), exports);
|
|
20
|
+
__exportStar(require("./output"), exports);
|
|
21
|
+
__exportStar(require("./partition"), exports);
|
|
22
|
+
__exportStar(require("./refs"), exports);
|
|
23
|
+
__exportStar(require("./slice"), exports);
|
|
24
|
+
__exportStar(require("./types"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpmjs/slice",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.9",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PGPM plan slicing — split a monolithic pgpm plan into packages with pattern strategies and opt-in AST-based dependency closure",
|
|
6
6
|
"main": "index.js",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"makage": "^0.3.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@pgpmjs/ast": "^0.10.
|
|
46
|
-
"@pgpmjs/transform": "^0.
|
|
45
|
+
"@pgpmjs/ast": "^0.10.3",
|
|
46
|
+
"@pgpmjs/transform": "^0.20.0",
|
|
47
47
|
"minimatch": "^10.2.5",
|
|
48
|
-
"plpgsql-parser": "^18.
|
|
48
|
+
"plpgsql-parser": "^18.5.1"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "e6a7a57f88c9deb2a4acecaba2451320d1be8203"
|
|
51
51
|
}
|
package/partition.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.partitionChanges = partitionChanges;
|
|
4
4
|
exports.partitionModule = partitionModule;
|
|
5
|
+
const parser_1 = require("@pgpmjs/ast/files/plan/parser");
|
|
5
6
|
const fs_1 = require("fs");
|
|
6
7
|
const path_1 = require("path");
|
|
7
|
-
const parser_1 = require("@pgpmjs/ast/files/plan/parser");
|
|
8
8
|
const closure_1 = require("./closure");
|
|
9
9
|
const object_graph_1 = require("./object-graph");
|
|
10
10
|
const refs_1 = require("./refs");
|
package/slice.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Change,
|
|
2
|
-
import {
|
|
1
|
+
import { Change, ExtendedPlanFile, Tag } from '@pgpmjs/ast/files/types';
|
|
2
|
+
import { CrossPackageDepMode, DependencyGraph, GroupingStrategy, PackageOutput, PatternStrategy, SliceConfig, SliceResult } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Build a dependency graph from a parsed plan file
|
|
5
5
|
*/
|
package/slice.js
CHANGED
|
@@ -16,8 +16,8 @@ exports.generateSinglePackage = generateSinglePackage;
|
|
|
16
16
|
exports.slicePlan = slicePlan;
|
|
17
17
|
const parser_1 = require("@pgpmjs/ast/files/plan/parser");
|
|
18
18
|
const writer_1 = require("@pgpmjs/ast/files/plan/writer");
|
|
19
|
-
const closure_1 = require("./closure");
|
|
20
19
|
const minimatch_1 = require("minimatch");
|
|
20
|
+
const closure_1 = require("./closure");
|
|
21
21
|
/**
|
|
22
22
|
* Build a dependency graph from a parsed plan file
|
|
23
23
|
*/
|
package/types.d.ts
CHANGED