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

0.1.8 - fixing incorrect regex matching in cli config/jetstream.php updater #10

Merged
merged 5 commits into from
Aug 1, 2023
Merged
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
1 change: 0 additions & 1 deletion dist/generators/jetstream/generateConfigJetstream.d.ts

This file was deleted.

21 changes: 0 additions & 21 deletions dist/generators/jetstream/generateConfigJetstream.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/generators/jetstream/generateConfigJetstream.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion dist/updaters/jetstream/updateConfigJetstream.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/updaters/jetstream/updateConfigJetstream.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@obewds/vilt-ds",
"version": "0.1.7",
"version": "0.1.8",
"description": "The official repository for the VILT Design System for the Vue.js, Inertia.js, Laravel, and Tailwind CSS web app stack that is turbocharged with Typescript and VueVentus.",
"license": "MIT",
"author": "Matt McT",
Expand Down
35 changes: 0 additions & 35 deletions src/generators/jetstream/generateConfigJetstream.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/updaters/jetstream/updateConfigJetstream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export default function (): void {
if (err) { throw err }

let modifiedData = String(data).replace(
/\/\/Features::termsAndPrivacyPolicy(),/g, 'Features::termsAndPrivacyPolicy(),'
/\/\/ Features::termsAndPrivacyPolicy(),/g, 'Features::termsAndPrivacyPolicy(),'
).replace(
/\/\/Features::api(),/g, 'Features::api(),'
/\/\/ Features::api(),/g, 'Features::api(),'
)

// If no error, then overwrite the current config/jetstream.php file content with the modifications
Expand Down