Skip to content

Commit

Permalink
v0.23.0 (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
aidemsined authored Feb 26, 2025
2 parents 52408fb + 22e9d07 commit 131e088
Show file tree
Hide file tree
Showing 35 changed files with 11,773 additions and 16,384 deletions.
35 changes: 0 additions & 35 deletions .eslintignore

This file was deleted.

2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
'prettier',
'plugin:prettier/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs', '*.svg', '*.scss', 'legacySassSvgInlinerFactory.js'],
ignorePatterns: ['dist', '.eslintrc.cjs', '*.svg', '*.scss', 'legacySassSvgInlinerFactory.js', 'node_modules', '.DS_Store',], // move to eslint.config if we upgrade to eslint v9
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: v22.1.0
- run: npm install
- run: npm run build
- run: npm install -g pnpm@latest-10
- run: pnpm install
- run: pnpm run build

- name: Set up Python
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Bump version for Node.js (package.json)
run: |
npm version patch # Or `minor` / `major` depending on your needs
pnpm version patch # Or `minor` / `major` depending on your needs
git add package.json
cat package.json
env:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apt-get update \
USER node
COPY --chown=node:node ./package.json package-lock.json index.html ./

RUN npm install
RUN npm install -g pnpm@latest-10

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

RUN npm run build
RUN pnpm run build

CMD ["bash"]

Expand Down
12 changes: 8 additions & 4 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@

### Front end

Currently the project requires Node v20.11. We have a `.nvmrc` file for ease of versioning if you're using a node version manager.

We use [pnpm](https://pnpm.io/) as our package manager. Please see their guidelines for [installing pnpm on your machine](https://pnpm.io/installation).

```shell
nvm use
npm install
npm run dev
pnpm install
pnpm run dev
```

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

```shell
npm run flask:start
pnpm run flask:start
```

Starting with hot reload:

``` shell
npm run flask:start-debug
pnpm run flask:start-debug
```

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`.
Expand Down
Loading

0 comments on commit 131e088

Please sign in to comment.