diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 73cf8d6..f49c9be 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -12,18 +12,18 @@ jobs: strategy: matrix: - node-version: [16] + node-version: [24] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' + cache-dependency-path: '**/package-lock.json' - run: npm ci - run: npm run build --if-present - - run: npm test - run: npm run coverage --if-present - name: Coveralls uses: coverallsapp/github-action@master diff --git a/.gitignore b/.gitignore index 8b2c3c9..9770d11 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ -.nyc_output/ +.DS_Store +.nyc_output +v8.log coverage/ +dist/ node_modules/ - diff --git a/.npmignore b/.npmignore deleted file mode 100644 index aaebbf0..0000000 --- a/.npmignore +++ /dev/null @@ -1,11 +0,0 @@ -.nyc_output/ -coverage/ -node_modules/ -rollup/ -test/ -package-lock.json -uhtml-head.jpg -LOGO.txt -.travis.yml -DOCUMENTATION.md -V0.md diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md deleted file mode 100644 index 233a757..0000000 --- a/DOCUMENTATION.md +++ /dev/null @@ -1,476 +0,0 @@ -# What Is µhtml (micro html) And How Does It Work - - - -A _getting started_ guide with most common questions and answers, covered by live examples. - -- - - - - -### A Brief Introduction - -While _µhtml_, on the surface, is a library that resemble some naive usage of [innerHTML](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML), it's actually far more than an `innerHTML` replacement, as it's capable of handling events listeners, special and normal attributes, plus various kinds of content that will be properly parsed, normalized, and repeatedly updated at light speed, without trashing the previous content like `innerHTML` would do per each operation. - -```js -render(element, html` -