Skip to content

Commit f765197

Browse files
authored
Merge pull request topcoder-platform#122 from topcoder-platform/develop-fix-m2m
Develop fix m2m
2 parents 8c70aae + 9906441 commit f765197

File tree

7 files changed

+9599
-4970
lines changed

7 files changed

+9599
-4970
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- attach_workspace:
2929
at: .
3030
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
31-
- run: npm publish
31+
- run: npm publish --tag test-release
3232

3333
workflows:
3434
version: 2

config/test.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,12 @@ module.exports = {
44
V3: 'https://api.topcoder-dev.com/v3',
55
},
66
dummyConfigKey: 'Dummy config value',
7+
SECRET: {
8+
TC_M2M: {
9+
AUTH0_URL: '',
10+
AUTH0_AUDIENCE: '',
11+
TOKEN_CACHE_TIME: '',
12+
AUTH0_PROXY_SERVER_URL: '',
13+
},
14+
},
715
};

config/webpack/default.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// eslint-disable-next-line import/no-extraneous-dependencies
2-
const webpack = require('webpack');
3-
42
module.exports = {
5-
plugins: [
6-
// eslint-disable-next-line global-require
7-
new webpack.DefinePlugin({ CONFIG: JSON.stringify(require('config')) }),
8-
],
3+
node: {
4+
tls: 'empty',
5+
fs: 'empty',
6+
net: 'empty',
7+
},
98
// Don't include the dependencies to keep built bundle small,
109
// they will be provided by the app using this lib
1110
externals: [
@@ -25,7 +24,4 @@ module.exports = {
2524
'to-capital-case',
2625
'topcoder-react-utils',
2726
],
28-
node: {
29-
fs: 'empty',
30-
},
3127
};

dist/dev/index.js

Lines changed: 5537 additions & 184 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy