@jahia/cypress 3.19.2 → 3.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/env.Dockerfile +6 -4
  2. package/package.json +3 -3
package/env.Dockerfile CHANGED
@@ -4,7 +4,9 @@ ARG MAVEN_VER="3.8.1"
4
4
  ARG MAVEN_BASE_URL="https://archive.apache.org/dist/maven/maven-3"
5
5
  ARG YARN_VERSION="1.22.19"
6
6
 
7
- RUN apt-get update && apt-get install -y jq curl
7
+ RUN apt-get update && apt-get install -y jq curl ; \
8
+ npm -g install corepack ; \
9
+ corepack enable
8
10
 
9
11
  RUN adduser --disabled-password jahians
10
12
 
@@ -16,12 +18,12 @@ COPY --chown=jahians:jahians package.json yarn.lock /home/jahians/
16
18
  RUN mkdir -p /home/jahians/run-artifacts /home/jahians/results /home/jahians/cypress/plugins
17
19
 
18
20
  #CI=true reduces the verbosity of the installation logs
19
- RUN CI=true yarn set version ${YARN_VERSION} ; \
20
- yarn install
21
+ RUN CI=true yarn set version ${YARN_VERSION} ;
21
22
 
22
23
  COPY --chown=jahians:jahians . /home/jahians
23
24
 
24
- RUN CI=true /home/jahians/node_modules/.bin/cypress install
25
+ RUN CI=true yarn install ; \
26
+ /home/jahians/node_modules/.bin/cypress install
25
27
 
26
28
  RUN mkdir -p .m2; cp maven.settings.xml .m2/settings.xml; exit 0
27
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jahia/cypress",
3
- "version": "3.19.2",
3
+ "version": "3.19.4",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "lint": "eslint src -c .eslintrc.json --ext .ts"
@@ -8,8 +8,8 @@
8
8
  "bin": {
9
9
  "ci.build": "./ci.build.sh",
10
10
  "ci.startup": "./ci.startup.sh",
11
- "env.debug": "./env.debug.sh",
12
- "env.run": "./env.run.sh"
11
+ "env.run": "./env.run.sh",
12
+ "env.debug": "./env.debug.sh"
13
13
  },
14
14
  "main": "dist/index.js",
15
15
  "types": "dist/index.d.ts",