zammad/bin/vite
Dominik Klein 7b48e5e5e1 Feature: Mobile - Added main tool chain for the new tech stack (with vite as the build tool).
Added Vite with the `vite_rails` ruby gem: `bundle install`, `bundle exec vite install` and vite.config.ts
Added Vue.js: `yarn add vue@next vue-router@next` and `yarn add -D @vitejs/plugin-vue`.
Added Typescript: `yarn add -D typescript vue-tsc` and `tsconfig.json`.
Added Prettier: `yarn add -D prettier --exact` and `.prettierrc.json`.
Added ESLint and ESLint-Plugins: `yarn add -D eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser @vue/eslint-config-prettier @vue/eslint-config-typescript eslint-config-airbnb-base eslint-config-prettier eslint-import-resolver-alias eslint-plugin-import eslint-plugin-prettier eslint-plugin-vue eslint-plugin-prettier-vue` and `.eslintrc.js`.
Added Jest: `yarn add -D jest @types/jest @vue/test-utils eslint-plugin-jest jest-serializer-vue jest-transform-stub ts-jest @vue/vue3-jest` and `jest.config.js`.
Added TailwindCSS: `yarn add -D tailwindcss@next @tailwindcss/forms@next postcss autoprefixer` and `npx tailwindcss init -p`
Added GraphQL for the frontend: `yarn add @vue/apollo-option @apollo/client @vue/apollo-composable graphql-ruby-client`
Added GraphQL for the backend: `gem 'graphql'` and `gem 'graphql-batch', require: 'graphql/batch'`
Added Actioncable: `yarn add actioncable`
Adding GraphQL Code-Generator: `yarn add -D @graphql-codegen/cli @graphql-codegen/introspection @graphql-codegen/typescript @graphql-codegen/typescript-operations @graphql-codegen/typescript-vue-apollo`
2022-05-06 08:59:07 +00:00

29 lines
792 B
Ruby
Executable file

#!/usr/bin/env ruby
# frozen_string_literal: true
#
# This file was generated by Bundler.
#
# The application 'vite' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
bundle_binstub = File.expand_path("../bundle", __FILE__)
if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
end
end
require "rubygems"
require "bundler/setup"
load Gem.bin_path("vite_ruby", "vite")