Skip to content

Commit

Permalink
Release 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bornova committed Aug 5, 2023
1 parent 3388d99 commit 7732072
Show file tree
Hide file tree
Showing 64 changed files with 2,957 additions and 3,870 deletions.
20 changes: 4 additions & 16 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,10 @@
"browser": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"appInfo": "readonly",
"CodeMirror": "readonly",
"DeepDiff": "readonly",
"lucide": "readonly",
"luxon": "readonly",
"math": "readonly",
"Mousetrap": "readonly",
"UIkit": "readonly"
},
"ignorePatterns": ["build", "dist", "d3.js", "plot.js"],
"extends": ["eslint:recommended", "prettier"],
"ignorePatterns": ["build", "dist"],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"no-new-func": "off"
"ecmaVersion": "latest",
"sourceType": "module"
}
}
27 changes: 15 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,25 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v3

- name: Install Node.js, NPM and Yarn
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18

- name: Bundle Numara app
run: npm run build
- name: Install dependencies
run: npm install

- name: Build/release Electron app
run: electron-builder --publish always
with:
github_token: ${{ secrets.github_token }}
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Build Numara app
run: npm run build
env:
APPLE_ID: ${{ secrets.apple_id }}
APPLE_ID_PASSWORD: ${{ secrets.apple_id_password }}
CSC_LINK: ${{ secrets.MAC_CERTS }}
CSC_KEY_PASSWORD: ${{ secrets.MAC_CERTS_PASSWORD }}
PROD: true

- name: Publish Numara app
run: npm run publish
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
build
dist

src/js/d3.js
src/js/plot.js
8 changes: 4 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"trailingComma": "none",
"tabWidth": 2,
"endOfLine": "auto",
"printWidth": 120,
"semi": false,
"singleQuote": true,
"printWidth": 120,
"endOfLine": "auto"
"tabWidth": 2,
"trailingComma": "none"
}
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

[![Build/release Numara](https://github.com/bornova/numara-calculator/actions/workflows/build.yml/badge.svg)](https://github.com/bornova/numara-calculator/actions/workflows/build.yml)

Simple notepad calculator built on [Electron](https://github.com/electron/electron), powered by [Math.js](https://github.com/josdejong/mathjs)
A simple but powerful notepad calculator which evaluates expressions as you type.

Available for Windows, MacOS, Linux and on the web.
Built on [Electron](https://github.com/electron/electron), powered by [Math.js](https://github.com/josdejong/mathjs).

See it in action at https://numara.io (mobile friendly)
Available for Windows, MacOS, Linux and on the web at https://numara.io

<img src="http://numara.io/assets/numara-light.png" width="500">
<img src="http://numara.io/assets/numara-dark.png" width="500">
![Screen Shot 2023-08-05 at 3 37 12 PM](https://github.com/bornova/numara-calculator/assets/35872220/eaafdd94-c8b2-4cc3-9234-33a47d42f20a)![Screen Shot 2023-08-05 at 3 37 37 PM](https://github.com/bornova/numara-calculator/assets/35872220/870e70ce-6433-4591-9964-0b097997c5e9)

Visit the [documentation page](https://github.com/bornova/numara-calculator/wiki/Documentation) to learn more about the features.
154 changes: 0 additions & 154 deletions build.js

This file was deleted.

Binary file added build/assets/fonts/Numara.woff
Binary file not shown.
Binary file added build/assets/fonts/Numara.woff2
Binary file not shown.
43 changes: 35 additions & 8 deletions build/assets/fonts/fonts.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,40 @@
/* Mont */
@font-face {
font-family: 'Numara';
src:
url('Numara.woff2') format('woff2'),
url('Numara.woff') format('woff');
font-weight: 600;
font-style: normal;
font-display: swap;
}

/* Open Sans */
@font-face {
font-family: 'Open Sans';
src: url('OpenSans-Regular.woff2') format('woff2'), url('OpenSans-Regular.woff') format('woff');
src:
url('OpenSans-Regular.woff2') format('woff2'),
url('OpenSans-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Open Sans';
src: url('OpenSans-SemiBold.woff2') format('woff2'), url('OpenSans-SemiBold.woff') format('woff');
src:
url('OpenSans-SemiBold.woff2') format('woff2'),
url('OpenSans-SemiBold.woff') format('woff');
font-weight: 600;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Open Sans';
src: url('OpenSans-Bold.woff2') format('woff2'), url('OpenSans-Bold.woff') format('woff');
src:
url('OpenSans-Bold.woff2') format('woff2'),
url('OpenSans-Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
font-display: swap;
Expand All @@ -26,39 +43,49 @@
/* Roboto */
@font-face {
font-family: 'Roboto Mono';
src: url('RobotoMono-ExtraLight.woff2') format('woff2'), url('RobotoMono-ExtraLight.woff') format('woff');
src:
url('RobotoMono-ExtraLight.woff2') format('woff2'),
url('RobotoMono-ExtraLight.woff') format('woff');
font-weight: 200;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Roboto Mono';
src: url('RobotoMono-Light.woff2') format('woff2'), url('RobotoMono-Light.woff') format('woff');
src:
url('RobotoMono-Light.woff2') format('woff2'),
url('RobotoMono-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Roboto Mono';
src: url('RobotoMono-Regular.woff2') format('woff2'), url('RobotoMono-Regular.woff') format('woff');
src:
url('RobotoMono-Regular.woff2') format('woff2'),
url('RobotoMono-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Roboto Mono';
src: url('RobotoMono-Medium.woff2') format('woff2'), url('RobotoMono-Medium.woff') format('woff');
src:
url('RobotoMono-Medium.woff2') format('woff2'),
url('RobotoMono-Medium.woff') format('woff');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Roboto Mono';
src: url('RobotoMono-Bold.woff2') format('woff2'), url('RobotoMono-Bold.woff') format('woff');
src:
url('RobotoMono-Bold.woff2') format('woff2'),
url('RobotoMono-Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
font-display: swap;
Expand Down
Binary file modified build/assets/icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified build/assets/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified build/assets/icon.icns
Binary file not shown.
Binary file modified build/assets/icon.ico
Binary file not shown.
Binary file added build/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/assets/logo-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/assets/logo-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed build/assets/numara.png
Binary file not shown.
Loading

0 comments on commit 7732072

Please sign in to comment.