Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_ohana
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_wcms_ohana
Commits
504a9ccc
Commit
504a9ccc
authored
1 year ago
by
Eric Bremner
Committed by
Kevin Paxman
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-6636: another try at php 81 fixes
parent
d991fed9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!157
Feature/istwcms 6636 ebremner ohana php81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build_ohana.sh
+3
-4
3 additions, 4 deletions
build_ohana.sh
php8fix-package_run1.json
+2
-2
2 additions, 2 deletions
php8fix-package_run1.json
with
5 additions
and
6 deletions
build_ohana.sh
+
3
−
4
View file @
504a9ccc
...
...
@@ -36,7 +36,6 @@ cd ohana
echo
"**************************************************************************************"
echo
"Installing correct npm version ..."
cp
../php8fix-package_run1.json ./package.json
file
=
".nvmrc"
version
=
$(
cat
"
$file
"
)
export
NVM_DIR
=
$HOME
/.nvm
;
...
...
@@ -73,8 +72,11 @@ echo "Running npm install ..."
if
[[
$os_option
==
1
]]
;
then
export
CPPFLAGS
=
"-DPNG_ARM_NEON_OPT=0"
fi
cp
../php8fix-package_run1.json ./package.json
npm
install
npx browserslist@latest
--update-db
cp
../php8fix-package.json ./package.json
npm
install
echo
"**************************************************************************************"
echo
"Done running npm install."
...
...
@@ -95,9 +97,6 @@ echo "**************************************************************************
echo
"Running npm run build ..."
export
NODE_OPTIONS
=
'--no-experimental-fetch'
npm run build
cp
../php8fix-package.json ./package.json
npm
install
npm run build
echo
"**************************************************************************************"
echo
"Done running npm run build."
...
...
This diff is collapsed.
Click to expand it.
php8fix-package_run1.json
+
2
−
2
View file @
504a9ccc
...
...
@@ -41,8 +41,8 @@
"devDependencies"
:
{
"@babel/core"
:
"7.23.3"
,
"@babel/preset-env"
:
"7.23.2"
,
"@pattern-lab/core"
:
"
5.17.0
"
,
"@pattern-lab/engine-twig-php"
:
"
5.17.0
"
,
"@pattern-lab/core"
:
"
6.0.1
"
,
"@pattern-lab/engine-twig-php"
:
"
6.0.1
"
,
"@pattern-lab/plugin-tab"
:
"6.0.0"
,
"@pattern-lab/uikit-workshop"
:
"6.0.3"
,
"browser-sync"
:
"2.29.3"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment