Skip to content

Commit

Permalink
Merge pull request #323 from ReproNim/enh/packages
Browse files Browse the repository at this point in the history
updates to node 21.x
  • Loading branch information
yibeichan authored May 10, 2024
2 parents 2129a41 + b1cde22 commit 05096f0
Show file tree
Hide file tree
Showing 14 changed files with 15,920 additions and 14,572 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
},
extends: ["plugin:vue/essential", "eslint:recommended"],
parserOptions: {
parser: "babel-eslint"
parser: "@babel/eslint-parser"
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
steps:

- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '12.x'
node-version: '21.x'

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Runs a set of commands using the runners shell
- name: Run a multi-line script
Expand All @@ -35,7 +35,7 @@ jobs:
touch dist/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@v4
if: github.ref == 'refs/heads/master'
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
Expand Down
30 changes: 8 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,33 +152,19 @@ need to [fork this repository](https://help.github.com/en/github/getting-started
and [clone it](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository)
on your machine.

To then run the app locally, you will have to install javascript `node.js`. A
good way to do this, is to install [node version manager](https://github.com/nvm-sh/nvm)
(NVM) to help you deal with different version of `node.js`.

If you are running linux, you can install NVM by typing:

```
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
```

Then close your terminal and reopen it then run the following to install the
version 9 of `node.js`
If you don't have node or are not familiar with it, the easiest option is to
use a Docker setup.

```
nvm install node
nvm install 9
```shell
docker run -it --rm -p 8080:8080 -v $(pwd):/src --entrypoint bash \
--platform linux/amd64 node:21.7.2-bookworm-slim
```

You should then be able to use node to the following:
In the container terminal

### Install the dependencies
``` bash
```shell
cd /src
npm install
```

### Serve the app locally
``` bash
npm run serve
```

Expand Down
Loading

0 comments on commit 05096f0

Please sign in to comment.