@aurum-grid/migrate 0.0.0-stage → 0.2.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/LICENSE.md +24 -0
- package/README.md +6 -2
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +46 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +63 -0
- package/dist/index.js.map +1 -0
- package/package.json +31 -3
package/LICENSE.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Aurum Grid Commercial License (draft template)
|
|
2
|
+
|
|
3
|
+
> This is a starting-point template, not legal advice. Have a lawyer review it before you sell licences.
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2026 the Aurum Grid authors. All rights reserved.
|
|
6
|
+
|
|
7
|
+
## 1. Evaluation
|
|
8
|
+
You may install and use Aurum Grid ("the Software") free of charge for **30 days** to evaluate it. During and after
|
|
9
|
+
evaluation the Software runs unmodified; after 30 days without a valid licence key it displays an
|
|
10
|
+
"unlicensed" watermark and console notice.
|
|
11
|
+
|
|
12
|
+
## 2. Annual developer licence
|
|
13
|
+
A licence costs **USD 50 per developer per year**. Each licensed developer may use the Software to build an
|
|
14
|
+
unlimited number of applications and deploy them to an unlimited number of end users. The licence key must be
|
|
15
|
+
renewed every year to keep receiving updates and to keep the watermark removed in newly built versions.
|
|
16
|
+
|
|
17
|
+
## 3. Restrictions
|
|
18
|
+
You may not: (a) redistribute the Software as a standalone component library or competing product;
|
|
19
|
+
(b) remove, alter or circumvent the licence checks or watermark; (c) share licence keys between developers
|
|
20
|
+
beyond the purchased seat count.
|
|
21
|
+
|
|
22
|
+
## 4. No warranty
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
|
|
24
|
+
ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM THE USE OF THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @aurum-grid/migrate
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Aurum Grid migration codemods for AG Grid applications.
|
|
4
|
+
|
|
5
|
+
Part of **Aurum Grid** — the enterprise data grid. See the main documentation: https://github.com/YOUR_ORG/aurum-grid#readme
|
|
6
|
+
|
|
7
|
+
Licensing: 30-day evaluation, then $50 per developer per year. See LICENSE.md.
|
package/dist/cli.d.ts
ADDED
package/dist/cli.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { readdirSync, readFileSync, statSync, writeFileSync } from 'node:fs';
|
|
3
|
+
import { join, extname, relative } from 'node:path';
|
|
4
|
+
import { migrateSource } from './index.js';
|
|
5
|
+
const args = process.argv.slice(2);
|
|
6
|
+
const write = args.includes('--write');
|
|
7
|
+
const root = args.find((a) => !a.startsWith('--')) ?? '.';
|
|
8
|
+
const EXT = new Set(['.ts', '.tsx', '.js', '.jsx', '.mjs', '.vue', '.css', '.scss']);
|
|
9
|
+
const SKIP = new Set(['node_modules', 'dist', 'build', '.git', '.next', 'coverage']);
|
|
10
|
+
function* walk(dir) {
|
|
11
|
+
for (const name of readdirSync(dir)) {
|
|
12
|
+
if (SKIP.has(name))
|
|
13
|
+
continue;
|
|
14
|
+
const p = join(dir, name);
|
|
15
|
+
const st = statSync(p);
|
|
16
|
+
if (st.isDirectory())
|
|
17
|
+
yield* walk(p);
|
|
18
|
+
else if (EXT.has(extname(name)))
|
|
19
|
+
yield p;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
let files = 0;
|
|
23
|
+
let changed = 0;
|
|
24
|
+
let warns = 0;
|
|
25
|
+
for (const file of statSync(root).isDirectory() ? walk(root) : [root]) {
|
|
26
|
+
files++;
|
|
27
|
+
const src = readFileSync(file, 'utf8');
|
|
28
|
+
if (!/ag-grid|AgGrid|ag-theme|gridOptions\.api|columnApi/.test(src))
|
|
29
|
+
continue;
|
|
30
|
+
const res = migrateSource(src);
|
|
31
|
+
const rel = relative(process.cwd(), file);
|
|
32
|
+
if (res.changed) {
|
|
33
|
+
changed++;
|
|
34
|
+
console.log(`\n${write ? '✔ updated' : '• would update'} ${rel}`);
|
|
35
|
+
for (const c of res.changes)
|
|
36
|
+
console.log(` L${c.line}: ${c.before}\n → ${c.after}`);
|
|
37
|
+
if (write)
|
|
38
|
+
writeFileSync(file, res.code);
|
|
39
|
+
}
|
|
40
|
+
for (const w of res.warnings) {
|
|
41
|
+
warns++;
|
|
42
|
+
console.log(` ⚠ ${rel}:${w.line} ${w.message}`);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
console.log(`\nScanned ${files} files · ${changed} ${write ? 'updated' : 'to update'} · ${warns} warnings${write ? '' : '\nRun again with --write to apply.'}`);
|
|
46
|
+
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AACvC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC;AAC1D,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,CAAC,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,GAAG,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,CAAC,CAAC;IAC1C,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC;QAChB,OAAO,EAAE,CAAC;QACV,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,gBAAgB,IAAI,GAAG,EAAE,CAAC,CAAC;QAClE,KAAK,MAAM,CAAC,IAAI,GAAG,CAAC,OAAO;YAAE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,MAAM,YAAY,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;QACzF,IAAI,KAAK;YAAE,aAAa,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IACD,KAAK,MAAM,CAAC,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC7B,KAAK,EAAE,CAAC;QACR,OAAO,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IACnD,CAAC;AACH,CAAC;AACD,OAAO,CAAC,GAAG,CAAC,aAAa,KAAK,YAAY,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,MAAM,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,oCAAoC,EAAE,CAAC,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source-to-source migration from AG Grid to Aurum Grid.
|
|
3
|
+
* Conservative: rewrites imports and well-known identifiers, and reports
|
|
4
|
+
* anything that needs a human look instead of guessing.
|
|
5
|
+
*/
|
|
6
|
+
export interface MigrationChange {
|
|
7
|
+
line: number;
|
|
8
|
+
rule: string;
|
|
9
|
+
before: string;
|
|
10
|
+
after: string;
|
|
11
|
+
}
|
|
12
|
+
export interface MigrationWarning {
|
|
13
|
+
line: number;
|
|
14
|
+
message: string;
|
|
15
|
+
}
|
|
16
|
+
export interface MigrationResult {
|
|
17
|
+
code: string;
|
|
18
|
+
changes: MigrationChange[];
|
|
19
|
+
warnings: MigrationWarning[];
|
|
20
|
+
changed: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare function migrateSource(code: string): MigrationResult;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source-to-source migration from AG Grid to Aurum Grid.
|
|
3
|
+
* Conservative: rewrites imports and well-known identifiers, and reports
|
|
4
|
+
* anything that needs a human look instead of guessing.
|
|
5
|
+
*/
|
|
6
|
+
const IMPORT_MAP = [
|
|
7
|
+
[/(['"])ag-grid-community\/styles\/ag-grid\.css\1/g, `$1@aurum-grid/core/styles.css$1`],
|
|
8
|
+
[/(['"])ag-grid-community\/styles\/ag-theme-[\w-]+\.css\1/g, `$1@aurum-grid/core/styles.css$1`],
|
|
9
|
+
[/(['"])@ag-grid-community\/(core|client-side-row-model|all-modules)\1/g, `$1@aurum-grid/core$1`],
|
|
10
|
+
[/(['"])@ag-grid-enterprise\/[\w-]+\1/g, `$1@aurum-grid/enterprise$1`],
|
|
11
|
+
[/(['"])ag-grid-community\1/g, `$1@aurum-grid/core$1`],
|
|
12
|
+
[/(['"])ag-grid-enterprise\1/g, `$1@aurum-grid/enterprise$1`],
|
|
13
|
+
[/(['"])ag-grid-react\1/g, `$1@aurum-grid/react$1`],
|
|
14
|
+
[/(['"])ag-grid-vue3\1/g, `$1@aurum-grid/vue$1`],
|
|
15
|
+
[/(['"])ag-charts-(community|enterprise)\1/g, `$1@aurum-grid/charts$1`],
|
|
16
|
+
];
|
|
17
|
+
const IDENT_MAP = [
|
|
18
|
+
[/\bAgGridReact\b/g, 'AurumGrid', 'react-component'],
|
|
19
|
+
[/\bAgGridVue\b/g, 'AurumGrid', 'vue-component'],
|
|
20
|
+
[/\bGridOptions\b/g, 'GridOptions', 'types'],
|
|
21
|
+
[/\bnew\s+Grid\s*\(/g, 'createGrid(', 'new-grid'],
|
|
22
|
+
[/\bgridOptions\.api\b/g, 'gridApi', 'grid-options-api'],
|
|
23
|
+
[/\bgridOptions\.columnApi\b/g, 'gridApi', 'column-api'],
|
|
24
|
+
[/\bcolumnApi\.(getColumnState|applyColumnState|setColumnVisible|setColumnsVisible|autoSizeAllColumns|autoSizeColumns|getAllDisplayedColumns)\b/g, 'gridApi.$1', 'column-api'],
|
|
25
|
+
[/\bsetColumnVisible\(\s*([^,]+),/g, 'setColumnsVisible([$1],', 'set-column-visible'],
|
|
26
|
+
[/\bsetQuickFilter\(/g, 'setQuickFilter(', 'quick-filter'],
|
|
27
|
+
[/\bag-theme-(alpine|quartz|balham|material)(-dark)?\b/g, 'aurum-grid-host', 'theme-class'],
|
|
28
|
+
];
|
|
29
|
+
const WARN_PATTERNS = [
|
|
30
|
+
[/\bModuleRegistry\.register(Modules)?\s*\(\s*\[?\s*(AllCommunityModule|ClientSideRowModelModule)/, 'Community modules are built in to @aurum-grid/core — this registration can be removed.'],
|
|
31
|
+
[/\bserverSideDatasource\b|\browModelType:\s*['"]serverSide['"]/, "Aurum Grid's server-side model is the infinite row model plus createServerSideDatasource(); server-side grouping is not yet supported."],
|
|
32
|
+
[/\bfillHandle\b|\benableFillHandle\b/, 'Fill handle is not supported yet.'],
|
|
33
|
+
[/\bframeworkComponents\b/, "Use `components` and the adapter's reactCellRenderer()/vueCellRenderer() wrappers."],
|
|
34
|
+
[/\bcellRendererFramework\b/, 'Wrap the component with reactCellRenderer(Component) and pass it as cellRenderer.'],
|
|
35
|
+
[/\benableCharts\b|\bcreateRangeChart\b/, 'Use @aurum-grid/charts createGridChart(grid, el, {...}) for integrated charts.'],
|
|
36
|
+
[/\bthemeQuartz\b|\bthemeAlpine\b|\bthemeBalham\b/, "Theming API objects aren't supported; pass theme: 'light' | 'dark' | 'material' | 'fluent' | 'bootstrap' | 'high-contrast' | 'aurum' | 'ivory'."],
|
|
37
|
+
[/\bLicenseManager\.setLicenseKey\b/, 'Aurum Grid also uses LicenseManager.setLicenseKey — replace the key with your Aurum Grid license key.'],
|
|
38
|
+
];
|
|
39
|
+
export function migrateSource(code) {
|
|
40
|
+
const changes = [];
|
|
41
|
+
const warnings = [];
|
|
42
|
+
const lines = code.split('\n');
|
|
43
|
+
const out = lines.map((line, idx) => {
|
|
44
|
+
let next = line;
|
|
45
|
+
for (const [re, rep] of IMPORT_MAP)
|
|
46
|
+
next = next.replace(re, rep);
|
|
47
|
+
for (const [re, rep] of IDENT_MAP)
|
|
48
|
+
next = next.replace(re, rep);
|
|
49
|
+
if (next !== line)
|
|
50
|
+
changes.push({ line: idx + 1, rule: 'rewrite', before: line.trim(), after: next.trim() });
|
|
51
|
+
for (const [re, msg] of WARN_PATTERNS)
|
|
52
|
+
if (re.test(line))
|
|
53
|
+
warnings.push({ line: idx + 1, message: msg });
|
|
54
|
+
return next;
|
|
55
|
+
});
|
|
56
|
+
let result = out.join('\n');
|
|
57
|
+
if (/\bcreateGrid\(/.test(result) && !/\bcreateGrid\b[^(]/.test(result.replace(/createGrid\(/g, '')) && !/import[^;]*\bcreateGrid\b/.test(result)) {
|
|
58
|
+
// `new Grid(...)` was rewritten: make sure createGrid is imported
|
|
59
|
+
result = result.replace(/import\s*\{([^}]*)\}\s*from\s*(['"])@aurum-grid\/core\2/, (m, names, q) => /\bcreateGrid\b/.test(names) ? m : `import {${names.replace(/\bGrid\b\s*,?/, '').trim() ? ` ${names.replace(/\bGrid\b\s*,?\s*/, '').trim()}, createGrid ` : ' createGrid '}} from ${q}@aurum-grid/core${q}`);
|
|
60
|
+
}
|
|
61
|
+
return { code: result, changes, warnings, changed: result !== code };
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts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C,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,IAAI,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QAClJ,kEAAkE;QAClE,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,yDAAyD,EAAE,CAAC,CAAC,EAAE,KAAa,EAAE,CAAS,EAAE,EAAE,CACjH,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,KAAK,CAAC,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,cAAc,UAAU,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACjN,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,EAAE,CAAC;AACvE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurum-grid/migrate",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Aurum Grid migration codemods for AG Grid applications.",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"bin": {
|
|
16
|
+
"aurum-grid-migrate": "./dist/cli.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"LICENSE.md",
|
|
21
|
+
"README.md"
|
|
22
|
+
],
|
|
23
|
+
"dependencies": {},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/node": "^22.8.6"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc -p tsconfig.json",
|
|
32
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
33
|
+
}
|
|
6
34
|
}
|