-
-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert: revert add responsive layout"
- Loading branch information
Showing
70 changed files
with
1,189 additions
and
406 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Deploy Playground And Sync to Gitee | ||
|
||
on: | ||
push: | ||
branches: [dev, main] | ||
|
||
jobs: | ||
deploy-playground-sync-gitee: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 6 | ||
|
||
- name: Set node version to 14 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.x' | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm bootstrap | ||
|
||
- name: Build playground | ||
run: cd packages/varlet-ui-playground && pnpm build | ||
|
||
- name: Deploy site | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: playground-gh-page | ||
folder: packages/varlet-ui-playground/site | ||
|
||
- name: Sync to Gitee | ||
uses: wearerequired/git-mirror-action@master | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} | ||
with: | ||
source-repo: [email protected]:varletjs/varlet.git | ||
destination-repo: [email protected]:varlet/varlet-ui-playground.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"private": true, | ||
"version": "1.25.0", | ||
"version": "1.25.1", | ||
"scripts": { | ||
"preinstall": "npx only-allow pnpm", | ||
"bootstrap": "pnpm install && node scripts/bootstrap.mjs", | ||
|
@@ -30,7 +30,9 @@ | |
"packages/varlet-ui/site/**", | ||
"packages/varlet-ui/public/**", | ||
"packages/varlet-ui/src/*/__tests__/**", | ||
"packages/varlet-ui/.varlet/**" | ||
"packages/varlet-ui/.varlet/**", | ||
"packages/varlet-ui-playground/public/**", | ||
"packages/varlet-ui-playground/dist/**" | ||
], | ||
"extends": [ | ||
"@varlet" | ||
|
@@ -52,7 +54,9 @@ | |
"packages/varlet-ui/coverage/**", | ||
"packages/varlet-ui/highlight/**", | ||
"packages/varlet-ui/public/**", | ||
"packages/varlet-ui/.varlet/**" | ||
"packages/varlet-ui/.varlet/**", | ||
"packages/varlet-ui-playground/public/**", | ||
"packages/varlet-ui-playground/dist/**" | ||
] | ||
}, | ||
"devDependencies": { | ||
|
@@ -71,4 +75,4 @@ | |
"typescript": "^4.4.4" | ||
}, | ||
"packageManager": "[email protected]" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="icon" type="image/svg" href="./logo.svg" /> | ||
<title>Varlet UI Playground</title> | ||
<script> | ||
// process shim for old versions of @vue/compiler-sfc dependency | ||
window.process = { env: {} } | ||
const saved = localStorage.getItem('varlet-ui-playground-prefer-dark') | ||
if (saved !== 'false') { | ||
document.documentElement.classList.add('dark') | ||
} | ||
</script> | ||
<script type="module" src="./src/main.ts"></script> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "@varlet/ui-playground", | ||
"private": true, | ||
"version": "0.0.0", | ||
"description": "varlet ui playground", | ||
"keywords": [ | ||
"varlet ui", | ||
"playground", | ||
"repl" | ||
], | ||
"license": "MIT", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"preview": "varlet-cli preview" | ||
}, | ||
"dependencies": { | ||
"@varlet/ui": "workspace: *", | ||
"@vue/repl": "1.0.0", | ||
"vue": "3.2.29", | ||
"file-saver": "^2.0.5", | ||
"jszip": "^3.6.0" | ||
}, | ||
"devDependencies": { | ||
"@varlet/cli": "workspace: *", | ||
"@types/node": "*", | ||
"@types/file-saver": "^2.0.5", | ||
"@vitejs/plugin-vue": "2.1.0", | ||
"typescript": "^4.4.4", | ||
"vite": "2.7.13" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.