mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	chore(monorepo/server): integrate type definitions
This commit is contained in:
		
							parent
							
								
									9a2cd6b5b8
								
							
						
					
					
						commit
						da41b95d36
					
				| @ -118,7 +118,6 @@ | |||||||
|     "swagger-ui-express": "5.0.1", |     "swagger-ui-express": "5.0.1", | ||||||
|     "time2fa": "^1.3.0", |     "time2fa": "^1.3.0", | ||||||
|     "tmp": "0.2.3", |     "tmp": "0.2.3", | ||||||
|     "turndown": "7.2.0", |  | ||||||
|     "unescape": "1.0.1", |     "unescape": "1.0.1", | ||||||
|     "ws": "8.18.1", |     "ws": "8.18.1", | ||||||
|     "xml2js": "0.6.2", |     "xml2js": "0.6.2", | ||||||
|  | |||||||
| @ -1,20 +1,9 @@ | |||||||
| { | { | ||||||
|   "compilerOptions": { |   "compilerOptions": { | ||||||
|     "module": "NodeNext", |  | ||||||
|     "declaration": false, |     "declaration": false, | ||||||
|     "sourceMap": true, |     "sourceMap": true, | ||||||
|     "outDir": "./build", |  | ||||||
|     "strict": true, |  | ||||||
|     "noImplicitAny": true, |  | ||||||
|     "resolveJsonModule": true, |  | ||||||
|     "allowJs": true, |  | ||||||
|     "lib": ["ES2023"], |  | ||||||
|     "downlevelIteration": true, |  | ||||||
|     "skipLibCheck": true, |  | ||||||
|     "esModuleInterop": true, |  | ||||||
|     "verbatimModuleSyntax": true |  | ||||||
|   }, |   }, | ||||||
|   "include": ["./src/**/*.js", "./src/**/*.ts", "./*.ts", "./*.js", "./spec/**/*.ts"], |   "include": ["./src/**/*.js", , "./*.ts", "./*.js", "./spec/**/*.ts"], | ||||||
|   "exclude": ["./node_modules/**/*", "./spec-es6/**/*.ts"], |   "exclude": ["./node_modules/**/*", "./spec-es6/**/*.ts"], | ||||||
|   "files": ["src/types.d.ts", "src/public/app/types.d.ts"] |   "files": [ "src/public/app/types.d.ts"] | ||||||
| } | } | ||||||
|  | |||||||
| @ -6,5 +6,8 @@ | |||||||
|         "resolveJsonModule": true, |         "resolveJsonModule": true, | ||||||
|         "allowSyntheticDefaultImports": true |         "allowSyntheticDefaultImports": true | ||||||
|     }, |     }, | ||||||
|     "include": [ "./src/**/*.ts" ] |     "include": [ "./src/**/*.ts" ], | ||||||
|  |     "files": [ | ||||||
|  |         "./src/types.d.ts", | ||||||
|  |     ] | ||||||
| } | } | ||||||
| @ -20,5 +20,8 @@ | |||||||
|   "main": "index.js", |   "main": "index.js", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|     "test": "echo \"Error: no test specified\" && exit 1" |     "test": "echo \"Error: no test specified\" && exit 1" | ||||||
|  |   }, | ||||||
|  |   "devDependencies": { | ||||||
|  |     "turndown": "7.2.0" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  | |||||||
							
								
								
									
										20
									
								
								apps/server/tsconfig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								apps/server/tsconfig.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | |||||||
|  | { | ||||||
|  |     "compilerOptions": { | ||||||
|  |         "module": "NodeNext", | ||||||
|  |         "declaration": false, | ||||||
|  |         "sourceMap": true, | ||||||
|  |         "outDir": "./build", | ||||||
|  |         "strict": true, | ||||||
|  |         "noImplicitAny": true, | ||||||
|  |         "resolveJsonModule": true, | ||||||
|  |         "lib": ["ES2023"], | ||||||
|  |         "downlevelIteration": true, | ||||||
|  |         "skipLibCheck": true, | ||||||
|  |         "esModuleInterop": true, | ||||||
|  |         "verbatimModuleSyntax": true | ||||||
|  |     }, | ||||||
|  |     "include": [ "./src/**/*.ts" ], | ||||||
|  |     "files": [ | ||||||
|  |         "./src/types.d.ts", | ||||||
|  |     ] | ||||||
|  | } | ||||||
							
								
								
									
										29
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										29
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -5335,6 +5335,14 @@ | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|  |         "apps/server": { | ||||||
|  |             "name": "@triliumnext/server", | ||||||
|  |             "version": "0.0.1", | ||||||
|  |             "license": "AGPL-3.0-only", | ||||||
|  |             "devDependencies": { | ||||||
|  |                 "turndown": "7.2.0" | ||||||
|  |             } | ||||||
|  |         }, | ||||||
|         "node_modules/@babel/code-frame": { |         "node_modules/@babel/code-frame": { | ||||||
|             "version": "7.26.2", |             "version": "7.26.2", | ||||||
|             "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", |             "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", | ||||||
| @ -5834,6 +5842,13 @@ | |||||||
|             "dev": true, |             "dev": true, | ||||||
|             "license": "MIT" |             "license": "MIT" | ||||||
|         }, |         }, | ||||||
|  |         "node_modules/@mixmark-io/domino": { | ||||||
|  |             "version": "2.2.0", | ||||||
|  |             "resolved": "https://registry.npmjs.org/@mixmark-io/domino/-/domino-2.2.0.tgz", | ||||||
|  |             "integrity": "sha512-Y28PR25bHXUg88kCV7nivXrP2Nj2RueZ3/l/jdx6J9f8J4nsEGcgX0Qe6lt7Pa+J79+kPiJU3LguR6O/6zrLOw==", | ||||||
|  |             "dev": true, | ||||||
|  |             "license": "BSD-2-Clause" | ||||||
|  |         }, | ||||||
|         "node_modules/@popperjs/core": { |         "node_modules/@popperjs/core": { | ||||||
|             "version": "2.11.8", |             "version": "2.11.8", | ||||||
|             "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", |             "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", | ||||||
| @ -6159,6 +6174,10 @@ | |||||||
|             "resolved": "packages/commons", |             "resolved": "packages/commons", | ||||||
|             "link": true |             "link": true | ||||||
|         }, |         }, | ||||||
|  |         "node_modules/@triliumnext/server": { | ||||||
|  |             "resolved": "apps/server", | ||||||
|  |             "link": true | ||||||
|  |         }, | ||||||
|         "node_modules/@tweenjs/tween.js": { |         "node_modules/@tweenjs/tween.js": { | ||||||
|             "version": "25.0.0", |             "version": "25.0.0", | ||||||
|             "resolved": "https://registry.npmjs.org/@tweenjs/tween.js/-/tween.js-25.0.0.tgz", |             "resolved": "https://registry.npmjs.org/@tweenjs/tween.js/-/tween.js-25.0.0.tgz", | ||||||
| @ -8243,6 +8262,16 @@ | |||||||
|                 "node": ">=14.0.0" |                 "node": ">=14.0.0" | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|  |         "node_modules/turndown": { | ||||||
|  |             "version": "7.2.0", | ||||||
|  |             "resolved": "https://registry.npmjs.org/turndown/-/turndown-7.2.0.tgz", | ||||||
|  |             "integrity": "sha512-eCZGBN4nNNqM9Owkv9HAtWRYfLA4h909E/WGAWWBpmB275ehNhZyk87/Tpvjbp0jjNl9XwCsbe6bm6CqFsgD+A==", | ||||||
|  |             "dev": true, | ||||||
|  |             "license": "MIT", | ||||||
|  |             "dependencies": { | ||||||
|  |                 "@mixmark-io/domino": "^2.2.0" | ||||||
|  |             } | ||||||
|  |         }, | ||||||
|         "node_modules/type-fest": { |         "node_modules/type-fest": { | ||||||
|             "version": "0.13.1", |             "version": "0.13.1", | ||||||
|             "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", |             "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran