Remove yarn
This commit is contained in:
parent
f4e1226a31
commit
4a68147bcf
6 changed files with 16 additions and 14315 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -23,11 +23,11 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
cache: yarn
|
cache: npm
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: npm ci
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: yarn lint
|
run: npm run lint
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: "Test"
|
name: "Test"
|
||||||
|
|
@ -40,8 +40,8 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
cache: yarn
|
cache: npm
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: npm ci
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: yarn test
|
run: npm run test
|
||||||
|
|
|
||||||
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
|
@ -19,13 +19,13 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
cache: yarn
|
cache: npm
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: npm ci -ws
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: npm run build
|
||||||
|
|
||||||
# TODO: replace to https://github.com/actions/upload-pages-artifact
|
# TODO: replace to https://github.com/actions/upload-pages-artifact
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
You will need the following things properly installed on your computer.
|
You will need the following things properly installed on your computer.
|
||||||
|
|
||||||
* [Git](https://git-scm.com/)
|
* [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/)
|
* [Ember CLI](https://cli.emberjs.com/release/)
|
||||||
* `Firefox` or `Google Chrome` (`Firefox` is better 😛)
|
* `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
|
* `git clone <repository-url>` this repository
|
||||||
* `cd meiliadmin`
|
* `cd meiliadmin`
|
||||||
* `yarn install`
|
* `npm install`
|
||||||
|
|
||||||
## Running / Development
|
## Running / Development
|
||||||
|
|
||||||
|
|
@ -30,8 +30,8 @@ Make use of the many generators for code, try `ember help generate` for more det
|
||||||
|
|
||||||
### Linting
|
### Linting
|
||||||
|
|
||||||
* `yarn lint`
|
* `npm run lint`
|
||||||
* `yarn lint:fix`
|
* `npm run lint:fix`
|
||||||
|
|
||||||
### Building
|
### Building
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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:
|
* First, ensure that you have installed your projects dependencies:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
yarn install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
* Second, ensure that you have obtained a
|
* Second, ensure that you have obtained a
|
||||||
|
|
|
||||||
|
|
@ -114,8 +114,7 @@
|
||||||
"node": "14.* || 16.* || >= 18"
|
"node": "14.* || 16.* || >= 18"
|
||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "16.16.0",
|
"node": "16.16.0"
|
||||||
"yarn": "1.22.19"
|
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org"
|
"registry": "https://registry.npmjs.org"
|
||||||
|
|
@ -125,7 +124,7 @@
|
||||||
},
|
},
|
||||||
"release-it": {
|
"release-it": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"after:bump": "yarn build && cd dist/ && tar -zcf dist.tgz *"
|
"after:bump": "npm run build && cd dist/ && tar -zcf dist.tgz *"
|
||||||
},
|
},
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"release-it-lerna-changelog": {
|
"release-it-lerna-changelog": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue