Skip to content

Commit eeb92de

Browse files
Update some things
1 parent c07798a commit eeb92de

File tree

5 files changed

+55
-55
lines changed

5 files changed

+55
-55
lines changed

.github/workflows/plan-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ jobs:
5454
ref: 'main'
5555
- uses: pnpm/action-setup@v4
5656
with:
57-
version: 9
57+
version: 10
5858
- uses: actions/setup-node@v4
5959
with:
60-
node-version: 18
60+
node-version: 22
6161
cache: pnpm
6262
- run: pnpm install --frozen-lockfile
6363
- name: "Generate Explanation and Prep Changelogs"

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
- uses: actions/checkout@v4
4949
- uses: pnpm/action-setup@v4
5050
with:
51-
version: 9
51+
version: 10
5252
- uses: actions/setup-node@v4
5353
with:
54-
node-version: 18
54+
node-version: 22
5555
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
5656
registry-url: 'https://registry.npmjs.org'
5757
cache: pnpm

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ HTMLBars template helpers for doing basic arithmetic operations
1414

1515
## Compatibility
1616

17-
* Ember.js v3.28 or above
18-
* Ember CLI v3.28 or above
17+
- Ember.js v4.12 or above
18+
- Embroider or ember-auto-import v2
1919

2020

2121
## Installation
2222

23-
`ember install ember-math-helpers`
23+
```
24+
ember install ember-math-helpers
25+
```
2426

2527
## Documentation
2628

ember-math-helpers/package.json

