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

2.x Prep and base #278

Open
wants to merge 54 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
2eb0d41
feat: adding command to create components
robherba Oct 3, 2023
fca8121
feat: add a handler for the new command
robherba Oct 3, 2023
27102ce
feat: add the new handler options
robherba Oct 3, 2023
2f0fecd
feat: add functionality to create components
robherba Oct 3, 2023
264aff6
feat: present a parent structure chooser if no directory is specified
robherba Dec 4, 2023
182a6cb
feat: move and rename type to StructureHandlerResponse
robherba Dec 4, 2023
772ce92
feat: refine documentation
robherba Dec 4, 2023
1a03e52
chore(2.x): remove eslint
mikeethedude Jun 17, 2024
40d6522
chore(2.x): remove lint github action
mikeethedude Jun 17, 2024
24b8f33
chore(2.x): adding formatting back to pre-commit
mikeethedude Jun 17, 2024
9e5e8b5
chore(2.x): perms fix
mikeethedude Jun 17, 2024
930b3ec
feat(2.x): major overhaul for esm
mikeethedude Aug 3, 2024
a36fb34
Merge branch 'develop' of github.com:emulsify-ds/emulsify-cli into cr…
robherba Aug 5, 2024
9879539
feat(2.x): cleaning up for common js issues
mikeethedude Sep 3, 2024
dbb485b
feat(2.x): cleaning up for common js issues
mikeethedude Sep 3, 2024
73f4b60
feat(2.x): cleaning up for common js issues
mikeethedude Sep 3, 2024
5a76d6d
feat(2.x): cleaning up tests and getting something committed
mikeethedude Sep 3, 2024
664f374
feat(2.x): more tests and avoiding issues
mikeethedude Sep 3, 2024
7600cbf
Merge branch 'develop' into 2.x
robherba Sep 5, 2024
ee8887e
feat(2.x): removing eslint
mikeethedude Sep 5, 2024
d8d2794
feat(2.x): add the resolve-current-path file
robherba Sep 5, 2024
d6da041
feat(2.x): resolve errors in jsonSchemaToTs tests
robherba Sep 5, 2024
4a8e6b5
feat(2.x): downgrade the version of chalkjs
robherba Sep 9, 2024
f627e9e
feat: add no-platform starter for default init installations
Sep 9, 2024
fcd957d
feat: include the drupal starter as an available option
Sep 9, 2024
fc7b8a3
chore: change develop to main branch for tests
Sep 9, 2024
40cbce7
feat: solving an issue with the getNoPlatformInfo function
robherba Sep 10, 2024
74a39be
Merge pull request #288 from emulsify-ds/platform-starters
robherba Sep 10, 2024
0403d66
feat: switch from chalk to colorette for log colors
robherba Sep 10, 2024
8df13a7
feat: add the inquirer dependency
robherba Sep 20, 2024
1dda1bd
feat: adjusting the init command to work without parameters
robherba Sep 20, 2024
13c8211
Merge branch 'develop' of github.com:emulsify-ds/emulsify-cli into in…
robherba Sep 20, 2024
5618368
Merge pull request #294 from emulsify-ds/init-no-params
mikeethedude Sep 25, 2024
e1daeea
Merge pull request #289 from emulsify-ds/replace-chalk-colorette
mikeethedude Sep 25, 2024
99a7c17
fix(2.x): cleaning up some commands and git
mikeethedude Sep 25, 2024
42299f2
fix(2.x): cleaning up some commands and git
mikeethedude Sep 25, 2024
bff7ca7
Merge pull request #296 from emulsify-ds/2.x-cleanup-commands
mikeethedude Sep 25, 2024
3a5c990
fix: replace deprecated fs.rmdir with fs.rm
robherba Sep 30, 2024
529ffd5
fix: modify JSON import to avoid ExperimentalWarning
robherba Sep 30, 2024
62150af
fix: implement custom ts loader
robherba Sep 30, 2024
3b9beef
feat: update version to 2.0.0 and improve display for version command
robherba Sep 30, 2024
f8434ce
Merge branch '2.x' of github.com:emulsify-ds/emulsify-cli into create…
robherba Sep 30, 2024
71a9a76
Merge pull request #297 from emulsify-ds/2.x-clean-experimental-warnings
mikeethedude Oct 23, 2024
275c193
fix: directly assign repo.checkout value with a tag if no branch is s…
Oct 23, 2024
778fe4e
Merge branch '2.x' into fix-system-install-with-tags
mikeethedude Oct 24, 2024
5781a7e
chore: restore package-lock.json
Oct 24, 2024
bb2266a
feat: add jest test for the component creation command
robherba Oct 24, 2024
267069d
fix(2x-cache): port of 1-x cache fix
mikeethedude Oct 24, 2024
fb155ee
fix(cache): missing extension
mikeethedude Oct 24, 2024
c678007
Merge branch 'fix-system-install-with-tags' into better-2-x-cache-fix
mikeethedude Oct 24, 2024
ceda6d6
Merge pull request #306 from emulsify-ds/better-2-x-cache-fix
mikeethedude Oct 25, 2024
b9057df
Merge branch '2.x' of github.com:emulsify-ds/emulsify-cli into create…
robherba Dec 13, 2024
31e11b0
fix: relative import issues in component create command
robherba Dec 13, 2024
73d4774
Merge pull request #234 from emulsify-ds/create-component-command
robherba Dec 13, 2024
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
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

35 changes: 0 additions & 35 deletions .eslintrc.json

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/lint.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npm run husky:pre-commit
npm run husky:pre-commit
2 changes: 1 addition & 1 deletion .releaserc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
tagFormat: '${version}',
branches: ['main'],
repositoryUrl: '[email protected]:emulsify-ds/emulsify-cli.git',
Expand Down
File renamed without changes.
13 changes: 10 additions & 3 deletions jest.config.js → jest.config.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
preset: 'ts-jest',
preset: 'ts-jest/presets/js-with-ts',
testEnvironment: 'node',
roots: ['<rootDir>/src'],
coverageThreshold: {
Expand All @@ -10,9 +10,16 @@ module.exports = {
statements: 100,
},
},
transform: {
'\\.[jt]sx?$': ['ts-jest', { useESM: true }],
},
"moduleNameMapper": {
"^(\\.\\.?\\/.+)\\.js$": "$1",
},
coveragePathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>/src/index.ts',
],
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
};
setupFilesAfterEnv: ['<rootDir>/jest.setup.cjs'],
extensionsToTreatAsEsm: ['.ts'],
};
2 changes: 1 addition & 1 deletion jest.setup.js → jest.setup.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jest.mock('fs-extra', () => ({
}));

jest.mock('child_process');
jest.mock('progress');
jest.mock('progress');
4 changes: 2 additions & 2 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
'*.{js,ts}': ['npm run lint', 'npm run format'],
export default {
'*.{js,ts}': ['npm run format'],
};
Loading
Loading