Skip to content

Commit 37652c9

Browse files
Remove mentions of archived devpackages, use theme package.json in unit tests, Ref: DEV-130
1 parent 8a74a11 commit 37652c9

File tree

5 files changed

+13
-45
lines changed

5 files changed

+13
-45
lines changed

.github/workflows/styles.yml

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -20,40 +20,15 @@ jobs:
2020
with:
2121
node-version: '${{ steps.nvm.outputs.NVMRC }}'
2222

23-
- name: Get package.json from devpackages
24-
run: |
25-
rm package.json
26-
wget https://raw.githubusercontent.com/digitoimistodude/devpackages/master/package.json
27-
sed -i 's/PROJECTNAME/air-light/g' package.json
28-
npm install --global
29-
30-
- name: Install stylelint packages
31-
run: |
32-
npm install --global \
33-
postcss@^8.4.21 \
34-
postcss-scss@^4.0.6 \
35-
stylelint@^15.1.0 \
36-
stylelint-config-recommended@^10.0.1 \
37-
stylelint-config-recommended-scss@^9.0.0 \
38-
stylelint-config-standard@^30.0.1 \
39-
stylelint-config-standard-scss@^7.0.0 \
40-
stylelint-order@^6.0.2 \
41-
stylelint-rem-over-px@^0.0.4 \
42-
stylelint-scss@^4.4.0 \
43-
@ronilaukkarinen/stylelint-a11y@^1.2.7 \
44-
@ronilaukkarinen/stylelint-declaration-strict-value@^1.9.2 \
45-
@ronilaukkarinen/stylelint-value-no-unknown-custom-properties@^4.0.1
23+
- name: Install packages
24+
run: npm install
4625

4726
- name: Run stylelint
4827
run: |
4928
npx stylelint . --max-warnings 0 --config .stylelintrc
5029
51-
- name: Run gulp task devstyles in this project
52-
if:
30+
- name: Run gulp task devstyles
5331
run: |
54-
wget https://raw.githubusercontent.com/digitoimistodude/air-light/master/package.json
55-
npm install
56-
5732
# Make the command visible
5833
echo "Running npx gulp devstyles..."
5934
npx gulp devstyles

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### [Unreleased]
22

33
* Fix deprecated workflow that still uses devpackages, fix build DEV-83, DEV-385
4+
* Remove mentions of archived devpackages, use theme package.json in unit tests, Ref: DEV-130
45

56
### 9.6.1: 2025-08-08
67

README.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ Some features, WooCommerce support and personal preferences of Dude are moved to
101101

102102
#### Development
103103

