-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from obewds/dev
0.11.0 - adding js file deletion to install script and fixing bug in update profile info form compo for jetstream
- Loading branch information
Showing
13 changed files
with
76 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tream/resources/js/Pages/Profile/Partials/generate-update-profile-information-form-vue.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default function (filenamePath: string): void; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// ./src/helpers/remove-file.ts | ||
|
||
import fs from 'fs-extra' | ||
|
||
import cliSuccessMessage from './cli-success-message.js' | ||
import cwd from './cwd.js' | ||
|
||
export default function (filenamePath:string): void { | ||
|
||
fs.removeSync( cwd + filenamePath) | ||
|
||
cliSuccessMessage('.' + filenamePath + ' file was deleted successfully!', false, false) | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// ./tests/helpers/remove-file.test.ts | ||
|
||
import { describe, expect, test } from '@jest/globals' | ||
import fs from 'fs-extra' | ||
import cwd from '../../src/helpers/cwd.js' | ||
import projectFileDoesExist from '../../src/helpers/project-file-does-exist.js' | ||
import removeFile from '../../src/helpers/remove-file' | ||
|
||
describe('./src/helpers/remove-file module', () => { | ||
|
||
test('module can be imported successfully', () => { | ||
|
||
expect(removeFile).toBeTruthy() | ||
|
||
}) | ||
|
||
}) |