Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1174 commits
Select commit Hold shift + click to select a range
ed7a5ab
perlang - remove old coalesce strategy plugin
spacerockzero Jun 10, 2021
7b3de70
Update package.json and package-lock.json
tylergraf Jun 10, 2021
751c6fc
Bump version to 6.0.0-delta
tylergraf Jun 10, 2021
c554c3e
Update packages/react-scripts/package.json
redbugz Jun 11, 2021
cc6a778
per-locale cleanup.
tylergraf Jun 14, 2021
319af21
add gitignore for per-locale
tylergraf Jun 14, 2021
087e640
Set package version to 6 to get ready for release
tylergraf Jun 14, 2021
6b1d839
Add updated package-lock for release.
tylergraf Jun 14, 2021
008a644
Fix profiling configuration
redbugz Jun 30, 2021
08ce0c0
Merge pull request #302 from fs-webdev/profiling-fix
joeycozza Jun 30, 2021
e44d3a7
fix the issue with PWA where we pre-cache all languages and language-…
joeycozza Jul 6, 2021
be83168
charlie.11 with bumped eslint-config-frontie-react version
joeycozza Jul 6, 2021
0a88798
release v6 with pwa updates
joeycozza Jul 6, 2021
b2f07c6
Merge branch 'frontierMaster' into develop
joeycozza Jul 28, 2021
fdfa627
bump travis to use node 14
joeycozza Jul 28, 2021
8b5b539
add crossorigin to manifest link for geo redirect
redbugz Jul 30, 2021
6033adb
Merge branch 'develop' into geo-redirect
redbugz Jul 30, 2021
ad5dec4
Merge pull request #303 from fs-webdev/geo-redirect
joeycozza Jul 30, 2021
1533632
release of 6.0.1 (#304)
joeycozza Aug 4, 2021
f33cafd
trying an alpha version of eslint-config-frontier-react
joeycozza Aug 30, 2021
4c653a5
6.0.2 using a fixed eslint-config-frontier-react that will play nice …
joeycozza Aug 30, 2021
3854ba8
pinning to correct eslint-plugin-react version. this gets in the way …
joeycozza Aug 31, 2021
561a7cf
New approach to per-locale using i18next resorceToBackend
tylergraf Sep 14, 2021
1746b71
add geodata from snow
gmdayley Sep 15, 2021
37b7987
bump version
gmdayley Sep 15, 2021
7196f25
trying an alpha version of eslint-config-frontier-react
joeycozza Aug 30, 2021
4d6c125
6.0.2 using a fixed eslint-config-frontier-react that will play nice …
joeycozza Aug 30, 2021
7378ad2
pinning to correct eslint-plugin-react version. this gets in the way …
joeycozza Aug 31, 2021
7c28543
Merge pull request #306 from fs-webdev/add-geodata
joeycozza Sep 15, 2021
36773d6
Merge branch 'develop' of https://github.com/fs-webdev/create-react-a…
joeycozza Sep 15, 2021
f9688d3
Merge branch 'frontierMaster' into develop
joeycozza Sep 15, 2021
4025e4b
Merge pull request #307 from fs-webdev/develop
joeycozza Sep 15, 2021
a44b4c5
JSON.stringify geoData
gmdayley Sep 15, 2021
e104bae
remove quotes
gmdayley Sep 15, 2021
db21110
Merge branch 'develop' into add-geodata
gmdayley Sep 15, 2021
1ee7bbe
Merge pull request #308 from fs-webdev/add-geodata
joeycozza Sep 15, 2021
bada247
Merge branch 'develop' into frontierMaster
joeycozza Sep 15, 2021
314ad06
fix geodata in layout.ejs
gmdayley Sep 15, 2021
69c03f4
Merge branch 'develop' into add-geodata
joeycozza Sep 15, 2021
c40c6c8
Merge pull request #309 from fs-webdev/add-geodata
joeycozza Sep 15, 2021
b64b79f
Merge pull request #310 from fs-webdev/develop
joeycozza Sep 15, 2021
a068f00
Bump to 7.0.0
tylergraf Sep 16, 2021
e7e4ebe
rename geodata to geoData for consistency
redbugz Sep 16, 2021
4dbceba
Merge pull request #311 from fs-webdev/geodata-camel
joeycozza Sep 16, 2021
bf441ad
Merge branch 'develop' into frontierMaster
joeycozza Sep 16, 2021
b40eb2f
Add resize and intersection observer polyfills to the general polyfil…
marybeshaw Oct 6, 2021
4477ae9
Merge pull request #312 from fs-webdev/mary/addPolyfills
joeycozza Oct 12, 2021
23d89b2
version bump 6.1.0 to release polyfills
joeycozza Oct 13, 2021
16cf325
Merge branch 'develop' into frontierMaster
joeycozza Oct 13, 2021
a4c227e
add graphql-tag loader
EpicButterz Nov 9, 2021
9c84225
Add jest-transform-graphql to jest config
EpicButterz Nov 23, 2021
472afad
Merge pull request #313 from fs-webdev/graphql-loader
joeycozza Nov 29, 2021
0f70709
6.2.0-beta.0 - for testing out the graphql webpack changes
joeycozza Nov 29, 2021
1137315
Merge pull request #314 from fs-webdev/develop
joeycozza Nov 29, 2021
2ddfb30
release 6.2.0 with fix for react-error-overlay (#316)
redbugz Jan 5, 2022
bbe0d2b
merge with master
tylergraf Jan 6, 2022
e21d534
Add new package lock
tylergraf Jan 6, 2022
eb8a817
release 6.2.0 with fix for react-error-overlay (#316)
redbugz Jan 5, 2022
da19c8b
max chunk size from env var, and doing the 16 bit hash in filenames
joeycozza Feb 3, 2022
3939729
Merge pull request #317 from fs-webdev/maxSizeOfChunks
joeycozza Feb 9, 2022
3d1ef90
Merge branch 'frontierMaster' into develop
joeycozza Feb 9, 2022
0aa38d9
Merge pull request #318 from fs-webdev/develop
joeycozza Feb 9, 2022
0006ee4
setting the ignoreOrder flag for mini-css-extract-plugin since linari…
joeycozza Feb 17, 2022
13f237b
Merge pull request #319 from fs-webdev/develop
joeycozza Feb 25, 2022
c24be0d
Merge branch 'frontierMaster' into coalesce-frontierMaster
tylergraf Mar 4, 2022
f71b6ea
[per-locale] support typescript.
tylergraf Mar 7, 2022
e0004f1
make travis publish a pre-release.
tylergraf Mar 7, 2022
a757c16
fix: swap intersection-observer polyfill
Mar 17, 2022
f8f3141
Merge pull request #320 from fs-webdev/swap-intersection-polyfill
joeycozza Mar 17, 2022
a975bb2
Merge branch 'frontierMaster' into develop
joeycozza Mar 17, 2022
ac45b41
6.4.0-beta.0 release for different intersection-observer polyfill
joeycozza Mar 17, 2022
451c27d
Merge pull request #321 from fs-webdev/develop
joeycozza Mar 22, 2022
dc9e0f7
6.4.0 - newer polyfill and exlude all lang church logos in pwa
joeycozza Mar 22, 2022
17df9fb
Perlocale tweaks (#322)
redbugz Apr 22, 2022
a59b4e5
alias coalesced for tests
redbugz Apr 22, 2022
5a4cbfe
Merge branch 'frontierMaster' into coalesce-frontierMaster
joeycozza May 9, 2022
4b9de5f
[skip travis] travis.yml update git config to use https
joeycozza May 18, 2022
900ae94
Merge pull request #323 from fs-webdev/travisGitConfig
joeycozza May 20, 2022
ead923a
bumping to rc version
joeycozza May 20, 2022
9e13eed
Merge branch 'develop' into coalesce-frontierMaster
joeycozza May 20, 2022
3c9265d
Merge pull request #301 from fs-webdev/coalesce-frontierMaster
joeycozza Jun 14, 2022
bf4c6bf
bump version to 7.0.0
joeycozza Jun 14, 2022
96de846
Fix /coalesce-locales moduleNameMapper in jest tests.
tylergraf Jun 22, 2022
37d9f73
Merge pull request #324 from fs-webdev/coalese-locales-name-mapper
joeycozza Jun 22, 2022
9defc47
making sure to kill the process on sigint
joeycozza Jun 24, 2022
07a5b6d
package-lock update
joeycozza Jun 24, 2022
46557c8
debounce the coalesce-locale watch
joeycozza Jul 6, 2022
cd64ff2
Merge pull request #325 from fs-webdev/coalesceLocalesDebounce
joeycozza Jul 6, 2022
f0845cd
bumping eslint-config-frontier-react dep for npm 8
joeycozza Jul 7, 2022
cfbf486
Merge pull request #326 from fs-webdev/develop
joeycozza Jul 7, 2022
ea3e88a
Merge commit '19fa58d527ae74f2b6baa0867463eea1d290f9a5' into develop
joeycozza Jul 13, 2022
157b36a
merge upstream cra 5.
joeycozza Jul 13, 2022
37fdeb7
Merge branch 'develop' into frontierMaster
joeycozza Jul 13, 2022
7e5b0fa
incremental improvement, not quite working yet
joeycozza Jul 14, 2022
8c22c1b
now more babel-preset-react-app, comment out the aliases
joeycozza Jul 15, 2022
a09d5f2
Fix jsonpScriptSrc error by updating chunk retry plugin.
tylergraf Jul 17, 2022
8d4651d
Merge pull request #328 from fs-webdev/jsonp
joeycozza Jul 17, 2022
4afcf16
skip a certain webpack plugin if running in storybook
joeycozza Jul 29, 2022
ee2e0ab
parse env for client config, add to SERVER_DATA
gmdayley Aug 19, 2022
8a8f9e3
bump version
gmdayley Aug 19, 2022
a108baf
rename var, filename to clientAppConfig
gmdayley Aug 19, 2022
4671cc7
Merge pull request #329 from fs-webdev/ez-client-config
joeycozza Aug 20, 2022
207b9d2
Merge branch 'v7.x' into frontierMaster (clientAppConfig in ejs for z…
joeycozza Aug 22, 2022
75b96c4
logging, updated comments
joeycozza Aug 22, 2022
b670e9f
trying to get travis happy again
joeycozza Aug 25, 2022
67ddc49
package update
joeycozza Sep 12, 2022
01369f5
tweak travis yml to allow the next branch to publish
joeycozza Sep 12, 2022
a4218e5
trying to bump versions
joeycozza Sep 12, 2022
c7440e9
trying to fix some npm 8 oddities
joeycozza Sep 12, 2022
485ac2c
delete node_modules and package-lock before doing the final npm insta…
joeycozza Sep 29, 2022
6a87cc0
getting travis to rebuild
joeycozza Nov 4, 2022
9031dd8
try multiline yaml string and more logging
joeycozza Nov 4, 2022
ef4a0f7
try multiline yaml string
joeycozza Nov 4, 2022
c0adcbd
remove unneeded reinstall in fresh-cra-template in travis, more logs
joeycozza Nov 4, 2022
ef61061
more logging
joeycozza Nov 4, 2022
3882772
testing joey.1
joeycozza Nov 4, 2022
066333d
Merge pull request #331 from fs-webdev/next-joey
joeycozza Nov 8, 2022
e085dc6
splitchunks back in
joeycozza Nov 8, 2022
d367f7d
fix maxSize for splitChunks
joeycozza Nov 8, 2022
9211a5c
get next to actually publish
joeycozza Nov 8, 2022
2276c3a
capital T for TravisPrerelease publishing
joeycozza Nov 9, 2022
72f468f
only replace react-scripts version if the repo is actually create-rea…
joeycozza Nov 11, 2022
4def3ed
bumping/removing some deps
joeycozza Nov 14, 2022
4daf3ef
tweaking some deps again
joeycozza Nov 15, 2022
f7d6ce5
fixing json syntax
joeycozza Nov 15, 2022
8a81b15
8.0.0-rc
joeycozza Dec 2, 2022
60219cb
8.0.0-rc.1 removing logs
joeycozza Dec 13, 2022
7c3254d
8.0.0-rc.2 - fixing webpack to compile and hmr again
joeycozza Dec 16, 2022
96a56a4
restore dist behavior for npm start (#333)
redbugz Dec 29, 2022
bbc550b
8.0.0 release
joeycozza Jan 11, 2023
6e9e036
better error logging (frontier centered) message if unsupported jest …
joeycozza Jan 25, 2023
9652325
Merge pull request #332 from fs-webdev/dynatrace-envs
joeycozza Nov 22, 2022
fc0e32a
a few cleanups
redbugz Feb 10, 2023
72b5422
Merge branch 'frontierMaster' into sync-v7
redbugz Feb 10, 2023
91d01d1
update version to 8.0.1, cleanup logging
redbugz Feb 10, 2023
c3a663b
Merge pull request #334 from fs-webdev/sync-v7
joeycozza Feb 13, 2023
a9bcf06
allow mjs files to not be fully specified. fixing @react-spring type …
joeycozza Feb 24, 2023
7c0a03a
added comment and background to the changelog
joeycozza Feb 24, 2023
57c3fe4
adding "dir" to layout.ejs html element safely
joeycozza Mar 7, 2023
e79558d
Merge pull request #335 from fs-webdev/languageDirectionSupport
joeycozza Mar 17, 2023
833e5a5
disable `runtimeErrors` in webpack-dev-server
redbugz Mar 23, 2023
0d8deea
Merge pull request #336 from fs-webdev/disable-runtime-error-overlay
joeycozza Mar 23, 2023
80d1d00
[ReactScripts] Bust the cache with babel-plugin-istanbul for cypress …
tylergraf Apr 24, 2023
e429b8d
[react-scripts] Allow TS apps to use index.js files
FSVetaz May 4, 2023
21c0ff6
only depend on existence of tsconfig to set tsConfig
FSVetaz May 4, 2023
5b5d2ce
Merge pull request #338 from fs-webdev/jordi/ts-locales-col
joeycozza May 9, 2023
9f95bd6
Release 8.1.2 - add window.dtinfo.appName for DT (#339)
redbugz May 22, 2023
a2620ad
foundryUrls mapped into <link>s in layout.ejs
joeycozza Jun 8, 2023
c2f86da
Merge pull request #340 from fs-webdev/foundryUrls
joeycozza Jun 16, 2023
b35d3ef
updating a md file about absolute imports
joeycozza Aug 16, 2023
400e7f4
provide way to not request manifest.json
joeycozza Aug 23, 2023
7af62c5
pivot to auto existence check
joeycozza Aug 23, 2023
2868023
adding the typeof === undefined check for safety
joeycozza Aug 23, 2023
095d9ca
Merge pull request #343 from fs-webdev/manifestJsonIgnoring
joeycozza Aug 24, 2023
8f3c551
Reduce coalesceLocales noise (#344)
FSVetaz Oct 16, 2023
e3d415d
@fs/eslint-config-frontier-react to peerDep
FSVetaz Nov 1, 2023
4f7fcb9
Merge pull request #345 from fs-webdev/jordi/eslint-peer
joeycozza Nov 2, 2023
9c1c051
allow typescript 5 as optionalPeerDep in react-scripts
joeycozza Nov 8, 2023
4f7d0b8
Merge branch 'frontierMaster' into cypress
tylergraf Dec 4, 2023
8adb0df
Merge pull request #337 from fs-webdev/cypress
joeycozza Dec 4, 2023
d71521d
auto add --coverage if CI is set
joeycozza Feb 6, 2024
e9b87f6
Merge pull request #346 from fs-webdev/coverageForCI
joeycozza Feb 6, 2024
ad5004f
bump dependency-tree and glob for nested zion locale deps
joeycozza Feb 15, 2024
2d89698
remove the @next version for cra-template in the create fresh-cra-tem…
joeycozza Feb 16, 2024
bd7c7a4
Merge pull request #347 from fs-webdev/coalesceImprovement
joeycozza Feb 20, 2024
cbcd486
update the freshCraTemplateUpdate.sh script
joeycozza Mar 4, 2024
05578e1
dont fail build script when CI=true for eslint warnings
joeycozza Mar 13, 2024
ab03e7e
Merge pull request #348 from fs-webdev/dontFailEslintWarnings
joeycozza Mar 14, 2024
9511b79
fix coalesceLocales to handle undefined paths better
redbugz Apr 19, 2024
f9846b8
Merge pull request #349 from fs-webdev/fix-path-error
joeycozza Apr 19, 2024
c532e56
Release 8.5.4 - Fix WSL/Windows paths (#350)
redbugz May 20, 2024
0a3fae7
react-scripts: v8.5.5 - Fix proxy to work with Russian test user (#351)
johndaley-me Jun 4, 2024
6a15d52
Remove edge from Travis to clear up Ruby error (#352)
johndaley-me Jun 5, 2024
bce35a8
Move to edge and pin dpl_version
johndaley-me Jun 5, 2024
7ed4d0c
Merge pull request #353 from fs-webdev/fix-travis-finalfortoday
joeycozza Jun 5, 2024
7786edf
build step to replace stack version info
joeycozza Aug 6, 2024
20b6c1f
not use process.env anymore, since i couldnt typeof check it and stil…
joeycozza Aug 7, 2024
ced2496
update package-lock undo prettier in unchanged file
joeycozza Aug 9, 2024
799937b
undo prettier in unchanged file
joeycozza Aug 9, 2024
1e2434a
Merge pull request #355 from fs-webdev/stackVersionsBuildProcess
joeycozza Aug 9, 2024
50c5442
whitespace change to kick off build
joeycozza Aug 9, 2024
8a72056
Add simple webpack config and coalesce locales to be used for cypress…
tylergraf Aug 16, 2024
46bf902
just putting a note at the top of the purpose of the simplified files
joeycozza Aug 16, 2024
e8c1a6d
update changelog file
joeycozza Aug 16, 2024
e19f68c
Merge pull request #357 from fs-webdev/cypress
joeycozza Aug 16, 2024
da22466
include app's locales
tylergraf Aug 17, 2024
2dfbe12
Merge pull request #358 from fs-webdev/coalesceLocales
joeycozza Aug 19, 2024
02a21ef
updated package-lock
joeycozza Aug 20, 2024
356ecd7
Add fr-test
tylergraf Aug 30, 2024
609daa2
Merge pull request #359 from fs-webdev/fr-test
tylergraf Aug 30, 2024
2d3ab37
Fix fr-test script
tylergraf Sep 3, 2024
cdc9a4c
Merge pull request #360 from fs-webdev/fr-test
joeycozza Sep 4, 2024
e68ac5f
adding sessiong type to SERVER_DATA
nicknielsen86 Oct 2, 2024
cf20906
using already set isLoggedIn
nicknielsen86 Oct 2, 2024
2ca2388
updating changelog
nicknielsen86 Oct 4, 2024
7f34efa
Merge pull request #361 from fs-webdev/nick/set-session-type
joeycozza Oct 4, 2024
4a002da
Add retry chunk load for simple webpack
FSVetaz Oct 10, 2024
f57635b
Merge pull request #362 from fs-webdev/jordi/retrychunk
joeycozza Oct 21, 2024
5691a4f
Array.at polyfill
joeycozza Oct 23, 2024
50cbb32
Merge pull request #364 from fs-webdev/arrayAtPolyfill
joeycozza Oct 23, 2024
a26d865
Unsupported browser page (#356)
rileytb Oct 25, 2024
65bbe15
fix logic bug in unsupported browser header (#365)
redbugz Nov 1, 2024
7e38283
Update feature check config/tests for breaking features
rileytb Nov 11, 2024
cf91305
removing console log
rileytb Nov 12, 2024
efe11ec
Merge pull request #366 from fs-webdev/rileytb/outdated_browser_featu…
rileytb Nov 12, 2024
1986349
Version bump
rileytb Nov 12, 2024
61afd08
Merge branch 'frontierMaster' into rileytb/outdated_browser_feature_u…
rileytb Nov 12, 2024
f017872
Merge pull request #367 from fs-webdev/rileytb/outdated_browser_featu…
rileytb Nov 12, 2024
2648427
prevent private field feature check from just erroring out
rileytb Nov 15, 2024
d80ee08
Version bump
rileytb Nov 15, 2024
18526bb
Merge branch 'frontierMaster' into rileytb/outdated_browser_feature_u…
rileytb Nov 15, 2024
394332e
use browser-resolve for splitio imports in jest config
joeycozza Nov 15, 2024
3566e18
version bump and changelog
joeycozza Nov 15, 2024
fe25cc3
Merge pull request #369 from fs-webdev/handleSplitIoJest
joeycozza Nov 18, 2024
25c2896
Merge branch 'frontierMaster' into rileytb/outdated_browser_feature_u…
rileytb Nov 19, 2024
5e017e9
Updating comments in custom Modernizr tests
rileytb Nov 20, 2024
ffaab44
Merge pull request #368 from fs-webdev/rileytb/outdated_browser_featu…
rileytb Nov 20, 2024
0b6f8d8
basically no change, just to test stuff
joeycozza Nov 19, 2024
f1fddae
adding some proxies and pathFilter with langCodeUrl regex
joeycozza Nov 19, 2024
2669e23
version bump, changelog update
joeycozza Nov 19, 2024
c5ca497
remove errant word
joeycozza Nov 19, 2024
0e4491f
update http-proxy-middleware, and usage
joeycozza Nov 20, 2024
b91433b
Merge pull request #372 from fs-webdev/joeyTest
joeycozza Nov 20, 2024
f772be3
better error handling/logging for failed builds
joeycozza Dec 6, 2024
38f92c3
Merge pull request #374 from fs-webdev/betterErrorLogging
joeycozza Dec 6, 2024
58a4fab
Add flag to disable SERVER_DATA.isLoggedIn (#376)
nicknielsen86 Dec 31, 2024
a5e89e9
update proxy list with photos/apiHelper
joeycozza Jan 17, 2025
d90c99e
Merge pull request #377 from fs-webdev/updateProxyList
joeycozza Jan 17, 2025
006cabd
[Cypress] ignore .map files in node_modules for cypress webpack.
tylergraf Jan 30, 2025
47be467
raise memory size
tylergraf Jan 30, 2025
e33ac06
Revert "raise memory size"
tylergraf Jan 30, 2025
8f977a8
Merge pull request #378 from fs-webdev/cypress-ignore
joeycozza Jan 30, 2025
333447c
Add REACT_APP_INJECT_STYLES to allow injecting generated styles into …
rileytb Mar 11, 2025
99bf349
fixing a string change in cra-template blueprint
joeycozza Mar 11, 2025
2d3bafc
[@fs/react-scripts] Add colors for fr-test's jest tests
FSVetaz Mar 20, 2025
0020a5a
Merge pull request #381 from fs-webdev/jordi/colors
jsbalrog Mar 20, 2025
93d44c5
[@fs/react-scripts] Update merged report command
FSVetaz Mar 20, 2025
1168f48
Add support for emotion in cypress component tests
tylergraf Mar 20, 2025
887f392
Merge pull request #382 from fs-webdev/jordi/merge-coverage-report
jsbalrog Mar 20, 2025
f09dfdf
Merge branch 'frontierMaster' into cypress-emotion
tylergraf Mar 20, 2025
20181d3
Merge pull request #383 from fs-webdev/cypress-emotion
joeycozza Mar 20, 2025
8af0c97
Support TypeScript Cypress tests in a TypeScript app
FSVetaz Mar 25, 2025
473fddb
Merge pull request #384 from fs-webdev/jordi/ts-cypress
joeycozza Mar 25, 2025
319f8d6
Cypress support for svg images
tylergraf Mar 26, 2025
6db53ba
Merge pull request #385 from fs-webdev/cypress-svg
naleo Mar 27, 2025
6f8c933
add @emotion/babel-plugin for cypress tests in apps to use
joeycozza Apr 14, 2025
b883a3d
fix version
joeycozza Apr 14, 2025
3a72faf
Read logoHref from snow res.locals for apple-touch-icon for PWAs
jsbalrog May 1, 2025
d14d867
Merge pull request #386 from fs-webdev/jenkinset/frontier-1197
jsbalrog May 6, 2025
f78e7ff
add optional override to "title" in layout.ejs
caldogwoods May 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .github/workflows/build.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/lint.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ yarn-debug.log*
yarn-error.log*
/.changelog
.npm/
packages/react-scripts/layout/modernizr.js
68 changes: 68 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
language: node_js
node_js:
- "16"
before_install:
- git config --global url."https://git@".insteadOf git://
- echo -e "machine github.com\n login $CI_USER_TOKEN" > ~/.netrc
- echo "//familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/:_authToken=${NPM_PUBLISH_TOKEN}" >> ~/.npmrc
- echo "@fs:registry=https://familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/" >> ~/.npmrc
# because this is a weird monorepo and we cd into and out of directories, this is what worked for travis to publish
- echo "//familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/:_authToken=${NPM_PUBLISH_TOKEN}" >> packages/react-scripts/.npmrc
- echo "@fs:registry=https://familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/" >> packages/react-scripts/.npmrc
install:
- npm install
- cd packages/react-scripts
- npm install
- cd ../../
script:
- npm test

- node publishPrReleaseAndCreateFreshCraTemplate.js

# ${HOME}/tmp/fresh-cra-template was created in script above
- cd ${HOME}/tmp/fresh-cra-template

# this is necessary so we can do some additional npm installs in the freshCraTemplateUpdate.sh script
- echo "//familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/:_authToken=${NPM_PUBLISH_TOKEN}" >> ${HOME}/tmp/fresh-cra-template/.npmrc
- echo "@fs:registry=https://familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/" >> ${HOME}/tmp/fresh-cra-template/.npmrc

- CI=true npm test

# Building the app so freshCraTemplateUpdate.sh can publish it
- npm run build
before_deploy: "cd ${TRAVIS_BUILD_DIR}/packages/react-scripts"
deploy:
- provider: script
edge: true
cleanup: false
dpl_version: 2.0.3.beta.4
script: npm run fs-publish -- --allow-earlier-version
on:
branch: frontierMaster
- provider: script
edge: true
cleanup: false
dpl_version: 2.0.3.beta.4
script: npm run fs-publish -- --allow-earlier-version
on:
branch: v7.x
- provider: script
edge: true
cleanup: false
dpl_version: 2.0.3.beta.4
script: npm run fs-publish -- --allow-earlier-version
on:
branch: next
- provider: script
edge: true
cleanup: false
dpl_version: 2.0.3.beta.4
script: cd ${TRAVIS_BUILD_DIR} && ./freshCraTemplateUpdate.sh
on:
branch: frontierMaster
# This tells travis to not build when the branch is master. This is important to have on our master
# branch as well because anytime we merge upstream changes from facebook, travis builds their whole matrix of 24 different builds.
# We do NOT need or want that to occur. Please leave this branches.except here, even on the master branch
branches:
except:
- master
Loading