104-
* [BrowserSync](http://www.browsersync.io/) for keeping multiple browsers and devices synchronized while testing, along with injecting updated CSS and JS into your browser while you're developing (included in [devpackages](https://github.com/digitoimistodude/devpackages))
105-
* [gulp](http://gulpjs.com/) build script that compiles both Less and Sass, checks for JavaScript errors, optimizes images, and concatenates and minifies files (see Dude's [devpackages](https://github.com/digitoimistodude/devpackages))
104+
* [BrowserSync](http://www.browsersync.io/) for keeping multiple browsers and devices synchronized while testing, along with injecting updated CSS and JS into your browser while you're developing
105+
* [gulp](http://gulpjs.com/) build script that compiles both Less and Sass, checks for JavaScript errors, optimizes images, and concatenates and minifies files
106106
* [npm](https://www.npmjs.com) for front-end package management
107107

108108
#### Navigation
@@ -248,7 +248,7 @@ Starting from v2.6.0 WooCommerce support comes with [Air helper](https://github.
248248
### Recommendations for development
249249

250250
* macOS
251-
* [Devpackages](https://github.com/digitoimistodude/devpackages) \- Npm and Gulp \+ plugins
251+
* npm and Gulp \+ plugins
252252
* [Dudestack](https://github.com/digitoimistodude/dudestack) \- A toolkit for creating a new professional WordPress project with deployments\. Heavily based on Bedrock by Roots\.
253253

254254
### How to build a new theme
@@ -287,13 +287,12 @@ Air is originally built on [dudestack](https://github.com/digitoimistodude/dudes
287287
6. Go to the themes folder of your WordPress instance via Terminal (`cd /var/www/airdev/content/themes`)
288288
7. Clone your fork with `git clone [email protected]:yourusername/air-light.git` (replace `yourusername` with your actual username)
289289
8. Cd to your new cloned repository `cd /var/www/airdev/content/themes/air-light`
290-
9. Add `devDependencies` to package.json from [here](https://github.com/digitoimistodude/devpackages/blob/master/package.json)
291-
10. Run `nvm use`.
292-
11. Install the dependencies by running `npm install` inside the theme folder (if you don't have npm installed, see [here](https://www.npmjs.com/get-npm) or just use [homebrew](https://brew.sh))
293-
12. Wait npm to get through files (get another cup of coffee)
294-
13. Activate theme - if you are using the lightweight [macos-lemp-setup](https://github.com/digitoimistodude/macos-lemp-setup): `cd /var/www/airdev && vendor/wp-cli/wp-cli/bin/wp theme activate air-light`
295-
14. Open whole project to your preferred coding editor, for example when using [Visual Studio Code](https://github.com/ronilaukkarinen/vscode-settings) that would be `code /var/www/airdev/content/themes/air-light` or via GUI (Open folder).
296-
15. Go to back to air-light dir with `cd /var/www/airdev/content/themes/air-light` and then run `gulp` and start developing! Please note, contributing to this theme is only possible when gulp is run from theme directory, NOT on project root.
290+
9. Run `nvm use`.
291+
10. Install the dependencies by running `npm install` inside the theme folder (if you don't have npm installed, see [here](https://www.npmjs.com/get-npm) or just use [homebrew](https://brew.sh))
292+
11. Wait npm to get through files (get another cup of coffee)
293+
12. Activate theme - if you are using the lightweight [macos-lemp-setup](https://github.com/digitoimistodude/macos-lemp-setup): `cd /var/www/airdev && vendor/wp-cli/wp-cli/bin/wp theme activate air-light`
294+
13. Open whole project to your preferred coding editor, for example when using [Visual Studio Code](https://github.com/ronilaukkarinen/vscode-settings) that would be `code /var/www/airdev/content/themes/air-light` or via GUI (Open folder).
295+
14. Go to back to air-light dir with `cd /var/www/airdev/content/themes/air-light` and then run `gulp` and start developing! Please note, contributing to this theme is only possible when gulp is run from theme directory, NOT on project root.
297296

298297
You may want to add `alias wp='./vendor/wp-cli/wp-cli/bin/wp'` for [macos-lemp-setup](https://github.com/digitoimistodude/macos-lemp-setup) to be able to run WP-CLI with just `wp`.
299298

@@ -410,7 +409,3 @@ That's it, you released a new version!
410409
Gzip file sizes tested with `wc -c css/prod/global.css` and `gzip -c css/prod/global.css | wc -c` commands.
411410

412411
**Theme developers please note:** if you use phpcs in [SublimeLinter as custom standard](https://github.com/ronilaukkarinen/sublime-settings/blob/master/Library/Application%20Support/Sublime%20Text%203/Packages/User/SublimeLinter.sublime-settings#L47) on [dudestack](https://github.com/digitoimistodude/dudestack), you will need extra content/themes/air-light subfolders inside the theme directory for it to work on both global projects and with air-light.
413-
414-
### Known issues
415-
416-
See tool related issues in [devpackages](https://github.com/digitoimistodude/devpackages#known-issues) and [air-light issue tracker](https://github.com/digitoimistodude/issues).

bin/tasks/dependencies.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/bin/bash
2-
# No longer using devpackages (DEV-334) - theme has built-in gulp setup
3-
42
echo "${YELLOW}Installing theme npm packages (like JS/CSS dependencies) for the new theme...${TXTRESET}"
53
cd ${PROJECT_THEME_PATH}
64
rm -f package-lock.json

bin/tasks/project.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# No longer copying from devpackages (DEV-334) - theme has built-in gulp setup
21
# Only copy .nvmrc to project root for consistency
32
echo "${YELLOW}Setting up project configuration...${TXTRESET}"
43
cp ${PROJECT_THEME_PATH}/.nvmrc ${PROJECT_PATH}/ 2>/dev/null || echo "No .nvmrc found in theme"

0 commit comments

Comments
 (0)