commit 4205626294096965fe667ca6a9b1a844d0a470c5 Author: poc Date: Wed Nov 25 00:31:24 2026 +0300 cve output diff --git a/output b/output new file mode 100644 index 0000000..2cc9ce4 --- /dev/null +++ b/output @@ -0,0 +1,457 @@ +===== NPMRC +echo "public-hoist-pattern[]=*storybook*" >> .npmrc +echo "public-hoist-pattern[]=*@storybook*" >> .npmrc===== PKG +{ + "name": "continuum-ui-monorepo", + "version": "4.12.9", + "private": true, + "type": "module", + "workspaces": [ + "packages/*", + "apps/*" + ], + "scripts": { + "build": "turbo run build", + "build:packages": "turbo run build --filter='./packages/*'", + "test": "turbo run test", + "test:release": "node --test scripts/release.test.js", + "test:spec": "turbo run test:spec", + "test:e2e": "turbo run test:e2e", + "test:delete-snapshots": "find . -name \"*.snap\" -type f -delete", + "test:update": "turbo run test:update", + "lint": "turbo run lint", + "lint:fix": "turbo run lint:fix", + "clean:deps": "rm -rf node_modules pnpm-lock.yaml && find packages -name 'node_modules' -type d -prune -exec rm -rf '{}' + && find apps -name 'node_modules' -type d -prune -exec rm -rf '{}' +", + "reinstall": "pnpm run clean:deps && pnpm install", + "clean": "turbo run clean", + "clean:full": "turbo run clean:full", + "clean:cache": "npx turbo clean", + "version:sync": "node scripts/sync-versions.js", + "release": "node scripts/release.js", + "release:major": "node scripts/release.js --major", + "release:minor": "node scripts/release.js --minor", + "release:patch": "node scripts/release.js --patch", + "tokens:validate": "pnpm --filter continuum-ui tokens:validate", + "tokens:generate": "pnpm --filter continuum-ui tokens:generate", + "tokens:check": "pnpm --filter continuum-ui tokens:check" + }, + "devDependencies": { + "@types/node": "22.13.5", + "@types/react": "19.1.13", + "@types/react-dom": "19.1.9", + "esbuild": "0.28.2", + "eslint": "9.34.0", + "eslint-config-prettier": "10.1.8", + "eslint-import-resolver-typescript": "4.4.4", + "eslint-plugin-import": "2.32.0", + "eslint-plugin-jsx-a11y": "6.10.2", + "eslint-plugin-prettier": "5.5.4", + "eslint-plugin-react-hooks": "5.2.0", + "eslint-plugin-react-refresh": "0.4.20", + "globals": "16.3.0", + "prettier": "3.6.2", + "stylelint": "16.23.1", +===== JENKINS +pipeline { + agent any + + environment { + PNPM_VERSION = '9' + STENCIL_PUPPETEER_ARGS = '--no-sandbox --disable-setuid-sandbox' + } + + stages { + stage('Checkout') { + steps { + checkout scm + } + } + + stage('Setup Node.js') { + steps { + sh ''' + # Устанавливаем Node.js 22, как в GitHub Actions + NODE_SETUP=$(mktemp) + trap 'rm -f "$NODE_SETUP"' EXIT + curl -fsSL https://deb.nodesource.com/setup_22.x -o "$NODE_SETUP" + bash "$NODE_SETUP" + apt-get install -y nodejs + + node --version + npm --version + node -e 'const [major, minor] = process.versions.node.split(".").map(Number); if (major !== 22 || minor < 12) { console.error("Для сборки нужен Node.js 22.12+; обнаружен " + process.version); process.exit(1); }' + + # Устанавливаем pnpm + npm install -g pnpm@${PNPM_VERSION} + pnpm --version + pnpm install --frozen-lockfile + ''' + } + } + + stage('Build') { + steps { + sh ''' + pnpm --filter continuum-ui exec puppeteer browsers install chrome-headless-shell + + if [ "${BRANCH_NAME}" = "dev" ]; then + echo "DEV build: base = /react-demo-dev/" + export VITE_BASE_PATH="/react-demo-dev/" + else + echo "PROD build: base = /react-demo/" + export VITE_BASE_PATH="/react-demo/" + fi + + pnpm turbo run build + ''' + } + } + +// stage('Test') { +// steps { +// sh ''' +// # Для dev ветки - быстрые тесты, для main - полные +// if [ "${BRANCH_NAME}" = "dev" ]; then +===== RELEASE-WF +name: Release + +on: + push: + branches: [main, dev] + +jobs: + release: + if: false + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - uses: pnpm/action-setup@v6 + + - uses: actions/setup-node@v6 + with: + node-version: 22 + cache: 'pnpm' + registry-url: 'https://registry.npmjs.org' + + - run: pnpm install + + # Сборка всех пакетов + - run: pnpm turbo run build --filter=packages/... + + # Публикация continuum-ui-react + - name: Publish React Library + run: | + if [ "${GITHUB_REF##*/}" = "main" ]; then + echo "📦 Publishing continuum-ui-react as latest" + pnpm publish --filter=packages/continuum-ui-react --no-git-checks --tag latest + else + echo "📦 Publishing continuum-ui-react as next" + pnpm publish --filter=packages/continuum-ui-react --no-git-checks --tag next + fi + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + # Публикация continuum-ui + - name: Publish Stencil Library + run: | + if [ "${GITHUB_REF##*/}" = "main" ]; then + echo "📦 Publishing continuum-ui as latest" + pnpm publish --filter=packages/continuum-ui --no-git-checks --tag latest + else + echo "📦 Publishing continuum-ui as next" + pnpm publish --filter=packages/continuum-ui --no-git-checks --tag next + fi + env: +===== README-HEAD +# Continuum UI - Modern Design System + +## Темы и токены + +[Инструкция: обновление файлов темы из Figma и подключение в приложении](packages/continuum-ui/design-tokens/README.md). + +## Проверка типов Storybook + +После сборки пакетов CUI и React-обёртки: + +```bash +corepack pnpm@9.0.0 --filter continuum-ui typecheck:stories +``` + +Страницы Welcome, инструкции, палитра и конфигурация самого приложения Storybook +проверяются отдельно: + +```bash +corepack pnpm@9.0.0 --filter storybook typecheck +``` + +Обе проверки также входят в корневой `corepack pnpm@9.0.0 exec tsc -b`. + +Stencil-компоненты проверяются отдельным проектом `tsconfig.stencil-types.json` +с фабрикой JSX `h`. React-истории — проектом `tsconfig.react-stories.json` +с `react-jsx`; он ссылается на декларации Stencil-проекта, а не проверяет +его `.tsx` как React. Импорты общих типов, констант и утилит из историй +не требуют ручного расширения `include`. + +Команда использует `tsc -b`: сначала обновляет декларации зависимого проекта, +затем проверяет истории. Служебные декларации и кэш находятся в +`packages/continuum-ui/.types/`, не входят в git и не заменяют публичный `dist`, +который по-прежнему собирает Stencil. После очистки `.types/` или первого checkout +запустите эту команду перед работой с историями в IDE. + +При одновременной работе над компонентами и историями держите проверку в watch-режиме, +чтобы IDE не использовала устаревшие декларации: + +```bash +corepack pnpm@9.0.0 --filter continuum-ui typecheck:stories --watch +===== LV FILES +.formatter.exs +.gitignore +AGENTS.md +README.md +assets/css/app.css +assets/css/fonts/Jaguar-Bold.ttf +assets/css/fonts/Jaguar-ExtraBold.ttf +assets/css/fonts/Jaguar-Regular.ttf +assets/css/fonts/Roboto-Bold.ttf +assets/css/fonts/Roboto-Bold.woff +assets/css/fonts/Roboto-Bold.woff2 +assets/css/fonts/Roboto-Medium.ttf +assets/css/fonts/Roboto-Medium.woff +assets/css/fonts/Roboto-Medium.woff2 +assets/css/fonts/Roboto-Regular.ttf +assets/css/fonts/Roboto-Regular.woff +assets/css/fonts/Roboto-Regular.woff2 +assets/css/fonts/RobotoMono-Bold.ttf +assets/css/fonts/RobotoMono-Bold.woff +assets/css/fonts/RobotoMono-Bold.woff2 +assets/css/fonts/RobotoMono-Medium.ttf +assets/css/fonts/RobotoMono-Medium.woff +assets/css/fonts/RobotoMono-Medium.woff2 +assets/css/fonts/RobotoMono-Regular.ttf +assets/css/fonts/RobotoMono-Regular.woff +assets/css/fonts/RobotoMono-Regular.woff2 +assets/js/app.js +assets/js/hooks/stencil_bridge.js +assets/vendor/.DS_Store +assets/vendor/continuum-ui/dist/cjs/app-globals-3a1e7e63.js +assets/vendor/continuum-ui/dist/cjs/app-globals-3a1e7e63.js.map +assets/vendor/continuum-ui/dist/cjs/continuum-ui.cjs.js +assets/vendor/continuum-ui/dist/cjs/continuum-ui.cjs.js.map +assets/vendor/continuum-ui/dist/cjs/cu-alert_65.cjs.entry.js +assets/vendor/continuum-ui/dist/cjs/cu-alert_65.cjs.entry.js.map +assets/vendor/continuum-ui/dist/cjs/cu-tooltip-7a25a96f.js +assets/vendor/continuum-ui/dist/cjs/cu-tooltip-7a25a96f.js.map +assets/vendor/continuum-ui/dist/cjs/index-ef15f796.js +assets/vendor/continuum-ui/dist/cjs/index-ef15f796.js.map +assets/vendor/continuum-ui/dist/cjs/index.cjs.js +assets/vendor/continuum-ui/dist/cjs/index.cjs.js.map +assets/vendor/continuum-ui/dist/cjs/loader.cjs.js +assets/vendor/continuum-ui/dist/cjs/loader.cjs.js.map +assets/vendor/continuum-ui/dist/cjs/main.esm-12a25843.js +assets/vendor/continuum-ui/dist/cjs/main.esm-12a25843.js.map +assets/vendor/continuum-ui/dist/collection/assets/cursors/action_busy.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/action_not_allowed.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/action_poof.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/cell.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/context_menu.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/default.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/hand_grabbing.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/hand_open.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/hand_pointing.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/help.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/make_alias.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/move.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/resize_down.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/resize_east.svg +assets/vendor/continuum-ui/dist/collection/assets/cursors/resize_left.svg +===== LV CONFIG +-- config/config.exs +# This file is responsible for configuring your application +# and its dependencies with the aid of the Config module. +# +# This configuration file is loaded before any dependency and +# is restricted to this project. + +# General application configuration +import Config + +config :demo_web, + ecto_repos: [DemoWeb.Repo], + generators: [timestamp_type: :utc_datetime] + +# Configures the endpoint +config :demo_web, DemoWebWeb.Endpoint, + url: [host: "localhost"], + adapter: Bandit.PhoenixAdapter, + render_errors: [ + formats: [html: DemoWebWeb.ErrorHTML, json: DemoWebWeb.ErrorJSON], + layout: false + ], + pubsub_server: DemoWeb.PubSub, + live_view: [signing_salt: "d7USB2Si"] + +# Configures the mailer +# +# By default it uses the "Local" adapter which stores the emails +# locally. You can see the emails in your browser, at "/dev/mailbox". +# +# For production it's recommended to configure a different adapter +# at the `config/runtime.exs`. +config :demo_web, DemoWeb.Mailer, adapter: Swoosh.Adapters.Local + +# Configure esbuild (the version is required) +config :esbuild, +-- config/dev.exs +import Config + +# Configure your database +config :demo_web, DemoWeb.Repo, + username: "igor", + password: "", + hostname: "localhost", + database: "demo_web_dev", + stacktrace: true, + show_sensitive_data_on_connection_error: true, + pool_size: 10 + +# For development, we disable any cache and enable +# debugging and code reloading. +# +# The watchers configuration can be used to run external +# watchers to your application. For example, we can use it +# to bundle .js and .css sources. +config :demo_web, DemoWebWeb.Endpoint, + # Binding to loopback ipv4 address prevents access from other machines. + # Change to `ip: {0, 0, 0, 0}` to allow access from other machines. + http: [ip: {127, 0, 0, 1}, port: String.to_integer(System.get_env("PORT") || "4000")], + check_origin: false, + code_reloader: true, + debug_errors: true, + secret_key_base: "IDMMwnG4qPQsw5FIfOHpLPG/5TY/WVsQmdhFfnSQTYpHusIgFTtKDF/8Wka6T3Xx", + watchers: [ + esbuild: {Esbuild, :install_and_run, [:demo_web, ~w(--sourcemap=inline --watch)]}, + tailwind: {Tailwind, :install_and_run, [:demo_web, ~w(--watch)]} + ] + +# ## SSL Support +# +# In order to use HTTPS in development, a self-signed +# certificate can be generated by running the following +-- config/prod.exs +import Config + +# Note we also include the path to a cache manifest +# containing the digested version of static files. This +# manifest is generated by the `mix assets.deploy` task, +# which you should run after static files are built and +# before starting your production server. +config :demo_web, DemoWebWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json" + +# Configures Swoosh API Client +config :swoosh, api_client: Swoosh.ApiClient.Req + +# Disable Swoosh Local Memory Storage +config :swoosh, local: false + +# Do not print debug messages in production +config :logger, level: :info + +# Runtime production configuration, including reading +# of environment variables, is done on config/runtime.exs. +-- config/runtime.exs +import Config + +# config/runtime.exs is executed for all environments, including +# during releases. It is executed after compilation and before the +# system starts, so it is typically used to load production configuration +# and secrets from environment variables or elsewhere. Do not define +# any compile-time configuration in here, as it won't be applied. +# The block below contains prod specific runtime configuration. + +# ## Using releases +# +# If you use `mix release`, you need to explicitly enable the server +# by passing the PHX_SERVER=true when you start it: +# +# PHX_SERVER=true bin/demo_web start +# +# Alternatively, you can use `mix phx.gen.release` to generate a `bin/server` +# script that automatically sets the env var above. +if System.get_env("PHX_SERVER") do + config :demo_web, DemoWebWeb.Endpoint, server: true +end + +if config_env() == :prod do + database_url = + System.get_env("DATABASE_URL") || + raise """ + environment variable DATABASE_URL is missing. + For example: ecto://USER:PASS@HOST/DATABASE + """ + + maybe_ipv6 = if System.get_env("ECTO_IPV6") in ~w(true 1), do: [:inet6], else: [] + + config :demo_web, DemoWeb.Repo, + # ssl: true, + url: database_url, +-- mix.exs +defmodule DemoWeb.MixProject do + use Mix.Project + + def project do + [ + app: :demo_web, + version: "0.1.0", + elixir: "~> 1.15", + elixirc_paths: elixirc_paths(Mix.env()), + start_permanent: Mix.env() == :prod, + aliases: aliases(), + deps: deps(), + compilers: [:phoenix_live_view] ++ Mix.compilers(), + listeners: [Phoenix.CodeReloader] + ] + end + + # Configuration for the OTP application. + # + # Type `mix help compile.app` for more information. + def application do + [ + mod: {DemoWeb.Application, []}, + extra_applications: [:logger, :runtime_tools] + ] + end + + def cli do + [ + preferred_envs: [precommit: :test] + ] + end + + # Specifies which paths to compile per environment. + defp elixirc_paths(:test), do: ["lib", "test/support"] +-- README.md +# DemoWeb + +To start your Phoenix server: + +* Run `mix setup` to install and setup dependencies +* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server` + +Now you can visit [`localhost:4000`](http://localhost:4000) from your browser. + +Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html). + +## Learn more + +* Official website: https://www.phoenixframework.org/ +* Guides: https://hexdocs.pm/phoenix/overview.html +* Docs: https://hexdocs.pm/phoenix +* Forum: https://elixirforum.com/c/phoenix-forum +* Source: https://github.com/phoenixframework/phoenix +===== DIRS +/data/git/repositories/texttomanga +/data/git/repositories/texttomangahe +DONE +[rc=0]