@studyportals/cors 2.2.0 → 2.2.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,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studyportals/cors",
|
|
3
|
-
"version": "2.2.0",
|
|
3
|
+
"version": "2.2.1-0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "mocha test/**/*.test.ts",
|
|
8
8
|
"test:watch": "mocha -w --reporter min test/**/*.test.ts",
|
|
9
|
-
"deploy-patch": "npm version patch && npm run deploy",
|
|
10
|
-
"deploy-minor": "npm version minor && npm run deploy",
|
|
11
|
-
"deploy-major": "npm version major && npm run deploy",
|
|
9
|
+
"deploy-patch": "npm version patch && npm run deploy && npm publish bin",
|
|
10
|
+
"deploy-minor": "npm version minor && npm run deploy && npm publish bin",
|
|
11
|
+
"deploy-major": "npm version major && npm run deploy && npm publish bin",
|
|
12
|
+
"deploy-beta": "npm version prerelease && npm run deploy && npm publish dist --tag beta",
|
|
12
13
|
"prepare-deployment": "cp package.json bin/package.json",
|
|
13
|
-
"deploy": "npm run build && npm run prepare-deployment
|
|
14
|
+
"deploy": "npm run build && npm run prepare-deployment",
|
|
14
15
|
"build": "rm -rf bin && tsc && rm -rf bin/test",
|
|
15
16
|
"lint": "tslint 'src/**/*.ts'",
|
|
16
17
|
"lint-fix": "tslint --fix 'src/**/*.ts'",
|
|
@@ -19,4 +19,17 @@ exports.AllowedDomainRegExList = {
|
|
|
19
19
|
/(.*?)/,
|
|
20
20
|
],
|
|
21
21
|
},
|
|
22
|
+
[scope_1.Scope.Currency]: {
|
|
23
|
+
[environment_1.Environment.Production]: [
|
|
24
|
+
/^https?:\/\/(www(?:\.dev)?|cypress\.rc|[0-9]{4,16}(?:-bob)?\.rc)\.mastersportal\.(com|fyi)(?::3030)?$/,
|
|
25
|
+
/^https?:\/\/(www(?:\.dev)?|cypress\.rc|[0-9]{4,16}(?:-bob)?\.rc)\.bachelorsportal\.(com|fyi)(?::3030)?$/,
|
|
26
|
+
/^https?:\/\/(www(?:\.dev)?|cypress\.rc|[0-9]{4,16}(?:-bob)?\.rc)\.phdportal\.(com|fyi)(?::3030)?$/,
|
|
27
|
+
/^https?:\/\/(www(?:\.dev)?|cypress\.rc|[0-9]{4,16}(?:-bob)?\.rc)\.preparationcoursesportal\.(com|fyi)(?::3030)?$/,
|
|
28
|
+
/^https?:\/\/(www(?:\.dev)?|cypress\.rc|[0-9]{4,16}(?:-bob)?\.rc)\.distancelearningportal\.(com|fyi)(?::3030)?$/,
|
|
29
|
+
/^https?:\/\/(www(?:\.dev)?|cypress\.rc|[0-9]{4,16}(?:-bob)?\.rc)\.shortcoursesportal\.(com|fyi)(?::3030)?$/,
|
|
30
|
+
],
|
|
31
|
+
[environment_1.Environment.Testing]: [
|
|
32
|
+
/(.*?)/,
|
|
33
|
+
],
|
|
34
|
+
}
|
|
22
35
|
};
|