Skip to content

Commit 131e088

Browse files
authored
v0.23.0 (#388)
2 parents 52408fb + 22e9d07 commit 131e088

35 files changed

+11773
-16384
lines changed

.eslintignore

Lines changed: 0 additions & 35 deletions
This file was deleted.

.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
'prettier',
1616
'plugin:prettier/recommended',
1717
],
18-
ignorePatterns: ['dist', '.eslintrc.cjs', '*.svg', '*.scss', 'legacySassSvgInlinerFactory.js'],
18+
ignorePatterns: ['dist', '.eslintrc.cjs', '*.svg', '*.scss', 'legacySassSvgInlinerFactory.js', 'node_modules', '.DS_Store',], // move to eslint.config if we upgrade to eslint v9
1919
parser: '@typescript-eslint/parser',
2020
parserOptions: {
2121
project: './tsconfig.json',

.github/workflows/build-wheels.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
uses: actions/setup-node@v4
2121
with:
2222
node-version: v22.1.0
23-
- run: npm install
24-
- run: npm run build
23+
- run: npm install -g pnpm@latest-10
24+
- run: pnpm install
25+
- run: pnpm run build
2526

2627
- name: Set up Python
2728
uses: actions/setup-python@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Bump version for Node.js (package.json)
2626
run: |
27-
npm version patch # Or `minor` / `major` depending on your needs
27+
pnpm version patch # Or `minor` / `major` depending on your needs
2828
git add package.json
2929
cat package.json
3030
env:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN apt-get update \
1717
USER node
1818
COPY --chown=node:node ./package.json package-lock.json index.html ./
1919

20-
RUN npm install
20+
RUN npm install -g pnpm@latest-10
2121

2222
ARG NODE_ENV="production"
2323
ENV NODE_ENV="${NODE_ENV}" \
@@ -30,7 +30,7 @@ COPY --chown=node:node . .
3030
# https://vitejs.dev/guide/env-and-mode
3131
COPY --chown=node:node ./.env* /app/
3232

33-
RUN npm run build
33+
RUN pnpm run build
3434

3535
CMD ["bash"]
3636

docs/contributing.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66

77
### Front end
88

9+
Currently the project requires Node v20.11. We have a `.nvmrc` file for ease of versioning if you're using a node version manager.
10+
11+
We use [pnpm](https://pnpm.io/) as our package manager. Please see their guidelines for [installing pnpm on your machine](https://pnpm.io/installation).
12+
913
```shell
1014
nvm use
11-
npm install
12-
npm run dev
15+
pnpm install
16+
pnpm run dev
1317
```
1418

1519
### Back end
@@ -35,13 +39,13 @@ pip install -r backend/ttnn_visualizer/requirements.txt
3539
Starting the server
3640

3741
```shell
38-
npm run flask:start
42+
pnpm run flask:start
3943
```
4044

4145
Starting with hot reload:
4246

4347
``` shell
44-
npm run flask:start-debug
48+
pnpm run flask:start-debug
4549
```
4650

4751
When both the frontend and backend are running you can access the app on [http://localhost:5173](http://localhost:5173) or whatever **Local** uri is printed in your terminal where you ran `npm run dev`.

0 commit comments

Comments
 (0)