Lines changed: 42 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -8,66 +8,69 @@
88
"repository": "https://github.com/RobbieTheWagner/ember-math-helpers",
99
"license": "MIT",
1010
"author": {
11-
"name": "Robert Wagner",
11+
"name": "Robbie Wagner",
1212
"email": "[email protected]",
1313
"url": "https://github.com/RobbieTheWagner"
1414
},
15+
"files": [
16+
"addon-main.cjs",
17+
"declarations",
18+
"dist"
19+
],
1520
"scripts": {
16-
"build": "concurrently 'npm:build:*'",
17-
"build:docs": "cp ../README.md ./README.md",
18-
"build:js": "rollup --config",
19-
"build:types": "glint --declaration",
20-
"lint": "concurrently 'npm:lint:js'",
21-
"lint:fix": "concurrently 'npm:lint:js:fix'",
21+
"build": "rollup --config",
22+
"format": "prettier . --cache --write",
23+
"lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\" --prefixColors auto",
24+
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\" --prefixColors auto && pnpm run format",
25+
"lint:format": "prettier . --cache --check",
26+
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
2227
"lint:js": "eslint . --cache",
28+
"lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
2329
"lint:js:fix": "eslint . --fix",
2430
"lint:types": "glint",
25-
"start": "concurrently 'npm:start:*'",
26-
"start:js": "rollup --config --watch --no-watch.clearScreen",
27-
"start:types": "glint --declaration --watch",
31+
"start": "rollup --config --watch",
2832
"test": "echo 'A v2 addon does not have tests, run tests in test-app'",
29-
"prepack": "rollup --config",
30-
"prepare": "pnpm build",
31-
"prepublishOnly": "pnpm build"
33+
"prepack": "rollup --config"
3234
},
3335
"dependencies": {
34-
"@embroider/addon-shim": "^1.10.0"
36+
"@embroider/addon-shim": "^1.8.9",
37+
"decorator-transforms": "^2.2.2"
38+
},
39+
"peerDependencies": {
40+
"ember-source": ">= 4.12.0"
3541
},
3642
"devDependencies": {
37-
"@babel/core": "^7.26.10",
38-
"@babel/plugin-proposal-class-properties": "^7.18.6",
39-
"@babel/plugin-proposal-decorators": "^7.25.9",
40-
"@babel/plugin-transform-class-static-block": "^7.26.0",
41-
"@babel/plugin-transform-typescript": "^7.27.0",
42-
"@babel/runtime": "^7.27.0",
43+
"@babel/core": "^7.25.2",
44+
"@babel/plugin-transform-typescript": "^7.25.2",
45+
"@babel/eslint-parser": "^7.25.1",
46+
"@babel/runtime": "^7.25.6",
4347
"@embroider/addon-dev": "^8.0.1",
48+
"@eslint/js": "^9.17.0",
4449
"@glint/core": "^1.5.2",
4550
"@glint/environment-ember-loose": "^1.5.2",
4651
"@glint/environment-ember-template-imports": "^1.5.2",
4752
"@glint/template": "^1.5.2",
4853
"@rollup/plugin-babel": "6.0.4",
4954
"@tsconfig/ember": "^3.0.10",
5055
"@types/rsvp": "^4.0.9",
51-
"@typescript-eslint/eslint-plugin": "^8.29.0",
52-
"@typescript-eslint/parser": "^8.29.0",
53-
"concurrently": "9.1.2",
54-
"eslint": "^8.57.1",
55-
"eslint-config-prettier": "10.1.1",
56-
"eslint-plugin-decorator-position": "6.0.0",
57-
"eslint-plugin-ember": "12.5.0",
58-
"eslint-plugin-import": "2.31.0",
59-
"eslint-plugin-json": "4.0.1",
60-
"eslint-plugin-n": "^17.17.0",
61-
"eslint-plugin-prettier": "^5.2.6",
62-
"eslint-plugin-simple-import-sort": "12.1.1",
63-
"prettier": "^3.5.3",
64-
"rollup": "^4.39.0",
65-
"typescript": "^5.8.2",
56+
"babel-plugin-ember-template-compilation": "^2.2.5",
57+
"concurrently": "^9.0.1",
58+
"ember-source": "^5.4.0",
59+
"ember-template-lint": "^6.0.0",
60+
"eslint": "^9.17.0",
61+
"eslint-config-prettier": "^9.1.0",
62+
"eslint-plugin-ember": "^12.3.3",
63+
"eslint-plugin-import": "^2.31.0",
64+
"eslint-plugin-n": "^17.15.1",
65+
"globals": "^15.14.0",
66+
"prettier": "^3.4.2",
67+
"prettier-plugin-ember-template-tag": "^2.0.4",
68+
"rollup": "^4.22.5",
69+
"rollup-plugin-copy": "^3.5.0",
70+
"typescript-eslint": "^8.19.1",
71+
"typescript": "~5.6.0",
6672
"webpack": "^5.98.0"
6773
},
68-
"peerDependencies": {
69-
"ember-source": ">= 4.0.0"
70-
},
7174
"publishConfig": {
7275
"registry": "https://registry.npmjs.org"
7376
},
@@ -77,7 +80,7 @@
7780
"ember-addon": {
7881
"version": 2,
7982
"type": "addon",
80-
"main": "./addon-main.cjs",
83+
"main": "addon-main.cjs",
8184
"app-js": {
8285
"./helpers/abs.js": "./dist/_app_/helpers/abs.js",
8386
"./helpers/acos.js": "./dist/_app_/helpers/acos.js",
@@ -123,13 +126,6 @@
123126
"./helpers/trunc.js": "./dist/_app_/helpers/trunc.js"
124127
}
125128
},
126-
"files": [
127-
"addon-main.cjs",
128-
"declarations",
129-
"dist",
130-
"CHANGELOG.md",
131-
"README.md"
132-
],
133129
"exports": {
134130
".": {
135131
"types": "./declarations/index.d.ts",

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
2-
"version": "4.1.1",
32
"private": true,
43
"repository": "https://github.com/RobbieTheWagner/ember-math-helpers",
54
"license": "MIT",
65
"author": {
7-
"name": "Robert Wagner",
6+
"name": "Robbie Wagner",
87
"email": "[email protected]",
98
"url": "https://github.com/RobbieTheWagner"
109
},
@@ -21,8 +20,11 @@
2120
"test:ember": "pnpm --filter '*' test:ember"
2221
},
2322
"devDependencies": {
23+
"@glint/core": "^1.2.1",
2424
"concurrently": "^9.1.2",
2525
"npm-run-all": "^4.1.5",
26+
"prettier": "^3.0.3",
27+
"prettier-plugin-ember-template-tag": "^2.0.2",
2628
"release-plan": "^0.16.0"
2729
},
2830
"pnpm": {

0 commit comments

Comments
 (0)