mirror of
https://github.com/modernweb-dev/rocket.git
synced 2026-03-21 15:54:57 +00:00
Compare commits
3 Commits
@mdjs/mdjs
...
@rocket/la
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3802778be4 | ||
|
|
26f4a1ebff | ||
|
|
81edf45fe2 |
@@ -67,7 +67,7 @@
|
|||||||
"@web/dev-server": "^0.1.4",
|
"@web/dev-server": "^0.1.4",
|
||||||
"@web/dev-server-rollup": "^0.3.2",
|
"@web/dev-server-rollup": "^0.3.2",
|
||||||
"@web/rollup-plugin-copy": "^0.2.0",
|
"@web/rollup-plugin-copy": "^0.2.0",
|
||||||
"check-html-links": "^0.2.1",
|
"check-html-links": "^0.2.2",
|
||||||
"command-line-args": "^5.1.1",
|
"command-line-args": "^5.1.1",
|
||||||
"command-line-usage": "^6.1.1",
|
"command-line-usage": "^6.1.1",
|
||||||
"fs-extra": "^9.0.1",
|
"fs-extra": "^9.0.1",
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @rocket/launch
|
# @rocket/launch
|
||||||
|
|
||||||
|
## 0.4.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 81edf45: Reduce the amount of js files in the build by avoiding inline script tags
|
||||||
|
|
||||||
## 0.4.0
|
## 0.4.0
|
||||||
|
|
||||||
### Minor Changes
|
### Minor Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rocket/launch",
|
"name": "@rocket/launch",
|
||||||
"version": "0.4.0",
|
"version": "0.4.1",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,17 +1 @@
|
|||||||
{#
|
<script type="module" src="{{ '/_assets/scripts/init-navigation.js' | asset }}"></script>
|
||||||
src leads to the file not being included/executed? bug in rollup-plugin-html?
|
|
||||||
<script type="module" src="{{ '/_assets/scripts/init-navigation.js' | asset }}"></script>
|
|
||||||
#}
|
|
||||||
<script type="module">
|
|
||||||
import '@rocket/navigation/rocket-navigation.js';
|
|
||||||
import '@rocket/drawer/rocket-drawer.js';
|
|
||||||
const drawer = document.querySelector('#sidebar');
|
|
||||||
|
|
||||||
// Toggle button
|
|
||||||
const triggers = document.querySelectorAll('[data-action="trigger-mobile-menu"]');
|
|
||||||
for (const trigger of [...triggers]) {
|
|
||||||
trigger.addEventListener('click', function () {
|
|
||||||
drawer.opened = true;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|||||||
@@ -208,19 +208,7 @@ describe('RocketLaunch preset', () => {
|
|||||||
' </div>',
|
' </div>',
|
||||||
' </footer>',
|
' </footer>',
|
||||||
'',
|
'',
|
||||||
' <script type="module">',
|
' <script type="module" src="/_merged_assets/scripts/init-navigation.js"></script>',
|
||||||
' import "@rocket/navigation/rocket-navigation.js";',
|
|
||||||
' import "@rocket/drawer/rocket-drawer.js";',
|
|
||||||
' const drawer = document.querySelector("#sidebar");',
|
|
||||||
'',
|
|
||||||
' // Toggle button',
|
|
||||||
` const triggers = document.querySelectorAll('[data-action="trigger-mobile-menu"]');`,
|
|
||||||
' for (const trigger of [...triggers]) {',
|
|
||||||
' trigger.addEventListener("click", function () {',
|
|
||||||
' drawer.opened = true;',
|
|
||||||
' });',
|
|
||||||
' }',
|
|
||||||
' </script>',
|
|
||||||
' </body>',
|
' </body>',
|
||||||
'</html>',
|
'</html>',
|
||||||
].join('\n'),
|
].join('\n'),
|
||||||
@@ -443,19 +431,7 @@ describe('RocketLaunch preset', () => {
|
|||||||
' </div>',
|
' </div>',
|
||||||
' </footer>',
|
' </footer>',
|
||||||
'',
|
'',
|
||||||
' <script type="module">',
|
' <script type="module" src="/_merged_assets/scripts/init-navigation.js"></script>',
|
||||||
' import "@rocket/navigation/rocket-navigation.js";',
|
|
||||||
' import "@rocket/drawer/rocket-drawer.js";',
|
|
||||||
' const drawer = document.querySelector("#sidebar");',
|
|
||||||
'',
|
|
||||||
' // Toggle button',
|
|
||||||
` const triggers = document.querySelectorAll('[data-action="trigger-mobile-menu"]');`,
|
|
||||||
' for (const trigger of [...triggers]) {',
|
|
||||||
' trigger.addEventListener("click", function () {',
|
|
||||||
' drawer.opened = true;',
|
|
||||||
' });',
|
|
||||||
' }',
|
|
||||||
' </script>',
|
|
||||||
' </body>',
|
' </body>',
|
||||||
'</html>',
|
'</html>',
|
||||||
].join('\n'),
|
].join('\n'),
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
"remark"
|
"remark"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mdjs/mdjs-preview": "^0.4.1",
|
"@mdjs/mdjs-preview": "^0.4.2",
|
||||||
"@mdjs/mdjs-story": "^0.2.0",
|
"@mdjs/mdjs-story": "^0.2.0",
|
||||||
"@types/unist": "^2.0.3",
|
"@types/unist": "^2.0.3",
|
||||||
"es-module-lexer": "^0.3.26",
|
"es-module-lexer": "^0.3.26",
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @rocket/search
|
# @rocket/search
|
||||||
|
|
||||||
|
## 0.3.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 81edf45: Reduce the amount of js files in the build by avoiding inline script tags
|
||||||
|
|
||||||
## 0.3.3
|
## 0.3.3
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rocket/search",
|
"name": "@rocket/search",
|
||||||
"version": "0.3.3",
|
"version": "0.3.4",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
import '@rocket/search/rocket-search.js';
|
||||||
@@ -4,6 +4,4 @@
|
|||||||
</svg>
|
</svg>
|
||||||
</rocket-search>
|
</rocket-search>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module" src="{{ '/_assets/scripts/define-rocket-search.js' | asset }}"></script>
|
||||||
import '@rocket/search/rocket-search.js';
|
|
||||||
</script>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user