-
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.
v2.0.0: Refactor, New Features, etc. (#113)
* Refactor CI workflow * Update dev dependencies * Add publishConfig to package.json * Set current year in banner * Specify lts/hydrogen as development version * Set minimum supported Node.js version * Use JSDoc syntax in banner comments * Remove dist folder and gitignore it * Regenerate lockfile * Specify files to be in published tarball * Point to src files in example and test * Remove CONTRIBUTING.md * Formatting and name changes and whatnot * Add test against null textContent value * Add support for null textContent * Document support for null textContent * Add more insertion non-Object tests * S E M I C O L O N S * Properly check insertions argument type * Remove dist files * Add and configure concurrently and http-server * Re-point example and spec at built dist files * Use Array.isArray() * Add another spec * Add commit message prefixes to Dependabot config * Add CHANGELOG.md * Rebuild lockfile * Refactor ESLint config file * Add publish workflow * Bump version and update CHANGELOG
- Loading branch information
1 parent
2df6cf6
commit 68c6f49
Showing
17 changed files
with
1,193 additions
and
526 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
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Publish | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
ci: | ||
name: CI | ||
uses: ./.github/workflows/ci.yml | ||
publish-to-npm: | ||
name: Publish to npm | ||
needs: ci | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: npm | ||
registry-url: https://registry.npmjs.org | ||
- run: npm ci | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
publish-to-github-packages: | ||
name: Publish to GitHub Packages | ||
permissions: | ||
contents: read | ||
packages: write | ||
needs: ci | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: npm | ||
registry-url: https://npm.pkg.github.com | ||
- run: npm ci | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 +1,2 @@ | ||
node_modules/ | ||
/dist/ | ||
/node_modules/ |
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 +1 @@ | ||
lts/* | ||
lts/hydrogen |
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,33 @@ | ||
# Changelog | ||
|
||
## 2.0.0 (2023-09-27) | ||
|
||
- 46460b8 chore: Add publish workflow | ||
- 1085936 chore: Refactor ESLint config file | ||
- 65f3092 chore: Rebuild lockfile | ||
- 5e1092b docs: Add CHANGELOG.md | ||
- a239fb8 chore: Add commit message prefixes to Dependabot config | ||
- 625576c chore: Add another spec | ||
- 849b1af feat: Use Array.isArray() | ||
- 5a701e7 chore: Re-point example and spec at built dist files | ||
- 8e39544 chore: Add and configure concurrently and http-server | ||
- 230245e chore: Remove dist files | ||
- 68d8081 fix: Properly check insertions argument type | ||
- 3bd434d fix: S E M I C O L O N S | ||
- 5fcd652 chore: Add more insertion non-Object tests | ||
- 6d418c3 docs: Document support for null textContent | ||
- fbbf654 feat: Add support for null textContent | ||
- 426d9e3 chore: Add test against null textContent value | ||
- 199f5e9 chore: Formatting and name changes and whatnot | ||
- 76609b0 docs: Remove CONTRIBUTING.md | ||
- 86d5de5 chore: Point to src files in example and test | ||
- 8800f79 chore: Specify files to be in published tarball | ||
- 7bcbbba chore: Regenerate lockfile | ||
- e90dce4 chore: Remove dist folder and gitignore it | ||
- c614555 docs: Use JSDoc syntax in banner comments | ||
- 80db616 breaking: Set minimum supported Node.js version | ||
- 51ef4a6 chore: Specify lts/hydrogen as development version | ||
- f8a38d0 chore: Set current year in banner | ||
- 3bb1f3b chore: Add publishConfig to package.json | ||
- 1082b37 chore: Update dev dependencies | ||
- 098a32d chore: Refactor CI workflow |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.