diff --git a/apps/base-ui-toolkit-react/project.json b/apps/base-ui-toolkit-react/project.json index bfa6e2c..d5192ed 100644 --- a/apps/base-ui-toolkit-react/project.json +++ b/apps/base-ui-toolkit-react/project.json @@ -1,45 +1,45 @@ { - "targets": { - "typecheck": { - "executor": "nx:run-commands", - "options": { - "commands": ["tsc -p tsconfig.app.json --noEmit"], - "cwd": "apps/base-ui-toolkit-react", - "forwardAllArgs": false - } - } - }, - "test": { - "executor": "@nrwl/vite:test", - "outputs": ["coverage/apps/base-ui-toolkit-react"], - "options": { - "passWithNoTests": true, - "reportsDirectory": "../../coverage/apps/sample-react-app" - } - }, - "build": { - "executor": "@nrwl/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/apps/base-ui-toolkit-react" + "targets": { + "typecheck": { + "executor": "nx:run-commands", + "options": { + "commands": ["tsc -p tsconfig.app.json --noEmit"], + "cwd": "apps/base-ui-toolkit-react", + "forwardAllArgs": false + } + } }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - }, - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": [ - "apps/base-ui-toolkit-react/**/*.{ts,tsx,js,jsx}" - ] + "test": { + "executor": "@nrwl/vite:test", + "outputs": ["coverage/apps/base-ui-toolkit-react"], + "options": { + "passWithNoTests": true, + "reportsDirectory": "../../coverage/apps/sample-react-app" + } + }, + "build": { + "executor": "@nrwl/vite:build", + "outputs": ["{options.outputPath}"], + "defaultConfiguration": "production", + "options": { + "outputPath": "dist/apps/base-ui-toolkit-react" + }, + "configurations": { + "development": { + "mode": "development" + }, + "production": { + "mode": "production" + } + } + }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": [ + "apps/base-ui-toolkit-react/**/*.{ts,tsx,js,jsx}" + ] + } } - } } diff --git a/apps/nt-css/package.json b/apps/nt-css/package.json index f50ffd8..db30637 100644 --- a/apps/nt-css/package.json +++ b/apps/nt-css/package.json @@ -4,7 +4,8 @@ "description": "", "packageManager": "pnpm@9.0.5", "scripts": { - "build": "pnpm exec tailwindcss -i ./src/styles.scss -o ./dist/output.css --minify" + "build:css": "pnpm exec postcss src/styles.css -o dist/styles.css", + "publish:css": "pnpm run build:css && npm publish dist/apps/nt-css" }, "engines": { "node": "20" @@ -14,11 +15,9 @@ "license": "ISC", "devDependencies": { "@types/node": "20.4.9", - "tailwindcss": "3.4.0", + "autoprefixer": "^10.4.20", + "postcss": "^8.4.49", + "tailwindcss": "^3.4.0", "typescript": "^5.6.3" - }, - "dependencies": { - "autoprefixer": "10.4.16", - "postcss": "^8.4.32" } } diff --git a/apps/nt-css/project.json b/apps/nt-css/project.json new file mode 100644 index 0000000..08e8093 --- /dev/null +++ b/apps/nt-css/project.json @@ -0,0 +1,13 @@ +{ + "name": "nt-css", + "targets": { + "build": { + "executor": "@nrwl/node:build", + "outputs": ["{options.outputPath}"], + "options": { + "outputPath": "dist/apps/nt-css", + "assets": ["src/**/*"] + } + } + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 50f9a02..89354b7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: devDependencies: '@nrwl/eslint-plugin-nx': specifier: ^19.8.4 - version: 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5))(eslint-config-prettier@9.0.0(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)(typescript@5.4.5) + version: 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-config-prettier@9.0.0(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)(typescript@5.6.3) '@nrwl/linter': specifier: ^19.8.4 version: 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@zkochan/js-yaml@0.0.7)(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5) @@ -275,19 +275,18 @@ importers: version: 3.5.1(@types/node@20.4.9)(rollup@4.24.0)(typescript@5.1.6)(vite@5.4.10(@types/node@20.4.9)(sass@1.81.0)(terser@5.36.0)) apps/nt-css: - dependencies: - autoprefixer: - specifier: 10.4.16 - version: 10.4.16(postcss@8.4.47) - postcss: - specifier: ^8.4.32 - version: 8.4.47 devDependencies: '@types/node': specifier: 20.4.9 version: 20.4.9 + autoprefixer: + specifier: ^10.4.20 + version: 10.4.20(postcss@8.4.49) + postcss: + specifier: ^8.4.49 + version: 8.4.49 tailwindcss: - specifier: 3.4.0 + specifier: ^3.4.0 version: 3.4.0(ts-node@10.9.1(@types/node@20.4.9)(typescript@5.6.3)) typescript: specifier: ^5.6.3 @@ -1397,7 +1396,7 @@ packages: resolution: {integrity: sha512-2D6y7fNvFmsLmRt6UCOFJPvFoPMJGT0Uh1Wg0RaigUp7kdQPs6yYn8Dmx6GZkOH/NW0yMTwRz/p0SRMMRo50vA==} peerDependencies: typescript: '>= 4.3.x' - vite: '>=4.4.12' + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 peerDependenciesMeta: typescript: optional: true @@ -2765,6 +2764,13 @@ packages: peerDependencies: postcss: ^8.1.0 + autoprefixer@10.4.20: + resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==} + engines: {node: ^10 || ^12 || >=14} + hasBin: true + peerDependencies: + postcss: ^8.1.0 + available-typed-arrays@1.0.7: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} @@ -5182,6 +5188,10 @@ packages: resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} engines: {node: ^10 || ^12 || >=14} + postcss@8.4.49: + resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==} + engines: {node: ^10 || ^12 || >=14} + prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} @@ -7836,9 +7846,9 @@ snapshots: transitivePeerDependencies: - nx - '@nrwl/eslint-plugin-nx@19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5))(eslint-config-prettier@9.0.0(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)(typescript@5.4.5)': + '@nrwl/eslint-plugin-nx@19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-config-prettier@9.0.0(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)(typescript@5.6.3)': dependencies: - '@nx/eslint-plugin': 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5))(eslint-config-prettier@9.0.0(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)(typescript@5.4.5) + '@nx/eslint-plugin': 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-config-prettier@9.0.0(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)(typescript@5.6.3) transitivePeerDependencies: - '@babel/traverse' - '@swc-node/register' @@ -7869,6 +7879,21 @@ snapshots: - typescript - verdaccio + '@nrwl/js@19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(nx@20.0.5)(typescript@5.6.3)': + dependencies: + '@nx/js': 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(nx@20.0.5)(typescript@5.6.3) + transitivePeerDependencies: + - '@babel/traverse' + - '@swc-node/register' + - '@swc/core' + - '@swc/wasm' + - '@types/node' + - debug + - nx + - supports-color + - typescript + - verdaccio + '@nrwl/linter@19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@zkochan/js-yaml@0.0.7)(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)': dependencies: '@nx/eslint': 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@zkochan/js-yaml@0.0.7)(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5) @@ -7928,15 +7953,15 @@ snapshots: tslib: 2.8.0 yargs-parser: 21.1.1 - '@nx/eslint-plugin@19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5))(eslint-config-prettier@9.0.0(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)(typescript@5.4.5)': + '@nx/eslint-plugin@19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-config-prettier@9.0.0(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)(typescript@5.6.3)': dependencies: '@eslint/compat': 1.2.1(eslint@9.13.0(jiti@1.21.6)) - '@nrwl/eslint-plugin-nx': 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5))(eslint-config-prettier@9.0.0(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)(typescript@5.4.5) + '@nrwl/eslint-plugin-nx': 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint-config-prettier@9.0.0(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)(typescript@5.6.3) '@nx/devkit': 19.8.4(nx@20.0.5) - '@nx/js': 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(nx@20.0.5)(typescript@5.4.5) - '@typescript-eslint/parser': 6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5) - '@typescript-eslint/type-utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5) - '@typescript-eslint/utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5) + '@nx/js': 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(nx@20.0.5)(typescript@5.6.3) + '@typescript-eslint/parser': 6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/type-utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) chalk: 4.1.2 confusing-browser-globals: 1.0.11 globals: 15.11.0 @@ -8023,6 +8048,49 @@ snapshots: - supports-color - typescript + '@nx/js@19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(nx@20.0.5)(typescript@5.6.3)': + dependencies: + '@babel/core': 7.25.9 + '@babel/plugin-proposal-decorators': 7.25.9(@babel/core@7.25.9) + '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.25.9) + '@babel/plugin-transform-runtime': 7.25.9(@babel/core@7.25.9) + '@babel/preset-env': 7.25.9(@babel/core@7.25.9) + '@babel/preset-typescript': 7.25.9(@babel/core@7.25.9) + '@babel/runtime': 7.25.9 + '@nrwl/js': 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(nx@20.0.5)(typescript@5.6.3) + '@nx/devkit': 19.8.4(nx@20.0.5) + '@nx/workspace': 19.8.4 + babel-plugin-const-enum: 1.2.0(@babel/core@7.25.9) + babel-plugin-macros: 2.8.0 + babel-plugin-transform-typescript-metadata: 0.3.2(@babel/core@7.25.9)(@babel/traverse@7.25.9) + chalk: 4.1.2 + columnify: 1.6.0 + detect-port: 1.6.1 + enquirer: 2.3.6 + fast-glob: 3.2.7 + ignore: 5.3.2 + js-tokens: 4.0.0 + jsonc-parser: 3.2.0 + minimatch: 9.0.3 + npm-package-arg: 11.0.1 + npm-run-path: 4.0.1 + ora: 5.3.0 + semver: 7.6.3 + source-map-support: 0.5.19 + ts-node: 10.9.1(@types/node@22.7.9)(typescript@5.6.3) + tsconfig-paths: 4.2.0 + tslib: 2.8.0 + transitivePeerDependencies: + - '@babel/traverse' + - '@swc-node/register' + - '@swc/core' + - '@swc/wasm' + - '@types/node' + - debug + - nx + - supports-color + - typescript + '@nx/linter@19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@zkochan/js-yaml@0.0.7)(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5)': dependencies: '@nx/eslint': 19.8.4(@babel/traverse@7.25.9)(@types/node@22.7.9)(@zkochan/js-yaml@0.0.7)(eslint@9.13.0(jiti@1.21.6))(nx@20.0.5) @@ -8874,16 +8942,16 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5)': + '@typescript-eslint/parser@6.21.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.6.3) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.7 eslint: 9.13.0(jiti@1.21.6) optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -8914,14 +8982,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5)': + '@typescript-eslint/type-utils@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: - '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.4.5) - '@typescript-eslint/utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.6.3) + '@typescript-eslint/utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) debug: 4.3.7 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - eslint - supports-color @@ -8947,7 +9015,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@6.21.0(typescript@5.4.5)': + '@typescript-eslint/typescript-estree@6.21.0(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/visitor-keys': 6.21.0 @@ -8956,9 +9024,9 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -8991,7 +9059,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.11.0(typescript@5.4.5)': + '@typescript-eslint/typescript-estree@8.11.0(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 8.11.0 '@typescript-eslint/visitor-keys': 8.11.0 @@ -9000,9 +9068,9 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -9031,12 +9099,12 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.4.5)': + '@typescript-eslint/utils@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.13.0(jiti@1.21.6)) '@typescript-eslint/scope-manager': 8.11.0 '@typescript-eslint/types': 8.11.0 - '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) transitivePeerDependencies: - supports-color @@ -9516,6 +9584,16 @@ snapshots: postcss: 8.4.47 postcss-value-parser: 4.2.0 + autoprefixer@10.4.20(postcss@8.4.49): + dependencies: + browserslist: 4.24.2 + caniuse-lite: 1.0.30001669 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.1.1 + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.0.0 @@ -12401,6 +12479,12 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 + postcss@8.4.49: + dependencies: + nanoid: 3.3.7 + picocolors: 1.1.1 + source-map-js: 1.2.1 + prelude-ls@1.2.1: {} prettier@3.0.1: {} @@ -13340,9 +13424,9 @@ snapshots: dependencies: typescript: 5.1.6 - ts-api-utils@1.3.0(typescript@5.4.5): + ts-api-utils@1.3.0(typescript@5.6.3): dependencies: - typescript: 5.4.5 + typescript: 5.6.3 ts-dedent@2.2.0: {} @@ -13404,6 +13488,24 @@ snapshots: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 + ts-node@10.9.1(@types/node@22.7.9)(typescript@5.6.3): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 22.7.9 + acorn: 8.13.0 + acorn-walk: 8.3.4 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.6.3 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + tsconfig-paths@3.15.0: dependencies: '@types/json5': 0.0.29