Skip to content

Commit

Permalink
chore(illustations): migrate banner to illustations package
Browse files Browse the repository at this point in the history
  • Loading branch information
philibea committed Apr 26, 2024
1 parent ef788e3 commit 715d27d
Show file tree
Hide file tree
Showing 14 changed files with 620 additions and 309 deletions.
6 changes: 6 additions & 0 deletions .changeset/tender-windows-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ultraviolet/illustrations": patch
"@ultraviolet/ui": patch
---

migration banner illustrations
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"linux"
],
"scripts": {
"build": "pnpm --filter '@ultraviolet/*' recursive run build",
"build": "pnpm -r --filter '@ultraviolet/*' run build ",
"build:profile": "cross-env PROFILE=true pnpm run build",
"build:storybook": "pnpm run build && STORYBOOK_ENVIRONMENT=production storybook build",
"build:storybook:stats": "pnpm run build:storybook --webpack-stats-json",
Expand All @@ -25,7 +25,7 @@
"start": "STORYBOOK_ENVIRONMENT=development storybook dev -p 6006",
"start:production": "STORYBOOK_ENVIRONMENT=production storybook dev -p 6006",
"format": "prettier --write '**/*.{ts,tsx,js,json,md,mdx}'",
"lint:fix": "pnpm run lint --fix",
"lint:fix": "pnpm run linnrt --fix",
"lint": "eslint --report-unused-disable-directives --cache --ext js,mjs,ts,tsx .",
"prebuild": "shx rm -rf dist",
"test:unit": "LC_ALL=en_US.UTF-8 jest --config .jest/unit.config.ts",
Expand Down
38 changes: 20 additions & 18 deletions packages/illustrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,34 @@
"name": "@ultraviolet/illustrations",
"version": "1.7.1",
"description": "Ultraviolet Illustrations",
"homepage": "https://github.com/scaleway/ultraviolet#readme",
"repository": {
"type": "git",
"url": "https://github.com/scaleway/ultraviolet",
"directory": "packages/illustrations"
},
"scripts": {
"build": "rollup -c rollup.config.mjs",
"typecheck": "tsc --noEmit"

"engines": {
"node": ">=18.x",
"pnpm": ">=8.x"
},

"homepage": "https://github.com/scaleway/ultraviolet#readme",
"keywords": [
"illustrations",
"ui"
],
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18.x",
"pnpm": ">=8.0.0"
},
"os": [
"darwin",
"linux"
],
"publishConfig": {
"access": "public"
},
"repository": {
"directory": "packages/illustrations",
"type": "git",
"url": "https://github.com/scaleway/ultraviolet"
},
"scripts": {
"build": "rollup -c rollup.config.mjs",
"typecheck": "tsc --noEmit"
},
"sideEffects": false,
"type": "module",
"exports": {
Expand Down Expand Up @@ -63,7 +65,7 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@ultraviolet/ui": "workspace:^",
"@ultraviolet/themes": "workspace:^"
"@ultraviolet/themes": "1.10.0",
"@ultraviolet/ui": "1.48.0"
}
}
9 changes: 8 additions & 1 deletion packages/illustrations/src/__stories__/List.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import styled from '@emotion/styled'
import { Button, Expandable, Snippet, Stack, Text } from '@ultraviolet/ui'
import { useReducer } from 'react'
import {
Button,
Expandable,
Snippet,
Stack,
Text,
// eslint-disable-next-line import/no-relative-packages
} from '../../../ui/src/components'
import * as assets from '../index'

type AssetsModule = Record<string, Record<string, Record<string, string>>>
Expand Down
88 changes: 88 additions & 0 deletions packages/illustrations/src/various/banner/default-image-small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 715d27d

Please sign in to comment.