Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
5d26388
test: [M3 8672] - use eslint to flag createLinode function (#11689)
dmcintyr-akamai Feb 19, 2025
a6bd28e
fix: [M3-9281] - Ensure document titles for Cloud Pulse pages have ap…
hasyed-akamai Feb 20, 2025
d4aea22
refactor: [M3-9340] - Refactor CreateFirewallDrawer to use react-hook…
coliu-akamai Feb 20, 2025
873976d
test: [M3-8070] - Part 2 of applying eslint to cypress files (#11675)
dmcintyr-akamai Feb 20, 2025
50f6360
test: [DI-23274] - E2E Automations Cypress - ACLP Create alerts (#11670)
agorthi-akamai Feb 20, 2025
414c0a7
DI-23274: fixing the lint issue (#11697)
agorthi-akamai Feb 20, 2025
9d74f59
feat: [M3-9020] - LKE UI updates for checkout bar & Nodebalancer Deta…
hana-akamai Feb 20, 2025
9661e59
chore(deps): [M3-9356] - Update to Vite v6.1.1 (#11698)
bnussman-akamai Feb 20, 2025
5598266
upcoming: [M3-9065] - Build new Quotas Controls (#11647)
abailly-akamai Feb 20, 2025
f376953
fix: [M3-9146] - Disable OBJ create flow for restricted user (#11672)
hasyed-akamai Feb 21, 2025
9550660
fix: [M3-9148] - Added permission notice on create pages for restrict…
hasyed-akamai Feb 21, 2025
578f1fc
upcoming: [M3-9263, M3-9307] - Introduce the new `(at)linode/utilitie…
pmakode-akamai Feb 21, 2025
5c69bdd
upcoming: [DI-23317] - Filter regions by supported region ids (#11692)
ankita-akamai Feb 21, 2025
48b2753
upcoming: [M3-9210] - Update Linode Interface types as specified (#11…
coliu-akamai Feb 21, 2025
a03e792
feat: [M3-9204] - Make Public checkbox default-checked in OAuth App C…
carrillo-erik Feb 21, 2025
44d5471
upcoming: [DI-23318] - Edit functionality for user alert (#11669)
santoshp210-akamai Feb 21, 2025
f52e68b
deps: [M3-9348] - MUI v6 (#11688)
bnussman-akamai Feb 22, 2025
6112859
fix: [M3-9061] - Node Pools CTA Buttons on Small Screens (#11701)
pmakode-akamai Feb 24, 2025
23028c3
fix: Update yarn-lock (#11708)
abailly-akamai Feb 24, 2025
710ef9c
test: [M3 8070]: apply linting to more test files (#11695)
dmcintyr-akamai Feb 24, 2025
46d5627
test: [M3-9234]: config caddy to ignore test output (#11706)
dmcintyr-akamai Feb 24, 2025
fa70825
fix: [M3-9401] - Account Billing page regression due to MUI v6 (#11713)
bnussman-akamai Feb 24, 2025
27ece92
changed: [DI-23519] - updated icon colors to black (#11702)
nikhagra-akamai Feb 25, 2025
aa33aae
fix: [M3-9153] - LKE create page error for restricted user (#11687)
hasyed-akamai Feb 25, 2025
f875c2d
refactor: [M3-9397] - Migrate utilities to `(at)linode/utilities` pac…
pmakode-akamai Feb 25, 2025
1345e2b
fix: [M3-9400] - Selection Card UI regression caused by MUI v6 (#11715)
bnussman-akamai Feb 25, 2025
f192475
upcoming: [DI-23224] - Add tag filter in the resources section of Clo…
venkymano-akamai Feb 25, 2025
773667f
fix: Region Availablity Plans Panel API Request (#11707)
bnussman-akamai Feb 25, 2025
4168426
poc: Use MUI's Button Loading State (#11709)
bnussman-akamai Feb 25, 2025
3a440f0
fix: [M3-9316] - Add Tags to Volume Create Flow (#11696)
carrillo-erik Feb 25, 2025
5b8b739
feat: [UIE-8458, UIE-8377, UIE-8442] - IAM RBAC: fix bugs (#11668)
aaleksee-akamai Feb 25, 2025
6210b73
feat: [M3-9094] - DateRangePicker - v2 (#11540)
cpathipa Feb 25, 2025
4b340d4
test: [M3-9143] - Cypress test for Service Transfers fetch error (#11…
cliu-akamai Feb 25, 2025
1d1c608
Merge branch 'master' into develop
coliu-akamai Feb 25, 2025
cbda250
refactor: [M3-8711] - Read auth token from local storage (#11650)
hkhalil-akamai Feb 25, 2025
eca606c
refactor: [M3-9211, M3-8845] - Refactor Linode Rebuild Dialog (#11629)
bnussman-akamai Feb 25, 2025
f3763fc
fix: [M3-9398] - Improve clarity for OBJ validation message (#11712)
jaalah-akamai Feb 25, 2025
12287e9
fix: [M3-9344, M3-9336] - Fix LKE-E cluster filtering bug and non-LKE…
mjac0bs Feb 25, 2025
da35509
test: [M3-9150] - Cypress test for Image create page for restricted u…
cliu-akamai Feb 25, 2025
f51b3cc
test: [M3-9417] - Fix CloudPulse test failures involving notice text …
jdamore-linode Feb 25, 2025
418aa4d
Merge branch 'master' into develop
coliu-akamai Feb 25, 2025
90b7318
upcoming: [DI-23548] - Added reusable component for alerts contextual…
nikhagra-akamai Feb 26, 2025
4449f37
fix: [M3-9363] - Change error message for creating an Access key Draw…
hasyed-akamai Feb 26, 2025
ea168b3
test: [M3-8487] - Improve Cypress test VLAN handling (#11362)
cliu-akamai Feb 26, 2025
59b2e98
test: [M3-8137] - Add Cypress integration test to enable Linode Manag…
cliu-akamai Feb 26, 2025
c77b1fb
test: [M3-9149] - Cypress test for Linode create page for restricted …
cliu-akamai Feb 26, 2025
9873f73
fix: [M3-9345] - RTX 6000 showing up in UI (#11731)
bill-akamai Feb 26, 2025
e241450
upcoming: [M3-9115] - Create Firewalls from templates in CreateFirewa…
coliu-akamai Feb 26, 2025
23a1c45
test: Remove Cypress test assertion involving login page content (#11…
jdamore-linode Feb 26, 2025
3f82985
refactor: [M3-8632] - Use pnpm as our package manager (#11297)
bnussman-akamai Feb 26, 2025
198e488
fix: Add pnpm to `e2e_schedule_and_push.yml` (#11742)
bnussman-akamai Feb 26, 2025
9205b2e
upcoming: [M3-9402] - Hide GPU plans tab for LKE-E (#11726)
mjac0bs Feb 26, 2025
ee0c583
fix: Allow `cypress` to install scripts (#11744)
bnussman-akamai Feb 26, 2025
21d976d
upcoming: [M3-9095] - Add Linode Interfaces Table to Linode Details (…
bnussman-akamai Feb 27, 2025
b3f0d01
fix: [M3-9413] - Authentication Provider Selection Card UI Issue (#11…
bnussman-akamai Feb 27, 2025
9530225
test [M3-8070]: eslint formatting of files i previously removed error…
dmcintyr-akamai Feb 27, 2025
63a250c
chore: [M3-9440] - Improve Banner Spacing (#11724)
bnussman-akamai Feb 27, 2025
f7a0656
upcoming: [M3-8844] - Add LKE-E final copy and update some existing L…
mjac0bs Feb 27, 2025
7071f65
deps: [M3-9442] - Update `@vitest/ui` in `utilities` package (#11749)
pmakode-akamai Feb 27, 2025
1096eaa
Initial commit at upgrade (#11752)
abailly-akamai Feb 27, 2025
49aa305
fix: [M3-9441] - Add missing scripts in `package.json` for utilities/…
pmakode-akamai Feb 27, 2025
3a536ea
fix: Cypress tests in GitHub Actions (again) (#11754)
bnussman-akamai Feb 27, 2025
b3f863f
change: [M3-8997] - LKE missing notice/error indicator when downloadi…
bill-akamai Feb 27, 2025
92e9d89
chore: [no-ticket] - Upgrade Vitest packages to 3.0.7 (#11755)
abailly-akamai Feb 28, 2025
e946adb
Merge in latest master and resolve conflict
DevDW Feb 28, 2025
b62843b
security: [M3-9447] - Update `react-vnc` for security updates (#11758)
abailly-akamai Feb 28, 2025
a7103f6
upcoming: [M3-9110] - Add Interface type to Linode Entity Detail (#11…
coliu-akamai Feb 28, 2025
0170f45
fix: [M3-9439] - Search package using older Vite version (#11750)
bnussman-akamai Feb 28, 2025
15dfc59
fix: [M3-9455] – Fix Linode Rebuild dialog for distributed instances …
dwiley-akamai Feb 28, 2025
7deee64
upcoming: [M3-9396] - Quotas Table (#11716)
abailly-akamai Mar 1, 2025
5e1daae
Upcoming:[DI-23319] - CloudPulse Alerting minor UX improvements (#11748)
venkymano-akamai Mar 3, 2025
0e21ac3
upcoming: [M3-9420] – Support NB-VPC feature flag (#11738)
dwiley-akamai Mar 3, 2025
54841b7
upcoming: [M3-9355] - Fix LKE-E provisioning placeholder when filteri…
hana-akamai Mar 3, 2025
deb8915
test [M3-8070]: linting of images, kubernetes, linodes dirs (#11730)
dmcintyr-akamai Mar 3, 2025
83c03e2
test [M3 8070]: apply linting part 6 (#11756)
dmcintyr-akamai Mar 3, 2025
0f3a68b
test: [DI-23514] - Add Automation for edit functionality of user def…
agorthi-akamai Mar 4, 2025
1fcd7ed
fix: [M3-9253] - Incorrect helper text in `Add SSH Key` drawer (#11771)
hasyed-akamai Mar 4, 2025
09846ba
fix: [M3-9270] - Confusing wording on DBaaS suspend dialog (#11769)
hasyed-akamai Mar 4, 2025
e2deb03
fix: [M3-9243] - Added show detail dailog for selected Stackscript (#…
hasyed-akamai Mar 4, 2025
9eade9d
chore: [M3-9445] - Improve pre-commit hook experience (#11753)
bnussman-akamai Mar 4, 2025
33bb2b6
deps: [M3-9457] - Update `jspdf` dependencies to resolve DOMPurify de…
bnussman-akamai Mar 4, 2025
58a16a4
change: [M3-9347] - Use self-hosted Pendo agent scripts (#11777)
mjac0bs Mar 4, 2025
eaeb62c
upcoming: [M3-9120] - Linode Create Networking for Linode Interfaces …
bnussman-akamai Mar 4, 2025
93f8905
change: [M3-9446] - Update LKE copy part 2 (Upgrade, Recycle, and Del…
mjac0bs Mar 4, 2025
042ac15
fix: [M3-9359] - Adjust mobile primary nav height (#11723)
jaalah-akamai Mar 4, 2025
a522222
fix: [M3-9449] - Filter out Linodes in distributed regions from Creat…
hana-akamai Mar 4, 2025
8587aa7
test [M3 8628]: Delete region test suite (#11780)
dmcintyr-akamai Mar 4, 2025
b13b8eb
feat: [UIE-8514] - DBaaS : Initial Advanced Config Tab and Drawer Set…
mpolotsk-akamai Mar 5, 2025
92ef8b8
feat: [M3-9404] - 4.0.0 Design Tokens - New Spacing & Badge Tokens (#…
jaalah-akamai Mar 5, 2025
384a04f
refactor: [M3-9268] – Migrate `ErrorState` to `ui` package (#11718)
harsh-akamai Mar 5, 2025
4590d7c
upcoming: [DI-23640] - Added table in alert contextual view (#11734)
nikhagra-akamai Mar 5, 2025
0074dcc
refactor: [M3-8249] - Remove ramda from Linode (#11684)
harsh-akamai Mar 5, 2025
9c55b26
upcoming: [M3-9357] - Enable ACL by default for LKE-E clusters (#11746)
mjac0bs Mar 5, 2025
6d0cc72
fix: [M3-9412] - Shiki Syntax Highlighting causing Webkit browsers to…
bnussman-akamai Mar 5, 2025
1acd7b8
fix: [M3-9415] - NodeBalancer Create Summary broken dividers and spac…
pmakode-akamai Mar 5, 2025
302223a
fix: [M3-9464] - Linode Backups Drawer styles (#11776)
bnussman-akamai Mar 5, 2025
ea186e6
refactor: [M3-9354] - Reroute Firewalls Feature (#11704)
abailly-akamai Mar 5, 2025
349303c
Revert "change: [M3-9347] - Use self-hosted Pendo agent scripts (#117…
mjac0bs Mar 5, 2025
6ae0689
fix: [M3-9353] - Update fallback color for color picker to be consist…
mjac0bs Mar 5, 2025
e9d50e5
refactor: [M3-9276] – Revise logic governing display of LDE in Cloud …
dwiley-akamai Mar 5, 2025
e858d6b
Cloud version 1.138.0, API v4 version 0.136.0, Validation version 0.6…
Mar 6, 2025
1ee6367
Merge pull request #11794 from linode/release-v1.138.0
mjac0bs Mar 6, 2025
6c333bd
fix: Update link import in FirewallCreate section (#11799)
coliu-akamai Mar 6, 2025
23450dc
Revert most changes implemented in #11783
DevDW Mar 10, 2025
d62f707
Merge pull request #11817 from dwiley-akamai/M3-9493-streamline-lde-r…
mjac0bs Mar 11, 2025
20f2a71
fix: [M3-9526] - Fix database cluster config MUIv6 regressions (#11830)
mjac0bs Mar 12, 2025
a848046
remove: [M3-9580] - Bucket rate limit table from Object Storage detai…
jaalah-akamai Mar 14, 2025
1620b37
refactor: [M3-9532] – Account for "LA Disk Encryption" region capabil…
dwiley-akamai Mar 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
262 changes: 130 additions & 132 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@ jobs:
with:
ref: ${{ github.base_ref }} # The base branch of the PR (develop)

- uses: pnpm/action-setup@v4
with:
run_install: false
version: 10

- name: Use Node.js v20.17 LTS
uses: actions/setup-node@v4
with:
node-version: "20.17"

- uses: actions/cache@v4
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
cache: "pnpm"

- name: Install Dependencies
run: yarn --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Build @linode/validation
run: yarn build:validation
run: pnpm build:validation

- name: Build @linode/api-v4
run: yarn build:sdk
run: pnpm build:sdk

- name: Run Base Branch Coverage
run: yarn coverage:summary
run: pnpm coverage:summary

- name: Write Base Coverage to an Artifact
run: |
Expand All @@ -56,28 +56,28 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
run_install: false
version: 10

- name: Use Node.js v20.17 LTS
uses: actions/setup-node@v4
with:
node-version: "20.17"

- uses: actions/cache@v4
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
cache: "pnpm"

- name: Install Dependencies
run: yarn --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Build @linode/validation
run: yarn build:validation
run: pnpm build:validation

- name: Build @linode/api-v4
run: yarn build:sdk
run: pnpm build:sdk

- name: Run Current Branch Coverage
run: yarn coverage:summary
run: pnpm coverage:summary

- name: Write PR Number to an Artifact
run: |
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/coverage_badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
run_install: false
version: 10

- name: Use Node.js v20.17 LTS
uses: actions/setup-node@v4
with:
node-version: "20.17"

- uses: actions/cache@v4
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
cache: "pnpm"

- name: Install Dependencies
run: yarn --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Build @linode/validation
run: yarn build:validation
run: pnpm build:validation

- name: Build @linode/api-v4
run: yarn build:sdk
run: pnpm build:sdk

- name: Run Base Branch Coverage
run: yarn coverage:summary
run: pnpm coverage:summary

- name: Generate Coverage Badge
uses: jaywcjlove/coverage-badges-cli@7f0781807ef3e7aba97a145beca881d36451b7b7 # v1.1.1
Expand Down
20 changes: 9 additions & 11 deletions .github/workflows/e2e_schedule_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,13 @@ jobs:
- name: install command line utilities
run: sudo apt-get install -y expect
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: false
version: 10
- uses: actions/setup-node@v4
with:
node-version: "20.17"
- uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
~/.cache/Cypress
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
- run: |
echo "CYPRESS_RECORD_KEY=${{ secrets.CYPRESS_RECORD_KEY }}" >> $GITHUB_ENV
echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
Expand All @@ -57,16 +53,18 @@ jobs:
echo "REACT_APP_API_ROOT=${{ secrets.REACT_APP_API_ROOT }}" >> ./packages/manager/.env
echo "REACT_APP_APP_ROOT=${{ secrets.REACT_APP_APP_ROOT }}" >> ./packages/manager/.env
echo "REACT_APP_DISABLE_NEW_RELIC=1" >> ./packages/manager/.env
yarn install:all
yarn build
yarn start:manager:ci &
- run: pnpm install --frozen-lockfile
- run: pnpm run --filter @linode/validation build
- run: pnpm run --filter @linode/api-v4 build
- name: Run tests
uses: cypress-io/github-action@v6
with:
working-directory: packages/manager
wait-on: "http://localhost:3000"
wait-on-timeout: 1000
install: false
build: pnpm run build
start: pnpm start:ci
browser: chrome
record: true
parallel: true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,6 @@ packages/manager/bundle_analyzer_report.html

# vitepress
docs/.vitepress/cache

# pnpm store will be generated if you run pnpm install in docker environments
.pnpm-store
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarn workspaces run precommit
pnpm lint-staged
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

## Overview

This repository is home to the Akamai Connected **[Cloud Manager](https://cloud.linode.com)** and related [`@linode/api-v4`](packages/api-v4/), [`@linode/validation`](packages/validation/) and [`@linode/ui`](packages/ui/) Typescript packages.
This repository is home to the Akamai Connected **[Cloud Manager](https://cloud.linode.com)** and related [`@linode/api-v4`](packages/api-v4/), [`@linode/validation`](packages/validation/), [`@linode/ui`](packages/ui/), and [`@linode/utilities`](packages/utilities/) Typescript packages.

## Developing Locally

Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ x-e2e-runners:
target: e2e
env_file: ./packages/manager/.env
volumes: *default-volumes
entrypoint: 'yarn'
entrypoint: 'pnpm'

services:
# Serves a local instance of Cloud Manager for Cypress to use for its tests.
Expand Down Expand Up @@ -164,7 +164,7 @@ services:
entrypoint:
- "/bin/sh"
- "-c"
- "caddy reverse-proxy --from $${CYPRESS_BASE_URL} --to $${REVERSE_PROXY_URL} & yarn $0 $@"
- "caddy reverse-proxy --from $${CYPRESS_BASE_URL} --to $${REVERSE_PROXY_URL} > /dev/null 2>&1 & pnpm $0 $@"

# Cypress component test runner service.
#
Expand All @@ -191,7 +191,7 @@ services:
environment:
<<: *default-env
MANAGER_OAUTH: ${MANAGER_OAUTH}
entrypoint: ['yarn', 'cy:e2e']
entrypoint: ['pnpm', 'cy:e2e']

# Component test runner.
# Does not require any Cloud Manager environment to run.
Expand All @@ -201,7 +201,7 @@ services:
environment:
CY_TEST_DISABLE_RETRIES: ${CY_TEST_DISABLE_RETRIES}
CY_TEST_JUNIT_REPORT: ${CY_TEST_JUNIT_REPORT}
entrypoint: ['yarn', 'cy:component:run']
entrypoint: ['pnpm', 'cy:component:run']

# End-to-end test runner for Cloud's synthetic monitoring tests.
# Configured to run against a remote Cloud instance hosted at some URL.
Expand All @@ -211,4 +211,4 @@ services:
environment:
<<: *default-env
MANAGER_OAUTH: ${MANAGER_OAUTH}
entrypoint: ['yarn', 'cy:e2e']
entrypoint: ['pnpm', 'cy:e2e']
4 changes: 2 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Feel free to open an issue to report a bug or request a feature.
- install it via `brew`: https://github.com/cli/cli#installation or upgrade with `brew upgrade gh`
- Once installed, run `gh repo set-default` and pick `linode/manager` (only > 2.21.0)
- You can also just create the changeset manually, in this case make sure to use the proper formatting for it.
- Run `yarn changeset`from the root, choose the package to create a changeset for, and provide a description for the change.
- Run `pnpm changeset`from the root, choose the package to create a changeset for, and provide a description for the change.
You can either have it committed automatically or do it manually if you need to edit it.
- A changeset is optional, but should be included if the PR falls in one of the following categories:<br>
`Added`, `Fixed`, `Changed`, `Removed`, `Tech Stories`, `Tests`, `Upcoming Features`
Expand Down Expand Up @@ -74,4 +74,4 @@ Break down *additional* things in your PR into multiple PRs (like you would do w

## Docs

To run the docs development server locally, [install Bun](https://bun.sh/) and start the server: `yarn docs`.
To run the docs development server locally, [install Bun](https://bun.sh/) and start the server: `pnpm run docs`.
37 changes: 21 additions & 16 deletions docs/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,47 +10,52 @@
8. Install Node.js 20.17 LTS. We recommend using [Volta](https://volta.sh/):

```bash

$ curl https://get.volta.sh | bash
curl https://get.volta.sh | bash

## Add volta to your .*rc file, or open a new terminal window.

$ volta install node@20.17
volta install node@20.17

$ node --version
node --version
## v20.17.0

```

9. Install the latest version of Yarn:
9. Install pnpm v10 using Volta or view the [pnpm docs](https://pnpm.io/installation) for more installation methods

```bash
$ npm install --global yarn --upgrade
# 1.22.10
volta install pnpm@10

pnpm --version
# 10.2.0
```

10. Navigate to the root directory of the repository, then start Cloud Manager and the JS client with `yarn up`.
11. After installation, Cloud Manager should be running at `http://localhost:3000`.
10. Navigate to the root directory of the repository
11. Run `pnpm bootstrap` to install dependencies and perform an initial build of our packages
12. Run `pnpm dev` to start the local development server. Cloud Manager should be running at `http://localhost:3000`

## Serving a production build of Cloud Manager

You can then serve these files however you prefer or use our included local http server.
You can build a production bundle of Cloud Manager and serve it locally.

```bash
yarn install:all
pnpm install

pnpm run --filter @linode/validation build # build the @linode/validation package

pnpm run --filter @linode/api-v4 build # build the @linode/api-v4 (it depends on @linode/validation)

yarn workspace linode-manager build
pnpm run --filter linode-manager build # build a production bundle of Cloud Manager

yarn workspace linode-manager run start:ci
pnpm run --filter linode-manager start:ci # start a local http server on http://localhost:3000/
```

## Exposing Cloud Manager's dev server to the network

By default, Cloud Manager's dev server only listens on `localhost`. If you need to
expose the Vite dev server, you can use the following command.
expose the Vite dev server to all network interfaces, you can use the following command.

> **Note**: This is useful for running Cloud Manager's dev server in Docker-like environments

```bash
yarn up:expose
pnpm run up:expose
```
4 changes: 2 additions & 2 deletions docs/development-guide/01-repository-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The linode/manager repository is a monorepo that houses three packages:

The **manager** package is dependent on the **api-v4** package, which is itself dependent on the **validation** package.

The repo has a root level `package.json` which defines project-level scripts, hooks, and dependencies. The code for dependencies shared across projects are hoisted up to the root-level `/node_modules` directory. There is a single `yarn.lock` file for the repo which lives at the root level.
The repo has a root level `package.json` which defines project-level scripts, hooks, and dependencies. The code for dependencies shared across projects are hoisted up to the root-level `/node_modules` directory. There is a single `pnpm-lock.yaml` file for the repo which lives at the root level.

Any files relevant to the entire project or repo should be included at the root level. Files belonging to a specific package belong in `/packages/<package_name>`.

Expand Down Expand Up @@ -52,7 +52,7 @@ Like api-v4, TypeScript files are compiled to /lib and compiled + minified to in
A few notable directories in the root level of the manager package:

- **/build**
- where the app is compiled to after running `yarn build` (gitignored)
- where the app is compiled to after running `pnpm build` (gitignored)
- **/config**
- configuration for unit tests
- **/cypress**
Expand Down
4 changes: 2 additions & 2 deletions docs/development-guide/04-component-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ We use [Storybook](https://storybook.js.org/) to document our UI component libra

#### Running Storybook Locally

`yarn build-storybook`: builds Storybook as a static web application, with build output located in `/packages/manager/storybook-static`; must be run from `/packages/manager` directory
`pnpm run --filter linode-manager build-storybook`: builds Storybook as a static web application, with build output located in `/packages/manager/storybook-static`; must be run from `/packages/manager` directory

`yarn storybook`: starts the local dev server at `localhost:6006`
`pnpm storybook`: starts the local dev server at `localhost:6006`

#### Adding Stories

Expand Down
Loading
Loading