Skip to content

Commit

Permalink
chore: setup for publish on @contentstech
Browse files Browse the repository at this point in the history
  • Loading branch information
XiNiHa committed Jul 29, 2024
1 parent cafc46e commit 89a3ace
Show file tree
Hide file tree
Showing 44 changed files with 728 additions and 728 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
on:
push:
branches:
- main
- ct

name: Release

Expand Down
912 changes: 456 additions & 456 deletions .pnp.cjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions demo-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@contentstech/stackflow-plugin-basic-ui": "^0.1.0",
"@contentstech/stackflow-plugin-history-sync": "^0.1.0",
"@contentstech/stackflow-plugin-renderer-basic": "^0.1.0",
"@contentstech/stackflow-solid": "^0.1.0",
"@seed-design/design-token": "^1.0.3",
"@seed-design/stylesheet": "^1.0.4",
"@stackflow/compat-await-push": "^1.1.10",
"@stackflow/core": "^1.0.13",
"@stackflow/link": "^1.4.2",
"@stackflow/plugin-basic-ui": "^1.8.2",
"@stackflow/plugin-devtools": "^0.1.10",
"@stackflow/plugin-history-sync": "^1.5.4",
"@stackflow/plugin-map-initial-activity": "^1.0.8",
"@stackflow/plugin-preload": "^1.3.2",
"@stackflow/plugin-renderer-basic": "^1.1.10",
"@stackflow/plugin-stack-depth-change": "^1.1.4",
"@stackflow/solid": "^1.1.11",
"lorem-ipsum": "^2.0.8",
"lz-string": "^1.5.0",
"normalize.css": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions demo-solid/src/activities/Article.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ActivityComponentType } from "@stackflow/solid";
import { useActivityParams } from "@stackflow/solid";
import type { ActivityComponentType } from "@contentstech/stackflow-solid";
import { useActivityParams } from "@contentstech/stackflow-solid";
import { For, createMemo } from "solid-js";

import ArticleCard from "../components/ArticleCard";
Expand Down
2 changes: 1 addition & 1 deletion demo-solid/src/activities/Main.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ActivityComponentType } from "@stackflow/solid";
import type { ActivityComponentType } from "@contentstech/stackflow-solid";
import { For } from "solid-js";

import IconBell from "../assets/IconBell";
Expand Down
2 changes: 1 addition & 1 deletion demo-solid/src/components/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AppScreen } from "@stackflow/plugin-basic-ui/solid";
import { AppScreen } from "@contentstech/stackflow-plugin-basic-ui/solid";
import type { Component, JSXElement } from "solid-js";

type PropOf<T> = T extends Component<infer U> ? U : never;
Expand Down
2 changes: 1 addition & 1 deletion demo-solid/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "normalize.css";
import "@seed-design/stylesheet/global.css";
import "@stackflow/plugin-basic-ui/index.css";
import "@contentstech/stackflow-plugin-basic-ui/index.css";
import "./styles/index.css";

import { render } from "solid-js/web";
Expand Down
6 changes: 3 additions & 3 deletions demo-solid/src/stackflow-docs.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { vars } from "@seed-design/design-token";
import { basicUIPlugin } from "@stackflow/plugin-basic-ui/solid";
import { basicRendererPlugin } from "@stackflow/plugin-renderer-basic/solid";
import { stackflow } from "@stackflow/solid";
import { basicUIPlugin } from "@contentstech/stackflow-plugin-basic-ui/solid";
import { basicRendererPlugin } from "@contentstech/stackflow-plugin-renderer-basic/solid";
import { stackflow } from "@contentstech/stackflow-solid";
import { render } from "solid-js/web";

import { activities } from "./stackflow";
Expand Down
8 changes: 4 additions & 4 deletions demo-solid/src/stackflow.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { vars } from "@seed-design/design-token";
import { basicUIPlugin } from "@stackflow/plugin-basic-ui/solid";
import { basicUIPlugin } from "@contentstech/stackflow-plugin-basic-ui/solid";
import { devtoolsPlugin } from "@stackflow/plugin-devtools";
import { historySyncPlugin } from "@stackflow/plugin-history-sync/solid";
import { historySyncPlugin } from "@contentstech/stackflow-plugin-history-sync/solid";
import { mapInitialActivityPlugin } from "@stackflow/plugin-map-initial-activity";
import { basicRendererPlugin } from "@stackflow/plugin-renderer-basic/solid";
import { stackflow } from "@stackflow/solid";
import { basicRendererPlugin } from "@contentstech/stackflow-plugin-renderer-basic/solid";
import { stackflow } from "@contentstech/stackflow-solid";
import { decompressFromEncodedURIComponent } from "lz-string";

