Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc.js

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [14.x, 16.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- run: yarn install --frozen-lockfile
- run: yarn install --immutable

- run: yarn lerna run build:prod
- run: yarn lerna run build

- run: yarn lerna run test

Expand Down
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
### App ###

dist/
/packages/nanocurrency/assembly.js

### TS ###

*.tsbuildinfo
.rpt2_cache/

### Node ###
Expand All @@ -20,6 +20,13 @@ yarn-error.log*
# Dependency directories

node_modules/
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

### OS ###

Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

363 changes: 363 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

768 changes: 768 additions & 0 deletions .yarn/releases/yarn-3.1.1.cjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.1.1.cjs
4 changes: 0 additions & 4 deletions fusee.js

This file was deleted.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"packages/*"
],
"dependencies": {
"@marvinroger/fusee": "^3.3.0",
"lerna": "^3.13.1",
"typescript": "^3.3.3333"
"lerna": "^4.0.0"
},
"name": "nanocurrency-workspace"
"name": "nanocurrency-workspace",
"packageManager": "yarn@3.1.1"
}
1 change: 1 addition & 0 deletions packages/nanocurrency-cli/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./fusee').getEslintConfig(__dirname)
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/nanocurrency-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ nanocurrency --help

Contributions are very welcome. To develop, make use of the following commands (using [Yarn](https://yarnpkg.com)):

- `yarn build:prod`: build the into the `dist/` directory
- `yarn build`: build the code into the `dist/` directory

- `yarn test`: test the code

Expand Down
1 change: 1 addition & 0 deletions packages/nanocurrency-cli/fusee.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@marvinroger/fusee').buildFusee()
16 changes: 12 additions & 4 deletions packages/nanocurrency-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
"url": "https://www.marvinroger.fr"
},
"bugs": "https://github.com/marvinroger/nanocurrency-js/issues",
"engines": {
"node": ">= 12.0.0"
},
"dependencies": {
"nanocurrency": ">= 2.2.0 < 3.0.0",
"yargs": "^13.0.0"
"yargs": "^17.3.0"
},
"files": [
"dist/"
Expand All @@ -33,12 +36,17 @@
"url": "https://github.com/marvinroger/nanocurrency-js.git"
},
"scripts": {
"build:prod": "tsc --build",
"build": "tsc --build",
"lint": "fusee lint",
"test": "fusee test",
"prepublishOnly": "yarn build:prod && yarn test && yarn lint"
"prepublishOnly": "yarn build && yarn test && yarn lint"
},
"devDependencies": {
"json-stable-stringify-without-jsonify": "^1.0.1"
"@marvinroger/fusee": "^4.0.3",
"eslint": "^8.5.0",
"jest": "^27.4.5",
"json-stable-stringify-without-jsonify": "^1.0.1",
"prettier": "^2.5.1",
"typescript": "^4.5.4"
}
}
Loading