Skip to content

Commit

Permalink
Officially supported package manager changed to NPM
Browse files Browse the repository at this point in the history
The officially supported package manager for Aluminum is now NPM. Due to difficulties with using Yarn Berry, Aluminum has reverted to using NPM (which is included by default with official Node.js installations) for package management.

This commit essentially reverses 45e6116.
  • Loading branch information
ZelnickB committed Dec 20, 2020
1 parent 94130e7 commit 1b9a296
Show file tree
Hide file tree
Showing 8 changed files with 1,573 additions and 1,701 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
check-latest: true

- name: Install dependencies
run: |
echo "Yarn Version: $(yarn --version)"
yarn install --immutable
run: npm ci

- name: Run ESLint
run: npx eslint ./
9 changes: 0 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,6 @@ typings/
# Yarn Integrity file
.yarn-integrity

# Miscellaneous Yarn files

.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*

# dotenv environment variables file
.env
.env.test
Expand Down
55 changes: 0 additions & 55 deletions .yarn/releases/yarn-berry.cjs

This file was deleted.

1 change: 0 additions & 1 deletion .yarnrc.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ An easy-to-configure, open-source Node.js web server
### Prerequisites
- Git
- Node.js (latest LTS version)
- Yarn

### Installing Aluminum

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Setup and General Knowledge

.. note:: In this documentation, ``/`` refers to the root directory of the Aluminum repository, except as otherwise noted.

To install Aluminum, simply clone the git repository, install the dependencies automatically with ``yarn``, and copy the default user files from the ``/defaults`` directory to ``/usr``. Starting the server is as simple as typing ``yarn run start`` into your terminal.
To install Aluminum, simply clone the git repository, install the dependencies automatically with ``npm``, and copy the default user files from the ``/defaults`` directory to ``/usr``. Starting the server is as simple as typing ``npm start`` into your terminal.

.. seealso:: Please see the installation guide for more detailed instructions on installing Aluminum.

Expand Down

0 comments on commit 1b9a296

Please sign in to comment.