Skip to content

Commit 56aa45e

Browse files
committed
fix(ember-flight-icons): align addon to components
1 parent 04b13ca commit 56aa45e

File tree

4 files changed

+47
-33
lines changed

4 files changed

+47
-33
lines changed

packages/ember-flight-icons/babel.config.json

+2-10
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@
2323
"import": "decorator-transforms/runtime"
2424
}
2525
}
26-
],
27-
[
28-
"@babel/plugin-proposal-decorators",
29-
{
30-
"legacy": true
31-
}
32-
],
33-
"@babel/plugin-transform-class-properties",
34-
"@babel/plugin-transform-private-methods"
26+
]
3527
]
36-
}
28+
}

packages/ember-flight-icons/package.json

+3-11
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
"license": "MPL-2.0",
1818
"author": "HashiCorp Design Systems <design-systems@hashicorp.com>",
1919
"scripts": {
20-
"build": "concurrently 'pnpm:build:*'",
21-
"build:js": "rollup --config",
22-
"build:types": "glint --declaration",
20+
"build": "rollup --config",
2321
"lint": "concurrently 'pnpm:lint:*(!fix)' --names 'lint:'",
2422
"lint:fix": "concurrently 'pnpm:lint:*:fix' --names 'fix:'",
2523
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
@@ -28,9 +26,7 @@
2826
"lint:js:fix": "eslint . --fix",
2927
"lint:types": "glint",
3028
"prepublishOnly": "concurrently 'pnpm:build:*'",
31-
"start": "concurrently 'pnpm:start:*'",
32-
"start:js": "rollup --config --watch --no-watch.clearScreen",
33-
"start:types": "glint --declaration --watch",
29+
"start": "rollup --config --watch",
3430
"test": "echo 'A v2 addon does not have tests, run tests in test-app'"
3531
},
3632
"dependencies": {
@@ -41,11 +37,7 @@
4137
},
4238
"devDependencies": {
4339
"@babel/core": "^7.26.0",
44-
"@babel/plugin-proposal-decorators": "^7.25.9",
45-
"@babel/plugin-transform-class-properties": "^7.25.9",
46-
"@babel/plugin-transform-private-methods": "^7.25.9",
4740
"@babel/plugin-transform-typescript": "^7.26.3",
48-
"@babel/preset-typescript": "^7.26.0",
4941
"@babel/runtime": "^7.26.0",
5042
"@embroider/addon-dev": "^7.1.1",
5143
"@glimmer/component": "^1.1.2",
@@ -113,4 +105,4 @@
113105
"engines": {
114106
"node": ">= 18"
115107
}
116-
}
108+
}

packages/ember-flight-icons/rollup.config.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ const plugins = [
4848
// Ensure that .gjs files are properly integrated as Javascript
4949
addon.gjs(),
5050

51+
// Emit .d.ts declaration files
52+
addon.declarations('declarations'),
53+
5154
// Addons are allowed to contain imports of .css files, which we want rollup
5255
// to leave alone and keep in the published output.
5356
addon.keepAssets(['**/*.css']),

pnpm-lock.yaml

+39-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)