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

feat(create-analog): add tailwind gen to create-analog script #315

Merged

Conversation

MDyrcz5
Copy link
Contributor

@MDyrcz5 MDyrcz5 commented Mar 31, 2023

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

User add tailwind to existing template via prompt or flag.

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

Which package are you modifying?

  • vite-angular-plugin
  • astro-angular
  • create-analog
  • router
  • platform
  • content

What is the current behavior?

Closes #303

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@netlify
Copy link

netlify bot commented Mar 31, 2023

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit 2ad0e0b
🔍 Latest deploy log https://app.netlify.com/sites/analog-blog/deploys/64275c638bf1430008cf6e39
😎 Deploy Preview https://deploy-preview-315--analog-blog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 31, 2023

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit 2ad0e0b
🔍 Latest deploy log https://app.netlify.com/sites/analog-docs/deploys/64275c632579fb00071f8e65
😎 Deploy Preview https://deploy-preview-315--analog-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 31, 2023

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit 2ad0e0b
🔍 Latest deploy log https://app.netlify.com/sites/analog-app/deploys/64275c638bf1430008cf6e34
😎 Deploy Preview https://deploy-preview-315--analog-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@MDyrcz5
Copy link
Contributor Author

MDyrcz5 commented Mar 31, 2023

@brandonroberts @goetzrobin please take a look 👀

@@ -0,0 +1,8 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{html,ts}'],
Copy link
Member

Choose a reason for hiding this comment

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

Add .md for content routes

Suggested change
content: ['./index.html', './src/**/*.{html,ts}'],
content: ['./index.html', './src/**/*.{html,ts,md}'],

}

function addDevDependencies(pkg) {
['tailwindcss', 'postcss', 'autoprefixer'].forEach(
Copy link
Member

Choose a reason for hiding this comment

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

There should be specific versions for these. Let's use the current versions with a ^ on the front

@@ -1,6 +1,6 @@
{
"name": "create-analog",
"version": "0.2.9",
"version": "0.3.0",
Copy link
Member

Choose a reason for hiding this comment

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

We can bump the last version, as the middle one is considered the major because the first one is a 0 according to semver

Suggested change
"version": "0.3.0",
"version": "0.2.10",

@MDyrcz5 MDyrcz5 marked this pull request as ready for review March 31, 2023 22:20
@brandonroberts brandonroberts merged commit 80fe21c into analogjs:main Apr 4, 2023
Villanuevand pushed a commit to Villanuevand/analog that referenced this pull request Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Include Tailwind CSS support out of the box
2 participants