Rename package
This commit is contained in:
parent
ce4af278ac
commit
7e9ea69a08
41 changed files with 58 additions and 209 deletions
|
|
@ -1,6 +1,6 @@
|
|||
module.exports = {
|
||||
preset: 'ts-jest/presets/js-with-babel-esm',
|
||||
moduleNameMapper: {
|
||||
'^reconcile/reconcile_bg\\.wasm$': `<rootDir>/__mocks__/wasm.js`,
|
||||
'^reconcile-text/reconcile_bg\\.wasm$': `<rootDir>/__mocks__/wasm.js`,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
13
reconcile-js/package-lock.json
generated
13
reconcile-js/package-lock.json
generated
|
|
@ -1,17 +1,18 @@
|
|||
{
|
||||
"name": "reconcile",
|
||||
"name": "reconcile-text",
|
||||
"version": "0.4.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "reconcile",
|
||||
"name": "reconcile-text",
|
||||
"version": "0.4.3",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@types/jest": "^30.0.0",
|
||||
"jest": "^30.0.4",
|
||||
"prettier": "^3.6.2",
|
||||
"reconcile": "file:../pkg",
|
||||
"reconcile-text": "file:../pkg",
|
||||
"ts-jest": "^29.4.0",
|
||||
"ts-loader": "^9.5.2",
|
||||
"tslib": "2.8.1",
|
||||
|
|
@ -22,8 +23,8 @@
|
|||
}
|
||||
},
|
||||
"../pkg": {
|
||||
"name": "reconcile",
|
||||
"version": "0.4.0",
|
||||
"name": "reconcile-text",
|
||||
"version": "0.4.3",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
|
|
@ -4542,7 +4543,7 @@
|
|||
"node": ">= 10.13.0"
|
||||
}
|
||||
},
|
||||
"node_modules/reconcile": {
|
||||
"node_modules/reconcile-text": {
|
||||
"resolved": "../pkg",
|
||||
"link": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "reconcile",
|
||||
"name": "reconcile-text",
|
||||
"version": "0.4.3",
|
||||
"description": "Think diff3 or git merge, but with automated conflict resolution that requires no user intervention",
|
||||
"main": "dist/reconcile.node.js",
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
"@types/jest": "^30.0.0",
|
||||
"jest": "^30.0.4",
|
||||
"prettier": "^3.6.2",
|
||||
"reconcile": "file:../pkg",
|
||||
"reconcile-text": "file:../pkg",
|
||||
"ts-jest": "^29.4.0",
|
||||
"ts-loader": "^9.5.2",
|
||||
"tslib": "2.8.1",
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ import {
|
|||
reconcileWithHistory as wasmReconcileWithHistory,
|
||||
History,
|
||||
initSync,
|
||||
} from 'reconcile';
|
||||
} from 'reconcile-text';
|
||||
|
||||
import wasmBytes from 'reconcile/reconcile_bg.wasm';
|
||||
import wasmBytes from 'reconcile-text/reconcile_bg.wasm';
|
||||
|
||||
export interface TextWithCursors {
|
||||
/** The document's entire content */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue