-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated and tested against Angular 18 * Fixed issues with the way nodes gain dimension * Fixed misc bugs to allow for cleaner experience on load * Replaced DocSPA with Storybook * Migrated tslint to eslint * Now built with yarn and Node 20 --------- Co-authored-by: Marjan Georgiev <[email protected]>
- Loading branch information
1 parent
863fafc
commit 9944495
Showing
98 changed files
with
21,095 additions
and
35,963 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"root": true, | ||
"extends": ["@swimlane", "prettier"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": ["./tsconfig.json"] | ||
}, | ||
"extends": [ | ||
"@swimlane/eslint-config/typescript", | ||
"plugin:@angular-eslint/recommended", | ||
"plugin:@angular-eslint/template/process-inline-templates", | ||
"prettier" | ||
], | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"@angular-eslint/directive-class-suffix": "off", | ||
"@angular-eslint/component-class-suffix": "off", | ||
"@typescript-eslint/no-inferrable-types": "off", | ||
"@angular-eslint/no-input-rename": "off", | ||
"@angular-eslint/no-output-native": "off", | ||
"@typescript-eslint/consistent-type-imports": "off", | ||
"@typescript-eslint/no-duplicate-enum-values": "off" | ||
} | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,28 +8,38 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14.x | ||
node-version: 20.17.0 | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Install | ||
run: npm install --legacy-peer-deps | ||
- name: Install Yarn | ||
run: corepack prepare [email protected] --activate | ||
|
||
- name: Install dependencies | ||
run: yarn install --immutable | ||
|
||
- name: Build | ||
run: | | ||
node --max-old-space-size=4096 `which npm` run build --if-present | ||
run: yarn build:storybook | ||
env: | ||
CI: true | ||
|
||
- name: Test | ||
run: | | ||
node --max-old-space-size=4096 `which npm` run ci --if-present | ||
run: yarn ci | ||
env: | ||
CI: true | ||
|
||
- name: Prepare and deploy | ||
run: | | ||
npm run deploy-docs -- --name="Swimlane" --email="[email protected]" | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: gh-pages | ||
folder: ./dist/storybook/@swimlane/ngx-graph | ||
clean: true | ||
env: | ||
CI: true | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
documentation.json | ||
.vscode/ | ||
.angular/ | ||
dist/ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"pipes": [], | ||
"interfaces": [], | ||
"injectables": [], | ||
"guards": [], | ||
"interceptors": [], | ||
"classes": [], | ||
"directives": [], | ||
"components": [], | ||
"modules": [], | ||
"miscellaneous": [], | ||
"routes": [], | ||
"coverage": { | ||
"count": 0, | ||
"status": "low", | ||
"files": [] | ||
} | ||
} |
Oops, something went wrong.