mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-02-23 17:49:49 +08:00
commit
4e8d8f9068
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@sunmao-ui/chakra-ui-lib",
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.6",
|
||||
"description": "sunmao-ui chakra-ui library",
|
||||
"author": "sunmao-ui developers",
|
||||
"homepage": "https://github.com/webzard-io/sunmao-ui#readme",
|
||||
@ -32,8 +32,8 @@
|
||||
"@chakra-ui/icons": "^1.0.15",
|
||||
"@chakra-ui/react": "^1.7.1",
|
||||
"@sinclair/typebox": "^0.21.2",
|
||||
"@sunmao-ui/core": "^0.3.5",
|
||||
"@sunmao-ui/runtime": "^0.3.9",
|
||||
"@sunmao-ui/core": "^0.3.6",
|
||||
"@sunmao-ui/runtime": "^0.3.12",
|
||||
"chakra-react-select": "^1.3.2",
|
||||
"framer-motion": "^4",
|
||||
"lodash-es": "^4.17.21",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@sunmao-ui/core",
|
||||
"version": "0.3.5",
|
||||
"version": "0.3.6",
|
||||
"description": "sunmao-ui core",
|
||||
"author": "sunmao-ui developers",
|
||||
"homepage": "https://github.com/webzard-io/sunmao-ui#readme",
|
||||
|
@ -14,5 +14,8 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
moduleNameMapper: {
|
||||
'\\.css$': 'jest-css-modules',
|
||||
},
|
||||
testEnvironment: 'jsdom',
|
||||
};
|
||||
|
@ -1,21 +1,21 @@
|
||||
{
|
||||
"name": "@sunmao-ui/editor",
|
||||
"version": "0.3.9",
|
||||
"version": "0.3.13",
|
||||
"description": "sunmao-ui editor",
|
||||
"author": "sunmao-ui developers",
|
||||
"homepage": "https://github.com/webzard-io/sunmao-ui#readme",
|
||||
"license": "MIT",
|
||||
"main": "dist/main.js",
|
||||
"module": "dist/esm/main.js",
|
||||
"unpkg": "dist/iife/main.js",
|
||||
"types": "lib/main.d.ts",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/esm/index.js",
|
||||
"unpkg": "dist/iife/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"files": [
|
||||
"dist",
|
||||
"lib"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsup src/main.tsx --format cjs,esm,iife --legacy-output --inject ../runtime/react-import.js --clean --no-splitting --sourcemap",
|
||||
"build": "tsup src/index.ts --format cjs,esm,iife --legacy-output --inject ../runtime/react-import.js --clean --no-splitting --sourcemap",
|
||||
"typings": "tsc --emitDeclarationOnly",
|
||||
"test": "jest",
|
||||
"prepublish": "npm run build && npm run typings"
|
||||
@ -35,9 +35,9 @@
|
||||
"@chakra-ui/react": "^1.7.1",
|
||||
"@emotion/css": "^11.7.1",
|
||||
"@emotion/styled": "^11",
|
||||
"@sunmao-ui/chakra-ui-lib": "^0.1.3",
|
||||
"@sunmao-ui/core": "^0.3.5",
|
||||
"@sunmao-ui/runtime": "^0.3.9",
|
||||
"@sunmao-ui/chakra-ui-lib": "^0.1.6",
|
||||
"@sunmao-ui/core": "^0.3.6",
|
||||
"@sunmao-ui/runtime": "^0.3.12",
|
||||
"acorn": "^8.7.0",
|
||||
"acorn-loose": "^8.3.0",
|
||||
"acorn-walk": "^8.2.0",
|
||||
@ -65,6 +65,7 @@
|
||||
"babel-jest": "^27.2.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"jest": "^27.2.1",
|
||||
"jest-css-modules": "^2.1.0",
|
||||
"postcss": "^8.4.5",
|
||||
"postcss-import": "^14.0.2",
|
||||
"tsup": "^5.11.0",
|
||||
|
@ -13,6 +13,7 @@ import { EditorStore } from './services/EditorStore';
|
||||
import { StorageHandler } from './types';
|
||||
import { AppStorage } from './services/AppStorage';
|
||||
import { Application, Module } from '@sunmao-ui/core';
|
||||
import './styles.css';
|
||||
|
||||
type SunmaoUIEditorProps = {
|
||||
libs?: SunmaoLib[];
|
||||
|
@ -5,8 +5,6 @@ import { sunmaoChakraUILib } from '@sunmao-ui/chakra-ui-lib';
|
||||
import { initSunmaoUIEditor } from './init';
|
||||
import { LocalStorageManager } from './LocalStorageManager';
|
||||
|
||||
import './styles.css';
|
||||
|
||||
type Options = Partial<{
|
||||
components: Parameters<Registry['registerComponent']>[0][];
|
||||
traits: Parameters<Registry['registerTrait']>[0][];
|
||||
|
@ -3,7 +3,6 @@ import { Application } from '@sunmao-ui/core';
|
||||
import { Registry } from '@sunmao-ui/runtime/lib/services/registry';
|
||||
import React, { StrictMode, useState } from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import './styles.css';
|
||||
|
||||
import { initSunmaoUIEditor } from './init';
|
||||
import { sunmaoChakraUILib } from '@sunmao-ui/chakra-ui-lib';
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@sunmao-ui/runtime",
|
||||
"version": "0.3.9",
|
||||
"version": "0.3.12",
|
||||
"description": "sunmao-ui runtime",
|
||||
"author": "sunmao-ui developers",
|
||||
"homepage": "https://github.com/webzard-io/sunmao-ui#readme",
|
||||
@ -32,7 +32,7 @@
|
||||
"@emotion/css": "^11.7.1",
|
||||
"@emotion/styled": "^11",
|
||||
"@sinclair/typebox": "^0.21.2",
|
||||
"@sunmao-ui/core": "^0.3.5",
|
||||
"@sunmao-ui/core": "^0.3.6",
|
||||
"@vue/reactivity": "^3.1.5",
|
||||
"@vue/shared": "^3.2.20",
|
||||
"copy-to-clipboard": "^3.3.1",
|
||||
|
19
yarn.lock
19
yarn.lock
@ -5753,6 +5753,11 @@ hard-rejection@^2.1.0:
|
||||
resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883"
|
||||
integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==
|
||||
|
||||
harmony-reflect@^1.4.6:
|
||||
version "1.6.2"
|
||||
resolved "https://registry.yarnpkg.com/harmony-reflect/-/harmony-reflect-1.6.2.tgz#31ecbd32e648a34d030d86adb67d4d47547fe710"
|
||||
integrity sha512-HIp/n38R9kQjDEziXyDTuW3vvoxxyxjxFzXLrBr18uB47GnSt+G9D29fqrpM5ZkspMcPICud3XsBJQ4Y2URg8g==
|
||||
|
||||
has-bigints@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.1.tgz#64fe6acb020673e3b78db035a5af69aa9d07b113"
|
||||
@ -5895,6 +5900,13 @@ iconv-lite@^0.6.2:
|
||||
dependencies:
|
||||
safer-buffer ">= 2.1.2 < 3.0.0"
|
||||
|
||||
identity-obj-proxy@3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz#94d2bda96084453ef36fbc5aaec37e0f79f1fc14"
|
||||
integrity sha1-lNK9qWCERT7zb7xarsN+D3nx/BQ=
|
||||
dependencies:
|
||||
harmony-reflect "^1.4.6"
|
||||
|
||||
ignore-walk@^3.0.3:
|
||||
version "3.0.4"
|
||||
resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335"
|
||||
@ -6431,6 +6443,13 @@ jest-config@^27.3.1:
|
||||
micromatch "^4.0.4"
|
||||
pretty-format "^27.3.1"
|
||||
|
||||
jest-css-modules@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/jest-css-modules/-/jest-css-modules-2.1.0.tgz#9c25ebe9d0214d8f55861a442268fdd4b01b4781"
|
||||
integrity sha512-my3Scnt6l2tOll/eGwNZeh1KLAFkNzdl4MyZRdpl46GO6/93JcKKdTjNqK6Nokg8A8rT84MFLOpY1pzqKBEqMw==
|
||||
dependencies:
|
||||
identity-obj-proxy "3.0.0"
|
||||
|
||||
jest-diff@^26.0.0:
|
||||
version "26.6.2"
|
||||
resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-26.6.2.tgz#1aa7468b52c3a68d7d5c5fdcdfcd5e49bd164394"
|
||||
|
Loading…
Reference in New Issue
Block a user