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

All in with monorepo #5409

Merged
merged 111 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
dbf2d87
WIP
sneridagh Nov 16, 2023
8d80b04
Remove all traces of yarn
sneridagh Nov 16, 2023
91bb0c2
Add pnpm
sneridagh Nov 16, 2023
d346be7
Vanila Volto working
sneridagh Nov 16, 2023
45512e2
The project works now :) 😎
sneridagh Nov 16, 2023
d944bef
Merge branch 'main' into gotomonorepo
sneridagh Nov 17, 2023
c82d2a0
include types
sneridagh Nov 17, 2023
4368f6a
typos
sneridagh Nov 17, 2023
3aaacec
Fix vscode ESlint
sneridagh Nov 17, 2023
419bd51
Fix code analysis
sneridagh Nov 17, 2023
cae0066
Improve pnpm instll
sneridagh Nov 17, 2023
9f53cba
add prettier entry
sneridagh Nov 17, 2023
c1767fb
Unified Prettier config
sneridagh Nov 17, 2023
a3ab67a
Fix code and unit and try acceptance
sneridagh Nov 17, 2023
d55226d
Prettier external files
sneridagh Nov 17, 2023
d870224
Fix i18n
sneridagh Nov 17, 2023
dbff7c6
Fix acceptance test
sneridagh Nov 17, 2023
22df10b
Remove yarn
sneridagh Nov 17, 2023
c4767a5
Razzle does not like baseURL different than src...
sneridagh Nov 17, 2023
7f8971b
Add wait-on
sneridagh Nov 17, 2023
4f8b86a
debug
sneridagh Nov 17, 2023
3ff3222
debug2
sneridagh Nov 17, 2023
3ae8400
debug3
sneridagh Nov 17, 2023
b7923bb
debug4
sneridagh Nov 18, 2023
3d3b252
debug5
sneridagh Nov 18, 2023
07477ee
Fix build
sneridagh Nov 18, 2023
b6d1482
REmove cache
sneridagh Nov 18, 2023
5ba9de2
Fix registry build
sneridagh Nov 18, 2023
6f55db5
Fix all acceptance
sneridagh Nov 18, 2023
4f47580
Install chalk
sneridagh Nov 18, 2023
c1682c0
lock
sneridagh Nov 18, 2023
99303dc
Make coresandbox a real package
sneridagh Nov 18, 2023
a4942cd
Do not copy over the volto yarn.lock in generator
sneridagh Nov 18, 2023
fd15291
Remove guillotina tests
sneridagh Nov 18, 2023
7fe4873
Test add cypress cache key
sneridagh Nov 18, 2023
f9f5729
Fix generator
sneridagh Nov 18, 2023
1e523f8
Fix cypress cache for all
sneridagh Nov 18, 2023
3a6d3db
Publish with yalc volto-slate too
sneridagh Nov 18, 2023
ccc251b
Fix unit tests
sneridagh Nov 18, 2023
820e15c
Improve cache keys
sneridagh Nov 18, 2023
0ed8b67
Now yes, add volto-slate as yalc package
sneridagh Nov 18, 2023
dddf4d6
missing correct restore key
sneridagh Nov 18, 2023
f908132
debug1
sneridagh Nov 18, 2023
c99a4ee
debug2
sneridagh Nov 18, 2023
8e2ad19
debug3
sneridagh Nov 18, 2023
bcbb670
debug3
sneridagh Nov 18, 2023
c4f577a
debug4
sneridagh Nov 18, 2023
d93652d
debug5
sneridagh Nov 18, 2023
5a11e96
debug6
sneridagh Nov 18, 2023
045cb13
debug7
sneridagh Nov 18, 2023
f454a85
debug8
sneridagh Nov 18, 2023
b571b5b
Fix Cypress install everywhere
sneridagh Nov 18, 2023
b063748
Fix Cypress install everywhere2
sneridagh Nov 18, 2023
b1a0b6f
fix listings
sneridagh Nov 18, 2023
dbcee6c
Try to fix unit tests
sneridagh Nov 18, 2023
11481b2
Revert "Try to fix unit tests"
sneridagh Nov 18, 2023
469a6d9
Dont use turbo on Volto tests, use runinband
sneridagh Nov 18, 2023
8fcdc35
More fixes
sneridagh Nov 18, 2023
ebad8c5
More fixes2
sneridagh Nov 18, 2023
acd2ec2
Fix unit tests
sneridagh Nov 18, 2023
0d66155
changelog
sneridagh Nov 18, 2023
9cc0bc3
This should fix the generator tests
sneridagh Nov 19, 2023
cb26186
Fix packagejsons
sneridagh Nov 19, 2023
bb1edf4
Fix Makefile for projects in Cypress
sneridagh Nov 19, 2023
f85d8fd
debug1
sneridagh Nov 19, 2023
359896f
Fix paths for generator, no longer faked
sneridagh Nov 19, 2023
e034571
Remove debug
sneridagh Nov 19, 2023
ac1c1a7
Move the __tests__ suite to the volto repo
sneridagh Nov 19, 2023
6891b28
Improve unit tests
sneridagh Nov 19, 2023
41a5ceb
lock
sneridagh Nov 19, 2023
f4cfc82
Bring back faked node_modules in __tests__ fixture
sneridagh Nov 19, 2023
1f3e6dc
Unified Towncrier support for packages
sneridagh Nov 19, 2023
2faafc8
Bring back docs support
sneridagh Nov 19, 2023
e56dddc
missing commited files meh
sneridagh Nov 19, 2023
e0aa2ab
Better codeanalisys job
sneridagh Nov 19, 2023
d425cde
Move things in its right place, prepare for husky and lint staged
sneridagh Nov 19, 2023
bb49427
Revert "Move things in its right place, prepare for husky and lint st…
sneridagh Nov 19, 2023
d8970a5
Revert "Revert "Move things in its right place, prepare for husky and…
sneridagh Nov 19, 2023
ae24e75
READMEs
sneridagh Nov 20, 2023
7d4cfc7
Add How to develop Volto core docs
sneridagh Nov 22, 2023
9c3d345
Fix docs build
sneridagh Nov 23, 2023
10a908f
Fix docs build
sneridagh Nov 23, 2023
4ec209a
Use a more direct tone
stevepiercy Nov 23, 2023
02fe5a3
READMEs don't support MyST, just plain Markdown. Remove headings with…
stevepiercy Nov 23, 2023
cea2edf
Apply docs style guide
stevepiercy Nov 23, 2023
333999f
Tidy up the README.md
stevepiercy Nov 23, 2023
09d0cac
Tidy up developing-core.md.
stevepiercy Nov 23, 2023
5478982
Standardize CHANGELOG.md
stevepiercy Nov 23, 2023
334e0f1
Standardize CHANGELOG.md header
stevepiercy Nov 23, 2023
169240d
Touch up README.md
stevepiercy Nov 23, 2023
6f79fbf
@sneridagh please check this security policy. This was outdated, and …
stevepiercy Nov 23, 2023
213dc4d
Standardize CHANGELOG.md header
stevepiercy Nov 23, 2023
f6f54b1
Fix grammar in README.md
stevepiercy Nov 23, 2023
6c5c923
Standardize terms, and general cleanup
stevepiercy Nov 23, 2023
3cb2bf8
Tidy Turborepo README-TR.md
stevepiercy Nov 23, 2023
afe7a8c
Merge branch 'main' into gotomonorepo
sneridagh Nov 24, 2023
ca04833
[monorepo] Eslint in root (#5425)
sneridagh Nov 24, 2023
d4bf7cf
No .vscode needed
sneridagh Nov 24, 2023
df684c5
Review main Monorepo makefile (#5435)
sneridagh Nov 24, 2023
a540129
Rationalize readmes (#5434)
sneridagh Nov 24, 2023
2e68a74
Merge branch 'main' into gotomonorepo
sneridagh Nov 24, 2023
ae54842
REmove turborepo README
sneridagh Nov 24, 2023
c4bdf19
Match versions in README with the ones tested in Makefile
sneridagh Nov 27, 2023
c568712
Bring back SECURITY and RELEASING to the root of the repo
sneridagh Nov 27, 2023
8b70f45
Merge branch 'main' into gotomonorepo
sneridagh Nov 27, 2023
e6651e8
Add missing dep from generator-volto
sneridagh Nov 27, 2023
f59abe7
Merge branch 'main' into gotomonorepo
sneridagh Nov 27, 2023
4df19e7
Remove outdated TODO file
sneridagh Nov 27, 2023
dfa3555
Remove yarnLock copy traces in generator code
sneridagh Nov 28, 2023
807e3a5
Only allow running with pnpm
sneridagh Nov 28, 2023
f836425
Merge branch 'main' into gotomonorepo
sneridagh Nov 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
build
packages/generator-volto
packages/volto-slate
packages/volto
packages/volto-testing
packages/volto-guillotina
64 changes: 64 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// @ts-check

/** @type {import('eslint').Linter.Config} */
const config = {
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
extends: [
'plugin:react/recommended',
// 'plugin:import/recommended',
'plugin:import/typescript',
'plugin:prettier/recommended',
'plugin:react/jsx-runtime',
// 'plugin:storybook/recommended',
],
plugins: ['import'],
parserOptions: {
ecmaVersion: 'ESNext', // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
ecmaFeatures: {
jsx: true, // Allows for the parsing of JSX
},
},

rules: {
// 'import/no-unresolved': ['error', { ignore: ['^@plone/'] }],
// 'import/extensions': 'off',
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
},
settings: {
react: {
version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use
},
settings: {
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {
// node: {
// extensions: ['.js', '.jsx', '.ts', '.tsx'],
// },
typescript: {
alwaysTryTypes: true, // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`

// use an array of glob patterns
project: [
'packages/*/tsconfig.json',
// 'other-packages/*/tsconfig.json',
],
},
},
},
},
overrides: [
{
files: ['**/*.jsx'],
rules: {
'react/prop-types': 0,
'react/no-unescaped-entities': 0,
},
},
],
};

module.exports = config;
Loading