@stackoverflow/stacks
Advanced tools
Comparing version 1.6.7 to 1.7.0
export { ExpandableController } from "./s-expandable-control"; | ||
export { hideModal, ModalController, showModal } from "./s-modal"; | ||
export { hideBanner, BannerController, showBanner } from "./s-banner"; | ||
export { hideToast, ToastController, showToast } from "./s-toast"; | ||
export { TabListController } from "./s-navigation-tablist"; | ||
@@ -4,0 +6,0 @@ export { attachPopover, detachPopover, hidePopover, BasePopoverController, PopoverController, showPopover, } from "./s-popover"; |
@@ -1,2 +0,2 @@ | ||
import * as Stimulus from "stimulus"; | ||
import * as Stimulus from "@hotwired/stimulus"; | ||
export declare class StacksApplication extends Stimulus.Application { | ||
@@ -3,0 +3,0 @@ static _initializing: boolean; |
// export all controllers *with helpers* so they can be bulk re-exported by the package entry point | ||
export { ExpandableController } from "./s-expandable-control"; | ||
export { hideModal, ModalController, showModal } from "./s-modal"; | ||
export { hideBanner, BannerController, showBanner } from "./s-banner"; | ||
export { hideToast, ToastController, showToast } from "./s-toast"; | ||
export { TabListController } from "./s-navigation-tablist"; | ||
@@ -5,0 +7,0 @@ export { |
import "../css/stacks.less"; | ||
import { | ||
BannerController, | ||
ExpandableController, | ||
@@ -8,2 +9,3 @@ ModalController, | ||
TabListController, | ||
ToastController, | ||
TooltipController, | ||
@@ -15,4 +17,6 @@ UploaderController, | ||
// register all built-in controllers | ||
application.register("s-banner", BannerController); | ||
application.register("s-expandable-control", ExpandableController); | ||
application.register("s-modal", ModalController); | ||
application.register("s-toast", ToastController); | ||
application.register("s-navigation-tablist", TabListController); | ||
@@ -19,0 +23,0 @@ application.register("s-popover", PopoverController); |
@@ -1,2 +0,2 @@ | ||
import * as Stimulus from "stimulus"; | ||
import * as Stimulus from "@hotwired/stimulus"; | ||
@@ -3,0 +3,0 @@ export class StacksApplication extends Stimulus.Application { |
{ | ||
"compilerOptions": { | ||
"strict": true, | ||
"target": "es5", | ||
"lib": ["dom", "es6", "dom.iterable", "scripthost"], // es6 stuff is polyfilled by stimulus | ||
"target": "es6", | ||
"lib": ["dom", "es6", "dom.iterable", "scripthost"], | ||
"outDir": "../dist", | ||
@@ -7,0 +7,0 @@ "sourceMap": true, |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "1.6.7", | ||
"version": "1.7.0", | ||
"files": [ | ||
@@ -39,4 +39,4 @@ "dist", | ||
"dependencies": { | ||
"@popperjs/core": "^2.11.6", | ||
"stimulus": "^2.0.0" | ||
"@hotwired/stimulus": "^3.2.1", | ||
"@popperjs/core": "^2.11.6" | ||
}, | ||
@@ -47,12 +47,12 @@ "devDependencies": { | ||
"@open-wc/testing": "^3.1.7", | ||
"@rollup/plugin-commonjs": "^24.0.0", | ||
"@rollup/plugin-replace": "^5.0.1", | ||
"@stackoverflow/stacks-editor": "^0.8.3", | ||
"@stackoverflow/stacks-icons": "^4.0.0", | ||
"@testing-library/dom": "^8.19.0", | ||
"@rollup/plugin-commonjs": "^24.0.1", | ||
"@rollup/plugin-replace": "^5.0.2", | ||
"@stackoverflow/stacks-editor": "^0.8.4", | ||
"@stackoverflow/stacks-icons": "^5.0.2", | ||
"@testing-library/dom": "^8.19.1", | ||
"@testing-library/user-event": "^14.4.3", | ||
"@typescript-eslint/eslint-plugin": "^5.47.1", | ||
"@typescript-eslint/parser": "^5.46.0", | ||
"@typescript-eslint/parser": "^5.48.2", | ||
"@web/dev-server-esbuild": "^0.3.3", | ||
"@web/dev-server-rollup": "https://github.com/giamir/web/raw/fix-dev-server-rollup/packages/dev-server-rollup/web-dev-server-rollup-0.3.19.tgz", | ||
"@web/dev-server-rollup": "0.3.21", | ||
"@web/test-runner": "^0.15.0", | ||
@@ -67,4 +67,4 @@ "@web/test-runner-playwright": "^0.9.0", | ||
"eleventy-plugin-nesting-toc": "^1.3.0", | ||
"eslint": "^8.29.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint": "^8.31.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-plugin-no-unsanitized": "^4.0.2", | ||
@@ -75,6 +75,6 @@ "jquery": "^3.6.1", | ||
"markdown-it": "^13.0.1", | ||
"mini-css-extract-plugin": "^2.6.1", | ||
"mini-css-extract-plugin": "^2.7.2", | ||
"postcss-less": "^6.0.0", | ||
"postcss-loader": "^7.0.1", | ||
"prettier": "^2.7.1", | ||
"postcss-loader": "^7.0.2", | ||
"prettier": "^2.8.2", | ||
"rollup-plugin-postcss": "^4.0.2", | ||
@@ -81,0 +81,0 @@ "stylelint": "^14.16.0", |
@@ -27,2 +27,3 @@ # Stacks | ||
- [Testing Stacks](#testing-stacks) | ||
- [Releasing Stacks](#release-a-new-version-of-stacks) | ||
- [Bugs and feature requests](#bugs-and-feature-requests) | ||
@@ -103,2 +104,40 @@ - [Contributing](#contributing) | ||
## Releasing a new version of Stacks | ||
Stacks uses [Semantic Versioning](https://semver.org/), is distributed via [npm](https://www.npmjs.com/package/@stackoverflow/stacks), and publishes [release notes on Github](https://github.com/StackExchange/Stacks/releases). Follow the steps below to release a new version of Stacks. | ||
### Bump the version number | ||
```sh | ||
npm version [major | minor | patch] | ||
``` | ||
### Push the new tag | ||
```sh | ||
git push && git push --tags | ||
``` | ||
### Create release notes [on Github](https://github.com/StackExchange/Stacks/releases/new) | ||
1. Visit https://github.com/StackExchange/Stacks/releases/new | ||
1. Choose your new version from the "Choose a tag" dropdown | ||
1. Click "Generate release notes" | ||
1. Cleanup and complete the release notes | ||
- Prominently mention any breaking changes, if applicable | ||
- Include a "What's Changed" section in the release notes | ||
- Mention significant bug fixes | ||
- Mention new features | ||
- Mention significant under-the-hood changes that could impact consumers | ||
### Ship your newly created version to [npm](https://www.npmjs.com/package/@stackoverflow/stacks) | ||
```sh | ||
npm publish | ||
``` | ||
### Merge `develop` into `production` and push | ||
```sh | ||
git checkout production && git merge develop && git push | ||
``` | ||
### Push the updated docs site | ||
Head to [Netlify](https://app.netlify.com), navigate to the Stacks overview, click on "Production deploys", and select "Deploy site" from the "Trigger deploy" dropdown. | ||
## Bugs and feature requests | ||
@@ -105,0 +144,0 @@ Have a bug or feature request? First search existing or closed issues to make sure the issue hasn’t been noted yet. If not, review our [issue guidelines](/CONTRIBUTING.md#open-an-issue) for submitting [a bug report](/CONTRIBUTING.md#reporting-bugs) or [feature request](/CONTRIBUTING.md#feature-requests). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1982127
98
34597
154
+ Added@hotwired/stimulus@^3.2.1
+ Added@hotwired/stimulus@3.2.2(transitive)
- Removedstimulus@^2.0.0
- Removed@stimulus/core@2.0.0(transitive)
- Removed@stimulus/multimap@2.0.0(transitive)
- Removed@stimulus/mutation-observers@2.0.0(transitive)
- Removed@stimulus/webpack-helpers@2.0.0(transitive)
- Removedstimulus@2.0.0(transitive)