Skip to content

Commit

Permalink
Merge branch 'master' into chore/reinstate-terraform-for-azure-migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbolikowski committed Mar 18, 2022
1 parent adeb917 commit b3e7f20
Show file tree
Hide file tree
Showing 26 changed files with 244 additions and 20,569 deletions.
2 changes: 1 addition & 1 deletion apps/admin-panel/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
"../../node_modules/@nrwl/react/typings/image.d.ts"
],
"exclude": ["**/*.spec.ts", "**/*.spec.tsx"],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
}
4 changes: 4 additions & 0 deletions apps/admin-panel/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
},
"include": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"**/*.spec.js",
"**/*.test.js",
"**/*.spec.jsx",
"**/*.test.jsx",
"**/*.d.ts"
],
"files": [
Expand Down
2 changes: 1 addition & 1 deletion apps/redi-connect/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
"../../node_modules/@nrwl/react/typings/image.d.ts"
],
"exclude": ["**/*.spec.ts", "**/*.spec.tsx"],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
}
4 changes: 4 additions & 0 deletions apps/redi-connect/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
},
"include": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"**/*.spec.js",
"**/*.test.js",
"**/*.spec.jsx",
"**/*.test.jsx",
"**/*.d.ts"
],
"files": [
Expand Down
24 changes: 23 additions & 1 deletion apps/redi-talent-pool/custom-webpack-config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
const nrwlConfig = require('@nrwl/react/plugins/webpack.js') // require the main @nrwl/react/plugins/webpack configuration function.
const { merge } = require('lodash')

module.exports = (config, context) => {
nrwlConfig(config) // first call it so that it @nrwl/react plugin adds its configs,

return { ...config, node: undefined }
const mergedConfig = merge({}, config, {
resolve: {
fallback: {
crypto: require.resolve('crypto-browserify'),
process: require.resolve('process/browser'),
zlib: require.resolve('browserify-zlib'),
stream: require.resolve('stream-browserify'),
util: require.resolve('util'),
buffer: require.resolve('buffer'),
asset: require.resolve('assert'),
},
},
// plugins: [
// new webpack.ProvidePlugin({
// Buffer: ['buffer', 'Buffer'],
// process: 'process/browser',
// }),
// ],
node: undefined,
})

return mergedConfig
}

/**
Expand Down
2 changes: 1 addition & 1 deletion apps/redi-talent-pool/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
"../../node_modules/@nrwl/react/typings/image.d.ts"
],
"exclude": ["**/*.spec.ts", "**/*.spec.tsx"],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
}
4 changes: 4 additions & 0 deletions apps/redi-talent-pool/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
},
"include": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"**/*.spec.js",
"**/*.test.js",
"**/*.spec.jsx",
"**/*.test.jsx",
"**/*.d.ts"
],
"files": [
Expand Down
17 changes: 3 additions & 14 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
module.exports = {
projects: [
'<rootDir>/apps/redi-connect',
'<rootDir>/apps/admin-panel',
'<rootDir>/libs/shared-atomic-design-components',
'<rootDir>/apps/redi-talent-pool',
'<rootDir>/libs/shared-config',
'<rootDir>/libs/talent-pool/types',
'<rootDir>/libs/talent-pool/config',
'<rootDir>/libs/shared-utils',
'<rootDir>/libs/typescript-utilities',
'<rootDir>/apps/nestjs-api',
],
}
const { getJestProjects } = require('@nrwl/jest')

module.exports = { projects: getJestProjects() }
1 change: 1 addition & 0 deletions libs/shared-atomic-design-components/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ const rootMain = require('../../../.storybook/main')
rootMain.stories.push(
...['../src/lib/**/*.stories.mdx', '../src/lib/**/*.stories.@(js|jsx|ts|tsx)']
)
rootMain.core = { ...rootMain.core, builder: 'webpack5' }

module.exports = rootMain
13 changes: 11 additions & 2 deletions libs/shared-atomic-design-components/.storybook/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,18 @@
},
"exclude": [
"../**/*.spec.ts",
"../**/*.test.ts",
"../**/*.spec.js",
"../**/*.test.js",
"../**/*.spec.tsx",
"../**/*.spec.jsx"
"../**/*.test.tsx",
"../**/*.spec.jsx",
"../**/*.test.jsx"
],
"include": ["../src/**/*", "*.js"]
"include": ["../src/**/*", "*.js"],
"files": [
"../../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
"../../../node_modules/@nrwl/react/typings/image.d.ts",
"../../../node_modules/@nrwl/react/typings/styled-jsx.d.ts"
]
}
2 changes: 2 additions & 0 deletions libs/shared-atomic-design-components/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
],
"exclude": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"**/*.stories.ts",
"**/*.stories.js",
"**/*.stories.jsx",
Expand Down
4 changes: 4 additions & 0 deletions libs/shared-atomic-design-components/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
},
"include": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"**/*.spec.js",
"**/*.test.js",
"**/*.spec.jsx",
"**/*.test.jsx",
"**/*.d.ts"
]
}
2 changes: 1 addition & 1 deletion libs/shared-config/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"types": []
},
"include": ["**/*.ts"],
"exclude": ["**/*.spec.ts"]
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
}
4 changes: 4 additions & 0 deletions libs/shared-config/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
},
"include": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"**/*.spec.js",
"**/*.test.js",
"**/*.spec.jsx",
"**/*.test.jsx",
"**/*.d.ts"
]
}
2 changes: 1 addition & 1 deletion libs/shared-utils/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"types": []
},
"include": ["**/*.ts"],
"exclude": ["**/*.spec.ts"]
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
}
4 changes: 4 additions & 0 deletions libs/shared-utils/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
},
"include": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"**/*.spec.js",
"**/*.test.js",
"**/*.spec.jsx",
"**/*.test.jsx",
"**/*.d.ts"
]
}
2 changes: 1 addition & 1 deletion libs/talent-pool/config/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"types": []
},
"include": ["**/*.ts"],
"exclude": ["**/*.spec.ts"]
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
}
4 changes: 4 additions & 0 deletions libs/talent-pool/config/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
},
"include": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"**/*.spec.js",
"**/*.test.js",
"**/*.spec.jsx",
"**/*.test.jsx",
"**/*.d.ts"
]
}
2 changes: 1 addition & 1 deletion libs/talent-pool/types/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"types": []
},
"include": ["**/*.ts"],
"exclude": ["**/*.spec.ts"]
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
}
4 changes: 4 additions & 0 deletions libs/talent-pool/types/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
},
"include": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"**/*.spec.js",
"**/*.test.js",
"**/*.spec.jsx",
"**/*.test.jsx",
"**/*.d.ts"
]
}
2 changes: 1 addition & 1 deletion libs/typescript-utilities/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"types": []
},
"include": ["**/*.ts"],
"exclude": ["**/*.spec.ts"]
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
}
4 changes: 4 additions & 0 deletions libs/typescript-utilities/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
},
"include": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"**/*.spec.js",
"**/*.test.js",
"**/*.spec.jsx",
"**/*.test.jsx",
"**/*.d.ts"
]
}
76 changes: 23 additions & 53 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,67 +17,37 @@
"cacheableOperations": [],
"accessToken": "YTA4ZjEzZTctYTc5NS00OWIwLWFiOTQtOGM5YTJkNThjMDM1fHJlYWQtd3JpdGU=",
"canTrackAnalytics": false,
"showUsageWarnings": true
"showUsageWarnings": true,
"parallel": 1
}
}
},
"projects": {
"admin-panel": {
"tags": []
},
"admin-panel-e2e": {
"tags": [],
"implicitDependencies": ["admin-panel"]
},
"api": {
"tags": [],
"implicitDependencies": []
},
"nestjs-api": {
"tags": []
},
"redi-connect": {
"tags": []
},
"redi-connect-e2e": {
"tags": [],
"implicitDependencies": ["redi-connect"]
},
"redi-talent-pool": {
"tags": []
},
"redi-talent-pool-e2e": {
"tags": [],
"implicitDependencies": ["redi-talent-pool"]
},
"shared-atomic-design-components": {
"tags": []
},
"shared-config": {
"tags": []
},
"shared-types": {
"tags": []
},
"shared-utils": {
"tags": []
},
"talent-pool-config": {
"tags": []
},
"talent-pool-types": {
"tags": []
},
"typescript-utilities": {
"tags": []
}
},
"targetDependencies": {
"build": [
{
"target": "build",
"projects": "dependencies"
}
]
}
},
"cli": {
"defaultCollection": "@nrwl/react"
},
"generators": {
"@nrwl/react": {
"application": {
"style": "scss",
"linter": "eslint",
"babel": true
},
"component": {
"style": "scss"
},
"library": {
"style": "scss",
"linter": "eslint"
}
}
},
"defaultProject": "redi-connect"
}

0 comments on commit b3e7f20

Please sign in to comment.