From b206bf795e17ff0b13228b8a9e78ce5387afb2aa Mon Sep 17 00:00:00 2001 From: Liviu Ionescu Date: Tue, 14 Jan 2025 20:29:51 +0200 Subject: [PATCH] re-generate commons --- .github/FUNDING.yml | 2 +- .github/workflows/publish-github-pages.yml | 24 ++++- .github/workflows/test-ci.yml | 20 +++- .../trigger-publish-github-pages.yml | 14 ++- .gitignore | 101 +++++++++++++++--- .npmignore | 7 ++ 6 files changed, 143 insertions(+), 25 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index df0649b..0d10bb7 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -3,7 +3,7 @@ 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 +ko_fi: ilegeul 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 diff --git a/.github/workflows/publish-github-pages.yml b/.github/workflows/publish-github-pages.yml index e532bf2..0b7f99a 100644 --- a/.github/workflows/publish-github-pages.yml +++ b/.github/workflows/publish-github-pages.yml @@ -1,13 +1,26 @@ +# ----------------------------------------------------------------------------- # DO NOT EDIT! -# Automatically generated from npm-packages-helper/templates +# Automatically generated from npm-packages-helper/templates/*. +# +# This file is part of the xPack project (http://xpack.github.io). +# Copyright (c) 2021 Liviu Ionescu. All rights reserved. +# +# Permission to use, copy, modify, and/or distribute this software +# for any purpose is hereby granted, under the terms of the MIT license. +# +# If a copy of the license was not distributed with this file, it can +# be obtained from https://opensource.org/licenses/mit/. +# +# ----------------------------------------------------------------------------- # Simple workflow for deploying static content to GitHub Pages name: GitHub Pages +# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows on: # Runs on pushes, if all conditions are met: push: - # ... on the website branch ... + # ... on the `website` branch ... branches: - 'webpreview' # ... skip tags only ... @@ -39,10 +52,11 @@ concurrency: jobs: # Single deploy job since we're just deploying + # https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories deploy: environment: name: github-pages - url: ${{ steps.deployment.outputs.page_url }} + url: ${{steps.deployment.outputs.page_url}} runs-on: ubuntu-24.04 steps: @@ -60,12 +74,12 @@ jobs: node-version: 20 - name: Install dependencies - run: cd website && npm install + run: npm ci -C website - name: Build the Docusaurus site env: DOCUSAURUS_IS_PREVIEW: 'true' - run: cd website && npm run build + run: npm run build -C website - name: Setup Pages # https://github.com/actions/configure-pages diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index 837e352..b884962 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -1,5 +1,17 @@ +# ----------------------------------------------------------------------------- # DO NOT EDIT! -# Automatically generated from npm-packages-helper/templates +# Automatically generated from npm-packages-helper/templates/*. +# +# This file is part of the xPack project (http://xpack.github.io). +# Copyright (c) 2021 Liviu Ionescu. All rights reserved. +# +# Permission to use, copy, modify, and/or distribute this software +# for any purpose is hereby granted, under the terms of the MIT license. +# +# If a copy of the license was not distributed with this file, it can +# be obtained from https://opensource.org/licenses/mit/. +# +# ----------------------------------------------------------------------------- # https://help.github.com/en/actions # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions @@ -40,7 +52,7 @@ jobs: # 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] - runs-on: ${{ matrix.os }} + runs-on: ${{matrix.os}} steps: - name: Checkout @@ -49,11 +61,11 @@ jobs: with: fetch-depth: 1 - - name: Setup Node.js ${{ matrix.node-version }} on ${{ matrix.os }} + - name: Setup Node.js ${{matrix.node-version}} on ${{matrix.os}} # https://github.com/actions/setup-node uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: ${{matrix.node-version}} cache: 'npm' - name: Show node & npm versions, environment diff --git a/.github/workflows/trigger-publish-github-pages.yml b/.github/workflows/trigger-publish-github-pages.yml index 8ad0f1a..d6e4567 100644 --- a/.github/workflows/trigger-publish-github-pages.yml +++ b/.github/workflows/trigger-publish-github-pages.yml @@ -1,5 +1,17 @@ +# ----------------------------------------------------------------------------- # DO NOT EDIT! -# Automatically generated from npm-packages-helper/templates +# Automatically generated from npm-packages-helper/templates/*. +# +# This file is part of the xPack project (http://xpack.github.io). +# Copyright (c) 2020 Liviu Ionescu. All rights reserved. +# +# Permission to use, copy, modify, and/or distribute this software +# for any purpose is hereby granted, under the terms of the MIT license. +# +# If a copy of the license was not distributed with this file, it can +# be obtained from https://opensource.org/licenses/mit/. +# +# ----------------------------------------------------------------------------- # Simple workflow to trigger the deployment of GitHub Pages in another project name: Trigger Remote GitHub Pages diff --git a/.gitignore b/.gitignore index 0030842..217fe1b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,11 @@ logs npm-debug.log* yarn-debug.log* yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json # Runtime data pids @@ -16,26 +21,32 @@ lib-cov # Coverage directory used by tools like istanbul coverage +*.lcov # nyc test coverage .nyc_output -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) .grunt +# Bower dependency directory (https://bower.io/) +bower_components + # node-waf configuration .lock-wscript -# Compiled binary addons (http://nodejs.org/api/addons.html) +# Compiled binary addons (https://nodejs.org/api/addons.html) build/Release # Dependency directories -node_modules -jspm_packages -xpacks/ +node_modules/ +jspm_packages/ -# TypeScript v1 declaration files -typings/ +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo # Optional npm cache directory .npm @@ -43,24 +54,86 @@ typings/ # Optional eslint cache .eslintcache +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + # Optional REPL history .node_repl_history -# Archives -/*.tgz +# Output of 'npm pack' +*.tgz # Yarn Integrity file .yarn-integrity -# dotenv environment variables file +# dotenv environment variable files .env +.env.development.local +.env.test.local +.env.production.local +.env.local -# next.js build output +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output .next +out -.tap +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp +.cache -# --- +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +# ----- custom ----- + +xpacks/ + +.tap cjs/ **/*.js.map @@ -83,4 +156,4 @@ Thumbs.db website/.docusaurus website/build -#end +# ----- end ----- diff --git a/.npmignore b/.npmignore index d26e5bb..75fc4f3 100644 --- a/.npmignore +++ b/.npmignore @@ -56,6 +56,7 @@ README-*.md LICENSE-* !LICENSE-XPACK CONTRIBUTING** +NOTES.md *.ts lib/**/*.ts @@ -80,5 +81,11 @@ patches/ pkgconfig/ ci/ example*/ +test*/ +build*/ +docs/ +build-assets/ +wrappers/ +extras/ #end