phase2 / outline

Tooling infrastructure for modern web component development.
https://outline.phase2tech.com
MIT License
128 stars 27 forks source link

Refactor adjustments and tweaks #434

Closed himerus closed 8 months ago

himerus commented 8 months ago

Description

Updates to GitHub Actions.

Summary by CodeRabbit

changeset-bot[bot] commented 8 months ago

๐Ÿฆ‹ Changeset detected

Latest commit: ce4612e61bc8e473284768c3bbca35a69ba54c46

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages | Name | Type | | ---------------------------------------------- | ----- | | @phase2/outline-adopted-stylesheets-controller | Patch | | @phase2/outline-core-button | Patch | | @phase2/outline-core-alert | Patch | | @phase2/outline-core-link | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 8 months ago

Deploy Preview for outlinejs ready!

Name Link
Latest commit ce4612e61bc8e473284768c3bbca35a69ba54c46
Latest deploy log https://app.netlify.com/sites/outlinejs/deploys/65cf5c62616c4d000964ca88
Deploy Preview https://deploy-preview-434--outlinejs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

coderabbitai[bot] commented 8 months ago

Walkthrough

The project underwent a comprehensive update focusing on workflow enhancements, styling adjustments, and codebase modernization. Key changes include upgrading GitHub Actions, adopting containerization for consistent builds, and revising the handling of styles across components. The introduction of AdoptedStylesheets for style management signifies a shift towards better performance and maintainability. Deprecated elements were identified, leading to cleaner, more efficient code. This update streamlines development processes and refines the UI component library for future scalability.

Changes

