mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	chore(db-compare): move source code into monorepo
This commit is contained in:
		
							parent
							
								
									0d4d9f7adf
								
							
						
					
					
						commit
						4b38eda827
					
				
							
								
								
									
										61
									
								
								_regroup/trilium-db-compare/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										61
									
								
								_regroup/trilium-db-compare/.gitignore
									
									
									
									
										vendored
									
									
								
							@ -1,61 +0,0 @@
 | 
				
			|||||||
# Logs
 | 
					 | 
				
			||||||
logs
 | 
					 | 
				
			||||||
*.log
 | 
					 | 
				
			||||||
npm-debug.log*
 | 
					 | 
				
			||||||
yarn-debug.log*
 | 
					 | 
				
			||||||
yarn-error.log*
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Runtime data
 | 
					 | 
				
			||||||
pids
 | 
					 | 
				
			||||||
*.pid
 | 
					 | 
				
			||||||
*.seed
 | 
					 | 
				
			||||||
*.pid.lock
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Directory for instrumented libs generated by jscoverage/JSCover
 | 
					 | 
				
			||||||
lib-cov
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Coverage directory used by tools like istanbul
 | 
					 | 
				
			||||||
coverage
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# nyc test coverage
 | 
					 | 
				
			||||||
.nyc_output
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
 | 
					 | 
				
			||||||
.grunt
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Bower dependency directory (https://bower.io/)
 | 
					 | 
				
			||||||
bower_components
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# node-waf configuration
 | 
					 | 
				
			||||||
.lock-wscript
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Compiled binary addons (http://nodejs.org/api/addons.html)
 | 
					 | 
				
			||||||
build/Release
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Dependency directories
 | 
					 | 
				
			||||||
node_modules/
 | 
					 | 
				
			||||||
jspm_packages/
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Typescript v1 declaration files
 | 
					 | 
				
			||||||
typings/
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Optional npm cache directory
 | 
					 | 
				
			||||||
.npm
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Optional eslint cache
 | 
					 | 
				
			||||||
.eslintcache
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Optional REPL history
 | 
					 | 
				
			||||||
.node_repl_history
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Output of 'npm pack'
 | 
					 | 
				
			||||||
*.tgz
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Yarn Integrity file
 | 
					 | 
				
			||||||
.yarn-integrity
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# dotenv environment variables file
 | 
					 | 
				
			||||||
.env
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.idea
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
							
								
								
									
										2106
									
								
								_regroup/trilium-db-compare/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2106
									
								
								_regroup/trilium-db-compare/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -1,11 +0,0 @@
 | 
				
			|||||||
{
 | 
					 | 
				
			||||||
  "name": "trilium-db-compare",
 | 
					 | 
				
			||||||
  "description": "Trilium database compare tool",
 | 
					 | 
				
			||||||
  "version": "0.0.1",
 | 
					 | 
				
			||||||
  "dependencies": {
 | 
					 | 
				
			||||||
    "colors": "1.4.0",
 | 
					 | 
				
			||||||
    "diff": "5.0.0",
 | 
					 | 
				
			||||||
    "sqlite": "4.0.23",
 | 
					 | 
				
			||||||
    "sqlite3": "5.0.2"
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -2,6 +2,13 @@
 | 
				
			|||||||
  "name": "@triliumnext/db-compare",
 | 
					  "name": "@triliumnext/db-compare",
 | 
				
			||||||
  "version": "0.0.1",
 | 
					  "version": "0.0.1",
 | 
				
			||||||
  "private": true,
 | 
					  "private": true,
 | 
				
			||||||
 | 
					  "description": "Tool to compare content of Trilium databases. Useful for debugging sync problems.",
 | 
				
			||||||
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
					    "colors": "1.4.0",
 | 
				
			||||||
 | 
					    "diff": "5.0.0",
 | 
				
			||||||
 | 
					    "sqlite": "4.0.23",
 | 
				
			||||||
 | 
					    "sqlite3": "5.0.2"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
  "nx": {
 | 
					  "nx": {
 | 
				
			||||||
    "name": "db-compare",
 | 
					    "name": "db-compare",
 | 
				
			||||||
    "targets": {
 | 
					    "targets": {
 | 
				
			||||||
@ -18,11 +25,9 @@
 | 
				
			|||||||
            "cjs"
 | 
					            "cjs"
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
          "bundle": false,
 | 
					          "bundle": false,
 | 
				
			||||||
          "main": "apps/db-compare/src/main.ts",
 | 
					          "main": "apps/db-compare/src/compare.ts",
 | 
				
			||||||
          "tsConfig": "apps/db-compare/tsconfig.app.json",
 | 
					          "tsConfig": "apps/db-compare/tsconfig.app.json",
 | 
				
			||||||
          "assets": [
 | 
					          "assets": [],
 | 
				
			||||||
            "apps/db-compare/src/assets"
 | 
					 | 
				
			||||||
          ],
 | 
					 | 
				
			||||||
          "esbuildOptions": {
 | 
					          "esbuildOptions": {
 | 
				
			||||||
            "sourcemap": true,
 | 
					            "sourcemap": true,
 | 
				
			||||||
            "outExtension": {
 | 
					            "outExtension": {
 | 
				
			||||||
 | 
				
			|||||||
@ -1 +0,0 @@
 | 
				
			|||||||
console.log('Hello World');
 | 
					 | 
				
			||||||
							
								
								
									
										715
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										715
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user