justintime50-styles 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/build.yaml +7 -5
- package/.github/workflows/release.yaml +6 -5
- package/CHANGELOG.md +10 -1
- package/composer.json +4 -2
- package/package.json +9 -3
- package/src/css/.stylelintrc.json +1 -0
- package/src/javascript/eslint.config.js +18 -0
- package/src/javascript/.eslintrc.yaml +0 -8
|
@@ -6,9 +6,11 @@ jobs:
|
|
|
6
6
|
lint:
|
|
7
7
|
runs-on: ubuntu-latest
|
|
8
8
|
steps:
|
|
9
|
-
- uses: actions/checkout@
|
|
10
|
-
- uses: actions/setup-node@
|
|
9
|
+
- uses: actions/checkout@v4
|
|
10
|
+
- uses: actions/setup-node@v4
|
|
11
11
|
with:
|
|
12
|
-
node-version: '
|
|
13
|
-
- run:
|
|
14
|
-
|
|
12
|
+
node-version: '22'
|
|
13
|
+
- run: |
|
|
14
|
+
npm install
|
|
15
|
+
npm run format-check
|
|
16
|
+
npm run lint
|
|
@@ -9,12 +9,13 @@ jobs:
|
|
|
9
9
|
release:
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
steps:
|
|
12
|
-
- uses: actions/checkout@
|
|
13
|
-
- uses: actions/setup-node@
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
- uses: actions/setup-node@v4
|
|
14
14
|
with:
|
|
15
|
-
node-version: '
|
|
15
|
+
node-version: '22'
|
|
16
16
|
registry-url: 'https://registry.npmjs.org'
|
|
17
|
-
- run:
|
|
18
|
-
|
|
17
|
+
- run: |
|
|
18
|
+
npm install
|
|
19
|
+
npm publish
|
|
19
20
|
env:
|
|
20
21
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## v0.7.0 (2025-01-07)
|
|
4
|
+
|
|
5
|
+
- Migrates ESLint config from v8 to v9 syntax
|
|
6
|
+
- Adds Node and PHP minimum version constraints
|
|
7
|
+
|
|
8
|
+
## v0.6.0 (2024-05-31)
|
|
9
|
+
|
|
10
|
+
- Ignores `at-rule-no-unknown` in CSS linting.
|
|
11
|
+
|
|
3
12
|
## v0.5.0 (2023-08-07)
|
|
4
13
|
|
|
5
|
-
Disables the `no-descending-specificity` rule of stylelint as I'm almost always using nested SASS which doesn't play nicely with this rule
|
|
14
|
+
- Disables the `no-descending-specificity` rule of stylelint as I'm almost always using nested SASS which doesn't play nicely with this rule
|
|
6
15
|
|
|
7
16
|
## v0.4.0 (2023-04-27)
|
|
8
17
|
|
package/composer.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "justintime50/styles",
|
|
3
3
|
"description": "A collection of style guides and best practices used for my projects and teams.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "library",
|
|
7
7
|
"homepage": "https://github.com/Justintime50/styles",
|
|
@@ -11,5 +11,7 @@
|
|
|
11
11
|
"email": "39606064+Justintime50@users.noreply.github.com"
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
|
-
"require": {
|
|
14
|
+
"require": {
|
|
15
|
+
"php": "^8.0"
|
|
16
|
+
}
|
|
15
17
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "justintime50-styles",
|
|
3
3
|
"description": "A collection of style guides and best practices used for my projects and teams.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"author": "Justintime50",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/justintime50/styles",
|
|
@@ -9,11 +9,17 @@
|
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/justintime50/styles.git"
|
|
11
11
|
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=16.0"
|
|
14
|
+
},
|
|
12
15
|
"devDependencies": {
|
|
13
|
-
"
|
|
16
|
+
"eslint": "^9.0",
|
|
17
|
+
"prettier": "^3.4"
|
|
14
18
|
},
|
|
15
19
|
"scripts": {
|
|
16
20
|
"format": "prettier --config src/javascript/.prettierrc.yaml --write .",
|
|
17
|
-
"format-check": "prettier --config src/javascript/.prettierrc.yaml --check ."
|
|
21
|
+
"format-check": "prettier --config src/javascript/.prettierrc.yaml --check .",
|
|
22
|
+
"lint": "eslint --config src/javascript/eslint.config.js .",
|
|
23
|
+
"lint-fix": "eslint --config src/javascript/eslint.config.js --fix ."
|
|
18
24
|
}
|
|
19
25
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// ESLint v9+ Config Syntax
|
|
2
|
+
import js from '@eslint/js';
|
|
3
|
+
import globals from 'globals';
|
|
4
|
+
|
|
5
|
+
export default [
|
|
6
|
+
js.configs.recommended,
|
|
7
|
+
{
|
|
8
|
+
languageOptions: {
|
|
9
|
+
ecmaVersion: 2024,
|
|
10
|
+
sourceType: 'module',
|
|
11
|
+
globals: {
|
|
12
|
+
...globals.browser,
|
|
13
|
+
...globals.node,
|
|
14
|
+
...globals.mocha,
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
];
|