Skip to content

Commit ec60451

Browse files
authored
Merge pull request #1 from kongying-tavern/feat/init
Initial version
2 parents 27219cf + 667b46c commit ec60451

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+7696
-58
lines changed

.eslintrc.cjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* eslint-env node */
2+
require("@rushstack/eslint-patch/modern-module-resolution");
3+
4+
module.exports = {
5+
root: true,
6+
extends: [
7+
"plugin:vue/vue3-essential",
8+
"eslint:recommended",
9+
"@vue/eslint-config-typescript",
10+
"@vue/eslint-config-prettier",
11+
],
12+
parserOptions: {
13+
ecmaVersion: "latest",
14+
},
15+
};
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Semantic Release
2+
run-name: Semantic Release by ${{ github.actor }}
3+
on:
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
- name: Setup PNPM environment
16+
uses: pnpm/action-setup@v2
17+
with:
18+
version: 7
19+
- name: Setup Node.js environment
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: latest
23+
cache: pnpm
24+
- name: Install deps
25+
run: rm -rf node_modules && pnpm install
26+
- name: Build
27+
run: pnpm build
28+
- name: Release
29+
run: pnpm release
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 23 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ logs
44
npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
7+
pnpm-debug.log*
78
lerna-debug.log*
89

9-
# Diagnostic reports (https://nodejs.org/api/report.html)
10-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
10+
node_modules
11+
.DS_Store
1112

1213
# Runtime data
1314
pids
@@ -41,64 +42,29 @@ build/Release
4142
node_modules/
4243
jspm_packages/
4344

45+
# Dependency locks
46+
package-lock.json
47+
yarn.lock
48+
4449
# TypeScript v1 declaration files
4550
typings/
4651

4752
# TypeScript cache
4853
*.tsbuildinfo
49-
50-
# Optional npm cache directory
51-
.npm
52-
53-
# Optional eslint cache
54-
.eslintcache
55-
56-
# Microbundle cache
57-
.rpt2_cache/
58-
.rts2_cache_cjs/
59-
.rts2_cache_es/
60-
.rts2_cache_umd/
61-
62-
# Optional REPL history
63-
.node_repl_history
64-
65-
# Output of 'npm pack'
66-
*.tgz
67-
68-
# Yarn Integrity file
69-
.yarn-integrity
70-
71-
# dotenv environment variables file
72-
.env
73-
.env.test
74-
75-
# parcel-bundler cache (https://parceljs.org/)
76-
.cache
77-
78-
# Next.js build output
79-
.next
80-
81-
# Nuxt.js build / generate output
82-
.nuxt
8354
dist
84-
85-
# Gatsby files
86-
.cache/
87-
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88-
# https://nextjs.org/blog/next-9-1#public-directory-support
89-
# public
90-
91-
# vuepress build output
92-
.vuepress/dist
93-
94-
# Serverless directories
95-
.serverless/
96-
97-
# FuseBox cache
98-
.fusebox/
99-
100-
# DynamoDB Local files
101-
.dynamodb/
102-
103-
# TernJS port file
104-
.tern-port
55+
dist-ssr
56+
coverage
57+
*.local
58+
59+
/cypress/videos/
60+
/cypress/screenshots/
61+
62+
# Editor directories and files
63+
.vscode/*
64+
!.vscode/extensions.json
65+
.idea
66+
*.suo
67+
*.ntvs*
68+
*.njsproj
69+
*.sln
70+
*.sw?

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npm.taobao.org

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

.stylelintrc.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
extends: [
3+
'stylelint-config-standard-scss',
4+
'stylelint-config-sass-guidelines',
5+
'stylelint-prettier/recommended',
6+
],
7+
};

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
3+
}

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
# elysis-typer

auto-imports.d.ts

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/* eslint-disable */
2+
/* prettier-ignore */
3+
// @ts-nocheck
4+
// Generated by unplugin-auto-import
5+
export {}
6+
declare global {
7+
const EffectScope: typeof import('vue')['EffectScope']
8+
const computed: typeof import('vue')['computed']
9+
const createApp: typeof import('vue')['createApp']
10+
const customRef: typeof import('vue')['customRef']
11+
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
12+
const defineComponent: typeof import('vue')['defineComponent']
13+
const effectScope: typeof import('vue')['effectScope']
14+
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
15+
const getCurrentScope: typeof import('vue')['getCurrentScope']
16+
const h: typeof import('vue')['h']
17+
const inject: typeof import('vue')['inject']
18+
const isProxy: typeof import('vue')['isProxy']
19+
const isReactive: typeof import('vue')['isReactive']
20+
const isReadonly: typeof import('vue')['isReadonly']
21+
const isRef: typeof import('vue')['isRef']
22+
const markRaw: typeof import('vue')['markRaw']
23+
const nextTick: typeof import('vue')['nextTick']
24+
const onActivated: typeof import('vue')['onActivated']
25+
const onBeforeMount: typeof import('vue')['onBeforeMount']
26+
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
27+
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
28+
const onDeactivated: typeof import('vue')['onDeactivated']
29+
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
30+
const onMounted: typeof import('vue')['onMounted']
31+
const onRenderTracked: typeof import('vue')['onRenderTracked']
32+
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
33+
const onScopeDispose: typeof import('vue')['onScopeDispose']
34+
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
35+
const onUnmounted: typeof import('vue')['onUnmounted']
36+
const onUpdated: typeof import('vue')['onUpdated']
37+
const provide: typeof import('vue')['provide']
38+
const reactive: typeof import('vue')['reactive']
39+
const readonly: typeof import('vue')['readonly']
40+
const ref: typeof import('vue')['ref']
41+
const resolveComponent: typeof import('vue')['resolveComponent']
42+
const shallowReactive: typeof import('vue')['shallowReactive']
43+
const shallowReadonly: typeof import('vue')['shallowReadonly']
44+
const shallowRef: typeof import('vue')['shallowRef']
45+
const toRaw: typeof import('vue')['toRaw']
46+
const toRef: typeof import('vue')['toRef']
47+
const toRefs: typeof import('vue')['toRefs']
48+
const triggerRef: typeof import('vue')['triggerRef']
49+
const unref: typeof import('vue')['unref']
50+
const useAttrs: typeof import('vue')['useAttrs']
51+
const useCssModule: typeof import('vue')['useCssModule']
52+
const useCssVars: typeof import('vue')['useCssVars']
53+
const useSlots: typeof import('vue')['useSlots']
54+
const watch: typeof import('vue')['watch']
55+
const watchEffect: typeof import('vue')['watchEffect']
56+
const watchPostEffect: typeof import('vue')['watchPostEffect']
57+
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
58+
}
59+
// for type re-export
60+
declare global {
61+
// @ts-ignore
62+
export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
63+
}

env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="vite/client" />

0 commit comments

Comments
 (0)