@snapdragonsnursery/react-components 1.0.11 → 1.1.0

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.
package/package.json CHANGED
@@ -1,10 +1,28 @@
1
1
  {
2
2
  "name": "@snapdragonsnursery/react-components",
3
- "version": "1.0.11",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
7
+ "test": "echo \"No tests specified - skipping\"",
8
+ "version:patch": "npm version patch",
9
+ "version:minor": "npm version minor",
10
+ "version:major": "npm version major",
11
+ "version:prepatch": "npm version prepatch",
12
+ "version:preminor": "npm version preminor",
13
+ "version:premajor": "npm version premajor",
14
+ "version:prerelease": "npm version prerelease",
15
+ "publish:patch": "npm run version:patch && npm publish",
16
+ "publish:minor": "npm run version:minor && npm publish",
17
+ "publish:major": "npm run version:major && npm publish",
18
+ "publish:prepatch": "npm run version:prepatch && npm publish --tag beta",
19
+ "publish:preminor": "npm run version:preminor && npm publish --tag beta",
20
+ "publish:premajor": "npm run version:premajor && npm publish --tag beta",
21
+ "publish:prerelease": "npm run version:prerelease && npm publish --tag beta",
22
+ "release": "node scripts/release.js",
23
+ "release:patch": "node scripts/release.js patch",
24
+ "release:minor": "node scripts/release.js minor",
25
+ "release:major": "node scripts/release.js major"
8
26
  },
9
27
  "repository": {
10
28
  "type": "git",
@@ -159,8 +159,8 @@ const ChildSearchModal = ({
159
159
  // Make API call
160
160
  const apiResponse = await fetch(
161
161
  `${
162
- process.env.REACT_APP_API_BASE_URL ||
163
- "https://your-function-app.azurewebsites.net"
162
+ process.env.VITE_COMMON_API_BASE_URL ||
163
+ "https://snaps-common-api.azurewebsites.net"
164
164
  }/api/search-children?${params}`,
165
165
  {
166
166
  headers: {