Remove yarn

This commit is contained in:
Stanislav Romanov 2023-05-18 14:25:37 +03:00
parent f4e1226a31
commit 4a68147bcf
6 changed files with 16 additions and 14315 deletions

View file

@ -23,11 +23,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 14.x
cache: yarn
cache: npm
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: npm ci
- name: Lint
run: yarn lint
run: npm run lint
test:
name: "Test"
@ -40,8 +40,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 14.x
cache: yarn
cache: npm
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: npm ci
- name: Run Tests
run: yarn test
run: npm run test

View file

@ -19,13 +19,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 14.x
cache: yarn
cache: npm
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: npm ci -ws
- name: Build
run: yarn build
run: npm run build
# TODO: replace to https://github.com/actions/upload-pages-artifact
- name: Deploy 🚀

View file

@ -3,7 +3,7 @@
You will need the following things properly installed on your computer.
* [Git](https://git-scm.com/)
* [Volta](https://volta.sh/) or [Node.js](https://nodejs.org/) (with `yarn`)
* [Volta](https://volta.sh/) or [Node.js](https://nodejs.org/)
* [Ember CLI](https://cli.emberjs.com/release/)
* `Firefox` or `Google Chrome` (`Firefox` is better 😛)
@ -11,7 +11,7 @@ You will need the following things properly installed on your computer.
* `git clone <repository-url>` this repository
* `cd meiliadmin`
* `yarn install`
* `npm install`
## Running / Development
@ -30,8 +30,8 @@ Make use of the many generators for code, try `ember help generate` for more det
### Linting
* `yarn lint`
* `yarn lint:fix`
* `npm run lint`
* `npm run lint:fix`
### Building

View file

@ -31,7 +31,7 @@ Once the prep work is completed, the actual release is straight forward:
* First, ensure that you have installed your projects dependencies:
```sh
yarn install
npm install
```
* Second, ensure that you have obtained a

View file

@ -114,8 +114,7 @@
"node": "14.* || 16.* || >= 18"
},
"volta": {
"node": "16.16.0",
"yarn": "1.22.19"
"node": "16.16.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
@ -125,7 +124,7 @@
},
"release-it": {
"hooks": {
"after:bump": "yarn build && cd dist/ && tar -zcf dist.tgz *"
"after:bump": "npm run build && cd dist/ && tar -zcf dist.tgz *"
},
"plugins": {
"release-it-lerna-changelog": {

14298
yarn.lock

File diff suppressed because it is too large Load diff