Skip to content

Commit

Permalink
fix(workspace): updates and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
waldronmatt committed Nov 4, 2023
1 parent f658997 commit 3d1fc6a
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 183 deletions.
3 changes: 0 additions & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
auto-install-peers=true
@waldronmatt/demo-ui:registry=https://registry.npmjs.org/
@waldronmatt/basic-math:registry=https://registry.npmjs.org/
@waldronmatt/parity:registry=https://registry.npmjs.org/
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Token setup and repository settings can be [found here](docs/repo/SETUP.md).

## Getting Started

**Note**: Append `--no-cache` at the end of cached commands **directly** to disable nx cloud caching and append `--skip-nx-cache` to disable cache connection to `nx cloud`. Example: `npx nx run-many -t test --no-cache`
**Note**: Append `--no-cache` at the end of cached commands to disable nx cloud caching and append `--skip-nx-cache` to disable cache connection to `nx cloud`. Example: `npx nx run-many -t test --no-cache --skip-nx-cache`

Commit changes using conventional changelog:

Expand Down Expand Up @@ -58,7 +58,7 @@ pnpm test:watch

Run tests against compiled files:

**Note**: Run `pnpm build` first.
**Note**: Run `pnpm build` first

```bash
pnpm test:prod
Expand All @@ -80,7 +80,7 @@ pnpm clean

Starts local servers that serves the `build` outputs from their respective output folders:

**Note**: Run `pnpm build` first.
**Note**: Run `pnpm build` first

```bash
pnpm preview
Expand Down
6 changes: 6 additions & 0 deletions docs/repo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.0](https://github.com/waldronmatt/pnpm-nx-lerna-lite-boilerplate/compare/[email protected]@1.2.0) (2023-11-04)

### Features

* **repo:** revamp setup doc, update commands doc ([f658997](https://github.com/waldronmatt/pnpm-nx-lerna-lite-boilerplate/commit/f658997d02a8754ddd29bc7cc35b36652dffe303)) - by @

## [1.1.6](https://github.com/waldronmatt/pnpm-nx-lerna-lite-boilerplate/compare/[email protected]@1.1.6) (2023-11-03)

**Note:** Version bump only for package monorepo-docs
Expand Down
2 changes: 1 addition & 1 deletion docs/repo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monorepo-docs",
"version": "1.1.6",
"version": "1.2.0",
"private": true,
"license": "MIT"
}
5 changes: 1 addition & 4 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"default": {
"runner": "nx-cloud",
"options": {
"cacheableOperations": ["lint:ts", "lint", "test", "test:prod", "build:dtsmaps", "build:src", "build", "stub"]
"cacheableOperations": ["lint:ts", "lint", "test", "test:prod", "build:dtsmaps", "build:src", "build"]
}
}
},
Expand Down Expand Up @@ -36,9 +36,6 @@
},
"build:dtsmaps": {
"outputs": ["{projectRoot}/dist"]
},
"stub": {
"outputs": ["{projectRoot}/dist"]
}
}
}
12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"prepare": "husky install",
"commit": "git-cz",
"delete": "rimraf pnpm-lock.yaml node_modules",
"lint:format": "prettier --write .",
"lint:secrets": "npx secretlint **/*",
"lint:format": "prettier --write .",
"lint:deps": "npx syncpack lint-semver-ranges --config .syncpackrc",
"lint:publish": "npx publint",
"lint:package": "npx manypkg check",
"lint:mr": "run-p lint:format lint:secrets lint:deps lint:publish lint:package",
"lint:mr": "run-p lint:secrets lint:format lint:deps lint:publish lint:package",
"nx:graph": "npx nx graph",
"preview:version": "lerna version --dry-run --yes",
"preview:publish": "lerna publish from-package --dry-run --yes",
Expand All @@ -32,9 +32,6 @@
"preview": "npx nx run-many -t preview",
"stub": "npx nx run-many -t stub",
"bootstrap:ci": "pnpm i --frozen-lockfile",
"build:ci": "npx nx affected -t build --parallel=3",
"lint:ci": "npx nx affected -t lint --parallel=3",
"test:ci": "npx nx affected -t test:prod --parallel=3",
"version:ci": "lerna version --yes",
"publish:ci": "lerna publish from-package --yes"
},
Expand All @@ -53,13 +50,12 @@
"cz-conventional-changelog": "3.3.0",
"husky": "8.0.3",
"lint-staged": "15.0.2",
"npm-run-all": "4.1.5",
"nx": "17.0.2",
"prettier": "3.0.3",
"publint": "0.2.5",
"secretlint": "7.0.7",
"typescript": "5.2.2"
"secretlint": "7.0.7"
},
"packageManager": "^[email protected]",
"resolutions": {
"tsconfig-paths": "4.2.0"
},
Expand Down
Loading

0 comments on commit 3d1fc6a

Please sign in to comment.