Skip to content

Commit

Permalink
Merge branch 'dev' into optimize-addLeadingZeroes
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-ziv authored Nov 14, 2023
2 parents 0c6d99a + 6cb1d9d commit 45dc848
Show file tree
Hide file tree
Showing 5 changed files with 574 additions and 1,467 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### [0.2.1-dev.1](https://github.com/starkware-libs/starkware-crypto-utils/compare/v0.2.0...v0.2.1-dev.1) (2023-11-14)


### 🔧 Fixes

* require from module's root returns an empty object. ([#20](https://github.com/starkware-libs/starkware-crypto-utils/issues/20)) ([e141e88](https://github.com/starkware-libs/starkware-crypto-utils/commit/e141e886986864fbb9ac2b1cb69f07af05afe47d))

## [0.2.0](https://github.com/starkware-libs/starkware-crypto-utils/compare/v0.1.0...v0.2.0) (2023-08-14)


Expand Down
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@starkware-industries/starkware-crypto-utils",
"version": "0.2.0",
"version": "0.2.1-dev.1",
"description": "Signatures, keys and Pedersen hash on STARK friendly elliptic curve",
"keywords": [
"stark",
Expand All @@ -20,8 +20,9 @@
},
"license": "Apache-2.0",
"author": "StarkWare Industries Ltd.",
"main": "dist/index.js",
"types": "dist/types/src/js/index.d.ts",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/types/index.d.ts",
"files": [
"dist",
"src/config",
Expand All @@ -32,7 +33,7 @@
],
"scripts": {
"prebuild": "npm run clean",
"build": "webpack --mode production",
"build": "vite build",
"clean": "rm -rf ./dist",
"dev": "webpack-dev-server --mode development",
"docs:generate": "typedoc",
Expand Down Expand Up @@ -82,13 +83,11 @@
"mocha": "^10.2.0",
"prettier": "^2.8.7",
"semantic-release": "^19.0.5",
"terser-webpack-plugin": "^5.3.9",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typedoc": "^0.23.16",
"typescript": "^4.8.4",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
"vite": "^4.5.0",
"vite-plugin-dts": "^3.6.3"
}
}
26 changes: 26 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import {defineConfig} from 'vite';
import dts from 'vite-plugin-dts';

export default defineConfig({
plugins: [
dts({
insertTypesEntry: true,
outDir: 'dist/types'
})
],
build: {
lib: {
entry: 'src/js/index.ts',
name: '@starkware-industries/starkware-crypto-utils',
fileName: format => `index.${format}.js`,
formats: ['cjs', 'es']
},
rollupOptions: {
external: [],
output: {
exports: 'named',
dir: 'dist'
}
}
}
});
40 changes: 0 additions & 40 deletions webpack.config.js

This file was deleted.

Loading

0 comments on commit 45dc848

Please sign in to comment.