-
Notifications
You must be signed in to change notification settings - Fork 20
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 #376 from 10up/develop
Toolkit v6
- Loading branch information
Showing
168 changed files
with
25,082 additions
and
20,007 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@10up/stylelint-config": patch | ||
--- | ||
|
||
Update `custom-property-pattern` regular expression to also match custom properties that use a singular `-` as a group separator |
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,5 @@ | ||
--- | ||
"10up-toolkit": patch | ||
--- | ||
|
||
Add `.local` to the default list of supported domains. |
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 @@ | ||
--- | ||
"10up-toolkit": major | ||
--- | ||
|
||
update default value of `useBlockAssets` to true. If you are not ready for it yet. Set `useBlockAssets` to false in your 10up-toolkit `package.json` config. | ||
|
||
```json | ||
{ | ||
"name": "your-project", | ||
"10up-toolkit": { | ||
"useBlockAssets": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"10up-toolkit": patch | ||
--- | ||
|
||
Update dependencies |
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,5 @@ | ||
--- | ||
"10up-toolkit": minor | ||
--- | ||
|
||
Feature: sourcemap option for production builds |
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,6 @@ | ||
--- | ||
"10up-toolkit": major | ||
--- | ||
|
||
Update postcss-preset-env to ^9.0.0 from ^7.0.0 | ||
Swap postcss-editor-styles with postcss-editor-styles-wrapper which is compatible with PostCSS 8 |
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,6 @@ | ||
--- | ||
"@10up/babel-preset-default": patch | ||
"10up-toolkit": patch | ||
--- | ||
|
||
Fix HRM (again) |
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,6 @@ | ||
--- | ||
"@10up/stylelint-config": major | ||
--- | ||
|
||
Discourage usage of `@nest` by disallowing the at-rule. | ||
Adding support for new way of doing nesting as per latest Nesting Spec (as implemented by browsers in 2023). |
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,5 @@ | ||
--- | ||
"@10up/stylelint-config": patch | ||
--- | ||
|
||
fix update custom property pattern to also allow for single `-` separator |
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,31 @@ | ||
{ | ||
"mode": "pre", | ||
"tag": "next", | ||
"initialVersions": { | ||
"@10up/babel-preset-default": "2.1.0", | ||
"@10up/eslint-config": "3.1.1", | ||
"@10up/stylelint-config": "2.0.5", | ||
"10up-toolkit": "5.2.2", | ||
"tenup-theme": "1.1.5-next.7", | ||
"@10up/component-accordion": "2.1.5", | ||
"@10up/library-ts-test": "2.1.5" | ||
}, | ||
"changesets": [ | ||
"funny-dogs-learn", | ||
"gentle-falcons-shop", | ||
"good-pumas-teach", | ||
"grumpy-experts-wait", | ||
"happy-pans-jam", | ||
"healthy-radios-own", | ||
"hot-crabs-exercise", | ||
"mean-pens-juggle", | ||
"pink-dots-grab", | ||
"rare-ducks-hang", | ||
"six-crabs-cry", | ||
"smooth-trees-pump", | ||
"stale-impalas-return", | ||
"strong-actors-dream", | ||
"tiny-toes-dream", | ||
"tricky-ties-hang" | ||
] | ||
} |
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,6 @@ | ||
--- | ||
"@10up/eslint-config": major | ||
--- | ||
|
||
- Bump minimum prettier version to v3. | ||
- Removed `jsdoc/newline-after-description` eslint rule since it has been removed from the `eslint-plugin-jsdoc`. |
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,5 @@ | ||
--- | ||
"10up-toolkit": patch | ||
--- | ||
|
||
Stop using react fast refresh fork in favor of the upstream package |
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,5 @@ | ||
--- | ||
"@10up/stylelint-config": major | ||
--- | ||
|
||
Upgrading `stylelint` to version `15.0.0` and decouple from `@wordpress/stylelint-config`. |
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,5 @@ | ||
--- | ||
"10up-toolkit": minor | ||
--- | ||
|
||
Add support to configure Webpack's publicPath |
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,5 @@ | ||
--- | ||
"@10up/eslint-config": patch | ||
--- | ||
|
||
Fix peer dep |
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,5 @@ | ||
--- | ||
"10up-toolkit": major | ||
--- | ||
|
||
Update linaria to next major and fix an issue with react-refresh plugin. Also drops support for node 14. |
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,5 @@ | ||
--- | ||
"10up-toolkit": patch | ||
--- | ||
|
||
Fix: allow overriding buildfiles.config.js, filenames.config.js and paths.config.js as stated in README |
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,8 @@ | ||
module.exports = { | ||
extends: ['@10up/eslint-config/node'], | ||
rules: { | ||
'global-require': 'off', | ||
'import/no-dynamic-require': 'off', | ||
'no-process-exit': 'off', | ||
}, | ||
}; |
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 |
---|---|---|
|
@@ -2,8 +2,8 @@ name: test | |
on: | ||
push: | ||
branches: | ||
- 'develop' | ||
- 'trunk' | ||
- "develop" | ||
- "trunk" | ||
pull_request: | ||
|
||
concurrency: | ||
|
@@ -19,21 +19,19 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
# Test node 16/18 on Ubuntu | ||
# Test node 16 on macOS/Windows | ||
# Enable linting only for node 16 + ubuntu | ||
# Test node 16/18/20 on Ubuntu | ||
# Test node 18 on macOS/Windows | ||
# Enable linting only for node 20 & Ubuntu | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [14, 16, 18] | ||
node: [16, 18, 20] | ||
include: | ||
- os: macos-latest | ||
node: 18 | ||
- os: windows-latest | ||
node: 18 | ||
- node: 16 | ||
- node: 20 | ||
is_base_node_version: true | ||
- node: 14 | ||
needs_npm_upgrade: true | ||
- os: ubuntu-latest | ||
is_base_os_version: true | ||
steps: | ||
|
@@ -60,11 +58,6 @@ jobs: | |
key: ${{ env.COMMIT_SHA }}--test-dist-${{ matrix.node }}-${{ matrix.os }} | ||
restore-keys: ${{ env.DIST_RESTORE_KEYS }} | ||
|
||
# See https://github.com/npm/cli/issues/3385 | ||
- name: upgrade npm | ||
run: npm i [email protected] -g | ||
if: matrix.needs_npm_upgrade | ||
|
||
- name: npm ci | ||
run: | | ||
npm ci | ||
|
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,11 @@ | ||
# This configuration file was automatically generated by Gitpod. | ||
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) | ||
# and commit this file to your remote git repository to share the goodness with others. | ||
|
||
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart | ||
|
||
tasks: | ||
- init: npm install && npm run build | ||
command: npm run dev | ||
|
||
|
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,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
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,8 @@ | ||
{ | ||
"*.[tj]s": [ | ||
"eslint" | ||
], | ||
"*.[tj]sx": [ | ||
"eslint" | ||
] | ||
} |
Oops, something went wrong.