Skip to content

Commit d4f345e

Browse files
authoredNov 2, 2023
Move files out of lib/ (#45506)
1 parent bea0299 commit d4f345e

File tree

155 files changed

+186
-184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+186
-184
lines changed
 

‎Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ RUN npm prune --production
4545
FROM all_deps as builder
4646

4747
COPY components ./components
48-
COPY lib ./lib
4948
COPY src ./src
5049
# The star is because it's an optional directory
5150
COPY .remotejson-cache* ./.remotejson-cache
@@ -88,7 +87,6 @@ ENV BUILD_SHA=$BUILD_SHA
8887
COPY --chown=node:node package.json ./
8988
COPY --chown=node:node assets ./assets
9089
COPY --chown=node:node content ./content
91-
COPY --chown=node:node lib ./lib
9290
COPY --chown=node:node src ./src
9391
COPY --chown=node:node .remotejson-cache* ./.remotejson-cache
9492
COPY --chown=node:node middleware ./middleware
@@ -107,7 +105,7 @@ CMD ["node", "server.js"]
107105
FROM preview as production
108106

109107
# Override what was set for previews
110-
# Make this match the default of `Object.keys(languages)` in lib/languages.js
108+
# Make this match the default of `Object.keys(languages)` in src/languages/lib/languages.js
111109
ENV ENABLED_LANGUAGES "en,zh,es,pt,ru,ja,fr,de,ko"
112110

113111
# Copy in all translations

‎middleware/block-robots.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { productMap } from '../lib/all-products.js'
1+
import { productMap } from '#src/products/lib/all-products.js'
22
import { deprecated } from '#src/versions/lib/enterprise-server-releases.js'
33

44
const pathRegExps = [

0 commit comments

Comments
 (0)