Skip to content

Commit

Permalink
Migrate to vue 3, vite and new design (#78)
Browse files Browse the repository at this point in the history
* Remove vue from globals

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Update environment to node 16 and npm 8

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Update packages for vue 3 and vite, setup vite build and server system, update App, vuex, vueopeapi, object form wrapper and model, validation tabs mixins to vue 3

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Refactor ObjectForm and SimpleInput component into vue 3 syntax

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Refactor Array input, key value input and associated components to vue 3 syntax

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Refactor vee validate form error flow and show, error generating function

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Use v-slot for form footer to give controls to the client, provide validation function and form state props to the parent

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Modify rollup and entry file, bundle for production

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Add ref to v-form to call the validate function from outside client

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Integate new design system (#76)

* updated designs to v3

Signed-off-by: Nihal-Azmain <[email protected]>

* Fix design issues with new design system 2023

Signed-off-by: mohin7 <[email protected]>

* Fix spacing issue

Signed-off-by: mohin7 <[email protected]>

* Update button style and desing

Signed-off-by: mohin7 <[email protected]>

* Remove uncessary file

Signed-off-by: mohin7 <[email protected]>

* sucessfully build

Signed-off-by: Nihal-Azmain <[email protected]>

* updated dist file

Signed-off-by: Nihal-Azmain <[email protected]>

* updated class in VueOpenApiForm.vue

Signed-off-by: Nihal-Azmain <[email protected]>

* updated dist folder

Signed-off-by: Nihal-Azmain <[email protected]>

* Bundle for producion

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Fix editor not showing issue, key-value-pair and array input form new value add issue and array input form swap issue (#77)

* Build for checking

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Fix issues with key value input form and array input form

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Fix array input form, swapping and adding new value issue

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

* Update design system to latest

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

---------

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>

---------

Signed-off-by: Nihal-Azmain <[email protected]>
Signed-off-by: mohin7 <[email protected]>
Signed-off-by: M. A. Muhaimin Sakib <[email protected]>
Co-authored-by: Nihal-Azmain <[email protected]>
Co-authored-by: mohin7 <[email protected]>

---------

Signed-off-by: M. A. Muhaimin Sakib <[email protected]>
Signed-off-by: Nihal-Azmain <[email protected]>
Signed-off-by: mohin7 <[email protected]>
Co-authored-by: Nihal-Azmain <[email protected]>
Co-authored-by: mohin7 <[email protected]>
  • Loading branch information
3 people authored Sep 6, 2023
1 parent 780cd18 commit 6f0ce34
Show file tree
Hide file tree
Showing 100 changed files with 29,941 additions and 17,355 deletions.
21 changes: 21 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"env": {
"browser": true
},
"extends": [
"plugin:vue/essential",
"plugin:vue/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"vue",
"html"
],
"rules": {
"vue/multi-word-component-names": "off"
}
}
14 changes: 0 additions & 14 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Use Node.js 10.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16.x

- name: Build
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16.x

- name: Install Firebase CLI
run: |
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
Expand Down
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
13 changes: 12 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
const devPresets = ["@vue/babel-preset-app"];
const buildPresets = [
[
"@babel/preset-env",
// Config for @babel/preset-env
{
// Example: Always transpile optional chaining/nullish coalescing
include: [/(optional-chaining|nullish-coalescing)/],
},
],
];
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"],
presets: process.env.NODE_ENV === "development" ? devPresets : buildPresets,
};
Loading

0 comments on commit 6f0ce34

Please sign in to comment.