Skip to content

Commit 41e8011

Browse files
committed
chore: reenable website deploys by updating rocket to latest
1 parent 96c7347 commit 41e8011

File tree

7 files changed

+118
-373
lines changed

7 files changed

+118
-373
lines changed

Diff for: .eleventyignore

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
node_modules/**
2+
/docs/_assets
3+
/docs/_includes
4+
/docs/_data
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: package.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
},
3737
"dependencies": {
3838
"@rocket/blog": "^0.3.0",
39-
"@rocket/cli": "^0.5.0",
40-
"@rocket/launch": "^0.4.0",
39+
"@rocket/cli": "^0.8.2",
40+
"@rocket/launch": "^0.5.0",
4141
"@rocket/search": "^0.3.0"
4242
},
4343
"devDependencies": {
@@ -69,6 +69,11 @@
6969
"ts-node": "^9.1.1",
7070
"typescript": "4.1.3"
7171
},
72+
"resolutions": {
73+
"@mdjs/core": "^0.7.2",
74+
"@mdjs/mdjs-preview": "^0.4.2",
75+
"@mdjs/mdjs-story": "^0.2.0"
76+
},
7277
"eslintConfig": {
7378
"parser": "@typescript-eslint/parser",
7479
"plugins": [

Diff for: rocket.config.mjs

+1-8
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,9 @@ import { rocketLaunch } from '@rocket/launch';
22
import { rocketBlog } from '@rocket/blog';
33
import { rocketSearch } from '@rocket/search';
44
import { absoluteBaseUrlNetlify } from '@rocket/core/helpers';
5-
import { adjustPluginOptions } from 'plugins-manager';
6-
import path from 'path';
7-
8-
const serviceWorkerPath = path.resolve('./_site/sw.js');
95

106
export default {
117
presets: [rocketLaunch(), rocketBlog(), rocketSearch()],
128
absoluteBaseUrl: absoluteBaseUrlNetlify('http://localhost:8080'),
13-
setupBuildPlugins: [
14-
adjustPluginOptions('workbox', { swDest: serviceWorkerPath }),
15-
adjustPluginOptions('html', { serviceWorkerPath }),
16-
],
9+
serviceWorkerName: 'sw.js',
1710
};

0 commit comments

Comments
 (0)