Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump/nodejs v18 #1595

Merged
merged 34 commits into from
Dec 8, 2023
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1262652
Pin Node version
RodriSanchez1 Oct 18, 2023
6b8c564
Bump react-scripts to v5.0.1
RodriSanchez1 Oct 18, 2023
6b55f6b
Add craco for modify webpack config
RodriSanchez1 Oct 18, 2023
0cb0992
Avoid no-anonymous-default-export webpack warning
RodriSanchez1 Oct 18, 2023
ed3f7d6
Fix openDb import
RodriSanchez1 Oct 18, 2023
f201a93
WebpackIgnore css url resolution
RodriSanchez1 Oct 18, 2023
3b8e092
Update lockfile
RodriSanchez1 Oct 18, 2023
0e7cd87
Fix Unit Test - Update Snapshots
RodriSanchez1 Oct 19, 2023
f2e77ef
DetectOpenHandles on test for debug
RodriSanchez1 Oct 19, 2023
87ffd8c
Remove detectOpneHandles option
RodriSanchez1 Oct 19, 2023
7a220d2
Remove board from unit test
RodriSanchez1 Oct 19, 2023
3ff834a
Add board again and --detectOpenHandles
RodriSanchez1 Oct 19, 2023
0b2be6d
Avoid Account from tests
RodriSanchez1 Oct 19, 2023
a44b341
Add Account again and --runInBand option
RodriSanchez1 Oct 20, 2023
a840aa6
Revert "Fix Unit Test - Update Snapshots"
RodriSanchez1 Oct 20, 2023
f812338
Define entry point on craco config
RodriSanchez1 Oct 24, 2023
eb3fa12
Add excludeAliases: console
RodriSanchez1 Oct 24, 2023
1cf69f9
fix: relax nvmrc version to minor
shayc Oct 25, 2023
54e9f5a
Optional chaining on ignoreWarning
RodriSanchez1 Oct 30, 2023
4f0a065
Update craco config
RodriSanchez1 Oct 30, 2023
7085feb
Move @babel/plugin.. package to devDependencies
RodriSanchez1 Oct 30, 2023
9bf3c9f
Merge branch 'master' into bump/NodejsV18
RodriSanchez1 Oct 30, 2023
fa8e641
Merge branch 'master' into bump/NodejsV18
martinbedouret Nov 17, 2023
4e03528
Merge branch 'master' into bump/NodejsV18
RodriSanchez1 Nov 22, 2023
cafafa9
Use static v1.30.0 microsoft-cognitive-services
RodriSanchez1 Nov 22, 2023
bdb44f4
Lock file
RodriSanchez1 Nov 22, 2023
61cc5bb
Add babel-plugin-transform-import-meta package
RodriSanchez1 Nov 27, 2023
8d85784
Fix test
RodriSanchez1 Nov 27, 2023
97b4449
Lock file
RodriSanchez1 Nov 27, 2023
2ac0a47
Auto stash before merge of "bump/NodejsV18" and "RodriSanchez1/bump/N…
martinbedouret Dec 4, 2023
6188018
Merge branch 'master' into bump/NodejsV18
martinbedouret Dec 4, 2023
2e0d500
Fix lock file
RodriSanchez1 Dec 8, 2023
58b5ec4
Remove bablerc file and packages
RodriSanchez1 Dec 8, 2023
4a34788
Merge branch 'master' into bump/NodejsV18
RodriSanchez1 Dec 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update craco config
RodriSanchez1 committed Oct 30, 2023
commit 4f0a06555121b50242c4fa4a766c34851618b320
27 changes: 12 additions & 15 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');
const path = require('path');

module.exports = {
webpack: {
entry: './src/index.js',
plugins: [new NodePolyfillPlugin({ excludeAliases: ['console'] })],
module: {
loaders: [
{
test: /\.([cm]?ts|tsx)$/,
loaders: ['ts-loader']
}
]
alias: {
'react/jsx-dev-runtime': path.resolve(
__dirname,
'node_modules/react/jsx-dev-runtime.js'
),
'react/jsx-runtime': path.resolve(
__dirname,
'node_modules/react/jsx-runtime.js'
)
},
plugins: [new NodePolyfillPlugin({ excludeAliases: ['console'] })],
resolve: {
extensions: ['.ts', '.tsx', '.js'],
extensionAlias: {
'.js': ['.js', '.ts'],
'.cjs': ['.cjs', '.cts'],
'.mjs': ['.mjs', '.mts']
}
extensions: ['.web.js', '.mjs', '.js', '.json', '.web.jsx', '.jsx']
},

configure: {
ignoreWarnings: [
function ignoreSourcemapsloaderWarnings(warning) {