Skip to content

Commit d92fc9d

Browse files
authored
fix(deps): resolve vulnerable deps, refactor build (#237)
1 parent 55b3aea commit d92fc9d

38 files changed

+12967
-19915
lines changed

.circleci/config.yml

-27
This file was deleted.

.eslintrc.json

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"extends": ["plugin:@typescript-eslint/recommended"],
5+
"ignorePatterns": [
6+
"node_modules",
7+
"dist",
8+
"build",
9+
".vscode",
10+
"*.config.js",
11+
".webpack",
12+
"_warmup",
13+
"**/*.js",
14+
"sample"
15+
],
16+
"plugins": [],
17+
"parserOptions": {
18+
"ecmaVersion": 2019,
19+
"sourceType": "module"
20+
},
21+
"rules": {
22+
"@typescript-eslint/no-namespace": "off",
23+
"@typescript-eslint/camelcase": "off",
24+
"@typescript-eslint/no-explicit-any": "off",
25+
"@typescript-eslint/explicit-function-return-type": "off",
26+
"@typescript-eslint/no-empty-function": "off",
27+
"@typescript-eslint/consistent-type-assertions": "off",
28+
"@typescript-eslint/ban-ts-ignore": "off",
29+
"@typescript-eslint/no-var-requires": "off",
30+
"@typescript-eslint/explicit-module-boundary-types": "off",
31+
"prefer-const": "off",
32+
"@typescript-eslint/ban-types": "off"
33+
}
34+
}

.github/workflows/main.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: main
2+
on: [push]
3+
4+
jobs:
5+
6+
ci:
7+
timeout-minutes: 10
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: 14
14+
- run: npm ci
15+
- run: npm run cut-release

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ bower_components
66
.rollupcache
77
.buildcache
88
build/reports
9+
.npmrc

.npmignore

-19
This file was deleted.

ISSUE_TEMPLATE.md

-76
This file was deleted.

README.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1-
# aurelia-ui-virtualization
1+
<p>
2+
<a href="https://aurelia.io/" target="_blank">
3+
<img alt="Aurelia" src="https://aurelia.io/styles/images/aurelia.svg">
4+
</a>
5+
</p>
26

7+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
38
[![npm Version](https://img.shields.io/npm/v/aurelia-ui-virtualization.svg)](https://www.npmjs.com/package/aurelia-ui-virtualization)
4-
[![Join the chat at https://gitter.im/aurelia/discuss](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aurelia/discuss?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
5-
[![CircleCI](https://circleci.com/gh/aurelia/ui-virtualization.svg?style=shield)](https://circleci.com/gh/aurelia/ui-virtualization)
9+
![ci](https://github.com/aurelia/ui-virtualization/actions/workflows/main.yml/badge.svg)
10+
[![Discourse status](https://img.shields.io/discourse/https/meta.discourse.org/status.svg)](https://discourse.aurelia.io)
11+
[![Twitter](https://img.shields.io/twitter/follow/aureliaeffect.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=aureliaeffect)
12+
[![Discord Chat](https://img.shields.io/discord/448698263508615178.svg)](https://discord.gg/RBtyM6u)
13+
14+
# aurelia-ui-virtualization
615

716
This library is part of the [Aurelia](http://www.aurelia.io/) platform and contains a plugin that provides a virtualized repeater and other virtualization services. This plugin enables "virtualization" of list through a new `virtual-repeat.for`. When used, the list "virtually" as tens or hundreds of thousands of rows, but the DOM only actually has rows for what is visible. It could be only tens of items. This allows rendering of massive lists of data with amazing performance. It works like repeat.for, it just creates a scrolling area and manages the list using UI virtualization techniques.
817

9-
> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.aurelia.io/) and [our email list](http://eepurl.com/ces50j). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions look around our [Discourse forums](https://discourse.aurelia.io/), chat in our [community on Gitter](https://gitter.im/aurelia/discuss) or use [stack overflow](http://stackoverflow.com/search?q=aurelia). Documentation can be found [in our developer hub](http://aurelia.io/docs). If you would like to have deeper insight into our development process, please install the [ZenHub](https://zenhub.io) Chrome or Firefox Extension and visit any of our repository's boards.
18+
> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.aurelia.io/) and [our email list](http://eepurl.com/ces50j). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions look around our [Discourse forums](https://discourse.aurelia.io/), chat in our [community on Discord](https://discord.gg/RBtyM6u) or use [stack overflow](http://stackoverflow.com/search?q=aurelia). Documentation can be found [in our developer hub](http://aurelia.io/docs).
1019
1120
## Installation
1221

build/changelog.js

-16
This file was deleted.

build/paths.js

-32
This file was deleted.

doc/MAINTAINER.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Workflow releasing a new version
2+
3+
1. Update: pull latest master with `git pull`
4+
2. Cut release: Run `npm run cut-release`. Example:
5+
6+
```shell
7+
# auto version
8+
npm run cut-release
9+
10+
# with manual versioning
11+
npm run cut-release -- -- --release-as minor
12+
npm run cut-release -- -- --release-as 1.0.0-rc3
13+
```
14+
3. Commit: `git add .` and then `git commit chore(release): prepare release XXX` where `XXX` is the new version
15+
4. Tag: `git tag -a XXX` where `XXX` is the version
16+
5. Push to remote repo: `git push --follow-tags`
17+
6. Publish: Run `npm publish` to release the new version

doc/cleanup.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
const path = require('path').resolve(__dirname, 'api.json');
2+
const content = JSON.stringify(require('./api.json'));
3+
4+
require('fs').writeFileSync(path, content, { encoding: 'utf-8' });

0 commit comments

Comments
 (0)