Files Summary
.github/workflows/build.yml Upgraded GitHub Actions versions, added containerization, and introduced "Setup Corepack" and "Use local Yarn version" steps.
packages/components/outline-core-*/src/*.ts, packages/components/outline-core-*/index.ts Commented out style imports and assignments. Introduced encapsulated and global styles in certain components.
packages/components/outline-core-*/README.md, packages/components/outline-core-*/CHANGELOG.md Corrected typos, updated documentation, and introduced change logs with patch changes focusing on CSS usage updates.
packages/controllers/adopted-stylesheets/* Renamed AdoptedStyleSheets to AdoptedStylesheets, updated functionality for managing styles, and documented changes including usage examples.
packages/deprecated/components/outline-button/src/outline-button.ts, .eslintignore, .storybook/storybook.css, packages/deprecated/tools/README.md Removed outdated imports, updated eslint and storybook configurations, and documented deprecated tools.
packages/components/outline-core-link/docs/outline-core-link.mdx Removed unused imports.

Tips ### Chat There are 3 ways to chat with CodeRabbit: - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit-tests for this file.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit tests for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository from git and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit tests.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json` ### CodeRabbit Discord Community Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback.
socket-security[bot] commented 8 months ago

New and removed dependencies detected. Learn more about Socket for GitHub โ†—๏ธŽ

Package New capabilities Transitives Size Publisher
npm/@jridgewell/resolve-uri@3.1.2 None 0 53.2 kB jridgewell
npm/@phase2/outline-adopted-stylesheets-controller@1.0.0 Transitive: environment +19 2.92 MB cclarkdev, dmuzyka, febbraro, ...6 more
npm/@types/semver@7.5.7 None 0 23.2 kB types
npm/browserslist@4.23.0 environment, filesystem Transitive: shell +5 2.09 MB ai
npm/call-bind@1.0.7 Transitive: eval +11 227 kB ljharb
npm/caniuse-lite@1.0.30001587 None 0 1.96 MB caniuse-lite
npm/chokidar@3.6.0 environment, filesystem +14 531 kB paulmillr
npm/core-js-compat@3.36.0 Transitive: environment, filesystem, shell +6 2.8 MB zloirock
npm/define-data-property@1.1.4 Transitive: eval +8 175 kB ljharb
npm/es-abstract@1.22.4 Transitive: eval +58 3.23 MB ljharb
npm/has-property-descriptors@1.0.2 Transitive: eval +7 147 kB ljharb
npm/hasown@2.0.1 None +1 42.6 kB ljharb
npm/regexp.prototype.flags@1.5.2 Transitive: eval +16 333 kB ljharb
npm/turbo@1.12.4 None +6 119 MB turbobot

๐Ÿšฎ Removed packages: npm/@babel/eslint-parser@7.23.10, npm/@babel/helper-validator-identifier@7.22.5, npm/@babel/highlight@7.22.10, npm/@babel/parser@7.22.10, npm/@babel/plugin-proposal-class-properties@7.18.6, npm/@babel/plugin-proposal-decorators@7.23.9, npm/@babel/types@7.22.10, npm/@commitlint/cli@13.2.1, npm/@commitlint/config-conventional@13.2.0, npm/@gar/promisify@1.1.3, npm/@jridgewell/resolve-uri@3.1.1, npm/@jridgewell/trace-mapping@0.3.19, npm/@lit-labs/ssr-dom-shim@1.1.1, npm/@lit/reactive-element@1.6.3, npm/@npmcli/installed-package-contents@1.0.7, npm/@npmcli/move-file@1.1.2, npm/@npmcli/node-gyp@1.0.3, npm/@npmcli/promise-spawn@1.3.2, npm/@oclif/color@1.0.11, npm/@oclif/color@1.0.13, npm/@oclif/core@1.26.2, npm/@oclif/plugin-help@5.2.17, npm/@oclif/plugin-help@5.2.20, npm/@oclif/plugin-not-found@2.4.3, npm/@oclif/plugin-plugins@2.4.7, npm/@oclif/plugin-warn-if-update-available@2.1.1, npm/@oclif/test@2.4.6, npm/@oclif/test@2.5.6, npm/@octokit/request-error@2.1.0, npm/@octokit/request@5.6.3, npm/@octokit/types@6.41.0, npm/@phase2/outline-cli@0.0.57, npm/@phase2/outline-code-block@0.1.4, npm/@phase2/outline-config@0.0.10, npm/@phase2/outline-core@0.1.12, npm/@phase2/outline-core@0.2.4, npm/@phase2/outline-docs@0.0.18, npm/@phase2/outline-static-assets@0.0.4, npm/@phase2/outline-storybook@0.1.3, npm/@phase2/outline-style-guide@0.0.7, npm/@phase2/outline-templates@0.0.50, npm/@rollup/plugin-image@3.0.3, npm/@rollup/plugin-json@6.1.0, npm/@rollup/plugin-multi-entry@6.0.1, npm/@rollup/plugin-node-resolve@15.2.3, npm/@rollup/plugin-replace@5.0.5, npm/@rollup/plugin-terser@0.4.4, npm/@splidejs/splide@3.6.12, npm/@tailwindcss/aspect-ratio@0.4.2, npm/@tailwindcss/forms@0.4.1, npm/@tailwindcss/typography@0.5.10, npm/@types/chai@4.3.5, npm/@types/fs-extra@9.0.13, npm/@types/inquirer@9.0.3, npm/@types/inquirer@9.0.7, npm/@types/json-schema@7.0.12, npm/@types/mocha@9.1.1, npm/@types/node@16.18.43, npm/@types/semver@7.5.6, npm/@types/vinyl@2.0.11, npm/@web/test-runner-browserstack@0.4.4, npm/@web/test-runner-playwright@0.8.10, npm/@web/test-runner@0.13.31, npm/abbrev@1.1.1, npm/agent-base@6.0.2, npm/agentkeepalive@4.5.0, npm/async-retry@1.3.3, npm/aws-sdk@2.1551.0, npm/babel-loader@8.3.0, npm/babel-plugin-named-exports-order@0.0.2, npm/binaryextensions@4.18.0, npm/binaryextensions@4.19.0, npm/browserslist@4.22.3, npm/cacache@15.3.0, npm/call-bind@1.0.6, npm/caniuse-lite@1.0.30001584, npm/chai@4.3.7, npm/chai@4.4.1, npm/cli-progress@3.12.0, npm/color-support@1.1.3, npm/console-control-strings@1.1.0, npm/core-js-compat@3.35.1, npm/deepmerge@4.3.1, npm/define-data-property@1.1.2, npm/deprecation@2.3.1, npm/diff@5.0.0, npm/encoding@0.1.13, npm/es-abstract@1.22.3, npm/eslint-config-oclif-typescript@1.0.3, npm/eslint-config-oclif@4.0.0, npm/figures@3.2.0, npm/fs@0.0.2, npm/get-func-name@2.0.2, npm/get-intrinsic@1.2.1, npm/glob@7.2.0, npm/globals@13.21.0, npm/has-property-descriptors@1.0.1, npm/http-cache-semantics@4.1.1, npm/ieee754@1.1.13, npm/ignore@5.2.4, npm/inquirer-directory@2.2.0, npm/inquirer-file-tree-selection-prompt@2.0.5, npm/inquirer@8.2.6, npm/is-plain-obj@2.1.0, npm/is-utf8@0.2.1, npm/make-fetch-happen@9.1.0, npm/mem-fs-editor@9.7.0, npm/minipass-fetch@1.4.1, npm/minipass-pipeline@1.2.4, npm/mocha@9.2.2, npm/npm-package-arg@8.1.5, npm/npm-pick-manifest@6.1.1, npm/npm-registry-fetch@12.0.2, npm/oclif@3.11.3, npm/oclif@3.17.2, npm/pacote@12.0.3, npm/postcss-cli@8.3.1, npm/postcss-loader@5.3.0, npm/read-package-json-fast@2.0.3, npm/regexp-tree@0.1.27, npm/regexp.prototype.flags@1.5.1, npm/resolve@1.22.4, npm/rimraf@2.5.4, npm/rollup-plugin-summary@2.0.0, npm/rollup-plugin-svg@2.0.0, npm/rollup-plugin-typescript2@0.34.1, npm/rollup@2.79.1, npm/run-async@2.4.1, npm/sax@1.2.1, npm/shx@0.3.4, npm/sinon@13.0.2, npm/ssri@8.0.1, npm/tar@6.1.15, npm/textextensions@5.16.0, npm/ts-node@10.9.1, npm/turbo@1.12.2, npm/type-detect@4.0.8, npm/typescript@4.9.5, npm/vite@4.1.4, npm/wait-on@5.3.0, npm/which-typed-array@1.1.11, npm/wide-align@1.1.5, npm/yargs-parser@20.2.4

View full reportโ†—๏ธŽ