Skip to content

Commit d349830

Browse files
authored
feat(core): update to nx 19 (#857)
1 parent 4c19278 commit d349830

File tree

104 files changed

+7278
-203697
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+7278
-203697
lines changed

.eslintrc.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,18 @@
2525
"files": ["*.ts", "*.tsx"],
2626
"extends": ["plugin:@nx/typescript"],
2727
"rules": {
28-
"eqeqeq": ["error", "smart"]
28+
"eqeqeq": ["error", "smart"],
29+
"@typescript-eslint/no-extra-semi": "error",
30+
"no-extra-semi": "off"
2931
}
3032
},
3133
{
3234
"files": ["*.js", "*.jsx"],
3335
"extends": ["plugin:@nx/javascript"],
34-
"rules": {}
36+
"rules": {
37+
"@typescript-eslint/no-extra-semi": "error",
38+
"no-extra-semi": "off"
39+
}
3540
},
3641
{
3742
"files": "*.json",

.github/workflows/pr.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ jobs:
2222
npx nx-cloud record yarn documentation:check --verbose
2323
npx nx-cloud record yarn commitlint --from ${{ github.event.pull_request.base.sha }} --to HEAD --verbose
2424
parallel-commands-on-agents: |
25-
yarn nx affected --target lint build test
26-
final-commands: |
27-
yarn e2e
25+
yarn nx affected --target lint build test e2e
2826
2927
agents:
3028
name: Nx Cloud - Agents

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
/libpeerconnection.log
3232
npm-debug.log
3333
yarn-error.log
34+
.yarn/install-state.gz
3435
testem.log
3536
.npmrc
3637
/typings
@@ -47,4 +48,5 @@ Thumbs.db
4748
**/obj
4849

4950
.vs
50-
.nx/cache
51+
.nx/cache
52+
.nx/workspace-data

.husky/pre-commit

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33
. "$(dirname "$0")/common.sh"
4-
5-
yarn lint-staged

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
/coverage
55
.docusaurus/
66
.yarn/
7-
/.nx/cache
7+
/.nx/cache
8+
/.nx/workspace-data

.verdaccio/config.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# path to a directory with all packages
2+
storage: ../tmp/local-registry/storage
3+
4+
auth:
5+
htpasswd:
6+
file: ./htpasswd
7+
8+
# a list of other known repositories we can talk to
9+
uplinks:
10+
npmjs:
11+
url: https://registry.npmjs.org/
12+
maxage: 60m
13+
max_fails: 20
14+
fail_timeout: 2m
15+
yarn:
16+
url: https://registry.yarnpkg.com
17+
maxage: 60m
18+
max_fails: 20
19+
fail_timeout: 2m
20+
21+
packages:
22+
'@*/*':
23+
# scoped packages
24+
access: $all
25+
publish: $all
26+
unpublish: $all
27+
proxy: npmjs
28+
29+
'**':
30+
# allow all users (including non-authenticated users) to read and
31+
# publish all packages
32+
access: $all
33+
34+
# allow all users (including non-authenticated users) to publish/publish packages
35+
publish: $all
36+
unpublish: $all
37+
38+
# if package is not available locally, proxy requests to 'yarn' registry
39+
proxy: npmjs
40+
41+
# log settings
42+
logs:
43+
type: stdout
44+
format: pretty
45+
level: warn
46+
47+
publish:
48+
allow_offline: true # set offline to true to allow publish offline

0 commit comments

Comments
 (0)