Skip to content
Draft
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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
| 📦 [`@rocket.chat/memo`](/packages/memo) | Memoization utilities | [![npm](https://img.shields.io/npm/v/@rocket.chat/memo?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/memo) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/memo?style=flat-square) |
| 📦 [`@rocket.chat/mp3-encoder`](/packages/mp3-encoder) | A LAME encoder to be used in web workers | [![npm](https://img.shields.io/npm/v/@rocket.chat/mp3-encoder?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/mp3-encoder) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/mp3-encoder?style=flat-square) |
| 📦 [`@rocket.chat/onboarding-ui`](/packages/onboarding-ui) | Set of components and functions for the onboarding experience on Rocket.Chat | [![npm](https://img.shields.io/npm/v/@rocket.chat/onboarding-ui?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/onboarding-ui) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/onboarding-ui?style=flat-square) |
| 📦 [`@rocket.chat/peggy-loader`](/packages/peggy-loader) | Peggy loader for webpack | [![npm](https://img.shields.io/npm/v/@rocket.chat/peggy-loader?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/peggy-loader) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/peggy-loader?style=flat-square) |
| 📦 [`@rocket.chat/prettier-config`](/packages/prettier-config) | Prettier configuration for Rocket.Chat repositories | [![npm](https://img.shields.io/npm/v/@rocket.chat/prettier-config?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/prettier-config) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/prettier-config?style=flat-square) |
| 📦 [`@rocket.chat/string-helpers`](/packages/string-helpers) | Helper functions for string manipulation | [![npm](https://img.shields.io/npm/v/@rocket.chat/string-helpers?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/string-helpers) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/string-helpers?style=flat-square) |
| 📦 [`@rocket.chat/styled`](/packages/styled) | A simple styled API for React components | [![npm](https://img.shields.io/npm/v/@rocket.chat/styled?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/styled) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/styled?style=flat-square) |
Expand Down
4 changes: 0 additions & 4 deletions _templates/create-package/library/files/.gitignore.t

This file was deleted.

4 changes: 0 additions & 4 deletions _templates/create-package/library/files/.prettierignore.t

This file was deleted.

95 changes: 0 additions & 95 deletions _templates/create-package/library/files/README.md.t

This file was deleted.

59 changes: 0 additions & 59 deletions _templates/create-package/library/files/package.json.t

This file was deleted.

4 changes: 0 additions & 4 deletions _templates/create-package/library/files/src/index.ts.t

This file was deleted.

11 changes: 0 additions & 11 deletions _templates/create-package/library/files/tsconfig.cjs.json.t

This file was deleted.

7 changes: 0 additions & 7 deletions _templates/create-package/library/files/tsconfig.esm.json.t

This file was deleted.

20 changes: 0 additions & 20 deletions _templates/create-package/library/files/tsconfig.json.t

This file was deleted.

28 changes: 0 additions & 28 deletions _templates/create-package/library/prompt.js

This file was deleted.

5 changes: 0 additions & 5 deletions _templates/generator/help/index.ejs.t

This file was deleted.

18 changes: 0 additions & 18 deletions _templates/generator/new/hello.ejs.t

This file was deleted.

18 changes: 0 additions & 18 deletions _templates/generator/with-prompt/hello.ejs.t

This file was deleted.

14 changes: 0 additions & 14 deletions _templates/generator/with-prompt/prompt.js.t

This file was deleted.

1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ export default tseslint.config(
ignoreRestSiblings: true,
},
],
'dot-notation': 'off',
'no-dupe-class-members': 'off',
'no-empty-function': 'off',
'no-use-before-define': 'off',
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"changeset": "changeset",
"ci": "yarn turbo run build lint test build-storybook --cache-dir=\".turbo\"",
"clean": "yarn workspaces foreach -vA run clean",
"create-package": "hygen create-package",
"docs": "yarn turbo run docs",
"postinstall": "husky install && yarn build",
"lint": "yarn turbo run lint",
Expand Down Expand Up @@ -41,7 +40,6 @@
"eslint-plugin-storybook": "~9.1.16",
"globals": "~16.5.0",
"husky": "~9.1.7",
"hygen": "~6.2.11",
"pinst": "~3.0.0",
"prettier": "~3.6.2",
"storybook": "~9.1.16",
Expand Down
2 changes: 1 addition & 1 deletion packages/css-in-js/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { createAnimationName, createClassName, escapeName } from './names';
export { css, keyframes, cssFn, keyframesFn } from './tags';
export { css, keyframes, type cssFn, type keyframesFn } from './tags';
export { cssSupports } from '@rocket.chat/css-supports';
export { attachRules } from './sheet';
export { transpile } from './transpile';
2 changes: 1 addition & 1 deletion packages/css-in-js/src/sheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const wrapReferenceCounting = (attacher: RuleAttacher): RuleAttacher => {
*/
export const attachRules: RuleAttacher =
(typeof window === 'undefined' && discardRules) ||
(process.env.NODE_ENV === 'production' &&
(process.env['NODE_ENV'] === 'production' &&
!!CSSStyleSheet.prototype.insertRule &&
wrapReferenceCounting(attachRulesIntoStyleSheet)) ||
wrapReferenceCounting(attachRulesIntoElement);
8 changes: 1 addition & 7 deletions packages/css-in-js/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src",
"module": "ESNext",
"lib": ["dom", "es6"],
"declarationDir": "./dist",
"outDir": "./dist",
"moduleResolution": "node",
"noEmit": true,
"esModuleInterop": true,
"skipLibCheck": true
"outDir": "./dist"
},
"include": ["src"],
"exclude": ["dist", "node_modules"]
Expand Down
1 change: 1 addition & 0 deletions packages/css-supports/tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"outDir": "./dist/cjs"
}
}
7 changes: 1 addition & 6 deletions packages/css-supports/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src",
"module": "ESNext",
"outDir": "./dist/esm",
"esModuleInterop": true,
"skipLibCheck": true,
"moduleResolution": "node",
"resolveJsonModule": true
"outDir": "./dist/esm"
},
"include": ["src/**/*"],
"typedocOptions": {
Expand Down
Loading
Loading