Skip to content

Commit 3303a72

Browse files
committed
add vue app
1 parent 44dc78d commit 3303a72

17 files changed

Lines changed: 8112 additions & 2 deletions

.github/workflows/firebase-hosting-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- run: echo "Hello"
14+
- run: pnpm build
1515
- uses: FirebaseExtended/action-hosting-deploy@v0
1616
with:
1717
repoToken: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- run: npm ci && npm run build
16+
- run: pnpm build
1717
- uses: FirebaseExtended/action-hosting-deploy@v0
1818
with:
1919
repoToken: ${{ secrets.GITHUB_TOKEN }}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
shamefully-hoist=true

babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
]
5+
}

jsconfig.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "esnext",
5+
"baseUrl": "./",
6+
"moduleResolution": "node",
7+
"paths": {
8+
"@/*": [
9+
"src/*"
10+
]
11+
},
12+
"lib": [
13+
"esnext",
14+
"dom",
15+
"dom.iterable",
16+
"scripthost"
17+
]
18+
}
19+
}

package.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "things-to-complete",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"serve": "vue-cli-service serve",
7+
"build": "vue-cli-service build",
8+
"lint": "vue-cli-service lint"
9+
},
10+
"dependencies": {
11+
"core-js": "^3.8.3",
12+
"vue": "^3.2.13"
13+
},
14+
"devDependencies": {
15+
"@babel/core": "^7.12.16",
16+
"@babel/eslint-parser": "^7.12.16",
17+
"@vue/cli-plugin-babel": "~5.0.0",
18+
"@vue/cli-plugin-eslint": "~5.0.0",
19+
"@vue/cli-service": "~5.0.0",
20+
"eslint": "^7.32.0",
21+
"eslint-plugin-vue": "^8.0.3"
22+
},
23+
"eslintConfig": {
24+
"root": true,
25+
"env": {
26+
"node": true
27+
},
28+
"extends": [
29+
"plugin:vue/vue3-essential",
30+
"eslint:recommended"
31+
],
32+
"parserOptions": {
33+
"parser": "@babel/eslint-parser"
34+
},
35+
"rules": {}
36+
},
37+
"browserslist": [
38+
"> 1%",
39+
"last 2 versions",
40+
"not dead",
41+
"not ie 11"
42+
]
43+
}

0 commit comments

Comments
 (0)