Skip to content

Commit 4bf529c

Browse files
committed
Change package-manager from npm to yarn
1 parent 8c04d27 commit 4bf529c

17 files changed

Lines changed: 8912 additions & 24 deletions

vue/.gitignore

100644100755
File mode changed.

vue/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ After installing, run the following commands in a terminal of your choice:
1515
```
1616
node -v
1717
npm -v
18+
yarn -v
1819
```
1920
If they run successfully, proceed to the next steps.
2021

@@ -25,8 +26,8 @@ If they run successfully, proceed to the next steps.
2526
4. In your terminal, run the following commands:
2627
```
2728
cd <insert path to your extracted 'vue.js' folder here>
28-
npm install
29-
npm run build
29+
yarn install
30+
yarn build
3031
```
3132

3233
5. Open the Overwolf desktop client settings (by right-clicking the client and selecting
@@ -40,21 +41,21 @@ This will add the app to your dock.
4041
8. Click on the app's icon in your dock.
4142

4243
## Building an .opk for distribution
43-
When you run run ```npm run build``` in your terminal, an .opk is created in releases/ directory
44+
When you run run ```yarn build``` in your terminal, an .opk is created in releases/ directory
4445

4546
## Changing the version number quickly
4647
We have included a webpack plugin that can change the .opk version quickly with just a command line argument. Simply add ```--env setVersion=1.0.1``` to your build command.
4748
Example:
4849
```
49-
npm run build --env setVersion=1.0.1
50+
yarn build --env setVersion=1.0.1
5051
```
5152

5253
This will change the app version both in package.json and app's manifest.json
5354

5455
## What will you find inside?
5556

5657
### public/
57-
All of the static resources used by the app, like icons, images and CSS
58+
All of the static resources used by the app, like icons and the index.html.
5859

5960
##### public/manifest.json
6061
This file defines all of the aspects of the app.
@@ -65,7 +66,7 @@ All of this app's windows' properties can be found under the [```windows```](htt
6566
Please refer to the [dev site](https://overwolf.github.io/docs/api/manifest-json#welcome-to-the-manifestjson-file) to learn more about each property.
6667

6768
#### src/
68-
Source .vue & .js files for the app
69+
Source Vue-components, custom JS plugins and assets.
6970

7071
##### src/background/
7172
This directory contains files of the background window, which serves as the application's starting point and window orchestrator.

vue/package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,42 @@
22
"name": "example-vue",
33
"version": "1.0.0",
44
"description": "",
5-
"repository": "https://github.com/overwolf/sample-app.git",
6-
"license": "ISC",
75
"scripts": {
8-
"build": "vue-cli-service build --mode=development",
9-
"dev": "vue-cli-service build --watch --mode=development",
106
"serve": "vue-cli-service serve --mode=development",
11-
"lint": "vue-cli-service lint"
7+
"build": "vue-cli-service build --mode=development",
8+
"lint": "vue-cli-service lint",
9+
"dev": "vue-cli-service build --watch --mode=development"
10+
},
11+
"dependencies": {
12+
"vue": "^2.6.14",
13+
"vue-router": "^3.5.2",
14+
"vuetify": "^2.5.8",
15+
"vuetify-loader": "^1.7.2",
16+
"vuex": "^3.6.2",
17+
"vuex-persist": "^3.1.3"
1218
},
1319
"devDependencies": {
1420
"@overwolf/overwolf-api-ts": "^1.3.0",
1521
"@overwolf/types": "^3.6.0",
1622
"@vue/cli-plugin-babel": "^4.5.13",
17-
"@vue/cli-plugin-eslint": "^3.1.1",
23+
"@vue/cli-plugin-eslint": "~4.5.13",
1824
"@vue/cli-plugin-router": "^4.5.12",
1925
"@vue/cli-plugin-vuex": "^4.5.12",
20-
"@vue/cli-service": "^3.12.1",
26+
"@vue/cli-service": "~4.5.13",
2127
"@vue/eslint-config-prettier": "^6.0.0",
2228
"babel-eslint": "^10.1.0",
2329
"deepmerge": "^4.2.2",
2430
"eslint": "^6.7.2",
2531
"eslint-plugin-prettier": "^3.4.0",
2632
"eslint-plugin-vue": "^6.2.2",
2733
"prettier": "^1.19.1",
28-
"sass": "~1.32",
34+
"sass": "~1.37.5",
2935
"sass-loader": "^8.0.2",
3036
"semver": "^7.3.4",
3137
"vue-cli-plugin-axios": "0.0.4",
3238
"vue-cli-plugin-vuetify": "^2.0.9",
3339
"vue-template-compiler": "^2.6.14",
34-
"zip-a-folder": "^0.0.12"
35-
},
36-
"dependencies": {
37-
"vue": "^2.6.14",
38-
"vue-router": "^3.5.2",
39-
"vuetify": "^2.5.8",
40-
"vuetify-loader": "^1.7.2",
41-
"vuex": "^3.6.2",
42-
"vuex-persist": "^3.1.3"
40+
"zip-a-folder": "^1.1.0"
4341
},
4442
"eslintConfig": {
4543
"globals": {
@@ -58,5 +56,7 @@
5856
"parser": "babel-eslint"
5957
},
6058
"rules": {}
61-
}
59+
},
60+
"license": "ISC",
61+
"repository": "https://github.com/overwolf/sample-app.git"
6262
}

vue/public/icons/IconMouseNormal.png

100644100755
File mode changed.

vue/public/icons/IconMouseOver.png

100644100755
File mode changed.

vue/public/icons/TaskbarIcon.png

100644100755
File mode changed.

vue/public/icons/desktopIcon.ico

100644100755
File mode changed.

vue/public/img/background.png

100644100755
File mode changed.

vue/public/img/facebook.svg

100644100755
File mode changed.

vue/public/img/reddit.svg

100644100755
File mode changed.

0 commit comments

Comments
 (0)