Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openedx/frontend-base",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.8",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already in main... no? Weird that it's even showing up here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is

"description": "Build tools, setup and config for frontend apps",
"publishConfig": {
"access": "public"
Expand Down
1 change: 1 addition & 0 deletions runtime/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
'\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir/__mocks__/file.js',
'\\.(css|scss)$': require.resolve('identity-obj-proxy'),
'site.config': '<rootDir>/site.config.test.tsx',
'^@src/(.*)$': '<rootDir>/src/$1',
},
testEnvironment: 'jsdom',
testEnvironmentOptions: {
Expand Down
1 change: 1 addition & 0 deletions shell/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
'\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/__mocks__/file.js',
'\\.(css|scss)$': require.resolve('identity-obj-proxy'),
'site.config': '<rootDir>/site.config.test.tsx',
'^@src/(.*)$': '<rootDir>/src/$1',
},
testEnvironment: 'jsdom',
testEnvironmentOptions: {
Expand Down
1 change: 1 addition & 0 deletions tools/jest/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
moduleNameMapper: {
'\\.(css|scss)$': require.resolve('identity-obj-proxy'),
'site.config': path.resolve(process.cwd(), './site.config.test.tsx'),
'^@src/(.*)$': '<rootDir>/src/$1',
},
collectCoverageFrom: [
'src/**/*.{js,jsx,ts,tsx}',
Expand Down
3 changes: 3 additions & 0 deletions tools/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"noEmit": false,
"allowJs": true,
"resolveJsonModule": true,
"paths": {
"@src/*": ["./src/*"]
}
},
"include": [
"babel/**/*",
Expand Down
1 change: 1 addition & 0 deletions tools/webpack/webpack.config.build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const config: Configuration = {
alias: {
...aliases,
'site.config': resolvedSiteConfigPath,
'@src': path.resolve(process.cwd(), 'src'),
},
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
Expand Down
1 change: 1 addition & 0 deletions tools/webpack/webpack.config.dev.shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const config: Configuration = {
alias: {
...aliases,
'site.config': resolvedSiteConfigPath,
'@src': path.resolve(process.cwd(), 'src'),
},
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
Expand Down
1 change: 1 addition & 0 deletions tools/webpack/webpack.config.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const config: Configuration = {
alias: {
...aliases,
'site.config': resolvedSiteConfigPath,
'@src': path.resolve(process.cwd(), 'src'),
},
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"compilerOptions": {
"rootDir": ".",
"outDir": "dist",
"paths": {
"@src/*": ["./src/*"]
}
},
"include": [
"runtime/**/*",
Expand Down
Loading