Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ jobs:

steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: 14.x
cache: npm

cache: yarn
- name: Validate cache
run: npm ci --loglevel verbose
run: yarn install --frozen-lockfile

test:
name: Run Jest Tests
Expand All @@ -26,11 +24,11 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14.x
cache: npm
cache: yarn
- name: install
run: npm ci --loglevel verbose
run: yarn install --frozen-lockfile
- name: test
run: npm run test
run: yarn test

lint:
name: Run Lints
Expand All @@ -42,11 +40,11 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14.x
cache: npm
cache: yarn
- name: install
run: npm ci --loglevel verbose
run: yarn install --frozen-lockfile
- name: lint
run: npm run lint
run: yarn lint

prettier:
name: Check Formatting
Expand All @@ -58,8 +56,8 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14.x
cache: npm
cache: yarn
- name: install
run: npm ci --loglevel verbose
run: yarn install --frozen-lockfile
- name: format-check
run: npm run format:check
run: yarn format:check
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm install
- run: npm test
- run: npm run-script build
- run: yarn install
- run: yarn test
- run: yarn build

- id: "publish"
uses: JS-DevTools/npm-publish@v1
Expand Down
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,14 @@ build/Release
# Dependency directory
node_modules

# Optional npm cache directory
.npm
# Yarn directory
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Optional REPL history
.node_repl_history
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
package.json
.github
.yarn
631 changes: 631 additions & 0 deletions .yarn/releases/yarn-berry.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
npmRegistryServer: "https://registry.yarnpkg.com"
nodeLinker: "node-modules"
yarnPath: ".yarn/releases/yarn-berry.js"
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### New features
### Chores

- Migrates package manager from npm to yarn2

## 2.0.0 (November 8, 2021)

### Features

- Changelog will now track changes when they are made!
- Increased verbosity in `npm ci` for GitHub Action checks

### Fixes
### Bug Fixes

- Removed unused `inquirer` and `lodash` dependencies
- Removed unused `nock` dependency
Expand Down
Loading