Skip to content

Commit

Permalink
chore: bump to [email protected] (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter authored Jan 12, 2024
1 parent 9c0b1ac commit 1a226dc
Show file tree
Hide file tree
Showing 75 changed files with 4,005 additions and 7,264 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx", "import", "jest"],
"plugins": ["@nx", "import", "jest"],
"extends": ["plugin:import/typescript"],
"settings": {
"import/resolver": {
Expand All @@ -28,7 +28,7 @@
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"excludedFiles": "*.fixture.js",
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
Expand All @@ -45,15 +45,15 @@
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"extends": ["plugin:@nx/typescript"],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": "error"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
},
{
Expand Down
3 changes: 3 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ module.exports = {
presets: [...options.presets, '@babel/typescript'],
};
},
core: {},
stories: [],
addons: [],
};
36 changes: 0 additions & 36 deletions .yarn/patches/@nrwl-rollup-npm-15.9.7-09d422d3f8.patch

This file was deleted.

6 changes: 3 additions & 3 deletions apps/benchmark/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"executor": "nx:run-commands",
"options": {
"cwd": "apps/benchmark",
"commands": [{ "command": "node ./build.js" }],
"outputPath": ["dist/apps/benchmark"]
}
"commands": [{ "command": "node ./build.js" }]
},
"outputs": ["{workspaceRoot}/dist/apps/benchmark"]
},
"watch": {
"executor": "nx:run-commands",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as React from 'react';

const getClassName = (customStyles: IStyle) => {
return mergeStyles([
// @ts-expect-error Typings of v7 are not compatible with latest TS
{
alignItems: 'stretch',
borderWidth: '0px',
Expand Down
6 changes: 3 additions & 3 deletions apps/website/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"executor": "nx:run-commands",
"options": {
"cwd": "apps/website",
"commands": [{ "command": "docusaurus build --out-dir ../../dist/apps/website" }],
"outputPath": ["dist/apps/website"]
}
"commands": [{ "command": "docusaurus build --out-dir ../../dist/apps/website" }]
},
"outputs": ["{workspaceRoot}/dist/apps/website"]
},
"serve": {
"executor": "nx:run-commands",
Expand Down
4 changes: 2 additions & 2 deletions apps/website/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"types": [
"../../node_modules/@docusaurus/module-type-aliases",
"../../node_modules/@docusaurus/theme-classic",
"environment",
"static-assets",
"@docusaurus/module-type-aliases",
"@docusaurus/theme-classic",
"webpack-env"
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: bump to [email protected]",
"packageName": "@griffel/core",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: bump to [email protected]",
"packageName": "@griffel/devtools",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: bump to [email protected]",
"packageName": "@griffel/eslint-plugin",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: bump to [email protected]",
"packageName": "@griffel/postcss-syntax",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: bump to [email protected]",
"packageName": "@griffel/react",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: bump to [email protected]",
"packageName": "@griffel/shadow-dom",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: bump to [email protected]",
"packageName": "@griffel/style-types",
"email": "[email protected]",
"dependentChangeType": "none"
}
8 changes: 4 additions & 4 deletions e2e/nextjs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"targets": {
"test": {
"executor": "nx:run-commands",
"dependsOn": [{ "target": "build", "projects": "dependencies" }],
"dependsOn": [{ "target": "build", "dependencies": true }],
"options": {
"cwd": "e2e/nextjs",
"commands": [{ "command": "ts-node src/test.ts" }],
"outputPath": []
}
"commands": [{ "command": "ts-node src/test.ts" }]
},
"outputs": []
},
"type-check": {
"executor": "nx:run-commands",
Expand Down
8 changes: 4 additions & 4 deletions e2e/rspack/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"targets": {
"test": {
"executor": "nx:run-commands",
"dependsOn": [{ "target": "build", "projects": "dependencies" }],
"dependsOn": [{ "target": "build", "dependencies": true }],
"options": {
"cwd": "e2e/rspack",
"commands": [{ "command": "ts-node src/test.ts" }],
"outputPath": []
}
"commands": [{ "command": "ts-node src/test.ts" }]
},
"outputs": []
},
"type-check": {
"executor": "nx:run-commands",
Expand Down
8 changes: 4 additions & 4 deletions e2e/typescript/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"targets": {
"test": {
"executor": "nx:run-commands",
"dependsOn": [{ "target": "build", "projects": "dependencies" }],
"dependsOn": [{ "target": "build", "dependencies": true }],
"options": {
"cwd": "e2e/typescript",
"commands": [{ "command": "ts-node src/test.ts" }],
"outputPath": []
}
"commands": [{ "command": "ts-node src/test.ts" }]
},
"outputs": []
},
"type-check": {
"executor": "nx:run-commands",
Expand Down
6 changes: 3 additions & 3 deletions e2e/utils/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"executor": "nx:run-commands",
"options": {
"cwd": "e2e/utils",
"commands": [{ "command": "tsc -b --pretty" }],
"outputPath": []
}
"commands": [{ "command": "tsc -b --pretty" }]
},
"outputs": []
}
},
"tags": []
Expand Down
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { getJestProjects } = require('@nrwl/jest');
const { getJestProjects } = require('@nx/jest');

export default {
projects: getJestProjects(),
Expand Down
2 changes: 1 addition & 1 deletion jest.preset.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const nxPreset = require('@nrwl/jest/preset').default;
const nxPreset = require('@nx/jest/preset').default;

module.exports = {
...nxPreset,
Expand Down
20 changes: 10 additions & 10 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"extends": "nx/presets/core.json",
"npmScope": "griffel",
"affected": {
"defaultBase": "main"
},
"cli": {
"defaultCollection": "@nrwl/workspace"
},
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
Expand All @@ -16,6 +7,15 @@
}
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"extends": "nx/presets/core.json",
"npmScope": "griffel",
"affected": {
"defaultBase": "main"
},
"cli": {
"defaultCollection": "@nx/workspace"
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"]
Expand All @@ -25,7 +25,7 @@
}
},
"pluginsConfig": {
"@nrwl/js": {
"@nx/js": {
"analyzeSourceFiles": true
}
}
Expand Down
Loading

0 comments on commit 1a226dc

Please sign in to comment.