chore: init
This commit is contained in:
		
							
								
								
									
										141
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										141
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,141 @@ | ||||
| # Logs | ||||
| logs | ||||
| *.log | ||||
| npm-debug.log* | ||||
| yarn-debug.log* | ||||
| yarn-error.log* | ||||
| lerna-debug.log* | ||||
|  | ||||
| # Diagnostic reports (https://nodejs.org/api/report.html) | ||||
| report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||||
|  | ||||
| # 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 | ||||
| *.lcov | ||||
|  | ||||
| # nyc test coverage | ||||
| .nyc_output | ||||
|  | ||||
| # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||||
| .grunt | ||||
|  | ||||
| # Bower dependency directory (https://bower.io/) | ||||
| bower_components | ||||
|  | ||||
| # node-waf configuration | ||||
| .lock-wscript | ||||
|  | ||||
| # Compiled binary addons (https://nodejs.org/api/addons.html) | ||||
| build/Release | ||||
|  | ||||
| # Dependency directories | ||||
| node_modules/ | ||||
| jspm_packages/ | ||||
|  | ||||
| # Snowpack dependency directory (https://snowpack.dev/) | ||||
| web_modules/ | ||||
|  | ||||
| # TypeScript cache | ||||
| *.tsbuildinfo | ||||
|  | ||||
| # Optional npm cache directory | ||||
| .npm | ||||
|  | ||||
| # Optional eslint cache | ||||
| .eslintcache | ||||
|  | ||||
| # Optional stylelint cache | ||||
| .stylelintcache | ||||
|  | ||||
| # Optional REPL history | ||||
| .node_repl_history | ||||
|  | ||||
| # Output of 'npm pack' | ||||
| *.tgz | ||||
|  | ||||
| # Yarn Integrity file | ||||
| .yarn-integrity | ||||
|  | ||||
| # dotenv environment variable files | ||||
| .env | ||||
| .env.* | ||||
| !.env.example | ||||
|  | ||||
| # parcel-bundler cache (https://parceljs.org/) | ||||
| .cache | ||||
| .parcel-cache | ||||
|  | ||||
| # Next.js build output | ||||
| .next | ||||
| out | ||||
|  | ||||
| # Nuxt.js build / generate output | ||||
| .nuxt | ||||
| dist | ||||
| .output | ||||
|  | ||||
| # Gatsby files | ||||
| .cache/ | ||||
| # Comment in the public line in if your project uses Gatsby and not Next.js | ||||
| # https://nextjs.org/blog/next-9-1#public-directory-support | ||||
| # public | ||||
|  | ||||
| # vuepress build output | ||||
| .vuepress/dist | ||||
|  | ||||
| # vuepress v2.x temp and cache directory | ||||
| .temp | ||||
| .cache | ||||
|  | ||||
| # Sveltekit cache directory | ||||
| .svelte-kit/ | ||||
|  | ||||
| # vitepress build output | ||||
| **/.vitepress/dist | ||||
|  | ||||
| # vitepress cache directory | ||||
| **/.vitepress/cache | ||||
|  | ||||
| # Docusaurus cache and generated files | ||||
| .docusaurus | ||||
|  | ||||
| # Serverless directories | ||||
| .serverless/ | ||||
|  | ||||
| # FuseBox cache | ||||
| .fusebox/ | ||||
|  | ||||
| # DynamoDB Local files | ||||
| .dynamodb/ | ||||
|  | ||||
| # Firebase cache directory | ||||
| .firebase/ | ||||
|  | ||||
| # TernJS port file | ||||
| .tern-port | ||||
|  | ||||
| # Stores VSCode versions used for testing VSCode extensions | ||||
| .vscode-test | ||||
|  | ||||
| # yarn v3 | ||||
| .pnp.* | ||||
| .yarn/* | ||||
| !.yarn/patches | ||||
| !.yarn/plugins | ||||
| !.yarn/releases | ||||
| !.yarn/sdks | ||||
| !.yarn/versions | ||||
|  | ||||
| # Vite files | ||||
| vite.config.js.timestamp-* | ||||
| vite.config.ts.timestamp-* | ||||
| .vite/ | ||||
							
								
								
									
										6
									
								
								action.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								action.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| name: 'SpyglassMC Cyntax Checker' | ||||
| description: 'Check your Minecraft datapack for syntax or schema errors using SpyglassMC' | ||||
| author: 'LordBaryhobal' | ||||
| runs: | ||||
|   using: 'node16' | ||||
|   main: 'dist/index.js' | ||||
							
								
								
									
										29
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| { | ||||
|   "name": "spyglassmc-action", | ||||
|   "version": "1.0.0", | ||||
|   "lockfileVersion": 3, | ||||
|   "requires": true, | ||||
|   "packages": { | ||||
|     "": { | ||||
|       "name": "spyglassmc-action", | ||||
|       "version": "1.0.0", | ||||
|       "license": "ISC", | ||||
|       "devDependencies": { | ||||
|         "typescript": "^5.9.2" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/typescript": { | ||||
|       "version": "5.9.2", | ||||
|       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz", | ||||
|       "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", | ||||
|       "dev": true, | ||||
|       "bin": { | ||||
|         "tsc": "bin/tsc", | ||||
|         "tsserver": "bin/tsserver" | ||||
|       }, | ||||
|       "engines": { | ||||
|         "node": ">=14.17" | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
							
								
								
									
										16
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| { | ||||
|   "name": "spyglassmc-action", | ||||
|   "version": "1.0.0", | ||||
|   "description": "Check your Minecraft datapack for syntax or schema errors using SpyglassMC", | ||||
|   "main": "index.js", | ||||
|   "scripts": { | ||||
|     "build": "tsc", | ||||
|     "test": "echo \"Error: no test specified\" && exit 1" | ||||
|   }, | ||||
|   "keywords": [], | ||||
|   "author": "LordBaryhobal", | ||||
|   "license": "ISC", | ||||
|   "devDependencies": { | ||||
|     "typescript": "^5.9.2" | ||||
|   } | ||||
| } | ||||
							
								
								
									
										1
									
								
								src/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/index.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| console.log("Hello World!") | ||||
							
								
								
									
										46
									
								
								tsconfig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								tsconfig.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,46 @@ | ||||
| { | ||||
|   // Visit https://aka.ms/tsconfig to read more about this file | ||||
|   "compilerOptions": { | ||||
|     // File Layout | ||||
|     // "rootDir": "./src", | ||||
|     "outDir": "dist", | ||||
|  | ||||
|     // Environment Settings | ||||
|     // See also https://aka.ms/tsconfig/module | ||||
|     "module": "commonjs", | ||||
|     "target": "es2019", | ||||
|     "types": [], | ||||
|     // For nodejs: | ||||
|     // "lib": ["esnext"], | ||||
|     // "types": ["node"], | ||||
|     // and npm install -D @types/node | ||||
|  | ||||
|     // Other Outputs | ||||
|     "sourceMap": true, | ||||
|     "declaration": true, | ||||
|     "declarationMap": true, | ||||
|  | ||||
|     // Stricter Typechecking Options | ||||
|     "noUncheckedIndexedAccess": true, | ||||
|     "exactOptionalPropertyTypes": true, | ||||
|  | ||||
|     // Style Options | ||||
|     // "noImplicitReturns": true, | ||||
|     // "noImplicitOverride": true, | ||||
|     // "noUnusedLocals": true, | ||||
|     // "noUnusedParameters": true, | ||||
|     // "noFallthroughCasesInSwitch": true, | ||||
|     // "noPropertyAccessFromIndexSignature": true, | ||||
|  | ||||
|     // Recommended Options | ||||
|     "strict": true, | ||||
|     "jsx": "react-jsx", | ||||
|     "verbatimModuleSyntax": true, | ||||
|     "isolatedModules": true, | ||||
|     "noUncheckedSideEffectImports": true, | ||||
|     "moduleDetection": "force", | ||||
|     "skipLibCheck": true, | ||||
|     "esModuleInterop": true, | ||||
|     "forceConsistentCasingInFileNames": true | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user