Skip to content

Commit

Permalink
Version 1.0.2 + Fixed a bug where the website was served without CSS …
Browse files Browse the repository at this point in the history
…and JavaScript assets

issue: parcel-bundler/parcel#2624
  • Loading branch information
jam53 committed May 30, 2022
1 parent 047a39a commit 7910de8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
20 changes: 20 additions & 0 deletions doc/RunningBuilding.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,23 @@
- Navigate to the project's root folder using the command line
- Run the command: `npm i` to install all the dependencies
- Run the command: `npm run build`, the generated files will be placed inside `/bin`
---

# Publishing the project
- Since we are publishing a new version of the website, we should increment the version number. For sky-screenshot-stats we use the [Semantic Versioning](https://semver.org/) convention to update the version number.
- In summary:
- Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when making major (breaking) changes.
- MINOR version when adding new features or improvements.
- PATCH version when making bugfixes or small improvements.


- Edit package.json to update the version number
- Run `npm i`
- Run `npm run build`
- Commit and push the changes
- Change your branch to the `website` branch.
- Remove all the files of the previous version of the website
- Copy the contents of the bin folder, to the root folder
- Commit and push the changes
- Now you can switch back to the `master` branch
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "sky-screenshot-stats",
"browserslist": ["> 0.5%", "last 2 versions", "not dead"],
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"keywords": "",
"license": "LGPL-3.0-only",
"author": "jam54",
"scripts": {
"build": "rimraf ./bin && parcel build index.html --dist-dir ./bin",
"build": "rimraf ./bin && parcel build index.html --public-url='./' --dist-dir ./bin",
"dev": "rimraf ./dist && parcel index.html --dist-dir ./dist --open",
"start": "npm run build && npm run dev",
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit 7910de8

Please sign in to comment.