From 33202661c2093993da4812c71334c176c90e7769 Mon Sep 17 00:00:00 2001 From: Manuel Leduc Date: Tue, 18 Nov 2025 17:56:58 +0100 Subject: [PATCH 1/9] --wip-- [skip ci] --- pom.xml | 4 + .../xwiki-platform-node/pom.xml | 15 ++ .../src/main/node/package.json | 1 + .../src/main/node/scripts/deploy.js | 176 ++++++++++++++++++ 4 files changed, 196 insertions(+) create mode 100644 xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js diff --git a/pom.xml b/pom.xml index 0fd04a27d9c..cd65f5b7de4 100644 --- a/pom.xml +++ b/pom.xml @@ -124,6 +124,10 @@ com.oracle.database.jdbc ojdbc11 21.20.0.0 + + + https://npm.snapshot.xwiki.org + https://registry.npmjs.org https://github.com/${xwiki.github.owner}/${xwiki.github.repository}/tree/master/ diff --git a/xwiki-platform-core/xwiki-platform-node/pom.xml b/xwiki-platform-core/xwiki-platform-node/pom.xml index c8e0688fad0..df057c650eb 100644 --- a/xwiki-platform-core/xwiki-platform-node/pom.xml +++ b/xwiki-platform-core/xwiki-platform-node/pom.xml @@ -118,6 +118,21 @@ ${basedir}/target + + deploy + + pnpm + + + run deploy + ${basedir}/src/main/node + ${basedir}/target + + ${xwiki.npm.snapshot.registry} + ${xwiki.npm.release.registry} + + + diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/package.json index 760076912df..7abcf887cf0 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/package.json @@ -4,6 +4,7 @@ "type": "module", "scripts": { "build": "nx run-many -t build -p \"xwiki-platform-core/xwiki-platform-node/src/main/node/*/**\"", + "deploy": "node scripts/deploy.js $NPM_SNAPSHOT_REGISTRY $NPM_RELEASE_REGISTRY", "lint": "nx run-many -t lint -p \"xwiki-platform-core/xwiki-platform-node/src/main/node/*/**\"", "test:unit": "nx run-many -t test -p \"xwiki-platform-core/xwiki-platform-node/src/main/node/*/**\"" }, diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js b/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js new file mode 100644 index 00000000000..f7c30165c85 --- /dev/null +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js @@ -0,0 +1,176 @@ +#!/usr/bin/env node + +const fs = require('fs'); +const { execSync } = require('child_process'); +const path = require('path'); + +/** + * Script to conditionally publish npm packages based on version type (SNAPSHOT vs release) + * Step 1: Updates all package.json files with the same timestamp + * Step 2: Uses pnpm -r publish to publish all packages + * Usage: node publish-package.js [base-directory] + */ + +// Read command line arguments +const snapshotRegistry = process.argv[2]; +const releaseRegistry = process.argv[3]; +const baseDirectory = process.argv[4] || process.cwd(); + +if (!snapshotRegistry || !releaseRegistry) { + console.error('Error: Missing required arguments'); + console.error('Usage: node publish-package.js [base-directory]'); + process.exit(1); +} + +/** + * Recursively find all package.json files in subdirectories + * @param {string} dir - Directory to search + * @param {string[]} fileList - Accumulated list of package.json paths + * @returns {string[]} - Array of package.json file paths + */ +function findPackageJsonFiles(dir, fileList = []) { + const files = fs.readdirSync(dir); + + files.forEach(file => { + const filePath = path.join(dir, file); + const stat = fs.statSync(filePath); + + if (stat.isDirectory()) { + // Skip node_modules and hidden directories + if (file !== 'node_modules' && !file.startsWith('.')) { + findPackageJsonFiles(filePath, fileList); + } + } else if (file === 'package.json') { + fileList.push(filePath); + } + }); + + return fileList; +} + +/** + * Update version in a package.json file + * @param {string} packageJsonPath - Path to package.json + * @param {string} timestamp - Timestamp to replace SNAPSHOT with + * @returns {Object} - {success, originalVersion, newVersion, packageName, isSnapshot} + */ +function updatePackageVersion(packageJsonPath, timestamp) { + let packageJson; + + try { + packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8')); + } catch (error) { + console.error(`Error reading ${packageJsonPath}: ${error.message}`); + return { success: false }; + } + + const originalVersion = packageJson.version; + const packageName = packageJson.name; + const isSnapshot = originalVersion.includes('SNAPSHOT'); + + if (isSnapshot) { + // Replace SNAPSHOT with timestamp + const newVersion = originalVersion.replace('SNAPSHOT', timestamp); + packageJson.version = newVersion; + + try { + fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n'); + return { success: true, originalVersion, newVersion, packageName, isSnapshot: true }; + } catch (error) { + console.error(`Error writing ${packageJsonPath}: ${error.message}`); + return { success: false }; + } + } else { + console.log(` • ${packageName}: ${originalVersion} (release version, no change)`); + return { success: true, originalVersion, newVersion: originalVersion, packageName, isSnapshot: false }; + } +} + +/** + * Restore original versions in all package.json files + * @param {Array} updates - Array of update results + */ +function restoreVersions(updates) { + console.log('\nRestoring original versions...'); + updates.forEach(update => { + if (update.success && update.isSnapshot && update.path) { + try { + const packageJson = JSON.parse(fs.readFileSync(update.path, 'utf8')); + packageJson.version = update.originalVersion; + fs.writeFileSync(update.path, JSON.stringify(packageJson, null, 2) + '\n'); + console.log(` ✓ Restored ${update.packageName} to ${update.originalVersion}`); + } catch (error) { + console.error(` ✗ Error restoring ${update.path}: ${error.message}`); + } + } + }); +} + +// Main execution +console.log(`Searching for package.json files in: ${baseDirectory}\n`); +const packageJsonFiles = findPackageJsonFiles(baseDirectory); + +console.log(`Found ${packageJsonFiles.length} package.json file(s)\n`); + +if (packageJsonFiles.length === 0) { + console.error('No package.json files found!'); + process.exit(1); +} + +// Generate single timestamp for all packages +const timestamp = Math.floor(Date.now() / 1000); +console.log(`Using timestamp: ${timestamp}\n`); + +// Determine if we're dealing with SNAPSHOT or release versions +// Check the first package.json to determine the mode +let isSnapshotMode = false; +try { + const firstPackage = JSON.parse(fs.readFileSync(packageJsonFiles[0], 'utf8')); + isSnapshotMode = firstPackage.version.includes('SNAPSHOT'); +} catch (error) { + console.error('Error determining version mode'); + process.exit(1); +} + +console.log(`Mode: ${isSnapshotMode ? 'SNAPSHOT' : 'RELEASE'}\n`); + +// Step 1: Update all package.json versions +console.log('='.repeat(80)); +console.log('STEP 1: Updating package.json versions'); +console.log('='.repeat(80)); + +const updates = packageJsonFiles.map(packageJsonPath => { + const result = updatePackageVersion(packageJsonPath, timestamp.toString()); + return { ...result, path: packageJsonPath }; +}); + +const failedUpdates = updates.filter(u => !u.success); +if (failedUpdates.length > 0) { + console.error(`\n✗ Failed to update ${failedUpdates.length} package(s)`); + process.exit(1); +} + + + +try { + if (isSnapshotMode) { + execSync( + `pnpm -r publish --registry ${snapshotRegistry} --tag snapshot --no-git-checks`, + { stdio: 'inherit', cwd: baseDirectory } + ); + } else { + execSync( + `pnpm -r publish --registry ${releaseRegistry} --access public`, + { stdio: 'inherit', cwd: baseDirectory } + ); + } +} catch (error) { + console.error('Error during publication', error.message); + process.exit(1); +} finally { + // Restore versions before exiting + if (isSnapshotMode) { + restoreVersions(updates); + } +} + From 23d099f9c6313bd43cde5dbc57f79d14672511b7 Mon Sep 17 00:00:00 2001 From: Manuel Leduc Date: Wed, 19 Nov 2025 09:43:08 +0100 Subject: [PATCH 2/9] --wip-- [skip ci] --- setpackageversion.sh | 39 +++++++++++++++++++ .../src/main/node/api/package.json | 2 +- .../attachments/attachments-api/package.json | 2 +- .../attachments-default/package.json | 2 +- .../authentication-api/package.json | 2 +- .../core/backends/backend-api/package.json | 2 +- .../collaboration-api/package.json | 2 +- .../configuration-api/package.json | 2 +- .../core/document/document-api/package.json | 2 +- .../src/main/node/core/fn-utils/package.json | 2 +- .../src/main/node/core/icons/package.json | 2 +- .../link-suggest-api/package.json | 2 +- .../node/core/macros/macros-api/package.json | 2 +- .../macros/macros-ast-react-jsx/package.json | 2 +- .../node/core/model/model-api/package.json | 2 +- .../model-reference-api/package.json | 2 +- .../model-remote-url-api/package.json | 2 +- .../navigation-tree-api/package.json | 2 +- .../node/core/uniast/uniast-api/package.json | 2 +- .../core/uniast/uniast-markdown/package.json | 2 +- .../src/main/node/ds/api/package.json | 2 +- .../editors/blocknote-headless/package.json | 2 +- .../node/editors/blocknote-react/package.json | 2 +- .../src/main/node/scripts/deploy.js | 21 ++-------- 24 files changed, 65 insertions(+), 39 deletions(-) create mode 100644 setpackageversion.sh diff --git a/setpackageversion.sh b/setpackageversion.sh new file mode 100644 index 00000000000..182c12411f5 --- /dev/null +++ b/setpackageversion.sh @@ -0,0 +1,39 @@ +#!/usr/bin/env bash +function set_packages_version() { + if [ -z "$1" ]; then + echo "Missing version parameter" >&2 + exit 1 + fi + + version="$1" + current_directory="$(dirname "$(readlink -f "$0")")/.." + + + find "$current_directory" -type d -name "node_modules" -prune -o -name "package.json" -print | \ + grep -v "^$current_directory/package.json$" | \ + while IFS= read -r pkg_path; do + + ## private or unnamed packages are skipped + is_skipped=$(jq -r '.private' "$pkg_path") + + if [ "$is_skipped" = "true" ]; then + continue + fi + + # Create a temporary file in case of issue during the version patch + temp_file=$(mktemp) + + # Update the version with jq on the temp file, and replace the original file with the patch version if no + # problem was encountered. + if ! jq ".version = \"$version\"" "$pkg_path" > "$temp_file"; then + relative_pkg_path=$(realpath --relative-to="$current_directory" "$pkg_path") + echo "Failed to update $relative_pkg_path: jq error" >&2 + rm -f "$temp_file" + continue + fi + + mv "$temp_file" "$pkg_path" + done +} + +set_packages_version 18.0.0-SNAPSHOT \ No newline at end of file diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/package.json index 49c16bb2a6a..34d762091dd 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/package.json index d642c55b45a..e0d523e7f4e 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-attachments-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/package.json index f4e66e81f5c..8ab76b6b8c7 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-attachments-default", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/package.json index 6094eba336b..58b3a41cac4 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-authentication-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/package.json index 25e773a48b2..878681b51e1 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-backend-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/package.json index 4f2154b1061..98f9c8f9aaa 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-collaboration-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/package.json index 77d23dfe921..467b8e5febd 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-configuration-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/package.json index 01a2feda473..4a290888bde 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-document-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/package.json index a6e33dbafbc..b4b3d2614cb 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-fn-utils", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/package.json index ed05a8757f8..616d6464d5c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-icons", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "description": "Provide UI components to display icons.", "license": "LGPL 2.1", "author": "XWiki Org Community ", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/package.json index e3cd7a408dc..0f65eed0fc9 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-link-suggest-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/package.json index 0fc70cb9e91..ee30559deab 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-macros-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/package.json index a472a603606..bb0d5563367 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-macros-ast-react-jsx", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/package.json index 021acf27561..b239124248e 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-model-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/package.json index ea7388f897e..f6be1e4b3ea 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-model-reference-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/package.json index c70709614a1..db755d021fa 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-model-remote-url-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/package.json index 1821473f4e8..80b7ead7ae2 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-navigation-tree-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/package.json index b01efaf4681..4ef5622b930 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-uniast-api", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/package.json index dc3b463ff9a..e711a3196a6 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-uniast-markdown", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/package.json index 229c3e849e7..eefc034485b 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-dsapi", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/package.json index 42c418e9bfc..87061a12093 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-editors-blocknote-headless", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/package.json index 13e61196446..7b7d8324666 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/package.json @@ -1,6 +1,6 @@ { "name": "@xwiki/platform-editors-blocknote-react", - "version": "17.10.0", + "version": "18.0.0-SNAPSHOT", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js b/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js index f7c30165c85..daefa51ac85 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js @@ -77,11 +77,9 @@ function updatePackageVersion(packageJsonPath, timestamp) { fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n'); return { success: true, originalVersion, newVersion, packageName, isSnapshot: true }; } catch (error) { - console.error(`Error writing ${packageJsonPath}: ${error.message}`); return { success: false }; } } else { - console.log(` • ${packageName}: ${originalVersion} (release version, no change)`); return { success: true, originalVersion, newVersion: originalVersion, packageName, isSnapshot: false }; } } @@ -91,35 +89,28 @@ function updatePackageVersion(packageJsonPath, timestamp) { * @param {Array} updates - Array of update results */ function restoreVersions(updates) { - console.log('\nRestoring original versions...'); updates.forEach(update => { if (update.success && update.isSnapshot && update.path) { try { const packageJson = JSON.parse(fs.readFileSync(update.path, 'utf8')); packageJson.version = update.originalVersion; fs.writeFileSync(update.path, JSON.stringify(packageJson, null, 2) + '\n'); - console.log(` ✓ Restored ${update.packageName} to ${update.originalVersion}`); } catch (error) { - console.error(` ✗ Error restoring ${update.path}: ${error.message}`); + console.error(`Error restoring ${update.path}: ${error.message}`); } } }); } // Main execution -console.log(`Searching for package.json files in: ${baseDirectory}\n`); const packageJsonFiles = findPackageJsonFiles(baseDirectory); -console.log(`Found ${packageJsonFiles.length} package.json file(s)\n`); - if (packageJsonFiles.length === 0) { - console.error('No package.json files found!'); process.exit(1); } -// Generate single timestamp for all packages +// Generate a common timestamp for all packages. const timestamp = Math.floor(Date.now() / 1000); -console.log(`Using timestamp: ${timestamp}\n`); // Determine if we're dealing with SNAPSHOT or release versions // Check the first package.json to determine the mode @@ -132,13 +123,8 @@ try { process.exit(1); } -console.log(`Mode: ${isSnapshotMode ? 'SNAPSHOT' : 'RELEASE'}\n`); // Step 1: Update all package.json versions -console.log('='.repeat(80)); -console.log('STEP 1: Updating package.json versions'); -console.log('='.repeat(80)); - const updates = packageJsonFiles.map(packageJsonPath => { const result = updatePackageVersion(packageJsonPath, timestamp.toString()); return { ...result, path: packageJsonPath }; @@ -146,7 +132,8 @@ const updates = packageJsonFiles.map(packageJsonPath => { const failedUpdates = updates.filter(u => !u.success); if (failedUpdates.length > 0) { - console.error(`\n✗ Failed to update ${failedUpdates.length} package(s)`); + console.error(`Failed to update ${failedUpdates.length} package(s)`); + console.error('summary', updates); process.exit(1); } From 73f59f60404af219b60eea258006d0c11b7f7e50 Mon Sep 17 00:00:00 2001 From: Manuel Leduc Date: Wed, 19 Nov 2025 15:40:40 +0100 Subject: [PATCH 3/9] XWIKI-23610: Allow xwiki build to publish npm artifacts --- pom.xml | 2 +- .../xwiki-platform-node/pom.xml | 9 +++- .../src/main/node/package.json | 2 +- .../src/main/node/scripts/deploy.js | 50 +++++++++++-------- 4 files changed, 38 insertions(+), 25 deletions(-) diff --git a/pom.xml b/pom.xml index cd65f5b7de4..33bba9ed7d3 100644 --- a/pom.xml +++ b/pom.xml @@ -126,7 +126,7 @@ 21.20.0.0 - https://npm.snapshot.xwiki.org + https://nexus-snapshots.xwiki.org/repository/npmhosted/ https://registry.npmjs.org diff --git a/xwiki-platform-core/xwiki-platform-node/pom.xml b/xwiki-platform-core/xwiki-platform-node/pom.xml index df057c650eb..bd6da90ee3f 100644 --- a/xwiki-platform-core/xwiki-platform-node/pom.xml +++ b/xwiki-platform-core/xwiki-platform-node/pom.xml @@ -124,7 +124,7 @@ pnpm - run deploy + run deploy -- ${xwiki.npm.snapshot.registry} ${xwiki.npm.release.registry} ${basedir}/src/main/node ${basedir}/src/main/node ${basedir}/target @@ -135,6 +135,13 @@ + + org.apache.maven.plugins + maven-deploy-plugin + + true + + diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/package.json index 7abcf887cf0..754522e3368 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/package.json @@ -4,7 +4,7 @@ "type": "module", "scripts": { "build": "nx run-many -t build -p \"xwiki-platform-core/xwiki-platform-node/src/main/node/*/**\"", - "deploy": "node scripts/deploy.js $NPM_SNAPSHOT_REGISTRY $NPM_RELEASE_REGISTRY", + "deploy": "node scripts/deploy.js", "lint": "nx run-many -t lint -p \"xwiki-platform-core/xwiki-platform-node/src/main/node/*/**\"", "test:unit": "nx run-many -t test -p \"xwiki-platform-core/xwiki-platform-node/src/main/node/*/**\"" }, diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js b/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js index daefa51ac85..1cb401cbddc 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js @@ -1,8 +1,8 @@ #!/usr/bin/env node -const fs = require('fs'); -const { execSync } = require('child_process'); -const path = require('path'); +import fs from 'fs'; +import {execSync} from 'child_process'; +import path from 'path'; /** * Script to conditionally publish npm packages based on version type (SNAPSHOT vs release) @@ -51,19 +51,11 @@ function findPackageJsonFiles(dir, fileList = []) { /** * Update version in a package.json file * @param {string} packageJsonPath - Path to package.json + * @param {Object} packageJson - Parsed package.json content * @param {string} timestamp - Timestamp to replace SNAPSHOT with * @returns {Object} - {success, originalVersion, newVersion, packageName, isSnapshot} */ -function updatePackageVersion(packageJsonPath, timestamp) { - let packageJson; - - try { - packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8')); - } catch (error) { - console.error(`Error reading ${packageJsonPath}: ${error.message}`); - return { success: false }; - } - +function updatePackageVersion(packageJsonPath, packageJson, timestamp) { const originalVersion = packageJson.version; const packageName = packageJson.name; const isSnapshot = originalVersion.includes('SNAPSHOT'); @@ -110,24 +102,40 @@ if (packageJsonFiles.length === 0) { } // Generate a common timestamp for all packages. -const timestamp = Math.floor(Date.now() / 1000); +const timestamp = Math.floor(Date.now() / 1000).toString(); // Determine if we're dealing with SNAPSHOT or release versions // Check the first package.json to determine the mode let isSnapshotMode = false; try { - const firstPackage = JSON.parse(fs.readFileSync(packageJsonFiles[0], 'utf8')); - isSnapshotMode = firstPackage.version.includes('SNAPSHOT'); + // Look for the first package.json file with a version. + const firstVersion = packageJsonFiles.map(packageJsonPath => JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'))) + .filter(packageJson => packageJson.version) + .map(packageJson => packageJson.version)[0]; + isSnapshotMode = firstVersion.includes('SNAPSHOT'); } catch (error) { console.error('Error determining version mode'); process.exit(1); } - // Step 1: Update all package.json versions -const updates = packageJsonFiles.map(packageJsonPath => { - const result = updatePackageVersion(packageJsonPath, timestamp.toString()); - return { ...result, path: packageJsonPath }; +const updates = packageJsonFiles + .map(packageJsonPath => { + let packageJson; + + try { + packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8')); + } catch (error) { + console.error(`Error reading ${packageJsonPath}: ${error.message}`); + return {success: false}; + } + + return {packageJsonPath, packageJson, success: true} + }) + .filter(({packageJsonPath, packageJson, success}) => success && packageJson.version) + .map(({packageJsonPath, packageJson}) => { + const result = updatePackageVersion(packageJsonPath, packageJson, timestamp); + return {...result, path: packageJsonPath}; }); const failedUpdates = updates.filter(u => !u.success); @@ -137,8 +145,6 @@ if (failedUpdates.length > 0) { process.exit(1); } - - try { if (isSnapshotMode) { execSync( From bc54651e1af3f57650c8e92e7515a30de6d71e91 Mon Sep 17 00:00:00 2001 From: Manuel Leduc Date: Wed, 19 Nov 2025 17:33:57 +0100 Subject: [PATCH 4/9] --wip-- [skip ci] --- .../src/main/node/scripts/deploy.js | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js b/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js index 1cb401cbddc..32251186f75 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/scripts/deploy.js @@ -1,5 +1,25 @@ #!/usr/bin/env node +/* + * See the LICENSE file distributed with this work for additional + * information regarding copyright ownership. + * + * This is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this software; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. + */ + import fs from 'fs'; import {execSync} from 'child_process'; import path from 'path'; From 02a4b934d03ff2a90498ad511ec48906c83bf509 Mon Sep 17 00:00:00 2001 From: Manuel Leduc Date: Wed, 19 Nov 2025 17:35:33 +0100 Subject: [PATCH 5/9] --wip-- [skip ci] --- setpackageversion.sh | 2 +- .../src/main/node/api/etc/cristal-api.api.md | 6 ++-- .../src/main/node/api/package.json | 10 +++--- .../src/main/node/api/src/api/PageData.ts | 2 +- .../src/main/node/api/src/api/cristalApp.ts | 2 +- .../api/src/components/DefaultPageData.ts | 2 +- .../src/main/node/api/vitest.config.ts | 2 +- .../etc/cristal-attachments-api.api.md | 6 ++-- .../attachments/attachments-api/package.json | 10 +++--- .../attachments-api/src/attachment.ts | 2 +- .../attachments-api/src/attachmentsPreview.ts | 2 +- .../etc/cristal-attachments-default.api.md | 2 +- .../attachments-default/package.json | 20 +++++------ .../defaultAttachmentsService.test.ts | 4 +-- .../src/defaultAttachmentPreview.ts | 10 +++--- .../src/defaultAttachmentsService.ts | 4 +-- .../attachments-default/src/index.ts | 2 +- .../attachments-default/vitest.config.ts | 2 +- .../etc/cristal-authentication-api.api.md | 2 +- .../authentication-api/package.json | 6 ++-- .../etc/cristal-backend-api.api.md | 14 ++++---- .../core/backends/backend-api/package.json | 8 ++--- .../backend-api/src/abstractStorage.ts | 2 +- .../backend-api/src/defaultStorageProvider.ts | 2 +- .../backend-api/src/offlineStorage.ts | 2 +- .../backend-api/src/storageProvider.ts | 2 +- .../backends/backend-api/vitest.config.ts | 2 +- .../etc/cristal-collaboration-api.api.md | 2 +- .../collaboration-api/package.json | 8 ++--- .../defaultCollaborationManagerProvider.ts | 2 +- .../collaboration-api/vitest.config.ts | 2 +- .../etc/cristal-configuration-api.api.md | 2 +- .../configuration-api/package.json | 6 ++-- .../etc/cristal-document-api.api.md | 6 ++-- .../core/document/document-api/package.json | 10 +++--- .../core/document/document-api/src/index.ts | 4 +-- .../document/document-api/vitest.config.ts | 2 +- .../core/fn-utils/etc/cristal-fn-utils.api.md | 2 +- .../src/main/node/core/fn-utils/package.json | 6 ++-- .../main/node/core/fn-utils/vitest.config.ts | 2 +- .../node/core/icons/etc/cristal-icons.api.md | 2 +- .../src/main/node/core/icons/package.json | 6 ++-- .../src/main/node/core/icons/vitest.config.ts | 2 +- .../etc/cristal-link-suggest-api.api.md | 2 +- .../link-suggest-api/package.json | 8 ++--- .../src/DefaultLinkSuggestServiceProvider.ts | 2 +- .../link-suggest-api/vitest.config.ts | 2 +- .../macros-api/etc/cristal-macros-api.api.md | 2 +- .../node/core/macros/macros-api/package.json | 6 ++-- .../core/macros/macros-api/vitest.config.ts | 2 +- .../etc/cristal-macros-ast-react-jsx.api.md | 10 +++--- .../macros/macros-ast-react-jsx/package.json | 12 +++---- .../macros-ast-react-jsx/src/converter.tsx | 6 ++-- .../macros-ast-react-jsx/vitest.config.ts | 2 +- .../model-api/etc/cristal-model-api.api.md | 2 +- .../node/core/model/model-api/package.json | 6 ++-- .../core/model/model-api/vitest.config.ts | 2 +- .../etc/cristal-model-reference-api.api.md | 10 +++--- .../model-reference-api/package.json | 10 +++--- .../src/defaultModelReferenceHandler.ts | 4 +-- .../defaultModelReferenceHandlerProvider.ts | 2 +- .../defaultModelReferenceParserProvider.ts | 2 +- ...defaultModelReferenceSerializerProvider.ts | 2 +- .../src/modelReferenceHandler.ts | 4 +-- .../src/modelReferenceParser.ts | 2 +- .../src/modelReferenceParserOptions.ts | 2 +- .../src/modelReferenceSerializer.ts | 2 +- .../model-reference-api/vitest.config.ts | 2 +- .../etc/cristal-model-remote-url-api.api.md | 6 ++-- .../model-remote-url-api/package.json | 10 +++--- .../src/defaultRemoteURLParserProvider.ts | 2 +- .../src/defaultRemoteURLSerializerProvider.ts | 2 +- .../src/remoteURLParser.ts | 2 +- .../src/remoteURLSerializer.ts | 2 +- .../model-remote-url-api/vitest.config.ts | 2 +- .../etc/cristal-navigation-tree-api.api.md | 6 ++-- .../navigation-tree-api/package.json | 10 +++--- .../navigation-tree-api/src/index.ts | 2 +- .../navigation-tree-api/vitest.config.ts | 2 +- .../uniast-api/etc/cristal-uniast-api.api.md | 4 +-- .../node/core/uniast/uniast-api/package.json | 6 ++-- .../node/core/uniast/uniast-api/src/ast.ts | 2 +- .../etc/cristal-uniast-markdown.api.md | 6 ++-- .../core/uniast/uniast-markdown/package.json | 20 +++++------ .../src/__tests__/converters.test.ts | 8 ++--- .../default-markdown-to-uni-ast-converter.ts | 10 +++--- .../default-uni-ast-to-markdown-converter.ts | 4 +-- .../parser/parser-configuration-resolver.ts | 2 +- .../filesystem-internal-link-serializer.ts | 8 ++--- .../github-internal-link-serializer.ts | 8 ++--- .../internal-links-serializer-resolver.ts | 2 +- .../serializer/internal-links-serializer.ts | 2 +- .../nextcloud-internal-link-serializer.ts | 10 +++--- .../xwiki-internal-link-serializer.ts | 2 +- .../markdown/markdown-to-uni-ast-converter.ts | 2 +- .../markdown/uni-ast-to-markdown-converter.ts | 2 +- .../uniast/uniast-markdown/vitest.config.ts | 2 +- .../src/main/node/dev/config/package.json | 2 +- .../main/node/ds/api/etc/cristal-dsapi.api.md | 10 +++--- .../src/main/node/ds/api/package.json | 14 ++++---- .../main/node/ds/api/src/XNavigationTree.ts | 4 +-- .../node/ds/api/src/XNavigationTreeSelect.ts | 2 +- .../src/main/node/ds/api/src/XTree.ts | 2 +- .../src/main/node/ds/api/vitest.config.ts | 2 +- .../cristal-editors-blocknote-headless.api.md | 14 ++++---- .../editors/blocknote-headless/package.json | 34 +++++++++---------- .../src/components/currentUser.ts | 2 +- .../src/components/linkEditionContext.ts | 12 +++---- .../editors/blocknote-headless/src/index.ts | 2 +- .../src/uniast/bn-to-uniast.ts | 12 +++---- .../src/uniast/uniast-to-bn.ts | 10 +++--- .../src/vue/c-blocknote-view.vue | 14 ++++---- .../editors/blocknote-headless/tsconfig.json | 2 +- .../blocknote-headless/vitest.config.ts | 2 +- .../cristal-editors-blocknote-react.api.md | 24 ++++++------- .../node/editors/blocknote-react/package.json | 28 +++++++-------- .../src/__tests__/BlockNote.story.tsx | 2 +- .../blocknote-react/src/blocknote/index.ts | 2 +- .../blocknote-react/src/blocknote/utils.tsx | 6 ++-- .../src/components/BlockNoteViewWrapper.tsx | 6 ++-- .../src/components/images/ImageSelector.tsx | 6 ++-- .../src/components/links/LinkEditor.tsx | 4 +-- .../blocknote-react/src/misc/linkSuggest.ts | 14 ++++---- .../src/main/node/package.json | 2 +- 124 files changed, 340 insertions(+), 340 deletions(-) diff --git a/setpackageversion.sh b/setpackageversion.sh index 182c12411f5..68ccd43a2c7 100644 --- a/setpackageversion.sh +++ b/setpackageversion.sh @@ -36,4 +36,4 @@ function set_packages_version() { done } -set_packages_version 18.0.0-SNAPSHOT \ No newline at end of file +set_packages_version 0.0.1 \ No newline at end of file diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/etc/cristal-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/etc/cristal-api.api.md index 217d8451975..7b0ef6bbb61 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/etc/cristal-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/etc/cristal-api.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-api" +## API Report File for "@manuelleducorg/api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). @@ -9,11 +9,11 @@ import { AsyncComponentLoader } from 'vue'; import { AsyncComponentOptions } from 'vue'; import { Component } from 'vue'; import { ComponentPublicInstance } from 'vue'; -import { Configurations } from '@xwiki/platform-configuration-api'; +import { Configurations } from '@manuelleducorg/configuration-api'; import { Container } from 'inversify'; import { Ref } from 'vue'; import { Router } from 'vue-router'; -import { UserDetails } from '@xwiki/platform-authentication-api'; +import { UserDetails } from '@manuelleducorg/authentication-api'; // @beta export type AttachmentsData = { diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/package.json index 34d762091dd..71d42b2b1c0 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,8 +30,8 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-authentication-api": "workspace:*", - "@xwiki/platform-configuration-api": "workspace:*", + "@manuelleducorg/authentication-api": "workspace:*", + "@manuelleducorg/configuration-api": "workspace:*", "vue-router": "catalog:" }, "peerDependencies": { @@ -40,7 +40,7 @@ "vue": "3.x" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "inversify": "catalog:", "reflect-metadata": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/api/PageData.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/api/PageData.ts index 1960eb4e159..9e291249fdd 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/api/PageData.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/api/PageData.ts @@ -19,7 +19,7 @@ */ import type { Document } from "./document"; -import type { UserDetails } from "@xwiki/platform-authentication-api"; +import type { UserDetails } from "@manuelleducorg/authentication-api"; /** * @since 0.1 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/api/cristalApp.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/api/cristalApp.ts index a4dc7b8298e..7b6e39a8f12 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/api/cristalApp.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/api/cristalApp.ts @@ -23,7 +23,7 @@ import type { WikiConfig } from "./WikiConfig"; import type { Logger } from "./logger"; import type { LoggerConfig } from "./loggerConfig"; import type { SkinManager } from "./skinManager"; -import type { Configurations } from "@xwiki/platform-configuration-api"; +import type { Configurations } from "@manuelleducorg/configuration-api"; import type { Container } from "inversify"; import type { App, Component, Ref } from "vue"; import type { Router } from "vue-router"; diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/components/DefaultPageData.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/components/DefaultPageData.ts index 5c466d3a35b..3a38f85a88c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/components/DefaultPageData.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/src/components/DefaultPageData.ts @@ -21,7 +21,7 @@ import { JSONLDDocument } from "./JSONLDDocument"; import type { PageData } from "../api/PageData"; import type { Document } from "../api/document"; -import type { UserDetails } from "@xwiki/platform-authentication-api"; +import type { UserDetails } from "@manuelleducorg/authentication-api"; /** * @beta diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/vitest.config.ts index 27673927253..6098cdf1064 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitest as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitest as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/etc/cristal-attachments-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/etc/cristal-attachments-api.api.md index 5d8583ac9c2..5af0e12984b 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/etc/cristal-attachments-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/etc/cristal-attachments-api.api.md @@ -1,12 +1,12 @@ -## API Report File for "@xwiki/platform-attachments-api" +## API Report File for "@manuelleducorg/attachments-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts -import { AttachmentReference } from '@xwiki/platform-model-api'; +import { AttachmentReference } from '@manuelleducorg/model-api'; import type { Ref } from 'vue'; -import type { UserDetails } from '@xwiki/platform-authentication-api'; +import type { UserDetails } from '@manuelleducorg/authentication-api'; // @beta (undocumented) export interface Attachment { diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/package.json index e0d523e7f4e..4fd40a128e9 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-attachments-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/attachments-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -26,15 +26,15 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-authentication-api": "workspace:*", - "@xwiki/platform-model-api": "workspace:*" + "@manuelleducorg/authentication-api": "workspace:*", + "@manuelleducorg/model-api": "workspace:*" }, "peerDependencies": { "reflect-metadata": "0.x", "vue": "3.x" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "rimraf": "catalog:", "typescript": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/src/attachment.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/src/attachment.ts index 61a7645d780..1b47362b861 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/src/attachment.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/src/attachment.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { UserDetails } from "@xwiki/platform-authentication-api"; +import type { UserDetails } from "@manuelleducorg/authentication-api"; /** * @since 0.9 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/src/attachmentsPreview.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/src/attachmentsPreview.ts index 76932633fb7..4d025bbd39d 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/src/attachmentsPreview.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-api/src/attachmentsPreview.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import { AttachmentReference } from "@xwiki/platform-model-api"; +import { AttachmentReference } from "@manuelleducorg/model-api"; import type { Attachment } from "./attachment"; import type { Ref } from "vue"; diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/etc/cristal-attachments-default.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/etc/cristal-attachments-default.api.md index 31bc46d2f3f..3335e8a0bb8 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/etc/cristal-attachments-default.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/etc/cristal-attachments-default.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-attachments-default" +## API Report File for "@manuelleducorg/attachments-default" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/package.json index 8ab76b6b8c7..9922a006689 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-attachments-default", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/attachments-default", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,12 +30,12 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-attachments-api": "workspace:*", - "@xwiki/platform-authentication-api": "workspace:*", - "@xwiki/platform-backend-api": "workspace:*", - "@xwiki/platform-model-api": "workspace:*", - "@xwiki/platform-model-reference-api": "workspace:*", - "@xwiki/platform-model-remote-url-api": "workspace:*", + "@manuelleducorg/attachments-api": "workspace:*", + "@manuelleducorg/authentication-api": "workspace:*", + "@manuelleducorg/backend-api": "workspace:*", + "@manuelleducorg/model-api": "workspace:*", + "@manuelleducorg/model-reference-api": "workspace:*", + "@manuelleducorg/model-remote-url-api": "workspace:*", "pinia": "catalog:" }, "peerDependencies": { @@ -44,8 +44,8 @@ "vue": "3.x" }, "devDependencies": { - "@xwiki/platform-api": "workspace:*", - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/api": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "inversify": "catalog:", "reflect-metadata": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/__tests__/defaultAttachmentsService.test.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/__tests__/defaultAttachmentsService.test.ts index 52249e0cf97..d06493c00c5 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/__tests__/defaultAttachmentsService.test.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/__tests__/defaultAttachmentsService.test.ts @@ -21,8 +21,8 @@ import { DefaultAttachmentsService } from "../defaultAttachmentsService"; import { createPinia, setActivePinia } from "pinia"; import { beforeEach, describe, expect, it } from "vitest"; import { mock, mockReset } from "vitest-mock-extended"; -import type { Storage } from "@xwiki/platform-api"; -import type { StorageProvider } from "@xwiki/platform-backend-api"; +import type { Storage } from "@manuelleducorg/api"; +import type { StorageProvider } from "@manuelleducorg/backend-api"; function initServiceWithMocks() { const storageProviderMock = mock(); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/defaultAttachmentPreview.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/defaultAttachmentPreview.ts index 65f1e256fc5..311332bc0b2 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/defaultAttachmentPreview.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/defaultAttachmentPreview.ts @@ -18,16 +18,16 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import { AttachmentReference } from "@xwiki/platform-model-api"; +import { AttachmentReference } from "@manuelleducorg/model-api"; import { inject, injectable } from "inversify"; import { defineStore, storeToRefs } from "pinia"; import type { Attachment, AttachmentPreview, -} from "@xwiki/platform-attachments-api"; -import type { UserDetails } from "@xwiki/platform-authentication-api"; -import type { StorageProvider } from "@xwiki/platform-backend-api"; -import type { ModelReferenceSerializerProvider } from "@xwiki/platform-model-reference-api"; +} from "@manuelleducorg/attachments-api"; +import type { UserDetails } from "@manuelleducorg/authentication-api"; +import type { StorageProvider } from "@manuelleducorg/backend-api"; +import type { ModelReferenceSerializerProvider } from "@manuelleducorg/model-reference-api"; import type { Store, StoreDefinition } from "pinia"; import type { Ref } from "vue"; diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/defaultAttachmentsService.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/defaultAttachmentsService.ts index 58dccc42eac..288a16124d8 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/defaultAttachmentsService.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/defaultAttachmentsService.ts @@ -23,8 +23,8 @@ import { defineStore, storeToRefs } from "pinia"; import type { Attachment, AttachmentsService, -} from "@xwiki/platform-attachments-api"; -import type { StorageProvider } from "@xwiki/platform-backend-api"; +} from "@manuelleducorg/attachments-api"; +import type { StorageProvider } from "@manuelleducorg/backend-api"; import type { Store, StoreDefinition } from "pinia"; import type { Ref } from "vue"; diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/index.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/index.ts index 2a2a2809a28..849f63197cf 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/index.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/src/index.ts @@ -24,7 +24,7 @@ import { Container } from "inversify"; import type { AttachmentPreview, AttachmentsService, -} from "@xwiki/platform-attachments-api"; +} from "@manuelleducorg/attachments-api"; /** * @since 0.9 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/attachments/attachments-default/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/etc/cristal-authentication-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/etc/cristal-authentication-api.api.md index 3213dad3d90..b46acd63b83 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/etc/cristal-authentication-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/etc/cristal-authentication-api.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-authentication-api" +## API Report File for "@manuelleducorg/authentication-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/package.json index 58b3a41cac4..85f980868ec 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/authentication/authentication-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-authentication-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/authentication-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -29,7 +29,7 @@ "reflect-metadata": "0.x" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "reflect-metadata": "catalog:", "rimraf": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/etc/cristal-backend-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/etc/cristal-backend-api.api.md index 6addd36f04f..3cfc4b86c3b 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/etc/cristal-backend-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/etc/cristal-backend-api.api.md @@ -1,16 +1,16 @@ -## API Report File for "@xwiki/platform-backend-api" +## API Report File for "@manuelleducorg/backend-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts -import { AttachmentsData } from '@xwiki/platform-api'; +import { AttachmentsData } from '@manuelleducorg/api'; import { Container } from 'inversify'; -import { Logger } from '@xwiki/platform-api'; -import { PageAttachment } from '@xwiki/platform-api'; -import { PageData } from '@xwiki/platform-api'; -import { Storage as Storage_2 } from '@xwiki/platform-api'; -import { WikiConfig } from '@xwiki/platform-api'; +import { Logger } from '@manuelleducorg/api'; +import { PageAttachment } from '@manuelleducorg/api'; +import { PageData } from '@manuelleducorg/api'; +import { Storage as Storage_2 } from '@manuelleducorg/api'; +import { WikiConfig } from '@manuelleducorg/api'; // @beta (undocumented) export abstract class AbstractStorage implements Storage_2 { diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/package.json index 878681b51e1..d8fb7542c34 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-backend-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/backend-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,14 +30,14 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-api": "workspace:*" + "@manuelleducorg/api": "workspace:*" }, "peerDependencies": { "inversify": "7.x", "reflect-metadata": "0.x" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "inversify": "catalog:", "reflect-metadata": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/abstractStorage.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/abstractStorage.ts index d1444151f9e..cbb835491a6 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/abstractStorage.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/abstractStorage.ts @@ -26,7 +26,7 @@ import type { PageData, Storage, WikiConfig, -} from "@xwiki/platform-api"; +} from "@manuelleducorg/api"; /** * @since 1.0 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/defaultStorageProvider.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/defaultStorageProvider.ts index 8cf001ffdb2..626f548f465 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/defaultStorageProvider.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/defaultStorageProvider.ts @@ -20,7 +20,7 @@ import { inject, injectable } from "inversify"; import type { StorageProvider } from "./storageProvider"; -import type { CristalApp, Storage } from "@xwiki/platform-api"; +import type { CristalApp, Storage } from "@manuelleducorg/api"; /** * Provide the current storage. diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/offlineStorage.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/offlineStorage.ts index 251aeac3747..3e9e870a063 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/offlineStorage.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/offlineStorage.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { PageData } from "@xwiki/platform-api"; +import type { PageData } from "@manuelleducorg/api"; /** * @since 0.1 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/storageProvider.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/storageProvider.ts index b39b7f680d6..a909f77610d 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/storageProvider.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/src/storageProvider.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { Storage } from "@xwiki/platform-api"; +import type { Storage } from "@manuelleducorg/api"; /** * Resolves a {@link Storage} based on the current configuration. diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/backends/backend-api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/etc/cristal-collaboration-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/etc/cristal-collaboration-api.api.md index 50039436d96..e8d82d61fe5 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/etc/cristal-collaboration-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/etc/cristal-collaboration-api.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-collaboration-api" +## API Report File for "@manuelleducorg/collaboration-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/package.json index 98f9c8f9aaa..d76e47ef5c0 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-collaboration-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/collaboration-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,7 +30,7 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-api": "workspace:*", + "@manuelleducorg/api": "workspace:*", "yjs": "catalog:" }, "peerDependencies": { @@ -39,7 +39,7 @@ "vue": "3.x" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "inversify": "catalog:", "reflect-metadata": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/src/defaultCollaborationManagerProvider.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/src/defaultCollaborationManagerProvider.ts index b24402e413b..a2cc6aaf8f1 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/src/defaultCollaborationManagerProvider.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/src/defaultCollaborationManagerProvider.ts @@ -22,7 +22,7 @@ import { collaborationManagerName } from "./collaborationManagerName"; import { inject, injectable } from "inversify"; import type { CollaborationManager } from "./collaborationManager"; import type { CollaborationManagerProvider } from "./collaborationManagerProvider"; -import type { CristalApp } from "@xwiki/platform-api"; +import type { CristalApp } from "@manuelleducorg/api"; /** * @since 0.20 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/collaboration/collaboration-api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/etc/cristal-configuration-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/etc/cristal-configuration-api.api.md index bdb9e53d2e4..4cf5da704cf 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/etc/cristal-configuration-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/etc/cristal-configuration-api.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-configuration-api" +## API Report File for "@manuelleducorg/configuration-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/package.json index 467b8e5febd..6f906d99463 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/configuration/configuration-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-configuration-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/configuration-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -29,7 +29,7 @@ "utility-types": "catalog:" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "rimraf": "catalog:", "typescript": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/etc/cristal-document-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/etc/cristal-document-api.api.md index a547283b7dc..306d67eab3b 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/etc/cristal-document-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/etc/cristal-document-api.api.md @@ -1,11 +1,11 @@ -## API Report File for "@xwiki/platform-document-api" +## API Report File for "@manuelleducorg/document-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts -import { DocumentReference } from '@xwiki/platform-model-api'; -import { PageData } from '@xwiki/platform-api'; +import { DocumentReference } from '@manuelleducorg/model-api'; +import { PageData } from '@manuelleducorg/api'; import { Ref } from 'vue'; // @beta (undocumented) diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/package.json index 4a290888bde..4b934bd766d 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-document-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/document-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,15 +30,15 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-api": "workspace:*", - "@xwiki/platform-model-api": "workspace:*" + "@manuelleducorg/api": "workspace:*", + "@manuelleducorg/model-api": "workspace:*" }, "peerDependencies": { "reflect-metadata": "0.x", "vue": "3.x" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "typescript": "catalog:", "vite": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/src/index.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/src/index.ts index 052c2a5959c..1f51b6a215d 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/src/index.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/src/index.ts @@ -18,8 +18,8 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { PageData } from "@xwiki/platform-api"; -import type { DocumentReference } from "@xwiki/platform-model-api"; +import type { PageData } from "@manuelleducorg/api"; +import type { DocumentReference } from "@manuelleducorg/model-api"; import type { Ref } from "vue"; /** diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/document/document-api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/etc/cristal-fn-utils.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/etc/cristal-fn-utils.api.md index fc836904bf2..19c0b3f1662 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/etc/cristal-fn-utils.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/etc/cristal-fn-utils.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-fn-utils" +## API Report File for "@manuelleducorg/fn-utils" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/package.json index b4b3d2614cb..12914ff4f3c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-fn-utils", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/fn-utils", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,7 +30,7 @@ }, "types": "./dist/index.d.ts", "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "typescript": "catalog:", "vite": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/fn-utils/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/etc/cristal-icons.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/etc/cristal-icons.api.md index 88f8aebc577..5a04ea4b7d6 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/etc/cristal-icons.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/etc/cristal-icons.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-icons" +## API Report File for "@manuelleducorg/icons" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/package.json index 616d6464d5c..7981ae621c8 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-icons", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/icons", + "version": "0.0.1", "description": "Provide UI components to display icons.", "license": "LGPL 2.1", "author": "XWiki Org Community ", @@ -39,7 +39,7 @@ }, "devDependencies": { "@vue/test-utils": "catalog:", - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "typescript": "catalog:", "vite": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/icons/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/etc/cristal-link-suggest-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/etc/cristal-link-suggest-api.api.md index fb818e83fa9..5ee47df516c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/etc/cristal-link-suggest-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/etc/cristal-link-suggest-api.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-link-suggest-api" +## API Report File for "@manuelleducorg/link-suggest-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/package.json index 0f65eed0fc9..22776a449e2 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-link-suggest-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/link-suggest-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,14 +30,14 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-api": "workspace:*" + "@manuelleducorg/api": "workspace:*" }, "peerDependencies": { "inversify": "7.x", "reflect-metadata": "0.x" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "inversify": "catalog:", "reflect-metadata": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/src/DefaultLinkSuggestServiceProvider.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/src/DefaultLinkSuggestServiceProvider.ts index fad00a31790..328ca4e7a0c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/src/DefaultLinkSuggestServiceProvider.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/src/DefaultLinkSuggestServiceProvider.ts @@ -21,7 +21,7 @@ import { inject, injectable } from "inversify"; import type { LinkSuggestServiceProvider } from "./LinkSuggestServiceProvider"; import type { LinkSuggestService } from "./linkSuggestService"; -import type { CristalApp } from "@xwiki/platform-api"; +import type { CristalApp } from "@manuelleducorg/api"; /** * @since 0.11 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/vitest.config.ts index 27673927253..6098cdf1064 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/link-suggest/link-suggest-api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitest as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitest as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/etc/cristal-macros-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/etc/cristal-macros-api.api.md index 9cf608c34ae..92a821e9a99 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/etc/cristal-macros-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/etc/cristal-macros-api.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-macros-api" +## API Report File for "@manuelleducorg/macros-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/package.json index ee30559deab..37b5d00dcfc 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-macros-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/macros-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,7 +30,7 @@ }, "types": "./dist/index.d.ts", "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "typescript": "catalog:", "vite": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/etc/cristal-macros-ast-react-jsx.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/etc/cristal-macros-ast-react-jsx.api.md index 3881f623529..cb7f6dc9b46 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/etc/cristal-macros-ast-react-jsx.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/etc/cristal-macros-ast-react-jsx.api.md @@ -1,15 +1,15 @@ -## API Report File for "@xwiki/platform-macros-ast-react-jsx" +## API Report File for "@manuelleducorg/macros-ast-react-jsx" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { JSX } from 'react'; -import { MacroBlock } from '@xwiki/platform-macros-api'; -import { MacroInlineContent } from '@xwiki/platform-macros-api'; +import { MacroBlock } from '@manuelleducorg/macros-api'; +import { MacroInlineContent } from '@manuelleducorg/macros-api'; import { Ref } from 'react'; -import { RemoteURLParser } from '@xwiki/platform-model-remote-url-api'; -import { RemoteURLSerializer } from '@xwiki/platform-model-remote-url-api'; +import { RemoteURLParser } from '@manuelleducorg/model-remote-url-api'; +import { RemoteURLSerializer } from '@manuelleducorg/model-remote-url-api'; // @beta (undocumented) export type MacroEditableZoneRef = { diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/package.json index bb0d5563367..0635a7c78c0 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-macros-ast-react-jsx", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/macros-ast-react-jsx", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,16 +30,16 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-fn-utils": "workspace:*", - "@xwiki/platform-macros-api": "workspace:*", - "@xwiki/platform-model-remote-url-api": "workspace:*" + "@manuelleducorg/fn-utils": "workspace:*", + "@manuelleducorg/macros-api": "workspace:*", + "@manuelleducorg/model-remote-url-api": "workspace:*" }, "peerDependencies": { "inversify": "7.x" }, "devDependencies": { "@types/react": "catalog:", - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "react": "catalog:", "typescript": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/src/converter.tsx b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/src/converter.tsx index 78da104a596..cb97d5225fe 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/src/converter.tsx +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/src/converter.tsx @@ -20,18 +20,18 @@ import { assertUnreachable, tryFallibleOrError, -} from "@xwiki/platform-fn-utils"; +} from "@manuelleducorg/fn-utils"; import React from "react"; import type { MacroBlock, MacroBlockStyles, MacroInlineContent, MacroLinkTarget, -} from "@xwiki/platform-macros-api"; +} from "@manuelleducorg/macros-api"; import type { RemoteURLParser, RemoteURLSerializer, -} from "@xwiki/platform-model-remote-url-api"; +} from "@manuelleducorg/model-remote-url-api"; import type { CSSProperties, HTMLAttributes, diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/macros/macros-ast-react-jsx/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/etc/cristal-model-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/etc/cristal-model-api.api.md index 6571e7f87ed..d3dcb40ec9b 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/etc/cristal-model-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/etc/cristal-model-api.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-model-api" +## API Report File for "@manuelleducorg/model-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/package.json index b239124248e..cfb42e22494 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-model-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/model-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,7 +30,7 @@ }, "types": "./dist/index.d.ts", "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "typescript": "catalog:", "vite": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/etc/cristal-model-reference-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/etc/cristal-model-reference-api.api.md index 80df8b9cf64..1ed5aef8e5d 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/etc/cristal-model-reference-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/etc/cristal-model-reference-api.api.md @@ -1,14 +1,14 @@ -## API Report File for "@xwiki/platform-model-reference-api" +## API Report File for "@manuelleducorg/model-reference-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { Container } from 'inversify'; -import { DocumentReference } from '@xwiki/platform-model-api'; -import { EntityReference } from '@xwiki/platform-model-api'; -import { EntityType } from '@xwiki/platform-model-api'; -import { SpaceReference } from '@xwiki/platform-model-api'; +import { DocumentReference } from '@manuelleducorg/model-api'; +import { EntityReference } from '@manuelleducorg/model-api'; +import { EntityType } from '@manuelleducorg/model-api'; +import { SpaceReference } from '@manuelleducorg/model-api'; // @beta (undocumented) export class ComponentInit { diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/package.json index f6be1e4b3ea..b1cf4615298 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-model-reference-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/model-reference-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,15 +30,15 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-api": "workspace:*", - "@xwiki/platform-model-api": "workspace:*" + "@manuelleducorg/api": "workspace:*", + "@manuelleducorg/model-api": "workspace:*" }, "peerDependencies": { "inversify": "7.x", "reflect-metadata": "0.x" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "inversify": "catalog:", "reflect-metadata": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceHandler.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceHandler.ts index 643dab074c2..b447bc16da3 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceHandler.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceHandler.ts @@ -22,14 +22,14 @@ import { AttachmentReference, DocumentReference, EntityType, -} from "@xwiki/platform-model-api"; +} from "@manuelleducorg/model-api"; import { injectable } from "inversify"; import type { ModelReferenceHandler } from "./modelReferenceHandler"; import type { EntityReference, SpaceReference, WikiReference, -} from "@xwiki/platform-model-api"; +} from "@manuelleducorg/model-api"; /** * Default implementation for {@link ModelReferenceHandler}. diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceHandlerProvider.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceHandlerProvider.ts index 26d7b63e55c..a64030dafb2 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceHandlerProvider.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceHandlerProvider.ts @@ -21,7 +21,7 @@ import { inject, injectable } from "inversify"; import type { ModelReferenceHandler } from "./modelReferenceHandler"; import type { ModelReferenceHandlerProvider } from "./modelReferenceHandlerProvider"; -import type { CristalApp } from "@xwiki/platform-api"; +import type { CristalApp } from "@manuelleducorg/api"; /** * Default implementation for {@link ModelReferenceHandlerProvider}. diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceParserProvider.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceParserProvider.ts index 45406e97aeb..7786ae600fc 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceParserProvider.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceParserProvider.ts @@ -21,7 +21,7 @@ import { inject, injectable } from "inversify"; import type { ModelReferenceParser } from "./modelReferenceParser"; import type { ModelReferenceParserProvider } from "./modelReferenceParserProvider"; -import type { CristalApp } from "@xwiki/platform-api"; +import type { CristalApp } from "@manuelleducorg/api"; /** * @since 0.12 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceSerializerProvider.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceSerializerProvider.ts index 2677f3b50c2..5cdd43b6f1f 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceSerializerProvider.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/defaultModelReferenceSerializerProvider.ts @@ -21,7 +21,7 @@ import { inject, injectable } from "inversify"; import type { ModelReferenceSerializer } from "./modelReferenceSerializer"; import type { ModelReferenceSerializerProvider } from "./modelReferenceSerializerProvider"; -import type { CristalApp } from "@xwiki/platform-api"; +import type { CristalApp } from "@manuelleducorg/api"; /** * @since 0.12 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceHandler.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceHandler.ts index e0c31f2860f..9017f670178 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceHandler.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceHandler.ts @@ -22,11 +22,11 @@ import type { DocumentReference, EntityReference, SpaceReference, -} from "@xwiki/platform-model-api"; +} from "@manuelleducorg/model-api"; /** * A ModelReferenceHandler can do backend-specific operations involving - * {@link @xwiki/platform-model-api#EntityReference | EntityReferences}. + * {@link @manuelleducorg/model-api#EntityReference | EntityReferences}. * * @since 0.13 * @beta diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceParser.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceParser.ts index baaf54d46a0..2a64077ec60 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceParser.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceParser.ts @@ -19,7 +19,7 @@ */ import type { ModelReferenceParserOptions } from "./modelReferenceParserOptions"; -import type { EntityReference } from "@xwiki/platform-model-api"; +import type { EntityReference } from "@manuelleducorg/model-api"; /** * @since 0.12 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceParserOptions.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceParserOptions.ts index e9608c61126..b8f1850f04b 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceParserOptions.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceParserOptions.ts @@ -17,7 +17,7 @@ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import { EntityType } from "@xwiki/platform-model-api"; +import { EntityType } from "@manuelleducorg/model-api"; /** * @since 0.22 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceSerializer.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceSerializer.ts index d9f03317297..c408136c06e 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceSerializer.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/src/modelReferenceSerializer.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { EntityReference } from "@xwiki/platform-model-api"; +import type { EntityReference } from "@manuelleducorg/model-api"; /** * @since 0.12 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-reference/model-reference-api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/etc/cristal-model-remote-url-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/etc/cristal-model-remote-url-api.api.md index 8994e26a536..97801408a59 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/etc/cristal-model-remote-url-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/etc/cristal-model-remote-url-api.api.md @@ -1,12 +1,12 @@ -## API Report File for "@xwiki/platform-model-remote-url-api" +## API Report File for "@manuelleducorg/model-remote-url-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { Container } from 'inversify'; -import { EntityReference } from '@xwiki/platform-model-api'; -import { EntityType } from '@xwiki/platform-model-api'; +import { EntityReference } from '@manuelleducorg/model-api'; +import { EntityType } from '@manuelleducorg/model-api'; // @beta (undocumented) export class ComponentInit { diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/package.json index db755d021fa..99b183d83f8 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-model-remote-url-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/model-remote-url-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,15 +30,15 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-api": "workspace:*", - "@xwiki/platform-model-api": "workspace:*" + "@manuelleducorg/api": "workspace:*", + "@manuelleducorg/model-api": "workspace:*" }, "peerDependencies": { "inversify": "7.x", "reflect-metadata": "0.x" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "inversify": "catalog:", "reflect-metadata": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/defaultRemoteURLParserProvider.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/defaultRemoteURLParserProvider.ts index 99196d85c37..ddeb6c48575 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/defaultRemoteURLParserProvider.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/defaultRemoteURLParserProvider.ts @@ -21,7 +21,7 @@ import { inject, injectable } from "inversify"; import type { RemoteURLParser } from "./remoteURLParser"; import type { RemoteURLParserProvider } from "./remoteURLParserProvider"; -import type { CristalApp } from "@xwiki/platform-api"; +import type { CristalApp } from "@manuelleducorg/api"; /** * @since 0.12 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/defaultRemoteURLSerializerProvider.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/defaultRemoteURLSerializerProvider.ts index c9d222c87e1..b21f19968f5 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/defaultRemoteURLSerializerProvider.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/defaultRemoteURLSerializerProvider.ts @@ -21,7 +21,7 @@ import { inject, injectable } from "inversify"; import type { RemoteURLSerializer } from "./remoteURLSerializer"; import type { RemoteURLSerializerProvider } from "./remoteURLSerializerProvider"; -import type { CristalApp } from "@xwiki/platform-api"; +import type { CristalApp } from "@manuelleducorg/api"; @injectable() class DefaultRemoteURLSerializerProvider diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/remoteURLParser.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/remoteURLParser.ts index 6809e24460b..af1898e45fb 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/remoteURLParser.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/remoteURLParser.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { EntityReference, EntityType } from "@xwiki/platform-model-api"; +import type { EntityReference, EntityType } from "@manuelleducorg/model-api"; /** * @since 0.12 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/remoteURLSerializer.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/remoteURLSerializer.ts index 6cb0bd5088e..4d20429a548 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/remoteURLSerializer.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/src/remoteURLSerializer.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { EntityReference } from "@xwiki/platform-model-api"; +import type { EntityReference } from "@manuelleducorg/model-api"; /** * @since 0.12 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/model/model-remote-url/model-remote-url-api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/etc/cristal-navigation-tree-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/etc/cristal-navigation-tree-api.api.md index 5c00d28ffe9..e9259e0537c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/etc/cristal-navigation-tree-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/etc/cristal-navigation-tree-api.api.md @@ -1,11 +1,11 @@ -## API Report File for "@xwiki/platform-navigation-tree-api" +## API Report File for "@manuelleducorg/navigation-tree-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts -import { DocumentReference } from '@xwiki/platform-model-api'; -import { SpaceReference } from '@xwiki/platform-model-api'; +import { DocumentReference } from '@manuelleducorg/model-api'; +import { SpaceReference } from '@manuelleducorg/model-api'; // @beta const name_2 = "NavigationTreeSource"; diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/package.json index 80b7ead7ae2..72f665fe4cd 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-navigation-tree-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/navigation-tree-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,11 +30,11 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-api": "workspace:*", - "@xwiki/platform-model-api": "workspace:*" + "@manuelleducorg/api": "workspace:*", + "@manuelleducorg/model-api": "workspace:*" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "typescript": "catalog:", "vite": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/src/index.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/src/index.ts index 8abed9b6fca..3cc671360a9 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/src/index.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/src/index.ts @@ -21,7 +21,7 @@ import type { DocumentReference, SpaceReference, -} from "@xwiki/platform-model-api"; +} from "@manuelleducorg/model-api"; /** * Description of a navigation tree node. diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/navigation-tree/navigation-tree-api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/etc/cristal-uniast-api.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/etc/cristal-uniast-api.api.md index a9a0e5b159c..2964dd99155 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/etc/cristal-uniast-api.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/etc/cristal-uniast-api.api.md @@ -1,10 +1,10 @@ -## API Report File for "@xwiki/platform-uniast-api" +## API Report File for "@manuelleducorg/uniast-api" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts -import type { EntityReference } from '@xwiki/platform-model-api'; +import type { EntityReference } from '@manuelleducorg/model-api'; // @beta (undocumented) export type Alignment = "left" | "center" | "right" | "justify"; diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/package.json index 4ef5622b930..ae9eb123560 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-uniast-api", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/uniast-api", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -26,7 +26,7 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-model-api": "workspace:*" + "@manuelleducorg/model-api": "workspace:*" }, "devDependencies": { "eslint": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/src/ast.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/src/ast.ts index 6c93c190521..980ee8ed57a 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/src/ast.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-api/src/ast.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { EntityReference } from "@xwiki/platform-model-api"; +import type { EntityReference } from "@manuelleducorg/model-api"; /** * @since 0.16 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/etc/cristal-uniast-markdown.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/etc/cristal-uniast-markdown.api.md index 0d55aea4fd5..cdf3603f25b 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/etc/cristal-uniast-markdown.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/etc/cristal-uniast-markdown.api.md @@ -1,12 +1,12 @@ -## API Report File for "@xwiki/platform-uniast-markdown" +## API Report File for "@manuelleducorg/uniast-markdown" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { Container } from 'inversify'; -import { InlineContent } from '@xwiki/platform-uniast-api'; -import { UniAst } from '@xwiki/platform-uniast-api'; +import { InlineContent } from '@manuelleducorg/uniast-api'; +import { UniAst } from '@manuelleducorg/uniast-api'; // @beta (undocumented) export class ComponentInit { diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/package.json index e711a3196a6..7a00e2dab08 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-uniast-markdown", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/uniast-markdown", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,11 +30,11 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-api": "workspace:*", - "@xwiki/platform-document-api": "workspace:*", - "@xwiki/platform-fn-utils": "workspace:*", - "@xwiki/platform-model-api": "workspace:*", - "@xwiki/platform-uniast-api": "workspace:*", + "@manuelleducorg/api": "workspace:*", + "@manuelleducorg/document-api": "workspace:*", + "@manuelleducorg/fn-utils": "workspace:*", + "@manuelleducorg/model-api": "workspace:*", + "@manuelleducorg/uniast-api": "workspace:*", "fast-xml-parser": "catalog:", "mdast-util-gfm-strikethrough": "catalog:", "mdast-util-gfm-table": "catalog:", @@ -50,9 +50,9 @@ }, "devDependencies": { "@types/mdast": "catalog:", - "@xwiki/platform-dev-config": "workspace:*", - "@xwiki/platform-model-reference-api": "workspace:*", - "@xwiki/platform-model-remote-url-api": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", + "@manuelleducorg/model-reference-api": "workspace:*", + "@manuelleducorg/model-remote-url-api": "workspace:*", "eslint": "catalog:", "inversify": "catalog:", "typescript": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/__tests__/converters.test.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/__tests__/converters.test.ts index 418fe8f1bda..2320ed1da4c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/__tests__/converters.test.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/__tests__/converters.test.ts @@ -20,7 +20,7 @@ import { DefaultMarkdownToUniAstConverter } from "../markdown/default-markdown-to-uni-ast-converter"; import { DefaultUniAstToMarkdownConverter } from "../markdown/default-uni-ast-to-markdown-converter"; -import { EntityType } from "@xwiki/platform-model-api"; +import { EntityType } from "@manuelleducorg/model-api"; import { Container } from "inversify"; import { describe, expect, test } from "vitest"; import { matches, mock } from "vitest-mock-extended"; @@ -34,12 +34,12 @@ import type { ModelReferenceParserOptions, ModelReferenceParserProvider, ModelReferenceSerializerProvider, -} from "@xwiki/platform-model-reference-api"; +} from "@manuelleducorg/model-reference-api"; import type { RemoteURLParserProvider, RemoteURLSerializerProvider, -} from "@xwiki/platform-model-remote-url-api"; -import type { UniAst } from "@xwiki/platform-uniast-api"; +} from "@manuelleducorg/model-remote-url-api"; +import type { UniAst } from "@manuelleducorg/uniast-api"; // eslint-disable-next-line max-statements function init() { diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/default-markdown-to-uni-ast-converter.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/default-markdown-to-uni-ast-converter.ts index 7a31d134016..1a1c83e0a26 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/default-markdown-to-uni-ast-converter.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/default-markdown-to-uni-ast-converter.ts @@ -20,18 +20,18 @@ import { findFirstMatchIn } from "./internal/find-first-match-in"; import { remarkPartialGfm } from "./internal/remark-partial-gfm"; import { ParserConfigurationResolver } from "./internal-links/parser/parser-configuration-resolver"; -import { assertInArray, assertUnreachable } from "@xwiki/platform-fn-utils"; -import { EntityType } from "@xwiki/platform-model-api"; +import { assertInArray, assertUnreachable } from "@manuelleducorg/fn-utils"; +import { EntityType } from "@manuelleducorg/model-api"; import { inject, injectable } from "inversify"; import remarkParse from "remark-parse"; import { unified } from "unified"; import type { MatchResult } from "./internal/find-first-match-in"; import type { MarkdownToUniAstConverter } from "./markdown-to-uni-ast-converter"; -import type { EntityReference } from "@xwiki/platform-model-api"; +import type { EntityReference } from "@manuelleducorg/model-api"; import type { ModelReferenceHandlerProvider, ModelReferenceParserProvider, -} from "@xwiki/platform-model-reference-api"; +} from "@manuelleducorg/model-reference-api"; import type { Block, Image, @@ -41,7 +41,7 @@ import type { TableColumn, TextStyles, UniAst, -} from "@xwiki/platform-uniast-api"; +} from "@manuelleducorg/uniast-api"; import type { Image as MdImage, PhrasingContent, RootContent } from "mdast"; /** diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/default-uni-ast-to-markdown-converter.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/default-uni-ast-to-markdown-converter.ts index 2ebf5bc15a0..d3565f8979f 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/default-uni-ast-to-markdown-converter.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/default-uni-ast-to-markdown-converter.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ import { InternalLinksSerializerResolver } from "./internal-links/serializer/internal-links-serializer-resolver"; -import { tryFallibleOrError } from "@xwiki/platform-fn-utils"; +import { tryFallibleOrError } from "@manuelleducorg/fn-utils"; import { inject, injectable } from "inversify"; import type { UniAstToMarkdownConverter } from "./uni-ast-to-markdown-converter"; import type { @@ -30,7 +30,7 @@ import type { TableCell, Text, UniAst, -} from "@xwiki/platform-uniast-api"; +} from "@manuelleducorg/uniast-api"; /** * @since 0.22 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/parser/parser-configuration-resolver.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/parser/parser-configuration-resolver.ts index 54e971a0caf..abe69582c53 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/parser/parser-configuration-resolver.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/parser/parser-configuration-resolver.ts @@ -19,7 +19,7 @@ */ import { inject, injectable } from "inversify"; import type { MarkdownParserConfiguration } from "./markdown-parser-configuration"; -import type { CristalApp } from "@xwiki/platform-api"; +import type { CristalApp } from "@manuelleducorg/api"; /** * @since 0.22 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/filesystem-internal-link-serializer.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/filesystem-internal-link-serializer.ts index 3ed26714cc8..417199c9311 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/filesystem-internal-link-serializer.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/filesystem-internal-link-serializer.ts @@ -17,13 +17,13 @@ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import { AttachmentReference, EntityType } from "@xwiki/platform-model-api"; +import { AttachmentReference, EntityType } from "@manuelleducorg/model-api"; import { inject, injectable } from "inversify"; import type { InternalLinksSerializer } from "./internal-links-serializer"; import type { UniAstToMarkdownConverter } from "../../uni-ast-to-markdown-converter"; -import type { DocumentService } from "@xwiki/platform-document-api"; -import type { EntityReference } from "@xwiki/platform-model-api"; -import type { Link, LinkTarget } from "@xwiki/platform-uniast-api"; +import type { DocumentService } from "@manuelleducorg/document-api"; +import type { EntityReference } from "@manuelleducorg/model-api"; +import type { Link, LinkTarget } from "@manuelleducorg/uniast-api"; /** * @since 0.22 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/github-internal-link-serializer.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/github-internal-link-serializer.ts index 109f1a0348e..9fc6d296087 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/github-internal-link-serializer.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/github-internal-link-serializer.ts @@ -17,13 +17,13 @@ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import { AttachmentReference, EntityType } from "@xwiki/platform-model-api"; +import { AttachmentReference, EntityType } from "@manuelleducorg/model-api"; import { inject, injectable } from "inversify"; import type { InternalLinksSerializer } from "./internal-links-serializer"; import type { UniAstToMarkdownConverter } from "../../uni-ast-to-markdown-converter"; -import type { DocumentService } from "@xwiki/platform-document-api"; -import type { EntityReference } from "@xwiki/platform-model-api"; -import type { Link, LinkTarget } from "@xwiki/platform-uniast-api"; +import type { DocumentService } from "@manuelleducorg/document-api"; +import type { EntityReference } from "@manuelleducorg/model-api"; +import type { Link, LinkTarget } from "@manuelleducorg/uniast-api"; /** * @since 0.22 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/internal-links-serializer-resolver.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/internal-links-serializer-resolver.ts index 658a93f1313..d5f95a0281f 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/internal-links-serializer-resolver.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/internal-links-serializer-resolver.ts @@ -19,7 +19,7 @@ */ import { inject, injectable } from "inversify"; import type { InternalLinksSerializer } from "./internal-links-serializer"; -import type { CristalApp } from "@xwiki/platform-api"; +import type { CristalApp } from "@manuelleducorg/api"; /** * @since 0.22 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/internal-links-serializer.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/internal-links-serializer.ts index f94216bbca8..937c1473fd9 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/internal-links-serializer.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/internal-links-serializer.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ import type { UniAstToMarkdownConverter } from "../../uni-ast-to-markdown-converter"; -import type { Link, LinkTarget } from "@xwiki/platform-uniast-api"; +import type { Link, LinkTarget } from "@manuelleducorg/uniast-api"; /** * Serialize internal link and image for a specific backend. diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/nextcloud-internal-link-serializer.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/nextcloud-internal-link-serializer.ts index 36082733a1d..d67e0535613 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/nextcloud-internal-link-serializer.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/nextcloud-internal-link-serializer.ts @@ -17,15 +17,15 @@ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import { EntityType } from "@xwiki/platform-model-api"; +import { EntityType } from "@manuelleducorg/model-api"; import { XMLParser } from "fast-xml-parser"; import { inject, injectable } from "inversify"; import type { InternalLinksSerializer } from "./internal-links-serializer"; import type { UniAstToMarkdownConverter } from "../../uni-ast-to-markdown-converter"; -import type { CristalApp } from "@xwiki/platform-api"; -import type { DocumentService } from "@xwiki/platform-document-api"; -import type { RemoteURLSerializerProvider } from "@xwiki/platform-model-remote-url-api"; -import type { Link, LinkTarget } from "@xwiki/platform-uniast-api"; +import type { CristalApp } from "@manuelleducorg/api"; +import type { DocumentService } from "@manuelleducorg/document-api"; +import type { RemoteURLSerializerProvider } from "@manuelleducorg/model-remote-url-api"; +import type { Link, LinkTarget } from "@manuelleducorg/uniast-api"; /** * @since 0.22 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/xwiki-internal-link-serializer.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/xwiki-internal-link-serializer.ts index f56a1d8718e..27512cd3200 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/xwiki-internal-link-serializer.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/internal-links/serializer/xwiki-internal-link-serializer.ts @@ -20,7 +20,7 @@ import { injectable } from "inversify"; import type { InternalLinksSerializer } from "./internal-links-serializer"; import type { UniAstToMarkdownConverter } from "../../uni-ast-to-markdown-converter"; -import type { Link, LinkTarget } from "@xwiki/platform-uniast-api"; +import type { Link, LinkTarget } from "@manuelleducorg/uniast-api"; /** * @since 0.22 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/markdown-to-uni-ast-converter.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/markdown-to-uni-ast-converter.ts index 81eaeb7ddff..9aab8f5d321 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/markdown-to-uni-ast-converter.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/markdown-to-uni-ast-converter.ts @@ -17,7 +17,7 @@ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { UniAst } from "@xwiki/platform-uniast-api"; +import type { UniAst } from "@manuelleducorg/uniast-api"; /** * Convert Markdown string to a Universal AST. diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/uni-ast-to-markdown-converter.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/uni-ast-to-markdown-converter.ts index 2f5d3762066..78afbeb3816 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/uni-ast-to-markdown-converter.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/src/markdown/uni-ast-to-markdown-converter.ts @@ -17,7 +17,7 @@ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { InlineContent, UniAst } from "@xwiki/platform-uniast-api"; +import type { InlineContent, UniAst } from "@manuelleducorg/uniast-api"; /** * Converts Universal AST trees to markdown. diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/core/uniast/uniast-markdown/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/dev/config/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/dev/config/package.json index a36944ca21d..b74a4c0299b 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/dev/config/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/dev/config/package.json @@ -1,6 +1,6 @@ { "private": true, - "name": "@xwiki/platform-dev-config", + "name": "@manuelleducorg/dev-config", "version": "17.10.0", "license": "LGPL 2.1", "author": "XWiki Org Community ", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/etc/cristal-dsapi.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/etc/cristal-dsapi.api.md index ca22ea8e4af..4b7d6e7b245 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/etc/cristal-dsapi.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/etc/cristal-dsapi.api.md @@ -1,4 +1,4 @@ -## API Report File for "@xwiki/platform-dsapi" +## API Report File for "@manuelleducorg/dsapi" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). @@ -8,15 +8,15 @@ import { ButtonHTMLAttributes } from 'vue'; import { ComponentOptionsMixin } from 'vue'; import { ComputedOptions } from 'vue'; import { DefineComponent } from 'vue'; -import { DocumentReference } from '@xwiki/platform-model-api'; +import { DocumentReference } from '@manuelleducorg/model-api'; import { FormHTMLAttributes } from 'vue'; import { HTMLAttributes } from 'vue'; import { ImgHTMLAttributes } from 'vue'; import { InputHTMLAttributes } from 'vue'; import { MethodOptions } from 'vue'; -import { NavigationTreeNode } from '@xwiki/platform-navigation-tree-api'; -import { SpaceReference } from '@xwiki/platform-model-api'; -import { TreeNode } from '@xwiki/platform-fn-utils'; +import { NavigationTreeNode } from '@manuelleducorg/navigation-tree-api'; +import { SpaceReference } from '@manuelleducorg/model-api'; +import { TreeNode } from '@manuelleducorg/fn-utils'; // @beta export type AbstractElements = { diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/package.json index eefc034485b..7f36291cdb7 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-dsapi", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/dsapi", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -30,17 +30,17 @@ }, "types": "./dist/index.d.ts", "dependencies": { - "@xwiki/platform-api": "workspace:*", - "@xwiki/platform-fn-utils": "workspace:*", - "@xwiki/platform-model-api": "workspace:*", - "@xwiki/platform-navigation-tree-api": "workspace:*" + "@manuelleducorg/api": "workspace:*", + "@manuelleducorg/fn-utils": "workspace:*", + "@manuelleducorg/model-api": "workspace:*", + "@manuelleducorg/navigation-tree-api": "workspace:*" }, "peerDependencies": { "reflect-metadata": "0.x", "vue": "3.x" }, "devDependencies": { - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "happy-dom": "catalog:", "typescript": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XNavigationTree.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XNavigationTree.ts index 64f2a4d3266..6aebc39f5b3 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XNavigationTree.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XNavigationTree.ts @@ -18,8 +18,8 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { DocumentReference } from "@xwiki/platform-model-api"; -import type { NavigationTreeNode } from "@xwiki/platform-navigation-tree-api"; +import type { DocumentReference } from "@manuelleducorg/model-api"; +import type { NavigationTreeNode } from "@manuelleducorg/navigation-tree-api"; /** * @since 0.15 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XNavigationTreeSelect.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XNavigationTreeSelect.ts index 838a12cfb72..ef87ad5b2fd 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XNavigationTreeSelect.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XNavigationTreeSelect.ts @@ -21,7 +21,7 @@ import type { DocumentReference, SpaceReference, -} from "@xwiki/platform-model-api"; +} from "@manuelleducorg/model-api"; /** * @since 0.15 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XTree.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XTree.ts index 8d2fe576af2..cab8328c554 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XTree.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/src/XTree.ts @@ -18,7 +18,7 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import type { TreeNode } from "@xwiki/platform-fn-utils"; +import type { TreeNode } from "@manuelleducorg/fn-utils"; /** * Represents a TreeNode that can be displayed in a Tree component. diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/vitest.config.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/vitest.config.ts index 6fd776cf7b6..2cea00a5c7c 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/vitest.config.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/ds/api/vitest.config.ts @@ -19,7 +19,7 @@ */ import localConfig from "./vite.config"; -import { vitestVue as defaultConfig } from "@xwiki/platform-dev-config"; +import { vitestVue as defaultConfig } from "@manuelleducorg/dev-config"; import { mergeConfig } from "vitest/config"; export default mergeConfig(defaultConfig, localConfig); diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/etc/cristal-editors-blocknote-headless.api.md b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/etc/cristal-editors-blocknote-headless.api.md index ec6cdef2c9c..82a4b27efb7 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/etc/cristal-editors-blocknote-headless.api.md +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/etc/cristal-editors-blocknote-headless.api.md @@ -1,20 +1,20 @@ -## API Report File for "@xwiki/platform-editors-blocknote-headless" +## API Report File for "@manuelleducorg/editors-blocknote-headless" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts -import { BlockNoteViewWrapperProps } from '@xwiki/platform-editors-blocknote-react'; -import { CollaborationInitializer } from '@xwiki/platform-collaboration-api'; +import { BlockNoteViewWrapperProps } from '@manuelleducorg/editors-blocknote-react'; +import { CollaborationInitializer } from '@manuelleducorg/collaboration-api'; import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { Container } from 'inversify'; -import { ContextForMacros } from '@xwiki/platform-editors-blocknote-react'; +import { ContextForMacros } from '@manuelleducorg/editors-blocknote-react'; import { DefineComponent } from 'vue'; -import { EditorType } from '@xwiki/platform-editors-blocknote-react'; -import { MacroWithUnknownParamsType } from '@xwiki/platform-macros-api'; +import { EditorType } from '@manuelleducorg/editors-blocknote-react'; +import { MacroWithUnknownParamsType } from '@manuelleducorg/macros-api'; import { PublicProps } from 'vue'; -import { UniAst } from '@xwiki/platform-uniast-api'; +import { UniAst } from '@manuelleducorg/uniast-api'; // @beta (undocumented) export const BlocknoteEditor: DefineComponent< { diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/package.json b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/package.json index 87061a12093..fac1cdb7771 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/package.json +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/package.json @@ -1,6 +1,6 @@ { - "name": "@xwiki/platform-editors-blocknote-headless", - "version": "18.0.0-SNAPSHOT", + "name": "@manuelleducorg/editors-blocknote-headless", + "version": "0.0.1", "license": "LGPL 2.1", "author": "XWiki Org Community ", "homepage": "https://xwiki.org/", @@ -31,20 +31,20 @@ "types": "./dist/index.d.ts", "dependencies": { "@blocknote/core": "catalog:", - "@xwiki/platform-attachments-api": "workspace:*", - "@xwiki/platform-authentication-api": "workspace:*", - "@xwiki/platform-collaboration-api": "workspace:*", - "@xwiki/platform-document-api": "workspace:*", - "@xwiki/platform-dsapi": "workspace:*", - "@xwiki/platform-editors-blocknote-react": "workspace:*", - "@xwiki/platform-fn-utils": "workspace:*", - "@xwiki/platform-icons": "workspace:*", - "@xwiki/platform-link-suggest-api": "workspace:*", - "@xwiki/platform-macros-api": "workspace:*", - "@xwiki/platform-model-api": "workspace:*", - "@xwiki/platform-model-reference-api": "workspace:*", - "@xwiki/platform-model-remote-url-api": "workspace:*", - "@xwiki/platform-uniast-api": "workspace:*", + "@manuelleducorg/attachments-api": "workspace:*", + "@manuelleducorg/authentication-api": "workspace:*", + "@manuelleducorg/collaboration-api": "workspace:*", + "@manuelleducorg/document-api": "workspace:*", + "@manuelleducorg/dsapi": "workspace:*", + "@manuelleducorg/editors-blocknote-react": "workspace:*", + "@manuelleducorg/fn-utils": "workspace:*", + "@manuelleducorg/icons": "workspace:*", + "@manuelleducorg/link-suggest-api": "workspace:*", + "@manuelleducorg/macros-api": "workspace:*", + "@manuelleducorg/model-api": "workspace:*", + "@manuelleducorg/model-reference-api": "workspace:*", + "@manuelleducorg/model-remote-url-api": "workspace:*", + "@manuelleducorg/uniast-api": "workspace:*", "eventemitter3": "catalog:", "lodash-es": "catalog:", "vue-i18n": "catalog:" @@ -56,7 +56,7 @@ }, "devDependencies": { "@types/lodash-es": "catalog:", - "@xwiki/platform-dev-config": "workspace:*", + "@manuelleducorg/dev-config": "workspace:*", "eslint": "catalog:", "inversify": "catalog:", "reflect-metadata": "catalog:", diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/components/currentUser.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/components/currentUser.ts index 2f60cbf51cd..e74604ea19f 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/components/currentUser.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/components/currentUser.ts @@ -19,7 +19,7 @@ */ import { stringToColor } from "../utils"; -import type { AuthenticationManager } from "@xwiki/platform-authentication-api"; +import type { AuthenticationManager } from "@manuelleducorg/authentication-api"; /** * Realtime user diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/components/linkEditionContext.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/components/linkEditionContext.ts index dfdd5ce9aba..5ed8440aab2 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/components/linkEditionContext.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/components/linkEditionContext.ts @@ -19,19 +19,19 @@ */ import { Container } from "inversify"; -import type { AttachmentsService } from "@xwiki/platform-attachments-api"; -import type { DocumentService } from "@xwiki/platform-document-api"; -import type { LinkEditionContext } from "@xwiki/platform-editors-blocknote-react"; -import type { LinkSuggestServiceProvider } from "@xwiki/platform-link-suggest-api"; +import type { AttachmentsService } from "@manuelleducorg/attachments-api"; +import type { DocumentService } from "@manuelleducorg/document-api"; +import type { LinkEditionContext } from "@manuelleducorg/editors-blocknote-react"; +import type { LinkSuggestServiceProvider } from "@manuelleducorg/link-suggest-api"; import type { ModelReferenceHandlerProvider, ModelReferenceParserProvider, ModelReferenceSerializerProvider, -} from "@xwiki/platform-model-reference-api"; +} from "@manuelleducorg/model-reference-api"; import type { RemoteURLParserProvider, RemoteURLSerializerProvider, -} from "@xwiki/platform-model-remote-url-api"; +} from "@manuelleducorg/model-remote-url-api"; export function createLinkEditionContext( container: Container, diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/index.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/index.ts index 32fed698c22..60376212ced 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/index.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/index.ts @@ -21,7 +21,7 @@ import BlocknoteEditor from "./vue/c-blocknote-view.vue"; export type { ContextForMacros, EditorType, -} from "@xwiki/platform-editors-blocknote-react"; +} from "@manuelleducorg/editors-blocknote-react"; /** * @since 0.16 diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/bn-to-uniast.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/bn-to-uniast.ts index 22852555c2c..79ff0dae188 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/bn-to-uniast.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/bn-to-uniast.ts @@ -18,13 +18,13 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import { MACRO_NAME_PREFIX } from "@xwiki/platform-editors-blocknote-react"; +import { MACRO_NAME_PREFIX } from "@manuelleducorg/editors-blocknote-react"; import { assertUnreachable, provideTypeInference, tryFallible, tryFallibleOrError, -} from "@xwiki/platform-fn-utils"; +} from "@manuelleducorg/fn-utils"; import type { Link, TableCell as BlockNoteTableCell } from "@blocknote/core"; import type { BlockType, @@ -32,9 +32,9 @@ import type { EditorLink, EditorStyleSchema, EditorStyledText, -} from "@xwiki/platform-editors-blocknote-react"; -import type { ModelReferenceSerializer } from "@xwiki/platform-model-reference-api"; -import type { RemoteURLParser } from "@xwiki/platform-model-remote-url-api"; +} from "@manuelleducorg/editors-blocknote-react"; +import type { ModelReferenceSerializer } from "@manuelleducorg/model-reference-api"; +import type { RemoteURLParser } from "@manuelleducorg/model-remote-url-api"; import type { Block, BlockStyles, @@ -43,7 +43,7 @@ import type { ListItem, TableCell, UniAst, -} from "@xwiki/platform-uniast-api"; +} from "@manuelleducorg/uniast-api"; // TODO: escape characters that need it (e.g. '`', '\', '*', '_', etc.) diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/uniast-to-bn.ts b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/uniast-to-bn.ts index 0bffd5f7dbe..080fea885a0 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/uniast-to-bn.ts +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/uniast-to-bn.ts @@ -18,11 +18,11 @@ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ -import { MACRO_NAME_PREFIX } from "@xwiki/platform-editors-blocknote-react"; +import { MACRO_NAME_PREFIX } from "@manuelleducorg/editors-blocknote-react"; import { assertUnreachable, tryFallibleOrError, -} from "@xwiki/platform-fn-utils"; +} from "@manuelleducorg/fn-utils"; import type { TableCell } from "@blocknote/core"; import type { BlockType, @@ -30,8 +30,8 @@ import type { EditorLink, EditorStyleSchema, EditorStyledText, -} from "@xwiki/platform-editors-blocknote-react"; -import type { RemoteURLSerializer } from "@xwiki/platform-model-remote-url-api"; +} from "@manuelleducorg/editors-blocknote-react"; +import type { RemoteURLSerializer } from "@manuelleducorg/model-remote-url-api"; import type { Block, BlockStyles, @@ -39,7 +39,7 @@ import type { InlineContent, TableCell as TableCellUniast, UniAst, -} from "@xwiki/platform-uniast-api"; +} from "@manuelleducorg/uniast-api"; /** * Converts the Universal AS to the internal format of Blocknote. diff --git a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/vue/c-blocknote-view.vue b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/vue/c-blocknote-view.vue index 6edf624bd29..abf97212f95 100644 --- a/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/vue/c-blocknote-view.vue +++ b/xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/vue/c-blocknote-view.vue @@ -18,13 +18,13 @@ 02110-1301 USA, or see the FSF site: http://www.fsf.org. -->