-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Migrate to NPM package manager (#16754)
- updated all yarn references to npm counterparts of the cli commands - removed yarn lock for package lock - update tools, scripts, builds to use npm closes https://jira.tools.sap/browse/CXSPA-1977
- Loading branch information
Showing
105 changed files
with
49,421 additions
and
17,856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM node:16 | ||
|
||
COPY package.json / | ||
COPY yarn.lock / | ||
COPY package-lock.json / | ||
|
||
RUN yarn | ||
RUN npm i | ||
|
||
COPY src/*.ts / | ||
COPY tsconfig.json / | ||
|
||
RUN ["yarn", "build"] | ||
RUN ["npm", "run", "build"] | ||
|
||
ENTRYPOINT ["node", "/index.js"] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM node:16 | ||
|
||
COPY package.json / | ||
COPY yarn.lock / | ||
COPY package-lock.json / | ||
|
||
RUN yarn | ||
RUN npm i | ||
|
||
COPY index.ts / | ||
COPY tsconfig.json / | ||
|
||
RUN ["yarn", "build"] | ||
RUN ["npm", "run", "build"] | ||
|
||
ENTRYPOINT ["node", "/index.js"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.