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: add back postcss-preset-env #18704

Merged
merged 106 commits into from Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
fc5fb58
hotfix: revert feat additions
pi0 May 8, 2021
0eae970
chore(release): v2.15.6
pi0 May 11, 2021
85615a5
fix(vue-app): check whether route exists within nuxt app before repla…
danielroe Jun 14, 2021
4f370e2
v2.15.7
pi0 Jun 14, 2021
af49199
fix(babel): loose option for babel private-property-in-object (#9631)
clarkdo Aug 9, 2021
1ccd151
fix(vue-app): don't normalise route path if it's valid (#9460)
danielroe Jun 28, 2021
af1d3e9
chore: skip audit due to outdated lockfile
pi0 Aug 11, 2021
d4b9e4b
v2.15.8
pi0 Aug 11, 2021
3c10f17
fix(vue-app): use correct `$config` for finding basePath (#9706)
danielroe Aug 24, 2021
b014777
fix(vue-renderer): ensure custom build indicator preserves some white…
danielroe Aug 24, 2021
2ef0537
types: add `prefetchPayloads` to router options (#9715)
kedrzu Aug 27, 2021
e8b7c58
fix: 'npm run test' fails because the last command lacks 'yarn' (#9761)
aewshyae Sep 5, 2021
001dde9
chore(deps): lock file maintenance (#9678)
renovate[bot] Sep 7, 2021
9cc2938
chore: update license year to present (#9682)
ohld Sep 7, 2021
dc0e1b9
chore(deps): update all non-major dependencies (#9662)
renovate[bot] Sep 7, 2021
dfcc26e
fix(generator): decode path with `ufo` (#9739)
danielroe Sep 7, 2021
6f94b1f
chore: add separate file with security disclosure info (#9738)
danielroe Sep 7, 2021
3e9d7e3
fix(cli): ensure nuxt instance is closed when skipping build
pi0 Sep 9, 2021
fc5266d
chore: update logo (#9796)
Atinux Sep 15, 2021
4104d9c
chore(doc): fix link to contribution guide (#9815)
sir-kain Sep 17, 2021
dc64e4e
fix: nuxt-child-key in web-types.json (#9792)
jon-ht Sep 17, 2021
816007b
chore(test): fix external redirect link (#9816)
clarkdo Sep 17, 2021
39779d8
docs: update consulting offer
Atinux Sep 22, 2021
034b990
fix(types): return type of $fetch (#9854)
ThibaultVlacich Sep 27, 2021
1f85137
chore: update funding.yml
Atinux Oct 25, 2021
7614360
chore: update lockfile
pi0 Oct 25, 2021
6f73c36
chore: update audit list
pi0 Oct 25, 2021
3ebab89
fix(deps): update `ua-parser-js` to 1.x (#9979)
pi0 Oct 25, 2021
1878b26
chore: update lockfile and audit
pi0 Oct 25, 2021
853439d
fix(deps): update `ya-parser-js` to latest `0.7.x` (#9979)
pi0 Oct 25, 2021
5a4c280
chore(deps): update dependency node-html-parser to v5 (#9914)
renovate[bot] Oct 25, 2021
807f506
chore: update issue template with nuxt 3 (#9948)
productdevbook Oct 25, 2021
5e77853
chore(deps): update all non-major dependencies (#9777)
renovate[bot] Oct 25, 2021
1208fa1
chore(deps): update devdependency jsdom to v18 (#9910)
renovate[bot] Oct 25, 2021
4a986da
chore(deps): update devdependency @rollup/plugin-commonjs to v21 (#9872)
renovate[bot] Oct 25, 2021
4bf7c35
chore(deps): update all non-major dependencies (#9984)
renovate[bot] Oct 26, 2021
eea6db1
chore(deps): update all non-major dependencies (#9990)
renovate[bot] Oct 27, 2021
293dc11
feat: default to `core-js` version 3 (#9987)
danielroe Oct 27, 2021
e641194
chore(deps): lock file maintenance (#10002)
renovate[bot] Nov 3, 2021
706e2a5
chore(deps): update devdependency puppeteer-core to v11 (#10011)
renovate[bot] Nov 3, 2021
c7ea13e
feat: update `std-env` to v3 (#10012) [release]
renovate[bot] Nov 3, 2021
3ab12f9
chore(deps): update all non-major dependencies (#9994)
renovate[bot] Nov 3, 2021
ab1c6cb
chore(deps): update webpackbar to 5.x (#10021)
pi0 Nov 5, 2021
c1d02ea
docs: add notes for Nuxt 3
Atinux Dec 9, 2021
777a4b7
fix(vue-app): call ssrContext.unsetMutationObserver only if it exists…
reegodev Dec 17, 2021
a10e5dd
docs: Add alt to logo image (#10467)
k-utsumi May 24, 2022
97983b7
chore(deps): update actions/cache action to v3 (#10354)
renovate[bot] Jun 23, 2022
8be9e01
chore(deps): update actions/checkout action to v3 (#10355)
renovate[bot] Jun 23, 2022
4c17167
chore(deps): update actions/setup-node action to v3 (#10508)
renovate[bot] Jun 23, 2022
f2d8442
chore(deps): update actions/download-artifact action to v3 (#10502)
renovate[bot] Jun 23, 2022
263f5d6
chore(deps): update actions/upload-artifact action to v3 (#10509)
renovate[bot] Jun 23, 2022
54542c1
chore: enable blank issues
pi0 Jun 23, 2022
8b23e17
chore(radme): fix browserstack and saucelabs icons (#10068)
abdfnx Jun 23, 2022
e5efc25
chore: update dependencies (#10510)
pi0 Jun 23, 2022
7a25294
fix(webpack): allow files with `.cjs` extension to be transpiled (#10…
rchl Jun 23, 2022
123206c
fix(vue-app): preview mode fetch (#10489)
mdoesburg Jun 23, 2022
8914f5a
chore(deps): update all non-major dependencies (#10524)
renovate[bot] Jul 1, 2022
b9f5cfe
chore(deps): lock file maintenance (#10540)
renovate[bot] Jul 1, 2022
23e2018
test: update async size test
pi0 Jul 1, 2022
6a300b5
chore(deps): update devdependency puppeteer-core to v15 (#10531)
renovate[bot] Jul 1, 2022
013f051
chore(deps): update devdependency lerna to v5 (#10529)
renovate[bot] Jul 1, 2022
4ae7c08
docs(readme): add agency partners logos (#10570)
clemcode Jul 12, 2022
86570cf
docs: not in beta anymore
Atinux Aug 14, 2022
5149176
chore(deps): update devdependency @nuxtjs/eslint-config to v11 (#10677)
renovate[bot] Sep 3, 2022
773d292
chore: update repo
pi0 Sep 3, 2022
2dee162
chore(deps): update all non-major dependencies (#10554)
renovate[bot] Sep 3, 2022
dd3ed75
fix(webpack): resolve `.wasm` extension with lower priority (#10676)
nieyuyao Sep 3, 2022
bafc814
chore: ignore vue and vuex major updates
pi0 Sep 3, 2022
ebb36ce
chore(deps): update devdependency eslint-plugin-jest to v27 (#10671)
renovate[bot] Sep 3, 2022
567afc9
chore(deps): update devdependency puppeteer-core to v17 (#10672)
renovate[bot] Sep 3, 2022
60b541c
chore(deps): update devdependency @vue/vue2-jest to v29 (#10680)
renovate[bot] Sep 3, 2022
01fa8d6
chore(deps): update jest monorepo to v29 (#10666)
renovate[bot] Sep 3, 2022
4f11d3c
test: update size limit tests
pi0 Sep 3, 2022
0501a42
build: use 7 digit edge hashes
pi0 Sep 3, 2022
7b3bab3
[release]
pi0 Sep 3, 2022
54e852f
chore(deps): update all non-major dependencies (#10684)
renovate[bot] Sep 5, 2022
00c3b95
chore: Update README.md (#10831)
bot08 Dec 19, 2022
0db7e7b
chore: update pull request template
danielroe Jan 19, 2023
f36fb9c
chore: update issue templates
danielroe Jan 19, 2023
ba966cf
chore: rename 2.x bug template
danielroe Jan 19, 2023
ce7b1a9
chore: move nuxt 2 report to bottom
danielroe Jan 19, 2023
ca8f9b8
chore(deps): lock file maintenance (#10685)
renovate[bot] Jan 19, 2023
331a2d7
ci: update test branch condition
danielroe Jan 19, 2023
0b0a85e
chore(deps): update all non-major dependencies (2.x-dev) (#11128)
renovate[bot] Jan 19, 2023
0088d13
fix(vue-app): clear hide timeout when calling `clear()` (#10086)
arikw Jan 19, 2023
1cedad5
chore: bump `ua-parser-js` version
danielroe Feb 1, 2023
ab83b1f
chore(deps): update dependency devalue to v4 (2.x-dev) (#15880)
renovate[bot] Feb 1, 2023
6a91545
chore(deps): update dependency dotenv to v16 (2.x-dev) (#18364)
renovate[bot] Feb 1, 2023
42f36ba
chore(deps): update dependency node-fetch-native to v1 (2.x-dev) (#18…
renovate[bot] Feb 1, 2023
7274ece
chore(deps): update dependency node-html-parser to v6 (2.x-dev) (#18374)
renovate[bot] Feb 1, 2023
3abcbd3
chore(deps): update all non-major dependencies (2.x-dev) (#18665)
renovate[bot] Feb 1, 2023
54f0638
chore: bump test/dev dependencies (#18672)
danielroe Feb 1, 2023
3293ce7
chore: upgrade unjs dependencies (#18670)
danielroe Feb 1, 2023
917d476
chore(deps): update dependency serve-placeholder to v2 (2.x-dev) (#18…
renovate[bot] Feb 1, 2023
5533e13
chore(deps): update dependency unfetch to v5 (2.x-dev) (#18676)
renovate[bot] Feb 1, 2023
29fc600
Merge remote-tracking branch 'origin/2.x-release-legacy' into 2.x
danielroe Feb 2, 2023
e28eed0
chore: use named export from `defu` (#18679)
danielroe Feb 2, 2023
804be67
build: upgrade to rollup v3 (#18686)
danielroe Feb 2, 2023
9677fbe
ci: update workflows
danielroe Feb 2, 2023
8d1ab7e
Merge branch '2.x' into feat/postcss8
danielroe Feb 2, 2023
8eded39
feat: reenable `postcss-preset-env`
danielroe Feb 2, 2023
eaeac27
chore: update other postcss dependencies
danielroe Feb 2, 2023
9135acf
chore: trigger ci
danielroe Feb 2, 2023
df5d260
chore: ignore `minimatch` audit warning
danielroe Feb 2, 2023
bb09966
test: update test plugin syntax to v8
danielroe Feb 2, 2023
f1d7ddd
fix: access preset from options object
danielroe Feb 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion .eslintignore
Expand Up @@ -8,7 +8,10 @@ coverage

## cofeescript
examples/coffeescript/pages/index.vue
examples/pug-stylus-coffee/
examples/pug-stylus-coffee/**/*.*
examples/web-worker/**/*.*
examples/vue-class-component/**/*.*

# Packages

# vue-app
Expand Down
16 changes: 8 additions & 8 deletions .eslintrc.js
@@ -1,26 +1,26 @@
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module',
ecmaFeatures: {
legacyDecorators: true
}
},
extends: [
'@nuxtjs'
],
globals: {
BigInt: true
},
env: {
'jest/globals': true
},
plugins: [
'jest'
],
rules: {
'no-console': 'error',
'no-debugger': 'error',
'no-template-curly-in-string': 0,
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
// https://github.com/babel/babel-eslint/issues/799
'template-curly-spacing': 0,
indent: ['error', 2, { SwitchCase: 1, ignoredNodes: ['TemplateLiteral'] }]
indent: ['error', 2, { SwitchCase: 1, ignoredNodes: ['TemplateLiteral'] }],
'vue/multi-word-component-names': 0
},
overrides: [{
files: ['test/fixtures/*/.nuxt*/**'],
Expand Down
2 changes: 0 additions & 2 deletions .github/FUNDING.yml
Expand Up @@ -3,5 +3,3 @@
# github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: [nuxt]
open_collective: nuxtjs
tidelift: npm/nuxt
custom: https://otechie.com/nuxt
47 changes: 0 additions & 47 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
@@ -0,0 +1,49 @@
name: "\U0001F41E Bug report"
description: Create a report to help us improve Nuxt
labels: ["pending triage", "3.x"]
body:
- type: markdown
attributes:
value: |
Please carefully read the contribution docs before creating a bug report
👉 https://nuxt.com/docs/community/reporting-bugs

Please use a template below to create a minimal reproduction
👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
👉 https://codesandbox.io/p/github/nuxt/starter/v3-codesandbox
- type: textarea
id: bug-env
attributes:
label: Environment
description: You can use `npx nuxi info` to fill this section
placeholder: Environment
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction
description: Please provide a link to a repo that can reproduce the problem you ran into. A [**minimal reproduction**](https://nuxt.com/docs/community/reporting-bugs#create-a-minimal-reproduction) is required unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided we might close it.
placeholder: Reproduction
validations:
required: true
- type: textarea
id: bug-description
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
placeholder: Bug description
validations:
required: true
- type: textarea
id: additonal
attributes:
label: Additional context
description: If applicable, add any other context about the problem here
- type: textarea
id: logs
attributes:
label: Logs
description: |
Optional if provided reproduction. Please try not to insert an image but copy paste the log text.
render: shell-script
13 changes: 9 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
@@ -1,6 +1,11 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: ❗️ All other issues | 其他问题
- name: 📚 Nuxt 3 Documentation
url: https://nuxt.com/docs/
about: Check the documentation for usage of Nuxt 3
- name: 📚 Nuxt 2 Documentation
url: https://nuxtjs.org/
about: Check the documentation for usage of Nuxt 2
- name: 💬 Discussions
url: https://github.com/nuxt/nuxt.js/discussions
about: |
Please use GitHub Discussions for other issues and asking questions.
about: Use discussions if you have another issue, an idea for improvement or for asking questions.
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
@@ -0,0 +1,37 @@
name: "🚀 Feature request"
description: Suggest a feature that will improve Nuxt
labels: ["pending triage"]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill out this feature request!

Please carefully read the contribution docs before suggesting a new feature
👉 https://nuxt.com/docs/community/contribution/#creating-an-issue
- type: textarea
id: feature-description
attributes:
label: Describe the feature
description: A clear and concise description of what you think would be a helpful addition to Nuxt, including the possible use cases and alternatives you have considered. If you have a working prototype or module that implements it, please include a link.
placeholder: Feature description
validations:
required: true
- type: checkboxes
id: additional-info
attributes:
label: Additional information
description: Additional information that helps us decide how to proceed.
options:
- label: Would you be willing to help implement this feature?
- label: Could this feature be implemented as a module?
- type: checkboxes
id: required-info
attributes:
label: Final checks
description: Before submitting, please make sure you do the following
options:
- label: Read the [contribution guide](https://nuxt.com/docs/community/contribution).
required: true
- label: Check existing [discussions](https://github.com/nuxt/nuxt.js/discussions) and [issues](https://github.com/nuxt/nuxt.js/issues).
required: true
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/z-bug-report-2.yml
@@ -0,0 +1,49 @@
name: "\U0001F41E Bug report (Nuxt 2)"
description: Create a report to help us improve Nuxt
labels: ["pending triage", "2.x"]
body:
- type: markdown
attributes:
value: |
Please carefully read the contribution docs before creating a bug report
👉 https://nuxt.com/docs/community/reporting-bugs

Please use a template below to create a minimal reproduction
👉 https://stackblitz.com/github/nuxt/starter/tree/v2
👉 https://codesandbox.io/p/github/nuxt/starter/v2
- type: textarea
id: bug-env
attributes:
label: Environment
description: You can use `npx envinfo --system --npmPackages '{nuxt,@nuxt/*}' --binaries --browsers` to fill this section
placeholder: Environment
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction
description: Please provide a link to a repo that can reproduce the problem you ran into. A [**minimal reproduction**](https://nuxt.com/docs/community/reporting-bugs#create-a-minimal-reproduction) is required unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided we might close it.
placeholder: Reproduction
validations:
required: true
- type: textarea
id: bug-description
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
placeholder: Bug description
validations:
required: true
- type: textarea
id: additonal
attributes:
label: Additional context
description: If applicable, add any other context about the problem here
- type: textarea
id: logs
attributes:
label: Logs
description: |
Optional if provided reproduction. Please try not to insert an image but copy paste the log text.
render: shell-script
48 changes: 30 additions & 18 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -1,24 +1,36 @@
<!--- Provide a general summary of your changes in the title above -->
<!---
☝️ PR title should follow conventional commits (https://conventionalcommits.org)

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (a non-breaking change which fixes an issue)
- [ ] New feature (a non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Please carefully read the contribution docs before creating a pull request
👉 https://nuxt.com/docs/community/contribution
-->

### 🔗 Linked issue

## Description
<!--- Describe your changes in detail -->
<!--- Why is this change required? What problem does it solve? -->
<!--- If it resolves an open issue, please link to the issue here. For example "Resolves: #1337" -->
<!-- Please ensure there is an open issue and mention its number as #123 -->

### ❓ Type of change

## Checklist:
<!--- Put an `x` in all the boxes that apply. -->
<!--- If your change requires a documentation PR, please link it appropriately -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly. (PR: #)
- [ ] I have added tests to cover my changes (if not applicable, please state why)
- [ ] All new and existing tests are passing.
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. -->

- [ ] 📖 Documentation (updates to the documentation or readme)
- [ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
- [ ] 👌 Enhancement (improving an existing functionality like performance)
- [ ] ✨ New feature (a non-breaking change that adds functionality)
- [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

### 📚 Description

<!-- Describe your changes in detail -->
<!-- Why is this change required? What problem does it solve? -->
<!-- If it resolves an open issue, please link to the issue here. For example "Resolves #1337" -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly.

1 change: 1 addition & 0 deletions .github/icons/browserstack.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .github/icons/saucelabs.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions .github/logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.