Skip to content

Commit

Permalink
feat(tooling): Moved all deprecated packages to a more friendly folde…
Browse files Browse the repository at this point in the history
…r structure.
  • Loading branch information
himerus committed Feb 15, 2024
1 parent fad8aba commit b8f9361
Show file tree
Hide file tree
Showing 427 changed files with 59 additions and 67 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
"workspaces": [
"./packages/*",
"./packages/components/*",
"./packages/components/@deprecated/*",
"./packages/deprecated/*",
"./packages/documentation/*",
"./packages/controllers/*",
"./packages/controllers/@deprecated/*",
"./packages/tools/*",
"./docs"
],
Expand All @@ -34,7 +33,7 @@
"license": "BSD-3-Clause",
"scripts": {
"analyze": "yarn build && wca analyze 'packages/**/*.ts' --outFiles '{dir}/../README.md'",
"build": "turbo run build --concurrency=100% --filter=!./packages/**/@deprecated/*",
"build": "turbo run build --concurrency=100%",
"changeset": "changeset",
"changeset:publish": "yarn build && yarn changeset:version && yarn changeset publish",
"changeset:version": "changeset version",
Expand Down
1 change: 0 additions & 1 deletion packages/components/outline-core-link/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export { OutlineCoreLink } from './src/outline-core-link';
export { default as linkVars } from './src/style/outline-core-link.vars.css.lit';
export type { LinkTargetType, LinkRelType } from './src/config';
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-accordion"
"directory": "packages/@deprecated/components/outline-accordion"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-accordion",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-accordion",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-admin-links"
"directory": "packages/@deprecated/components/outline-admin-links"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-admin-links",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-admin-links",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-alert"
"directory": "packages/@deprecated/components/outline-alert"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-alert",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-alert",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-breadcrumbs"
"directory": "packages/@deprecated/components/outline-breadcrumbs"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-breadcrumbs",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-breadcrumbs",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-button-group"
"directory": "packages/@deprecated/components/outline-button-group"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-button-group",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-button-group",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-button"
"directory": "packages/@deprecated/components/outline-button"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-button",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-button",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { ifDefined } from 'lit/directives/if-defined.js';
import { OutlineElement, SlotsController } from '@phase2/outline-core';
import { LinkTargetType } from '@phase2/outline-link';

import { linkVars } from '@phase2/outline-link';
import componentStyles from './outline-button.css.lit';

export type ButtonVariant = 'link' | 'primary' | 'secondary' | 'tertiary';
Expand All @@ -28,7 +27,7 @@ export type ButtonSize = 'small' | 'medium' | 'large';
*/
@customElement('outline-button')
export class OutlineButton extends OutlineElement {
static styles: CSSResultGroup = [linkVars, componentStyles];
static styles: CSSResultGroup = [componentStyles];

slots = new SlotsController(this);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-card"
"directory": "packages/@deprecated/components/outline-card"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-card",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-card",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-code-block"
"directory": "packages/@deprecated/components/outline-code-block"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-code-block",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-code-block",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js && mkdir -p dist/src && cp src/prism.js dist/src/prism.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-container"
"directory": "packages/@deprecated/components/outline-container"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-container",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-container",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-dropdown"
"directory": "packages/@deprecated/components/outline-dropdown"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-dropdown",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-dropdown",
"license": "BSD-3-Clause",
"scripts": {
"package": "yarn publish"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-form"
"directory": "packages/@deprecated/components/outline-form"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-form",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-form",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-grid"
"directory": "packages/@deprecated/components/outline-grid"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-grid",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-grid",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-heading"
"directory": "packages/@deprecated/components/outline-heading"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-heading",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-heading",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-icon"
"directory": "packages/@deprecated/components/outline-icon"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-icon",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-icon",
"scripts": {
"build": "node ../../../../scripts/build.js",
"package": "yarn publish"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-image-slider"
"directory": "packages/@deprecated/components/outline-image-slider"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-image-slider",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-image-slider",
"scripts": {
"build": "node ../../../../scripts/build.js",
"package": "yarn publish"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-image"
"directory": "packages/@deprecated/components/outline-image"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-image",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-image",
"scripts": {
"build": "node ../../../../scripts/build.js",
"package": "yarn publish"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-include"
"directory": "packages/@deprecated/components/outline-include"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-include",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-include",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-link"
"directory": "packages/@deprecated/components/outline-link"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-link",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-link",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-list"
"directory": "packages/@deprecated/components/outline-list"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-list",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-list",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-modal"
"directory": "packages/@deprecated/components/outline-modal"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-modal",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-modal",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-styled-text"
"directory": "packages/@deprecated/components/outline-styled-text"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-styled-text",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-styled-text",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-tabs"
"directory": "packages/@deprecated/components/outline-tabs"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-tabs",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-tabs",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-video-vimeo"
"directory": "packages/@deprecated/components/outline-video-vimeo"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-video-vimeo",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-video-vimeo",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/components/@deprecated/outline-video-youtube"
"directory": "packages/@deprecated/components/outline-video-youtube"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-video-youtube",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/components/outline-video-youtube",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
"directory": "packages/controllers/@deprecated/light-dom-styles"
"directory": "packages/@deprecated/controllers/light-dom-styles"
},
"homepage": "https://github.com/phase2/outline/tree/next/packages/controllers/@deprecated/light-dom-styles",
"homepage": "https://github.com/phase2/outline/tree/next/packages/@deprecated/controllers/light-dom-styles",
"license": "BSD-3-Clause",
"scripts": {
"build": "node ../../../../scripts/build.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/deprecated/tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `./packages/@deprecated/tools`

> This directory contains a collection of deprecated tools.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit b8f9361

Please sign in to comment.