Release v.0.1.0 #2
							
								
								
									
										12
									
								
								cli/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								cli/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					# build
 | 
				
			||||||
 | 
					bin/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# deps
 | 
				
			||||||
 | 
					node_modules/
 | 
				
			||||||
 | 
					package-lock.json
 | 
				
			||||||
 | 
					yarn.lock
 | 
				
			||||||
 | 
					pnpm-lock.yaml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# dev
 | 
				
			||||||
 | 
					.vscode/
 | 
				
			||||||
 | 
					.idea/
 | 
				
			||||||
							
								
								
									
										6
									
								
								cli/.prettierrc.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								cli/.prettierrc.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					tabWidth: 4
 | 
				
			||||||
 | 
					printWidth: 80
 | 
				
			||||||
 | 
					singleQuote: true
 | 
				
			||||||
 | 
					semi: false
 | 
				
			||||||
 | 
					arrowParens: avoid
 | 
				
			||||||
 | 
					endOfLine: auto
 | 
				
			||||||
							
								
								
									
										25
									
								
								cli/package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								cli/package.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "name": "rage-framework-cli",
 | 
				
			||||||
 | 
					  "version": "0.0.23",
 | 
				
			||||||
 | 
					  "bin": {
 | 
				
			||||||
 | 
					    "rage-fw": "bin/index.js"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "main": "bin/index.js",
 | 
				
			||||||
 | 
					  "scripts": {
 | 
				
			||||||
 | 
					    "watch": "tsc -w"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "description": "CLI to scaffold a template project for RageFW",
 | 
				
			||||||
 | 
					  "keywords": [],
 | 
				
			||||||
 | 
					  "author": "rilaxik",
 | 
				
			||||||
 | 
					  "license": "ISC",
 | 
				
			||||||
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
					    "chalk": "4.1.2",
 | 
				
			||||||
 | 
					    "yargs": "^17.7.2"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "devDependencies": {
 | 
				
			||||||
 | 
					    "@types/node": "^20.14.2",
 | 
				
			||||||
 | 
					    "@types/yargs": "^17.0.32",
 | 
				
			||||||
 | 
					    "prettier": "^3.3.2",
 | 
				
			||||||
 | 
					    "typescript": "^5.4.5"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										4
									
								
								cli/src/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								cli/src/index.ts
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					import yargs from 'yargs'
 | 
				
			||||||
 | 
					import { hideBin } from 'yargs/helpers'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					yargs(hideBin(process.argv)).help().argv
 | 
				
			||||||
							
								
								
									
										24
									
								
								cli/tsconfig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								cli/tsconfig.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "compilerOptions": {
 | 
				
			||||||
 | 
					    "target": "es6",
 | 
				
			||||||
 | 
					    "module": "commonjs",
 | 
				
			||||||
 | 
					    "moduleResolution": "node",
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    "declaration": true,
 | 
				
			||||||
 | 
					    "declarationMap": true,
 | 
				
			||||||
 | 
					    "sourceMap": true,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    "outDir": "bin",
 | 
				
			||||||
 | 
					    "esModuleInterop": true,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    "strict": true,
 | 
				
			||||||
 | 
					    "forceConsistentCasingInFileNames": true,
 | 
				
			||||||
 | 
					    "noImplicitAny": true
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "include": [
 | 
				
			||||||
 | 
					    "src/index.ts"
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
 | 
					  "exclude": [
 | 
				
			||||||
 | 
					    "node_modules"
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user