Skip to content
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
4 changes: 2 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
save-exact = true

; The @rtcamp packages resolve from git branch refs in package.json, not from a
; registry, so no scope registry or token is needed.
; The @rtcamp packages are public on the npm registry, so no scope registry or
; token is needed.
1 change: 1 addition & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "@rtcamp/stylelint-config",
"ignoreFiles": [
"**/*.js",
"**/*.json",
"**/*.php"
],
"rules": {
Expand Down
5 changes: 2 additions & 3 deletions bin/scaffold.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
source: {
name: 'Elementary Theme',
namespace: 'rtCamp\\Theme\\Elementary',
package: 'rtcamp/elementary',
package: 'rtcamp/theme-elementary',
},

// Derive the namespace and composer package from the chosen name.
Expand Down Expand Up @@ -74,8 +74,7 @@ module.exports = {
},
],
devDependencies: {
'@rtcamp/tailwind-config':
'github:rtCamp/wp-tooling#npm/tailwind-config',
'@rtcamp/tailwind-config': '^1.1.0',
tailwindcss: '^4.3.0',
'@tailwindcss/postcss': '^4.3.0',
},
Expand Down
19 changes: 1 addition & 18 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,9 @@
{
"name": "rtcamp/elementary",
"name": "rtcamp/theme-elementary",
"description": "A starter theme that facilitates a quick head start for developing new block-based themes along with a bunch of developer-friendly features.",
"type": "wordpress-theme",
"homepage": "https://rtcamp.com/",
"license": "GPL-2.0-or-later",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/rtCamp/wp-primitives.git",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/rtCamp/wp-phpcs.git",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/rtCamp/wp-phpstan.git",
"no-api": true
}
],
"require": {
"php": ">=8.2",
"rtcamp/wp-primitives": "^2.0"
Expand Down
89 changes: 40 additions & 49 deletions composer.lock

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

2 changes: 1 addition & 1 deletion docs/internal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Documentation and smoke results must identify the theme commit and installed dep

## Temporary procedure status

The registry-bypass pilot from the former `docs/internal-testing.md` is retired: the current [npm declaration](../../package.json) uses GitHub's `npm/wp-tooling` branch, and [Composer](../../composer.json) resolves the framework through VCS. Local source overrides are only for deliberate dependency development.
The registry-bypass pilot from the former `docs/internal-testing.md` is retired: the [npm declaration](../../package.json) installs `@rtcamp/wp-tooling` from the npm registry, and [Composer](../../composer.json) resolves the framework from Packagist. Local source overrides are only for deliberate dependency development.

The remaining [validation workarounds](maintenance.md#temporary-validation-procedures) have an applicable revision and a retirement condition. Recheck their status when the theme or its dependencies change.
2 changes: 1 addition & 1 deletion docs/internal/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ git clone https://github.com/rtCamp/wp-tooling.git '/absolute/path/to/wp-tooling
git clone https://github.com/rtCamp/wp-primitives.git '/absolute/path/to/wp-primitives'
```

In the dependency checkout, select and record the revision under test. The tooling override below needs the source monorepo's `node-packages/wp-tooling/` directory; the `npm/wp-tooling` distribution branch has a different layout. Follow the [tooling](https://github.com/rtCamp/wp-tooling/blob/main/CONTRIBUTING.md#development-setup) or [framework](https://github.com/rtCamp/wp-primitives/blob/main/CONTRIBUTING.md#development-setup) maintainer guide for that package's setup and checks.
In the dependency checkout, select and record the revision under test. The tooling override below needs the source monorepo's `node-packages/wp-tooling/` directory; the published npm package has a different layout. Follow the [tooling](https://github.com/rtCamp/wp-tooling/blob/main/CONTRIBUTING.md#development-setup) or [framework](https://github.com/rtCamp/wp-primitives/blob/main/CONTRIBUTING.md#development-setup) maintainer guide for that package's setup and checks.

From the disposable theme directory, point only the tooling declaration at your checkout:

Expand Down
27 changes: 15 additions & 12 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"devDependencies": {
"@babel/core": "7.29.7",
"@eslint-community/eslint-plugin-eslint-comments": "4.7.2",
"@rtcamp/eslint-config": "github:rtCamp/wp-tooling#npm/eslint-config",
"@rtcamp/stylelint-config": "github:rtCamp/wp-tooling#npm/stylelint-config",
"@rtcamp/wp-tooling": "github:rtCamp/wp-tooling#npm/wp-tooling",
"@rtcamp/eslint-config": "^1.1.0",
"@rtcamp/stylelint-config": "^1.1.0",
"@rtcamp/wp-tooling": "^2.0.0",
"@wordpress/babel-preset-default": "8.47.0",
"@wordpress/browserslist-config": "6.47.0",
"@wordpress/env": "11.7.0",
Expand Down
Loading