Skip to content

Commit

Permalink
Remove project names (so that they are inferred) and some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Mar 20, 2024
1 parent 4bcb543 commit bd516b1
Show file tree
Hide file tree
Showing 83 changed files with 5 additions and 84 deletions.
2 changes: 1 addition & 1 deletion code/addons/a11y/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "addon-a11y",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"implicitDependencies": [],
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/actions/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-actions",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/backgrounds/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-backgrounds",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/controls/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-controls",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/docs/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-docs",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/essentials/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-essentials",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/gfm/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-mdx-gfm",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/highlight/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-highlight",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/interactions/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-interactions",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/jest/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-jest",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/links/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-links",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/measure/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-measure",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/onboarding/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-onboarding",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/outline/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-outline",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/storysource/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-storysource",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
2 changes: 0 additions & 2 deletions code/addons/themes/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"name": "addon-themes",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
"build": {}
}
Expand Down
1 change: 0 additions & 1 deletion code/addons/toolbars/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-toolbars",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/addons/viewport/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "addon-viewport",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/builders/builder-manager/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "builder-manager",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/builders/builder-vite/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "builder-vite",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/builders/builder-webpack5/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "builder-webpack5",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/angular/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "angular",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/ember/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "ember",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/html-vite/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "html-vite",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/html-webpack5/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "html-webpack5",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/nextjs/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "nextjs",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/preact-vite/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "preact-vite",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/preact-webpack5/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "preact-webpack5",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/react-vite/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "react-vite",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/react-webpack5/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "react-webpack5",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/server-webpack5/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "server-webpack5",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/svelte-vite/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "svelte-vite",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/svelte-webpack5/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "svelte-webpack5",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/sveltekit/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "sveltekit",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/vue3-vite/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "vue3-vite",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/vue3-webpack5/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "vue3-webpack5",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/web-components-vite/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "web-components-vite",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/web-components-webpack5/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "web-components-webpack5",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/channels/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "channels",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/cli-sb/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "cli-sb",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {}
Expand Down
1 change: 0 additions & 1 deletion code/lib/cli-storybook/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "cli-storybook",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {}
Expand Down
1 change: 0 additions & 1 deletion code/lib/cli/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "cli",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/client-logger/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "client-logger",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/codemod/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "codemod",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/core-common/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "core-common",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/core-events/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "core-events",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/core-server/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "core-server",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/core-webpack/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "core-webpack",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/csf-plugin/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "csf-plugin",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/csf-tools/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "csf-tools",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/docs-tools/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "docs-tools",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/instrumenter/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "instrumenter",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/manager-api/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "manager-api",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/node-logger/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "node-logger",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/preview-api/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "preview-api",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/preview/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "preview",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/react-dom-shim/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "react-dom-shim",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/router/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "router",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/source-loader/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "source-loader",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/telemetry/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "telemetry",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/test/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "test",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/theming/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "theming",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/types/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "types",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
Expand Down
3 changes: 1 addition & 2 deletions code/nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@
"executor": "nx:run-commands",
"options": {
"cwd": "{workspaceRoot}",
"command": "yarn vitest run --project={projectName}",
"args": "--passWithNoTests"
"command": "yarn vitest watch --project={projectName}"
},
"dependsOn": ["build"],
"inputs": [
Expand Down
Loading

0 comments on commit bd516b1

Please sign in to comment.