Skip to content

Commit bf1eae6

Browse files
committed
NPM scripts: drop submodule scripts
1 parent d55c8ea commit bf1eae6

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"build:production": "cd userguide && npm run build:production",
55
"build": "cd userguide && npm run build",
66
"install": "cd userguide && npm install",
7-
"serve": "cd userguide && npm run serve",
8-
"submodule:get": "git submodule update --init --recursive --depth 1",
9-
"submodule:update": "git submodule update --remote --recursive --depth 1"
7+
"serve": "cd userguide && npm run serve"
108
},
119
"devDependencies": {
1210
"@fortawesome/fontawesome-free": "^5.15.4",

userguide/package.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,7 @@
55
"build:preview": "hugo --cleanDestinationDir -e dev -DFE --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\" --themesDir ../..",
66
"build:production": "hugo --cleanDestinationDir --minify --themesDir ../..",
77
"build": "npm run _build",
8-
"prebuild:preview": "npm run submodule:get",
9-
"prebuild:production": "npm run submodule:get",
10-
"prebuild": "npm run submodule:get",
11-
"preinstall": "npm run submodule:get",
12-
"preserve": "npm run submodule:get",
13-
"serve": "npm run _serve",
14-
"submodule:get": "cd .. && npm run submodule:get",
15-
"submodule:update": "cd .. && npm run submodule:update"
8+
"serve": "npm run _serve"
169
},
1710
"devDependencies": {
1811
"autoprefixer": "^9.5.0",

0 commit comments

Comments
 (0)