Skip to content

Commit

Permalink
feat(core): update to nx 19 (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Jul 27, 2024
1 parent 4c19278 commit d349830
Show file tree
Hide file tree
Showing 104 changed files with 7,278 additions and 203,697 deletions.
9 changes: 7 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {
"eqeqeq": ["error", "smart"]
"eqeqeq": ["error", "smart"],
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": "*.json",
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ jobs:
npx nx-cloud record yarn documentation:check --verbose
npx nx-cloud record yarn commitlint --from ${{ github.event.pull_request.base.sha }} --to HEAD --verbose
parallel-commands-on-agents: |
yarn nx affected --target lint build test
final-commands: |
yarn e2e
yarn nx affected --target lint build test e2e
agents:
name: Nx Cloud - Agents
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
/libpeerconnection.log
npm-debug.log
yarn-error.log
.yarn/install-state.gz
testem.log
.npmrc
/typings
Expand All @@ -47,4 +48,5 @@ Thumbs.db
**/obj

.vs
.nx/cache
.nx/cache
.nx/workspace-data
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

yarn lint-staged
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
/coverage
.docusaurus/
.yarn/
/.nx/cache
/.nx/cache
/.nx/workspace-data
48 changes: 48 additions & 0 deletions .verdaccio/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# path to a directory with all packages
storage: ../tmp/local-registry/storage

auth:
htpasswd:
file: ./htpasswd

# a list of other known repositories we can talk to
uplinks:
npmjs:
url: https://registry.npmjs.org/
maxage: 60m
max_fails: 20
fail_timeout: 2m
yarn:
url: https://registry.yarnpkg.com
maxage: 60m
max_fails: 20
fail_timeout: 2m

packages:
'@*/*':
# scoped packages
access: $all
publish: $all
unpublish: $all
proxy: npmjs

'**':
# allow all users (including non-authenticated users) to read and
# publish all packages
access: $all

# allow all users (including non-authenticated users) to publish/publish packages
publish: $all
unpublish: $all

# if package is not available locally, proxy requests to 'yarn' registry
proxy: npmjs

# log settings
logs:
type: stdout
format: pretty
level: warn

publish:
allow_offline: true # set offline to true to allow publish offline
Loading

0 comments on commit d349830

Please sign in to comment.