Skip to content

Commit

Permalink
chore: update templates of import source (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
luhc228 authored Apr 11, 2024
1 parent c666319 commit 2866d88
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions packages/template-pkg-monorepo-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.1.2

- [chore] import `esm` instead of `src` code

## 1.1.1

- [chore] rename internal -> isAliInternal
Expand Down
2 changes: 1 addition & 1 deletion packages/template-pkg-monorepo-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ice/template-pkg-monorepo-react",
"version": "1.1.1",
"version": "1.1.2",
"files": [
"template",
"!template/component/build",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import Mod from '../src';
import Mod from '../esm';

export default () => {
return <Mod title={'Hi!'} />;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import Mod from '../src';
import Mod from '../esm';

export default () => {
return <Mod title={'Hi!'} />;
Expand Down
4 changes: 4 additions & 0 deletions packages/template-pkg-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.3.2

- [chore] import `esm` instead of `src` code

## 1.3.1

- [chore] rename internal -> isAliInternal
Expand Down
2 changes: 1 addition & 1 deletion packages/template-pkg-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ice/template-pkg-react",
"version": "1.3.1",
"version": "1.3.2",
"files": [
"template"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import Mod from '../src';
import Mod from '../esm';

export default () => {
return <Mod title={'Hi!'} />;
Expand Down

0 comments on commit 2866d88

Please sign in to comment.