Skip to content

Commit

Permalink
[fix] some Releasing details
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Jun 8, 2023
1 parent 00c60a5 commit 1ef0e5b
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 12 deletions.
6 changes: 5 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
.parcel-cache/
.eslintrc.json
/*.ts
docs/
preview/
api-extractor.json
stories/
.storybook/
storybook-static/
.vscode/settings.json
.husky/
.github/
4 changes: 2 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ A **[React][1] advanced components library** based on [TypeScript][2] & [Bootstr
12. [Open Map](source/OpenMap/index.tsx)
13. [Table Spinner](source/TableSpinner.tsx)
14. [Loading](source/Loading.tsx)
15. [Idea Popover](source/IdeaPopover.tsx)
16. [Idea Dialog](source/IdeaDialog.tsx)
15. [Overlay Box](source/OverlayBox.tsx)
16. [Dialog](source/Dialog.tsx)

#### Data components

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "idea-react",
"version": "1.0.0-beta.1",
"version": "1.0.0-rc.2",
"license": "LGPL-2.1",
"author": "[email protected]",
"description": "A React advanced components library based on TypeScript & Bootstrap, built by idea2app remote developers team.",
Expand Down
7 changes: 1 addition & 6 deletions preview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ interface State {
pageIndex: number;
selectValue: string;
showLoading: boolean;
showDialog: boolean;
showFormDialog: boolean;
mapAddressName: string;
}

Expand All @@ -34,8 +32,6 @@ export class App extends PureComponent<{}, State> {
pageIndex: 1,
selectValue: '0',
showLoading: false,
showDialog: false,
showFormDialog: false,
mapAddressName: '成都市'
};

Expand Down Expand Up @@ -75,8 +71,7 @@ export class App extends PureComponent<{}, State> {
};

render() {
const { selectValue, showLoading, showDialog, mapAddressName } =
this.state;
const { selectValue, showLoading, mapAddressName } = this.state;

return (
<div className="bg-light">
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ export * from './Avatar';
export * from './ClickBoundary';
export * from './CodeBlock';
export * from './color';
export * from './Dialog';
export * from './Editor';
export * from './EditorHTML';
export * from './Icon';
export * from './IdeaDialog';
export * from './Loading';
export * from './Nameplate';
export * from './OpenMap';
Expand Down
17 changes: 16 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,36 @@ export default defineConfig(({ mode }) => {
external: [
'@editorjs/editorjs',
'@editorjs/paragraph',
'classnames',
'editorjs-html',
'iterable-observer',
'koajax',
'leaflet',
'lodash',
'mobx',
'mobx-react',
'prismjs',
'react',
'react-bootstrap',
'react-dom',
'react-editor-js'
'react-editor-js',
'react-element-to-jsx-string',
'react-leaflet',
'web-utility'
],
output: {
globals: {
'@editorjs/editorjs': 'EditorJS',
'@editorjs/paragraph': 'Paragraph',
classnames: 'classNames',
'editorjs-html': 'edjsHTML',
'iterable-observer': 'IterableObserver',
koajax: 'KoAJAX',
leaflet: 'leaflet',
lodash: '_',
mobx: 'mobx',
'mobx-react': 'mobxReact',
prismjs: 'Prism',
react: 'React',
'react-bootstrap': 'ReactBootstrap',
'react-dom': 'ReactDOM',
Expand Down

1 comment on commit 1ef0e5b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for idea-react ready!

✅ Preview
https://idea-react-qif6aw17w-stevending1st.vercel.app

Built with commit 1ef0e5b.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.