Skip to content

Commit

Permalink
bump deps & re-generate commons
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Dec 24, 2024
1 parent 5d035ac commit fa86685
Show file tree
Hide file tree
Showing 11 changed files with 6,837 additions and 9,728 deletions.
15 changes: 15 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: ilegeul # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
thanks_dev: # Replace with a single thanks.dev username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
23 changes: 14 additions & 9 deletions .github/workflows/publish-github-pages.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# DO NOT EDIT!
# Automatically generated from npm-packages-helper/templates

# Simple workflow for deploying static content to GitHub Pages
name: GitHub Pages

on:
# Runs on pushes, if all conditions are met:
push:
# ... on the master branch ...
# ... on the website branch ...
branches:
- 'master'
# ... skip tags only ...
tags-ignore:
- '**'
# ... any of these files changes ...
paths:
- 'website/**'
- 'typedoc.json'
- '**/tsconfig*.json'
- 'src/**/*.ts'
Expand Down Expand Up @@ -39,20 +43,21 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout
# https://github.com/actions/checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 3
# The full history, required to compute lastUpdatedAt
fetch-depth: 0

- name: Use Nodejs
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20

- name: Install dependencies
run: npm install
Expand All @@ -62,16 +67,16 @@ jobs:

- name: Setup Pages
# https://github.com/actions/configure-pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

- name: Upload artifact
# https://github.com/actions/upload-pages-artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './docs'

- name: Deploy to GitHub Pages
id: deployment
# https://github.com/actions/deploy-pages
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
27 changes: 17 additions & 10 deletions .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# DO NOT EDIT!
# Automatically generated from npm-packages-helper/templates

# https://help.github.com/en/actions

# https://github.com/actions
Expand All @@ -9,17 +12,21 @@ name: CI on Push
on:
push:
branches:
- '**'
- 'master'
- 'development'
tags-ignore:
- '**'
paths-ignore:
- 'docs/**'
- 'website/**'
- 'LICENSE'
- '**.md'
- '.gitignore'
- '.npmignore'
- '.vscode/**'
- '.github/FUNDING.yml'
- '.github/workflows/publish-github-pages*.yml'
- '.github/workflows/trigger-publish-github-pages*.yml'
- 'typedoc.json'

jobs:
Expand All @@ -29,34 +36,34 @@ jobs:

strategy:
matrix:
# nvm ls-remote --lts | grep Latest
node-version: [^16.20.0, ^18.15.0]
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
os: [ubuntu-22.04, windows-2022, macos-12]
# https://github.com/actions/setup-node
node-version: [18, 20, 22]
# https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners
os: [ubuntu-24.04, macos-13, macos-14, windows-2022]

steps:
- name: Checkout
# https://github.com/actions/checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Setup Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Show node & npm versions, environment
run: |
node --version
npm --version
env
env | sort
- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test-100-c8
- name: Run test
run: npm run test-ci
env:
CI: true
29 changes: 19 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,16 @@ coverage
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/
node_modules
jspm_packages
xpacks/

# TypeScript v1 declaration files
typings/
Expand All @@ -48,7 +46,7 @@ typings/
# Optional REPL history
.node_repl_history

# Output of 'npm pack'
# Archives
/*.tgz

# Yarn Integrity file
Expand All @@ -60,15 +58,26 @@ typings/
# next.js build output
.next

.tap

# ---

**/*.js
cjs/
**/*.js.map
**/*.d.ts
**/*.d.ts.map

/docs/
# /docs/

tsconfig.tsbuildinfo

# end
tmp/

.vscode/c_cpp_properties.json

build*/

Thumbs.db
.DS_Store

#end
49 changes: 32 additions & 17 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,36 @@
# -----------------------------------------------------------------------------
# .gitignore is not automatically included, add relevant lines again.

.DS_Store
.git/
.github/
.gitignore
.gitmodules
.clang-*
.cmake-format

# npm
# npm pack archives
/*.tgz

# tap
/coverage/
/test/
coverage/
tests/
.tap/

# nyc test coverage
/.nyc_output/
.nyc_output/

# VS Code
/.vscode/
.vscode/

# CI
/.github/workflows/
/.travis.yml
/.appveyor.yml
.travis.yml
.appveyor.yml

README-*.md

/src/
**/tsconfig*.json
LICENSE-*
!LICENSE-XPACK
CONTRIBUTING**

*.ts
lib/**/*.ts
Expand All @@ -57,13 +64,21 @@ lib/**/*.ts
!*.d.ts
!lib/*.d.ts

**/tsconfig*.json
typedoc.json
tsconfig.tsbuildinfo

/tests/

typedoc.json
/docs/
/assets/
/scripts/
src/
xpacks/
node_modules/
docs/
# /assets/ # keep it, xpm needs it.
scripts/
website/
tmp/
patches/
pkgconfig/
ci/
example*/

#end
2 changes: 2 additions & 0 deletions esm/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fa86685

Please sign in to comment.