import Article from "./activities/Article";
Expand Down
2 changes: 1 addition & 1 deletion demo-solid/src/useFlow.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useActions } from "@stackflow/solid";
import { useActions } from "@contentstech/stackflow-solid";

import type { TypeActivities } from "./stackflow";

Expand Down
6 changes: 3 additions & 3 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@contentstech/stackflow-plugin-basic-ui": "^0.1.0",
"@contentstech/stackflow-plugin-history-sync": "^0.1.0",
"@contentstech/stackflow-plugin-renderer-basic": "^0.1.0",
"@seed-design/design-token": "^1.0.3",
"@seed-design/stylesheet": "^1.0.4",
"@stackflow/compat-await-push": "^1.1.10",
"@stackflow/core": "^1.0.13",
"@stackflow/link": "^1.4.2",
"@stackflow/plugin-basic-ui": "^1.8.2",
"@stackflow/plugin-devtools": "^0.1.10",
"@stackflow/plugin-history-sync": "^1.5.4",
"@stackflow/plugin-map-initial-activity": "^1.0.8",
"@stackflow/plugin-preload": "^1.3.2",
"@stackflow/plugin-renderer-basic": "^1.1.10",
"@stackflow/plugin-stack-depth-change": "^1.1.4",
"@stackflow/react": "^1.1.11",
"lorem-ipsum": "^2.0.8",
Expand Down
2 changes: 1 addition & 1 deletion demo/src/activities/Main.css.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { cssVars } from "@stackflow/plugin-basic-ui";
import { cssVars } from "@contentstech/stackflow-plugin-basic-ui";
import { style } from "@vanilla-extract/css";

import { f } from "../styles";
Expand Down
2 changes: 1 addition & 1 deletion demo/src/components/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AppScreen } from "@stackflow/plugin-basic-ui";
import { AppScreen } from "@contentstech/stackflow-plugin-basic-ui";

type PropOf<T> = T extends React.ComponentType<infer U> ? U : never;

Expand Down
2 changes: 1 addition & 1 deletion demo/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "normalize.css";
import "@seed-design/stylesheet/global.css";
import "@stackflow/plugin-basic-ui/index.css";
import "@contentstech/stackflow-plugin-basic-ui/index.css";
import "react-lazy-load-image-component/src/effects/opacity.css";
import "./styles/index.css";

Expand Down
4 changes: 2 additions & 2 deletions demo/src/stackflow-docs.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { vars } from "@seed-design/design-token";
import { basicUIPlugin } from "@stackflow/plugin-basic-ui";
import { basicRendererPlugin } from "@stackflow/plugin-renderer-basic";
import { basicUIPlugin } from "@contentstech/stackflow-plugin-basic-ui";
import { basicRendererPlugin } from "@contentstech/stackflow-plugin-renderer-basic";
import { stackflow } from "@stackflow/react";

