From 240abad4359d9d6614949eeecbbdd938ec68ced1 Mon Sep 17 00:00:00 2001 From: Brijesh Bittu Date: Fri, 12 Jul 2024 13:24:34 +0530 Subject: [PATCH] Move app to examples --- .../pigment-css-webpack-ts/.gitignore | 0 .../pigment-css-webpack-ts/README.md | 0 .../pigment-css-webpack-ts/index.html | 0 .../pigment-css-webpack-ts/package.json | 18 ++---------------- .../pigment-css-webpack-ts/src/App.tsx | 0 .../pigment-css-webpack-ts/src/augment.d.ts | 0 .../pigment-css-webpack-ts/src/globals.css | 0 .../pigment-css-webpack-ts/src/main.tsx | 0 .../pigment-css-webpack-ts/tsconfig.json | 0 .../pigment-css-webpack-ts/tsconfig.node.json | 0 .../pigment-css-webpack-ts/webpack.config.cjs | 0 11 files changed, 2 insertions(+), 16 deletions(-) rename {apps => examples}/pigment-css-webpack-ts/.gitignore (100%) rename {apps => examples}/pigment-css-webpack-ts/README.md (100%) rename {apps => examples}/pigment-css-webpack-ts/index.html (100%) rename {apps => examples}/pigment-css-webpack-ts/package.json (68%) rename {apps => examples}/pigment-css-webpack-ts/src/App.tsx (100%) rename {apps => examples}/pigment-css-webpack-ts/src/augment.d.ts (100%) rename {apps => examples}/pigment-css-webpack-ts/src/globals.css (100%) rename {apps => examples}/pigment-css-webpack-ts/src/main.tsx (100%) rename {apps => examples}/pigment-css-webpack-ts/tsconfig.json (100%) rename {apps => examples}/pigment-css-webpack-ts/tsconfig.node.json (100%) rename {apps => examples}/pigment-css-webpack-ts/webpack.config.cjs (100%) diff --git a/apps/pigment-css-webpack-ts/.gitignore b/examples/pigment-css-webpack-ts/.gitignore similarity index 100% rename from apps/pigment-css-webpack-ts/.gitignore rename to examples/pigment-css-webpack-ts/.gitignore diff --git a/apps/pigment-css-webpack-ts/README.md b/examples/pigment-css-webpack-ts/README.md similarity index 100% rename from apps/pigment-css-webpack-ts/README.md rename to examples/pigment-css-webpack-ts/README.md diff --git a/apps/pigment-css-webpack-ts/index.html b/examples/pigment-css-webpack-ts/index.html similarity index 100% rename from apps/pigment-css-webpack-ts/index.html rename to examples/pigment-css-webpack-ts/index.html diff --git a/apps/pigment-css-webpack-ts/package.json b/examples/pigment-css-webpack-ts/package.json similarity index 68% rename from apps/pigment-css-webpack-ts/package.json rename to examples/pigment-css-webpack-ts/package.json index 155ab838..70113288 100644 --- a/apps/pigment-css-webpack-ts/package.json +++ b/examples/pigment-css-webpack-ts/package.json @@ -8,12 +8,12 @@ "preview": "vite preview" }, "dependencies": { - "@pigment-css/react": "workspace:^", + "@pigment-css/react": "latest", "react": "latest", "react-dom": "latest" }, "devDependencies": { - "@pigment-css/unplugin": "workspace:^", + "@pigment-css/unplugin": "latest", "@types/react": "latest", "@types/react-dom": "latest", "css-loader": "^7.1.2", @@ -24,19 +24,5 @@ "webpack": "^5.91.0", "webpack-cli": "^5.1.4", "webpack-dev-server": "^5.0.4" - }, - "nx": { - "targets": { - "preview": { - "dependsOn": [ - "^build" - ] - }, - "dev": { - "dependsOn": [ - "^build" - ] - } - } } } diff --git a/apps/pigment-css-webpack-ts/src/App.tsx b/examples/pigment-css-webpack-ts/src/App.tsx similarity index 100% rename from apps/pigment-css-webpack-ts/src/App.tsx rename to examples/pigment-css-webpack-ts/src/App.tsx diff --git a/apps/pigment-css-webpack-ts/src/augment.d.ts b/examples/pigment-css-webpack-ts/src/augment.d.ts similarity index 100% rename from apps/pigment-css-webpack-ts/src/augment.d.ts rename to examples/pigment-css-webpack-ts/src/augment.d.ts diff --git a/apps/pigment-css-webpack-ts/src/globals.css b/examples/pigment-css-webpack-ts/src/globals.css similarity index 100% rename from apps/pigment-css-webpack-ts/src/globals.css rename to examples/pigment-css-webpack-ts/src/globals.css diff --git a/apps/pigment-css-webpack-ts/src/main.tsx b/examples/pigment-css-webpack-ts/src/main.tsx similarity index 100% rename from apps/pigment-css-webpack-ts/src/main.tsx rename to examples/pigment-css-webpack-ts/src/main.tsx diff --git a/apps/pigment-css-webpack-ts/tsconfig.json b/examples/pigment-css-webpack-ts/tsconfig.json similarity index 100% rename from apps/pigment-css-webpack-ts/tsconfig.json rename to examples/pigment-css-webpack-ts/tsconfig.json diff --git a/apps/pigment-css-webpack-ts/tsconfig.node.json b/examples/pigment-css-webpack-ts/tsconfig.node.json similarity index 100% rename from apps/pigment-css-webpack-ts/tsconfig.node.json rename to examples/pigment-css-webpack-ts/tsconfig.node.json diff --git a/apps/pigment-css-webpack-ts/webpack.config.cjs b/examples/pigment-css-webpack-ts/webpack.config.cjs similarity index 100% rename from apps/pigment-css-webpack-ts/webpack.config.cjs rename to examples/pigment-css-webpack-ts/webpack.config.cjs