-
Notifications
You must be signed in to change notification settings - Fork 56
Upgrade to Yarn v3, Nx 13.1.4, and move to @nrwl/nx-plugin proper structure #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
benpsnyder
wants to merge
9
commits into
angular-architects:master
Choose a base branch
from
benpsnyder:task/upgrade-to-yarn-v3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
fd5312b
feat: upgrade to Yarn v3
benpsnyder 90d3286
feat: upgrade to Nx 13.1.4
benpsnyder d56ecc4
feat: upgrade to workspace v2 + move to project-based config
benpsnyder 88c4ab4
fix: add initial proper structure for an Nx Plugin
benpsnyder 80dcf90
refactor: move files to @nrwl/nx-plugin format
benpsnyder 77b3da9
fix: change references to Schema
benpsnyder 1c204dd
fix: tsconfig exclude **/files/**
benpsnyder dc8f2a8
fix: patch @nrwl/tao & @nrwl/nx-plugin for Yarn v3
benpsnyder 6532985
chore: yarn.lock update
benpsnyder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
|
||
yarnPath: .yarn/releases/yarn-3.2.0-rc.6.cjs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,43 @@ | ||
{ | ||
"name": "angular-architects", | ||
"version": "0.0.0", | ||
"private": true, | ||
"license": "MIT", | ||
"scripts": { | ||
"commit": "git-cz", | ||
"nx": "nx", | ||
"start": "nx serve", | ||
"build": "nx build ddd", | ||
"pack": "npm pack ./dist/libs/ddd", | ||
"build:schema": "node libs/ddd/src/schematics/json-schema-to-ts.js", | ||
"test": "nx test", | ||
"lint": "nx workspace-lint && nx lint", | ||
"e2e": "nx e2e", | ||
"affected": "nx affected", | ||
"affected:apps": "nx affected:apps", | ||
"affected:libs": "nx affected:libs", | ||
"affected:build": "nx affected:build", | ||
"affected:dep-graph": "nx affected:dep-graph", | ||
"affected:e2e": "nx affected:e2e", | ||
"affected:test": "nx affected:test", | ||
"affected:libs": "nx affected:libs", | ||
"affected:lint": "nx affected:lint", | ||
"affected:dep-graph": "nx affected:dep-graph", | ||
"affected": "nx affected", | ||
"affected:test": "nx affected:test", | ||
"build": "nx build ddd", | ||
"build:schema": "node libs/ddd/src/schematics/json-schema-to-ts.js", | ||
"commit": "git-cz", | ||
"dep-graph": "nx dep-graph", | ||
"e2e": "nx e2e", | ||
"format": "nx format:write", | ||
"format:write": "nx format:write", | ||
"format:check": "nx format:check", | ||
"update": "nx migrate latest", | ||
"dep-graph": "nx dep-graph", | ||
"format:write": "nx format:write", | ||
"help": "nx help", | ||
"lint": "nx workspace-lint && nx lint", | ||
"nx": "nx", | ||
"pack": "npm pack ./dist/libs/ddd", | ||
"start": "nx serve", | ||
"test": "nx test", | ||
"update": "nx migrate latest", | ||
"workspace-generator": "nx workspace-generator" | ||
}, | ||
"private": true, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-customizable" | ||
} | ||
}, | ||
"dependencies": { | ||
"@schematics/angular": "^12.0.0", | ||
"@nrwl/schematics": "^12.0.0" | ||
"@schematics/angular": "^12.0.0" | ||
}, | ||
"devDependencies": { | ||
"json-schema-to-typescript": "^8.1.0", | ||
"@nrwl/angular": "11.0.20", | ||
"@nrwl/cli": "11.0.20", | ||
"@nrwl/eslint-plugin-nx": "11.0.20", | ||
|
@@ -46,21 +49,19 @@ | |
"@types/node": "12.12.38", | ||
"@typescript-eslint/eslint-plugin": "4.3.0", | ||
"@typescript-eslint/parser": "4.3.0", | ||
"@yarnpkg/plugin-dlx": "^3.1.1", | ||
"commitizen": "^4.2.2", | ||
"cz-customizable": "^6.3.0", | ||
"dotenv": "6.2.0", | ||
"eslint": "7.10.0", | ||
"eslint-config-prettier": "6.0.0", | ||
"jest": "26.2.2", | ||
"json-schema-to-typescript": "^8.1.0", | ||
"prettier": "2.1.2", | ||
"ts-jest": "26.4.0", | ||
"ts-node": "9.1.1", | ||
"tslint": "6.1.3", | ||
"typescript": "4.0.5" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-customizable" | ||
} | ||
} | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to
package.json
in this commit would be easier to review if you include a commit that sorts thescripts
entries by key name. Essentially you can apply the lint rules like this https://ota-meshi.github.io/eslint-plugin-jsonc/rules/sort-keys.html in a separate commit.