import { activities } from "./stackflow";
Expand Down
6 changes: 3 additions & 3 deletions demo/src/stackflow.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { vars } from "@seed-design/design-token";
import { basicUIPlugin } from "@stackflow/plugin-basic-ui";
import { basicUIPlugin } from "@contentstech/stackflow-plugin-basic-ui";
import { devtoolsPlugin } from "@stackflow/plugin-devtools";
import { historySyncPlugin } from "@stackflow/plugin-history-sync";
import { historySyncPlugin } from "@contentstech/stackflow-plugin-history-sync";
import { mapInitialActivityPlugin } from "@stackflow/plugin-map-initial-activity";
import { basicRendererPlugin } from "@stackflow/plugin-renderer-basic";
import { basicRendererPlugin } from "@contentstech/stackflow-plugin-renderer-basic";
import { stackflow } from "@stackflow/react";
import { decompressFromEncodedURIComponent } from "lz-string";

Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"generate:plugins-docs": "rm -rf ./pages/plugins && node scripts/generate-plugins-docs.js"
},
"dependencies": {
"@contentstech/stackflow-plugin-basic-ui": "^0.1.0",
"@contentstech/stackflow-plugin-history-sync": "^0.1.0",
"@contentstech/stackflow-plugin-renderer-basic": "^0.1.0",
"@mdx-js/react": "^3.0.1",
"@stackflow/core": "^1.0.13",
"@stackflow/demo": "^1.2.23",
"@stackflow/demo-solid": "^1.2.23",
"@stackflow/plugin-basic-ui": "^1.8.2",
"@stackflow/plugin-history-sync": "^1.5.4",
"@stackflow/plugin-renderer-basic": "^1.1.10",
"@stackflow/react": "^1.1.11",
"@types/react": "^18.3.3",
"next": "^14.2.4",
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/_app.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "nextra-theme-docs/style.css";
import "@stackflow/demo/style.css";
import "@stackflow/demo-solid/style.css";
import "@stackflow/plugin-basic-ui/index.css";
import "@contentstech/stackflow-plugin-basic-ui/index.css";
import "@seed-design/stylesheet/global.css";
import "react-lazy-load-image-component/src/effects/opacity.css";
import "simple-reveal/index.css";
Expand Down
4 changes: 2 additions & 2 deletions extensions/link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@contentstech/stackflow-plugin-history-sync": "^0.1.0",
"@stackflow/core": "^1.0.13",
"@stackflow/esbuild-config": "^1.0.3",
"@stackflow/plugin-history-sync": "^1.5.4",
"@stackflow/plugin-preload": "^1.3.2",
"@stackflow/react": "^1.1.11",
"@types/react": "^18.3.3",
Expand All @@ -43,8 +43,8 @@
"typescript": "^5.5.3"
},
"peerDependencies": {
"@contentstech/stackflow-plugin-history-sync": "^0.1",
"@stackflow/core": "^1",
"@stackflow/plugin-history-sync": "^1",
"@stackflow/plugin-preload": "^1",
"@stackflow/react": "^1",
"@types/react": ">=16.8.0",
Expand Down
4 changes: 2 additions & 2 deletions extensions/link/src/Link.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { UrlPatternOptions } from "@stackflow/plugin-history-sync";
import { makeTemplate, useRoutes } from "@stackflow/plugin-history-sync";
import type { UrlPatternOptions } from "@contentstech/stackflow-plugin-history-sync";
import { makeTemplate, useRoutes } from "@contentstech/stackflow-plugin-history-sync";
import { usePreloader } from "@stackflow/plugin-preload";
import type { ActivityComponentType } from "@stackflow/react";
import { useActions } from "@stackflow/react";
Expand Down
14 changes: 7 additions & 7 deletions extensions/plugin-basic-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@stackflow/plugin-basic-ui",
"version": "1.8.2",
"name": "@contentstech/stackflow-plugin-basic-ui",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/daangn/stackflow.git",
"url": "https://github.com/contentstech-com/stackflow.git",
"directory": "extensions/plugin-basic-ui"
},
"license": "MIT",
Expand Down Expand Up @@ -68,10 +68,10 @@
"@vanilla-extract/recipes": "^0.5.3"
},
"devDependencies": {
"@contentstech/stackflow-solid": "^0.1.0",
"@stackflow/core": "^1.0.13",
"@stackflow/esbuild-config": "^1.0.3",
"@stackflow/react": "^1.1.11",
"@stackflow/solid": "^1.1.11",
"@types/react": "^18.3.3",
"esbuild": "^0.23.0",
"esbuild-plugin-solid": "patch:esbuild-plugin-solid@npm%3A0.6.0#~/.yarn/patches/esbuild-plugin-solid-npm-0.6.0-49835b85dc.patch",
Expand All @@ -81,18 +81,18 @@
"typescript": "^5.5.3"
},
"peerDependencies": {
"@contentstech/stackflow-solid": "^0.1",
"@stackflow/core": "^1",
"@stackflow/react": "^1",
"@stackflow/solid": "^1",
"@types/react": ">=16.8.0",
"react": ">=16.8.0",
"solid-js": ">=1.4.0"
},
"peerDependenciesMeta": {
"@stackflow/react": {
"@contentstech/stackflow-solid": {
"optional": true
},
"@stackflow/solid": {
"@stackflow/react": {
"optional": true
},
"@types/react": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* @jsxImportSource solid-js */

import type { StackflowSolidPlugin } from "@stackflow/solid";
import type { StackflowSolidPlugin } from "@contentstech/stackflow-solid";
import { assignInlineVars } from "@vanilla-extract/dynamic";
import type { JSXElement } from "solid-js";
import { createContext, useContext } from "solid-js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* @jsxImportSource solid-js */

import { useActions, useActivity } from "@stackflow/solid";
import { useActions, useActivity } from "@contentstech/stackflow-solid";
import { assignInlineVars } from "@vanilla-extract/dynamic";
import type { JSXElement } from "solid-js";
import { Match, Show, Switch, createMemo, mergeProps } from "solid-js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* @jsxImportSource solid-js */

import { useActions, useActivity } from "@stackflow/solid";
import { useActions, useActivity } from "@contentstech/stackflow-solid";
import { assignInlineVars } from "@vanilla-extract/dynamic";
import type { Component, JSXElement } from "solid-js";
import { createContext, createMemo, useContext } from "solid-js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* @jsxImportSource solid-js */

import { useActions, useActivity } from "@stackflow/solid";
import { useActions, useActivity } from "@contentstech/stackflow-solid";
import { assignInlineVars } from "@vanilla-extract/dynamic";
import type { Accessor, Component, JSXElement } from "solid-js";
import { createMemo } from "solid-js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* @jsxImportSource solid-js */

import { useActions, useActivity } from "@stackflow/solid";
import { useActions, useActivity } from "@contentstech/stackflow-solid";
import { assignInlineVars } from "@vanilla-extract/dynamic";
import type { Component, JSXElement } from "solid-js";
import { createMemo, mergeProps } from "solid-js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ActivityTransitionState } from "@stackflow/core";
import { useActivity } from "@stackflow/solid";
import { useActivity } from "@contentstech/stackflow-solid";
import type { Accessor } from "solid-js";
import { createEffect, onCleanup, untrack } from "solid-js";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useActivity } from "@stackflow/solid";
import { useActivity } from "@contentstech/stackflow-solid";
import { createMemo } from "solid-js";

export function createZIndexBase() {
Expand Down
14 changes: 7 additions & 7 deletions extensions/plugin-history-sync/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@stackflow/plugin-history-sync",
"version": "1.5.4",
"name": "@contentstech/stackflow-plugin-history-sync",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/daangn/stackflow.git",
"url": "https://github.com/contentstech-com/stackflow.git",
"directory": "extensions/plugin-history-sync"
},
"license": "MIT",
Expand Down Expand Up @@ -86,10 +86,10 @@
"url-pattern": "^1.0.3"
},
"devDependencies": {
"@contentstech/stackflow-solid": "^0.1.0",
"@stackflow/core": "^1.0.13",
"@stackflow/esbuild-config": "^1.0.3",
"@stackflow/react": "^1.1.11",
"@stackflow/solid": "^1.1.11",
"@swc/core": "^1.6.6",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
Expand All @@ -104,18 +104,18 @@
"typescript": "^5.5.3"
},
"peerDependencies": {
"@contentstech/stackflow-solid": "^0.1",
"@stackflow/core": "^1",
"@stackflow/react": "^1",
"@stackflow/solid": "^1",
"@types/react": ">=16.8.0",
"react": ">=16.8.0",
"solid-js": ">=1.4.0"
},
"peerDependenciesMeta": {
"@stackflow/react": {
"@contentstech/stackflow-solid": {
"optional": true
},
"@stackflow/solid": {
"@stackflow/react": {
"optional": true
},
"@types/react": {
Expand Down
2 changes: 1 addition & 1 deletion extensions/plugin-history-sync/src/common/RouteLike.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ActivityComponentType as ReactActivityComponentType } from "@stackflow/react";
import type { ActivityComponentType as SolidActivityComponentType } from "@stackflow/solid";
import type { ActivityComponentType as SolidActivityComponentType } from "@contentstech/stackflow-solid";

export type Route<K> = {
path: string;
Expand Down
2 changes: 1 addition & 1 deletion extensions/plugin-history-sync/src/common/historyState.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Activity, ActivityStep } from "@stackflow/core";
import type { History } from "history";

const STATE_TAG = "@stackflow/plugin-history-sync";
const STATE_TAG = "@contentstech/stackflow-plugin-history-sync";

interface State {
activity: Activity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* @jsxImportSource solid-js */

import type { StackflowSolidPlugin } from "@stackflow/solid";
import type { StackflowSolidPlugin } from "@contentstech/stackflow-solid";

import { makeHistorySyncPlugin } from "../common/makeHistorySyncPlugin";
import { HistoryQueueProvider } from "./HistoryQueueContext.solid";
Expand Down
2 changes: 1 addition & 1 deletion extensions/plugin-preload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@stackflow/plugin-history-sync": "^1.5.4"
"@contentstech/stackflow-plugin-history-sync": "^0.1.0"
},
"devDependencies": {
"@stackflow/core": "^1.0.13",
Expand Down
4 changes: 2 additions & 2 deletions extensions/plugin-preload/src/usePreloader.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { UrlPatternOptions } from "@stackflow/plugin-history-sync";
import { makeTemplate, useRoutes } from "@stackflow/plugin-history-sync";
import type { UrlPatternOptions } from "@contentstech/stackflow-plugin-history-sync";
import { makeTemplate, useRoutes } from "@contentstech/stackflow-plugin-history-sync";
import type { ActivityComponentType } from "@stackflow/react";
import { useMemo } from "react";

Expand Down
Loading

0 comments on commit 89a3ace

Please sign in to comment.