Skip to content

Commit

Permalink
Version Packages (#7)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jun 23, 2021
1 parent a8d4914 commit 7452b5b
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 77 deletions.
62 changes: 0 additions & 62 deletions .changeset/cold-tigers-pretend.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sharp-jokes-march.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-mails-join.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/create-esdx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# create-esdx

## 0.1.2

### Patch Changes

- 888ce4c: Dual pubish templates by default
- a8d4914: fix package name when creating a package

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-esdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-esdx",
"version": "0.1.1",
"version": "0.1.2",
"main": "./index.js",
"author": "Amr Gad",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"babel-loader": "^8.2.2",
"esdx": "^0.0.2",
"esdx": "^0.1.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.24.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-esdx/templates/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/react-dom": "^17.0.8",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"esdx": "^0.0.2",
"esdx": "^0.1.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.24.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-esdx/templates/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"esdx": "^0.0.2",
"esdx": "^0.1.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
Expand Down
63 changes: 63 additions & 0 deletions packages/esdx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,68 @@
# esdx

## 0.1.0

### Minor Changes

- 888ce4c: ## Add `esdx` config support in `package.json`

This allows `esdx` to be more flexible and allows the following supporting the following usecases:

- multiple entries

```json
{
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": "dist/index.js",
"./another": "dist/another.js"
},
"esdx": {
"entries": [
{
"source": "src/index.tsx",
"format": "esm",
"output": "dist/index.js",
"types": "dist/index.d.ts"
},
{
"source": "src/another.tsx",
"format": "esm",
"output": "dist/another.js",
"types": "dist/another.d.ts"
}
]
}
}
```

- multiple formats

```json
{
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"esdx": {
"entries": [
{
"source": "src/index.tsx",
"format": "esm",
"output": "dist/index.esm.js",
"types": "dist/index.d.ts"
},
{
"source": "src/index.tsx",
"format": "cjs",
"output": "dist/index.cjs.js"
}
]
}
}
```

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/esdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esdx",
"version": "0.0.2",
"version": "0.1.0",
"description": "build scripts based on esbuild",
"source": "src/index.ts",
"main": "dist/index.js",
Expand Down

0 comments on commit 7452b5b

Please sign in to comment.