-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa588ff
commit c52409e
Showing
8 changed files
with
363 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.prettierignore | ||
.gitignore | ||
LICENSE | ||
yarn.lock | ||
yarn-error.log | ||
.kodiak.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
"access": "public" | ||
}, | ||
"plugins": { | ||
"release-it-plugin-esm-bundle": { | ||
} | ||
"release-it-plugin-esm-bundle": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
# esm-bundle-test | ||
[](https://travis-ci.com/esm-bundle/esm-bundle-test) | ||
# autopublish-template | ||
|
||
A repo that tests automatic detection of upstream publishes and the publishing of `@esm-bundle` versions of them. | ||
[](https://travis-ci.com/esm-bundle/autopublish-template) | ||
|
||
Upstream repo at https://github.com/joeldenning/esm-bundle-test. | ||
A repo that tests automatic detection of upstream publishes and the publishing of `@esm-bundle` versions of them. | ||
|
||
Upstream repo at https://github.com/joeldenning/autopublish-template. | ||
|
||
```sh | ||
````sh | ||
## JS Delivr | ||
|
||
https://cdn.jsdelivr.net/npm/@esm-bundle/esm-bundle-test/index.js | ||
https://cdn.jsdelivr.net/npm/@esm-bundle/autopublish-template/index.js | ||
|
||
## Unpkg | ||
|
||
https://unpkg.com/@esm-bundle/esm-bundle-test/index.js | ||
https://unpkg.com/@esm-bundle/autopublish-template/index.js | ||
|
||
## Yarn | ||
|
||
```sh | ||
yarn add esm-bundle-test@npm:@esm-bundle/esm-bundle-test | ||
``` | ||
yarn add autopublish-template@npm:@esm-bundle/autopublish-template | ||
```` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,43 @@ | ||
{ | ||
"name": "@esm-bundle/esm-bundle-test", | ||
"name": "@esm-bundle/autopublish-template", | ||
"version": "14.0.0", | ||
"description": "Repo to test esm-bundle's automatic publishing", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo 'No tests but that is fine'", | ||
"build": "rollup -c", | ||
"prettier": "prettier --write './**/*'", | ||
"release": "release-it" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "pretty-quick --staged" | ||
} | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/esm-bundle/esm-bundle-test.git" | ||
"url": "git+https://github.com/esm-bundle/autopublish-template.git" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/esm-bundle/esm-bundle-test/issues" | ||
"url": "https://github.com/esm-bundle/autopublish-template/issues" | ||
}, | ||
"homepage": "https://github.com/esm-bundle/esm-bundle-test#readme", | ||
"homepage": "https://github.com/esm-bundle/autopublish-template#readme", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^11.0.1", | ||
"husky": "^4.2.1", | ||
"prettier": "^1.19.1", | ||
"pretty-quick": "^2.0.1", | ||
"release-it": "^12.4.3", | ||
"release-it-plugin-esm-bundle": "^1.0.0", | ||
"rollup": "^1.29.1", | ||
"rollup-cli": "^1.0.9" | ||
}, | ||
"dependencies": { | ||
"esm-bundle-test": "^14.0.0" | ||
"autopublish-template": "^16.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{ | ||
"extends": [ | ||
"config:base", ":disableDevDependencies" | ||
] | ||
"extends": ["config:base", ":disableDevDependencies"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
import commonjs from '@rollup/plugin-commonjs' | ||
import commonjs from "@rollup/plugin-commonjs"; | ||
|
||
export default { | ||
input: require.resolve('esm-bundle-test'), | ||
input: require.resolve("autopublish-template"), | ||
output: { | ||
file: 'index.js', | ||
format: 'module' | ||
file: "index.js", | ||
format: "module" | ||
}, | ||
plugins: [ | ||
commonjs() | ||
] | ||
} | ||
plugins: [commonjs()] | ||
}; |
Oops, something went wrong.