diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..0d10bb7 --- /dev/null +++ b/.github/FUNDING.yml @@ -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 +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'] diff --git a/.github/workflows/publish-github-pages.yml b/.github/workflows/publish-github-pages.yml index 2b6df1d..e68978f 100644 --- a/.github/workflows/publish-github-pages.yml +++ b/.github/workflows/publish-github-pages.yml @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # DO NOT EDIT! -# Generated from xpacks/@xpack-dev-tools/xbb-helper/templates/workflows/*. +# 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. @@ -29,6 +29,10 @@ on: # ... any of these files changes ... paths: - 'website/**' + - 'typedoc.json' + - '**/tsconfig*.json' + - 'src/**/*.ts' + - 'README.md' - '.github/workflows/publish-github-pages.yml' - 'package.json' - 'build-assets/package.json' @@ -73,7 +77,7 @@ jobs: - name: Install dependencies run: npm ci -C website - - name: Generate Docusaurus + - name: Build the Docusaurus site run: npm run build -C website - name: Setup Pages diff --git a/.gitignore b/.gitignore index 8ee13c2..94c77a3 100644 --- a/.gitignore +++ b/.gitignore @@ -129,20 +129,32 @@ dist .yarn/install-state.gz .pnp.* -# added for xPack +# ----- custom ----- -.vscode/c_cpp_properties.json - -# xpm xpacks/ -build/ -/*.tgz +.tap -# Windows -Thumbs.db +cjs/ +**/*.js.map +**/*.d.ts +**/*.d.ts.map + +# /docs/ + +tsconfig.tsbuildinfo + +tmp/ -# macOS +.vscode/c_cpp_properties.json + +build*/ +!build-assets/ + +Thumbs.db .DS_Store -# end +website/.docusaurus +website/build + +# ----- end ----- diff --git a/build-assets/package.json b/build-assets/package.json index a732cb4..0aecddf 100644 --- a/build-assets/package.json +++ b/build-assets/package.json @@ -2,7 +2,13 @@ "name": "build-assets", "version": "0.0.0", "private": true, - "scripts": { + "scripts": {}, + "bundleDependencies": [], + "$devDependenciesUrls": [ + "https://www.npmjs.com/package/liquidjs" + ], + "devDependencies": { + "liquidjs": "^10.20.1" }, "xpack": { "minimumXpmRequired": "0.16.3", @@ -25,13 +31,12 @@ }, "xpm-version": "0.18.0", "xpm-install-loglevel": "info", - "dbg": "" + "dbg": "", + "buildFolderRelativePath": "{{ 'build' | path_join: configuration.name | to_filename | downcase }}", + "buildFolderRelativePathPosix": "{{ 'build' | path_posix_join: configuration.name | downcase }}", + "commandBashBuild": "bash {{ properties.dbg }} scripts/build.sh --target {{ configuration.name }} --build-folder {{ properties.buildFolderRelativePathPosix }}" }, "actions": { - "npm-install": "npm install", - "npm-pack": "cd .. && npm pack", - "npm-version-patch": "cd .. && npm version patch", - "npm-version-minor": "cd .. && npm version minor", "deep-clean": [ "rm -rf build xpacks node_modules package-lock.json", "rm -rf ${HOME}/Work/xpack-dev-tools-build/{{ properties.appLcName }}-[0-9]*-*" @@ -48,14 +53,8 @@ ], "git-log": "git -C .. log --pretty='%cd * %h %s' --date=short", "generate-workflows": "bash xpacks/@xpack-dev-tools/xbb-helper/maintainer-scripts/generate-workflows.sh", - "website-generate-commons": "bash xpacks/@xpack-dev-tools/xbb-helper/maintainer-scripts/website-generate-commons.sh" + "website-generate-commons": "bash xpacks/@xpack-dev-tools/xbb-helper/maintainer-scripts/website-generate-commons.sh", + "website-import-releases": "bash xpacks/@xpack-dev-tools/xbb-helper/maintainer-scripts/website-import-releases.sh" } - }, - "bundleDependencies": [], - "$devDependenciesUrls": [ - "https://www.npmjs.com/package/liquidjs" - ], - "devDependencies": { - "liquidjs": "^10.16.1" } } diff --git a/package.json b/package.json index f096cad..72d6d51 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,8 @@ "generate-top-commons": "bash node_modules/@xpack/npm-packages-helper/maintenance-scripts/generate-top-commons.sh --xpack-dev-tools", "npm-install": "npm install", "npm-link-helpers": "npm link @xpack/npm-packages-helper @xpack/docusaurus-template-liquid", - "npm-link": "npm link", "npm-outdated": "npm outdated", - "npm-update": "npm update", - "deep-clean": "del-cli node_modules package-lock.json" + "deep-clean": "del-cli node_modules package-lock.json *.tgz" }, "author": { "name": "Liviu Ionescu", @@ -24,19 +22,19 @@ "bugs": { "url": "https://github.com/xpack-dev-tools/xpack-dev-tools.github.io/issues" }, - "homepage": "https://xpack-dev-tools.github.io", + "homepage": "https://xpack-dev-tools.github.io/xpack-dev-tools.github.io/", "homepagePreview": "https://xpack-dev-tools.github.io/web-preview/", "keywords": [ "www" ], "license": "MIT", "dependencies": {}, + "bundleDependencies": [], "devDependencies": { "del-cli": "^6.0.0", "json": "^11.0.0", "liquidjs": "^10.19.1" }, - "bundleDependencies": [], "topConfig": { "isOrganizationWeb": "true", "hasTriggerPublishPreview": "true",