From d53902bfc9e20e42a324835b3abcdc2664369968 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Mon, 22 Jul 2019 11:29:47 -0400 Subject: [PATCH 01/20] setting up package.json to fork, adding in babel plugin --- packages/react-scripts/config/webpack.config.js | 8 ++++++++ packages/react-scripts/package.json | 11 ++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/packages/react-scripts/config/webpack.config.js b/packages/react-scripts/config/webpack.config.js index 03fd965370a..87cc65337e9 100644 --- a/packages/react-scripts/config/webpack.config.js +++ b/packages/react-scripts/config/webpack.config.js @@ -416,6 +416,14 @@ module.exports = function(webpackEnv) { }, }, ], + // START: EVERLONG CHANGES + [ + require.resolve('babel-plugin-styled-components'), + { + fileName: false, + }, + ], + // END: EVERLONG CHANGES ], // This is a feature of `babel-loader` for webpack (not Babel itself). // It enables caching results in ./node_modules/.cache/babel-loader/ diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 3586204650a..9938ddbea56 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -1,10 +1,10 @@ { - "name": "react-scripts", - "version": "3.0.1", - "description": "Configuration and scripts for Create React App.", + "name": "everlong-react-scripts", + "version": "0.1.0", + "description": "Everlong configuration and scripts for Create React App.", "repository": { "type": "git", - "url": "https://github.com/facebook/create-react-app.git", + "url": "git@github.com:EverlongProject/create-react-app.git", "directory": "packages/react-scripts" }, "license": "MIT", @@ -12,7 +12,7 @@ "node": ">=8.10" }, "bugs": { - "url": "https://github.com/facebook/create-react-app/issues" + "url": "git@github.com:EverlongProject/create-react-app/issues" }, "files": [ "bin", @@ -32,6 +32,7 @@ "@svgr/webpack": "4.3.1", "@typescript-eslint/eslint-plugin": "1.10.2", "@typescript-eslint/parser": "1.10.2", + "babel-plugin-styled-components": "1.10.6", "babel-eslint": "10.0.1", "babel-jest": "^24.8.0", "babel-loader": "8.0.5", From 5384c01798343c567befd4d25e6217d3784b0f7b Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Mon, 22 Jul 2019 18:46:14 -0400 Subject: [PATCH 02/20] adding babel plugin styled components --- packages/react-scripts/config/webpack.config.js | 10 ++++++++++ packages/react-scripts/package.json | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/react-scripts/config/webpack.config.js b/packages/react-scripts/config/webpack.config.js index 87cc65337e9..2af02bebdc7 100644 --- a/packages/react-scripts/config/webpack.config.js +++ b/packages/react-scripts/config/webpack.config.js @@ -417,10 +417,20 @@ module.exports = function(webpackEnv) { }, ], // START: EVERLONG CHANGES + [ + require.resolve( + '@quickbaseoss/babel-plugin-styled-components-css-namespace' + ), + { + cssNamespace: '.lw', + }, + ], [ require.resolve('babel-plugin-styled-components'), { fileName: false, + preprocess: false, + displayName: true, }, ], // END: EVERLONG CHANGES diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 9938ddbea56..a1ddeb6f02a 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -1,5 +1,5 @@ { - "name": "everlong-react-scripts", + "name": "@everlong/react-scripts", "version": "0.1.0", "description": "Everlong configuration and scripts for Create React App.", "repository": { @@ -33,6 +33,7 @@ "@typescript-eslint/eslint-plugin": "1.10.2", "@typescript-eslint/parser": "1.10.2", "babel-plugin-styled-components": "1.10.6", + "babel-plugin-styled-components-css-namespace": "1.0.0-rc3", "babel-eslint": "10.0.1", "babel-jest": "^24.8.0", "babel-loader": "8.0.5", From 9367ae2d7a4d28ad6619b6f121e5c8904b21a861 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Wed, 24 Jul 2019 15:55:44 -0400 Subject: [PATCH 03/20] babel plugin styled components only --- packages/react-scripts/config/webpack.config.js | 8 -------- packages/react-scripts/package.json | 1 - 2 files changed, 9 deletions(-) diff --git a/packages/react-scripts/config/webpack.config.js b/packages/react-scripts/config/webpack.config.js index 2af02bebdc7..4d22fae24bc 100644 --- a/packages/react-scripts/config/webpack.config.js +++ b/packages/react-scripts/config/webpack.config.js @@ -417,14 +417,6 @@ module.exports = function(webpackEnv) { }, ], // START: EVERLONG CHANGES - [ - require.resolve( - '@quickbaseoss/babel-plugin-styled-components-css-namespace' - ), - { - cssNamespace: '.lw', - }, - ], [ require.resolve('babel-plugin-styled-components'), { diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index a1ddeb6f02a..8307bd1a5c2 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -33,7 +33,6 @@ "@typescript-eslint/eslint-plugin": "1.10.2", "@typescript-eslint/parser": "1.10.2", "babel-plugin-styled-components": "1.10.6", - "babel-plugin-styled-components-css-namespace": "1.0.0-rc3", "babel-eslint": "10.0.1", "babel-jest": "^24.8.0", "babel-loader": "8.0.5", From 71cd54a89ea959d4e438fe0e7475dcbf173adcb4 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Wed, 24 Jul 2019 16:03:43 -0400 Subject: [PATCH 04/20] adding npm module name for league-web --- packages/react-scripts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 8307bd1a5c2..1a4fad18bdf 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -1,10 +1,10 @@ { - "name": "@everlong/react-scripts", + "name": "@everlong-league-web/react-scripts", "version": "0.1.0", "description": "Everlong configuration and scripts for Create React App.", "repository": { "type": "git", - "url": "git@github.com:EverlongProject/create-react-app.git", + "url": "git@github.com:EverlongProject/create-react-app.git#league-web1.0", "directory": "packages/react-scripts" }, "license": "MIT", From 47d77ae96c85d07213096b8d47880e3b69db7209 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Wed, 24 Jul 2019 16:26:27 -0400 Subject: [PATCH 05/20] changing org name to publish --- packages/react-scripts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 1a4fad18bdf..569c070e4c9 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -1,10 +1,10 @@ { - "name": "@everlong-league-web/react-scripts", + "name": "@everlong/league-react-scripts", "version": "0.1.0", "description": "Everlong configuration and scripts for Create React App.", "repository": { "type": "git", - "url": "git@github.com:EverlongProject/create-react-app.git#league-web1.0", + "url": "git@github.com:EverlongProject/create-react-app.git#league-web1.2", "directory": "packages/react-scripts" }, "license": "MIT", From c84566bb6c457cadfc8c12d71e2aad576f67466e Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Thu, 25 Jul 2019 09:20:00 -0400 Subject: [PATCH 06/20] adding private is false flag to publish --- packages/react-scripts/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 569c070e4c9..d965bba3e9a 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -7,6 +7,7 @@ "url": "git@github.com:EverlongProject/create-react-app.git#league-web1.2", "directory": "packages/react-scripts" }, + "private": false, "license": "MIT", "engines": { "node": ">=8.10" From 171eb1e77dd3b9d13553e480a2c8b5312906d682 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Thu, 25 Jul 2019 09:20:25 -0400 Subject: [PATCH 07/20] changing tag --- packages/react-scripts/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index d965bba3e9a..c656dc1ec87 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -4,7 +4,7 @@ "description": "Everlong configuration and scripts for Create React App.", "repository": { "type": "git", - "url": "git@github.com:EverlongProject/create-react-app.git#league-web1.2", + "url": "git@github.com:EverlongProject/create-react-app.git#league-web1.3", "directory": "packages/react-scripts" }, "private": false, From ae7c2689e760b44b48316ba46e3afe7ea5467def Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Thu, 25 Jul 2019 10:12:30 -0400 Subject: [PATCH 08/20] removing the tag from the repository url --- packages/react-scripts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index c656dc1ec87..30ee996cd19 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -1,10 +1,10 @@ { "name": "@everlong/league-react-scripts", - "version": "0.1.0", + "version": "0.1.1", "description": "Everlong configuration and scripts for Create React App.", "repository": { "type": "git", - "url": "git@github.com:EverlongProject/create-react-app.git#league-web1.3", + "url": "git@github.com:EverlongProject/create-react-app.git", "directory": "packages/react-scripts" }, "private": false, From fd91ca7a765b0d834b2d741ff191d5deef6e4e00 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Fri, 26 Jul 2019 13:00:45 -0400 Subject: [PATCH 09/20] changing semver to be in line with actual react-scripts --- packages/react-scripts/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 30ee996cd19..d8daeca026e 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@everlong/league-react-scripts", - "version": "0.1.1", + "version": "3.0.1", "description": "Everlong configuration and scripts for Create React App.", "repository": { "type": "git", From a25a08e7fbb1402745019dd5d91fa813b46e05ff Mon Sep 17 00:00:00 2001 From: Ned Schwartz Date: Fri, 7 Feb 2020 11:24:59 -0500 Subject: [PATCH 10/20] Adds hack to include Object.entries pollyfill for all builds IE11 was failing in dev mode due to missing Object.entries polyfill in `react-erro-overlay` :( https://github.com/facebook/create-react-app/issues/8405#issuecomment-582388530 --- packages/react-scripts/config/webpack.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/react-scripts/config/webpack.config.js b/packages/react-scripts/config/webpack.config.js index cf5aca711d2..2320a14e8f4 100644 --- a/packages/react-scripts/config/webpack.config.js +++ b/packages/react-scripts/config/webpack.config.js @@ -158,6 +158,13 @@ module.exports = function(webpackEnv) { // These are the "entry points" to our application. // This means they will be the "root" imports that are included in JS bundle. entry: [ + // START: EVERLONG CHANGES - FRONTEND-99 + // this is hopefully a temporary fix for + // https://github.com/facebook/create-react-app/issues/8405 + // from this comment:https://github.com/facebook/create-react-app/issues/8405#issuecomment-582388530 + './node_modules/core-js/es/object/entries.js', + // END: EVERLONG CHANGES - FRONTEND-99 + // Include an alternative client for WebpackDevServer. A client's job is to // connect to WebpackDevServer by a socket and get notified about changes. // When you save a file, the client will either apply hot updates (in case From 8d3eb4c44e59f537dcec4888ed4ce3f051e7638c Mon Sep 17 00:00:00 2001 From: Ned Schwartz Date: Fri, 7 Feb 2020 11:52:52 -0500 Subject: [PATCH 11/20] update pkg.version to 3.3.1-pr9 to match this PR number --- packages/react-scripts/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 5aa402b0c16..e68480d321f 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@everlong/league-react-scripts", - "version": "3.3.1", + "version": "3.3.1-pr9", "description": "Everlong configuration and scripts for Create React App.", "repository": { "type": "git", From 568f38ec54e67a08d2d78d2bdd3d41216714327c Mon Sep 17 00:00:00 2001 From: Stefan Kramreither Date: Fri, 28 Feb 2020 11:48:21 -0500 Subject: [PATCH 12/20] Removed the fix in webpack config for IE11 --- packages/react-scripts/config/webpack.config.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/react-scripts/config/webpack.config.js b/packages/react-scripts/config/webpack.config.js index f3f3cc10961..e1f1f79eacd 100644 --- a/packages/react-scripts/config/webpack.config.js +++ b/packages/react-scripts/config/webpack.config.js @@ -149,13 +149,6 @@ module.exports = function(webpackEnv) { // These are the "entry points" to our application. // This means they will be the "root" imports that are included in JS bundle. entry: [ - // START: EVERLONG CHANGES - FRONTEND-99 - // this is hopefully a temporary fix for - // https://github.com/facebook/create-react-app/issues/8405 - // from this comment:https://github.com/facebook/create-react-app/issues/8405#issuecomment-582388530 - './node_modules/core-js/es/object/entries.js', - // END: EVERLONG CHANGES - FRONTEND-99 - // Include an alternative client for WebpackDevServer. A client's job is to // connect to WebpackDevServer by a socket and get notified about changes. // When you save a file, the client will either apply hot updates (in case From d513cffd34b8dd05718badb3e2b52323be0fc208 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Wed, 18 Mar 2020 10:52:51 -0400 Subject: [PATCH 13/20] circle config --- .circleci/config.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000000..5ed990cff82 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,38 @@ +defaults: &defaults + docker: + - image: circleci/node:10.16 + +aliases: + - &restore_npm + restore_cache: + keys: + - cra-npm-{{ checksum "yarn.lock" }} + - &save_npm + save_cache: + paths: + - ./node_modules + - ./packages/*/node_modules + key: genesis-npm-{{ checksum "yarn.lock" }} + - &yarn_install + run: yarn install --frozen-lockfile + +version: 2.1 + publish-package: + <<: *defaults + steps: + - checkout + - *restore_npm + - *yarn_install + - *save_npm + - run: yarn publish-package + +workflows: + version: 2.1 + publish_to_private_registry: + jobs: + - publish-package: + filters: + branches: + ignore: /.*/ + tags: + only: /^v\d+\.\d+\.\d+(\.[a-zA-Z]+)?/ \ No newline at end of file From 006ae460acd5899061566fae51eb10a6b5f4db40 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Thu, 9 Apr 2020 14:24:05 -0400 Subject: [PATCH 14/20] trying this a third time --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5ed990cff82..939cf6d1819 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,7 @@ aliases: run: yarn install --frozen-lockfile version: 2.1 +jobs: publish-package: <<: *defaults steps: From 9e6fa97652e74bfa2d3ace8636d304a7b594d8e8 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Mon, 13 Apr 2020 12:05:47 -0400 Subject: [PATCH 15/20] adding yarn publish command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 92a9291ecb3..dd1ed61339f 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "alex": "alex .", "test": "cd packages/react-scripts && node bin/react-scripts.js test", "format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'", - "compile:lockfile": "node tasks/compile-lockfile.js" + "compile:lockfile": "node tasks/compile-lockfile.js", + "publish-package": "echo $GOOGLE_AUTH_B64 | base64 --decode > .google_creds && GOOGLE_APPLICATION_CREDENTIALS=.google_creds npx google-artifactregistry-auth .npmrc && rm -f .google_creds && yarn publish" }, "devDependencies": { "@testing-library/jest-dom": "^4.2.0", From 7ee712913d78af00aab1a576b370347f3a040b51 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Mon, 13 Apr 2020 14:32:40 -0400 Subject: [PATCH 16/20] using cat --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dd1ed61339f..bbdcf319aad 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "test": "cd packages/react-scripts && node bin/react-scripts.js test", "format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'", "compile:lockfile": "node tasks/compile-lockfile.js", - "publish-package": "echo $GOOGLE_AUTH_B64 | base64 --decode > .google_creds && GOOGLE_APPLICATION_CREDENTIALS=.google_creds npx google-artifactregistry-auth .npmrc && rm -f .google_creds && yarn publish" + "publish-package": "echo $GOOGLE_AUTH_B64 | base64 --decode > .google_creds && GOOGLE_APPLICATION_CREDENTIALS=$(cat .google_creds) npx google-artifactregistry-auth .npmrc && rm -f .google_creds && yarn publish" }, "devDependencies": { "@testing-library/jest-dom": "^4.2.0", From 03301c19d9a0bead83544e588a471e105faddc3c Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Mon, 13 Apr 2020 14:57:46 -0400 Subject: [PATCH 17/20] changing variable back, it should be the file path --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bbdcf319aad..dd1ed61339f 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "test": "cd packages/react-scripts && node bin/react-scripts.js test", "format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'", "compile:lockfile": "node tasks/compile-lockfile.js", - "publish-package": "echo $GOOGLE_AUTH_B64 | base64 --decode > .google_creds && GOOGLE_APPLICATION_CREDENTIALS=$(cat .google_creds) npx google-artifactregistry-auth .npmrc && rm -f .google_creds && yarn publish" + "publish-package": "echo $GOOGLE_AUTH_B64 | base64 --decode > .google_creds && GOOGLE_APPLICATION_CREDENTIALS=.google_creds npx google-artifactregistry-auth .npmrc && rm -f .google_creds && yarn publish" }, "devDependencies": { "@testing-library/jest-dom": "^4.2.0", From acf227fbc5a5440da0e5bf914025a5d2771648d4 Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Mon, 13 Apr 2020 16:46:12 -0400 Subject: [PATCH 18/20] adding npmrc --- .npmrc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000000..203f1b133b3 --- /dev/null +++ b/.npmrc @@ -0,0 +1,5 @@ +@everlong:registry=https://us-central1-npm.pkg.dev/uplifted-triode-608/npm/ +//us-central1-npm.pkg.dev/uplifted-triode-608/npm/:_password="" +//us-central1-npm.pkg.dev/uplifted-triode-608/npm/:username=oauth2accesstoken +//us-central1-npm.pkg.dev/uplifted-triode-608/npm/:email=not.valid@email.com +//us-central1-npm.pkg.dev/uplifted-triode-608/npm/:always-auth=true \ No newline at end of file From 99c942c8e4782f76813a5ebb8d0e280db931889c Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Mon, 13 Apr 2020 16:55:34 -0400 Subject: [PATCH 19/20] publishing workspace --- package.json | 2 +- packages/react-scripts/package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dd1ed61339f..6f083023068 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "test": "cd packages/react-scripts && node bin/react-scripts.js test", "format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'", "compile:lockfile": "node tasks/compile-lockfile.js", - "publish-package": "echo $GOOGLE_AUTH_B64 | base64 --decode > .google_creds && GOOGLE_APPLICATION_CREDENTIALS=.google_creds npx google-artifactregistry-auth .npmrc && rm -f .google_creds && yarn publish" + "publish-package": "yarn workspace @everlong/league-react-scripts publish-package" }, "devDependencies": { "@testing-library/jest-dom": "^4.2.0", diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index fbca9c5d07b..5dfa75954ef 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -24,6 +24,9 @@ "template-typescript", "utils" ], + "scripts": { + "publish-package": "echo $GOOGLE_AUTH_B64 | base64 --decode > .google_creds && GOOGLE_APPLICATION_CREDENTIALS=.google_creds npx google-artifactregistry-auth .npmrc && rm -f .google_creds && yarn publish" + }, "bin": { "react-scripts": "./bin/react-scripts.js" }, From 3e4df9a763126e13acc7cfd0b95211d6e54eff4e Mon Sep 17 00:00:00 2001 From: Nicole Chung Date: Mon, 13 Apr 2020 17:02:38 -0400 Subject: [PATCH 20/20] moving npmrc --- .npmrc => packages/react-scripts/.npmrc | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .npmrc => packages/react-scripts/.npmrc (100%) diff --git a/.npmrc b/packages/react-scripts/.npmrc similarity index 100% rename from .npmrc rename to packages/react-scripts/.npmrc