mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-11-03 22:13:18 -05:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			dependabot
			...
			upgrade-vi
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e1baac7e3f | 
@ -17,7 +17,6 @@
 | 
				
			|||||||
    "fideloper/proxy": "^4.0",
 | 
					    "fideloper/proxy": "^4.0",
 | 
				
			||||||
    "fruitcake/laravel-cors": "^1.0",
 | 
					    "fruitcake/laravel-cors": "^1.0",
 | 
				
			||||||
    "guzzlehttp/guzzle": "^7.0.1",
 | 
					    "guzzlehttp/guzzle": "^7.0.1",
 | 
				
			||||||
    "innocenzi/laravel-vite": "^0.1.1",
 | 
					 | 
				
			||||||
    "intervention/image": "^2.3",
 | 
					    "intervention/image": "^2.3",
 | 
				
			||||||
    "jasonmccreary/laravel-test-assertions": "^2.0",
 | 
					    "jasonmccreary/laravel-test-assertions": "^2.0",
 | 
				
			||||||
    "laravel/framework": "^8.0",
 | 
					    "laravel/framework": "^8.0",
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2652
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2652
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -1,67 +0,0 @@
 | 
				
			|||||||
<?php
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
return [
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | Entrypoints
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | The files in the configured directories will be considered
 | 
					 | 
				
			||||||
    | entry points and will not be required in the configuration file.
 | 
					 | 
				
			||||||
    | To disable the feature, set to false.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    'entrypoints' => [
 | 
					 | 
				
			||||||
        'resources/scripts/main.js',
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    'ignore_patterns' => ["/\.d\.ts$/"],
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | Aliases
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | These aliases will be added to the Vite configuration and used
 | 
					 | 
				
			||||||
    | to generate a proper tsconfig.json file.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    'aliases' => [
 | 
					 | 
				
			||||||
        '@' => 'resources',
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | Static assets path
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | This option defines the directory that Vite considers as the
 | 
					 | 
				
			||||||
    | public directory. Its content will be copied to the build directory
 | 
					 | 
				
			||||||
    | at build-time.
 | 
					 | 
				
			||||||
    | https://vitejs.dev/config/#publicdir
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    'public_directory' => resource_path('static'),
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | Ping timeout
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | The maximum duration, in seconds, that the ping to the development
 | 
					 | 
				
			||||||
    | server should take while trying to determine whether to use the
 | 
					 | 
				
			||||||
    | manifest or the server in a local environment.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    'ping_timeout' => .1,
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | Build path
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | The directory, relative to /public, in which Vite will build
 | 
					 | 
				
			||||||
    | the production files. This should match "build.outDir" in the Vite
 | 
					 | 
				
			||||||
    | configuration file.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    'build_path' => 'build',
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | Development URL
 | 
					 | 
				
			||||||
    |--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
    | The URL at which the Vite development server runs.
 | 
					 | 
				
			||||||
    | This is used to generate the script tags when developing.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    'dev_url' => 'http://localhost:3000',
 | 
					 | 
				
			||||||
];
 | 
					 | 
				
			||||||
							
								
								
									
										15
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								package.json
									
									
									
									
									
								
							@ -1,7 +1,7 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "private": true,
 | 
					  "private": true,
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "dev": "vite",
 | 
					    "dev": "vite --port=3000",
 | 
				
			||||||
    "build": "vite build",
 | 
					    "build": "vite build",
 | 
				
			||||||
    "serve": "vite preview",
 | 
					    "serve": "vite preview",
 | 
				
			||||||
    "test": "eslint ./resources/scripts --ext .js,.vue"
 | 
					    "test": "eslint ./resources/scripts --ext .js,.vue"
 | 
				
			||||||
@ -18,13 +18,12 @@
 | 
				
			|||||||
    "eslint": "^7.27.0",
 | 
					    "eslint": "^7.27.0",
 | 
				
			||||||
    "eslint-config-prettier": "^8.3.0",
 | 
					    "eslint-config-prettier": "^8.3.0",
 | 
				
			||||||
    "eslint-plugin-vue": "^7.0.0-beta.4",
 | 
					    "eslint-plugin-vue": "^7.0.0-beta.4",
 | 
				
			||||||
    "laravel-vite": "^0.0.7",
 | 
					 | 
				
			||||||
    "postcss": "^8.4.5",
 | 
					    "postcss": "^8.4.5",
 | 
				
			||||||
    "prettier": "^2.3.0",
 | 
					    "prettier": "^2.3.0",
 | 
				
			||||||
    "sass": "^1.32.12",
 | 
					    "sass": "^1.32.12",
 | 
				
			||||||
    "tailwind-scrollbar": "^1.3.1",
 | 
					    "tailwind-scrollbar": "^1.3.1",
 | 
				
			||||||
    "tailwindcss": "^3.0.6",
 | 
					    "tailwindcss": "^3.0.6",
 | 
				
			||||||
    "vite": "^2.6.1"
 | 
					    "vite": "^4.0.0"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "@headlessui/vue": "^1.4.0",
 | 
					    "@headlessui/vue": "^1.4.0",
 | 
				
			||||||
@ -32,10 +31,11 @@
 | 
				
			|||||||
    "@popperjs/core": "^2.9.2",
 | 
					    "@popperjs/core": "^2.9.2",
 | 
				
			||||||
    "@stripe/stripe-js": "^1.21.2",
 | 
					    "@stripe/stripe-js": "^1.21.2",
 | 
				
			||||||
    "@tailwindcss/line-clamp": "^0.3.0",
 | 
					    "@tailwindcss/line-clamp": "^0.3.0",
 | 
				
			||||||
    "@tiptap/core": "^2.0.0-beta.85",
 | 
					    "@tiptap/core": "^2.0.3",
 | 
				
			||||||
    "@tiptap/extension-text-align": "^2.0.0-beta.29",
 | 
					    "@tiptap/extension-text-align": "^2.0.3",
 | 
				
			||||||
    "@tiptap/starter-kit": "^2.0.0-beta.81",
 | 
					    "@tiptap/pm": "^2.0.3",
 | 
				
			||||||
    "@tiptap/vue-3": "^2.0.0-beta.38",
 | 
					    "@tiptap/starter-kit": "^2.0.3",
 | 
				
			||||||
 | 
					    "@tiptap/vue-3": "^2.0.3",
 | 
				
			||||||
    "@vuelidate/components": "^1.1.12",
 | 
					    "@vuelidate/components": "^1.1.12",
 | 
				
			||||||
    "@vuelidate/core": "^2.0.0-alpha.32",
 | 
					    "@vuelidate/core": "^2.0.0-alpha.32",
 | 
				
			||||||
    "@vuelidate/validators": "^2.0.0-alpha.25",
 | 
					    "@vuelidate/validators": "^2.0.0-alpha.25",
 | 
				
			||||||
@ -43,6 +43,7 @@
 | 
				
			|||||||
    "axios": "^0.19",
 | 
					    "axios": "^0.19",
 | 
				
			||||||
    "chart.js": "^2.7.3",
 | 
					    "chart.js": "^2.7.3",
 | 
				
			||||||
    "guid": "0.0.12",
 | 
					    "guid": "0.0.12",
 | 
				
			||||||
 | 
					    "laravel-vite-plugin": "^0.7.4",
 | 
				
			||||||
    "lodash": "^4.17.13",
 | 
					    "lodash": "^4.17.13",
 | 
				
			||||||
    "maska": "^1.4.6",
 | 
					    "maska": "^1.4.6",
 | 
				
			||||||
    "mini-svg-data-uri": "^1.3.3",
 | 
					    "mini-svg-data-uri": "^1.3.3",
 | 
				
			||||||
 | 
				
			|||||||
@ -21,7 +21,7 @@
 | 
				
			|||||||
        <link rel="stylesheet" href="/modules/styles/{{ $name }}">
 | 
					        <link rel="stylesheet" href="/modules/styles/{{ $name }}">
 | 
				
			||||||
    @endforeach
 | 
					    @endforeach
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @vite
 | 
					    @vite('resources/scripts/main.js')
 | 
				
			||||||
</head>
 | 
					</head>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<body
 | 
					<body
 | 
				
			||||||
@ -64,7 +64,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        @endif
 | 
					        @endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        window.Crater.start()
 | 
					        // window.Crater.start()
 | 
				
			||||||
    </script>
 | 
					    </script>
 | 
				
			||||||
</body>
 | 
					</body>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,5 @@
 | 
				
			|||||||
import { defineConfig } from 'laravel-vite'
 | 
					import { defineConfig } from 'vite'
 | 
				
			||||||
 | 
					import laravel from 'laravel-vite-plugin'
 | 
				
			||||||
import vue from '@vitejs/plugin-vue'
 | 
					import vue from '@vitejs/plugin-vue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default defineConfig({
 | 
					export default defineConfig({
 | 
				
			||||||
@ -7,11 +8,17 @@ export default defineConfig({
 | 
				
			|||||||
        ignored: ['**/.env/**'],
 | 
					        ignored: ['**/.env/**'],
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    plugins: [
 | 
				
			||||||
 | 
					      vue(),
 | 
				
			||||||
 | 
					      laravel({
 | 
				
			||||||
 | 
					        input: ['resources/scripts/main.js'],
 | 
				
			||||||
 | 
					        valetTls: false,
 | 
				
			||||||
 | 
					      }),
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
    resolve: {
 | 
					    resolve: {
 | 
				
			||||||
      alias: {
 | 
					      alias: {
 | 
				
			||||||
            "vue-i18n": "vue-i18n/dist/vue-i18n.cjs.js"
 | 
					        '@': '/resources',
 | 
				
			||||||
        }
 | 
					        'vue-i18n': 'vue-i18n/dist/vue-i18n.cjs.js'
 | 
				
			||||||
    }
 | 
					      },
 | 
				
			||||||
}).withPlugins(
 | 
					    },
 | 
				
			||||||
    vue
 | 
					  })
 | 
				
			||||||
)
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user