From 9a038d213cd66c6bba3aa05ca9adcfc0cd073f70 Mon Sep 17 00:00:00 2001
From: Felix Lemke
Date: Sun, 19 Dec 2021 21:40:38 +0100
Subject: [PATCH] chore: update package name and remove ngrx from eslint
plugins
---
.eslintrc.json | 4 ++--
.github/workflows/ci.yml | 21 ++++++++++-----------
apps/nodeplotlib/src/package.json | 2 +-
package.json | 5 +----
4 files changed, 14 insertions(+), 18 deletions(-)
diff --git a/.eslintrc.json b/.eslintrc.json
index 4bcf9d7..196fe7a 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -20,14 +20,14 @@
}
]
},
- "plugins": ["ngrx"],
+ "plugins": [],
"extends": []
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"rules": {},
- "plugins": ["ngrx"]
+ "plugins": []
},
{
"files": ["*.js", "*.jsx"],
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 675235e..f49f5d9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -4,17 +4,16 @@ on: [push]
jobs:
build:
-
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-node@v2
- with:
- node-version: '16.x'
- - run: npm ci
- - run: npm run lint
- - run: npm run build
- - run: npm run test
- env:
- CI: true
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v2
+ with:
+ node-version: '16.x'
+ - run: npm ci
+ - run: npx nx run-many --target=lint --all
+ - run: npx nx run-many --target=build --all
+ - run: npx nx run-many --target=test --all
+ env:
+ CI: true
diff --git a/apps/nodeplotlib/src/package.json b/apps/nodeplotlib/src/package.json
index 75d94d4..5822b8c 100644
--- a/apps/nodeplotlib/src/package.json
+++ b/apps/nodeplotlib/src/package.json
@@ -1,5 +1,5 @@
{
- "name": "npl",
+ "name": "nodeplotlib",
"version": "0.8.0-rc0",
"license": "MIT",
"main": "main.js",
diff --git a/package.json b/package.json
index 1420304..950bfe5 100644
--- a/package.json
+++ b/package.json
@@ -1,15 +1,12 @@
{
- "name": "npl",
+ "name": "nodeplotlib",
"version": "0.8.0-rc0",
"license": "MIT",
"scripts": {
"ng": "nx",
"postinstall": "node ./decorate-angular-cli.js && ngcc --properties es2015 browser module main",
- "start": "nx serve",
"format:write": "nx format:write",
- "lint": "nx affected:lint",
"build": "nx build",
- "test": "nx test",
"demo": "node ./tools/demo/candlestick.js"
},
"private": true,