From bf035f3e000667bdc2a64f11767bdf2c3e610507 Mon Sep 17 00:00:00 2001 From: mizdra Date: Sun, 2 Apr 2023 20:24:46 +0900 Subject: [PATCH] rename directory --- .eslintignore | 2 +- .gitignore | 8 ++++---- jest.config.mjs | 2 +- jest.setup.ts | 2 +- package-lock.json | 13 ++++++------- .../bin/hcm.js | 0 .../example/01-basic/1.css | 0 .../example/01-basic/1.css.d.ts | 0 .../example/01-basic/1.css.d.ts.map | 0 .../example/02-import/1.css | 0 .../example/02-import/1.css.d.ts | 0 .../example/02-import/1.css.d.ts.map | 0 .../example/02-import/2.css | 0 .../example/02-import/2.css.d.ts | 0 .../example/02-import/2.css.d.ts.map | 0 .../example/02-import/3.css | 0 .../example/02-import/3.css.d.ts | 0 .../example/02-import/3.css.d.ts.map | 0 .../example/03-composes/1.css | 0 .../example/03-composes/1.css.d.ts | 0 .../example/03-composes/1.css.d.ts.map | 0 .../example/03-composes/2.css | 0 .../example/03-composes/2.css.d.ts | 0 .../example/03-composes/2.css.d.ts.map | 0 .../example/03-composes/3.css | 0 .../example/03-composes/3.css.d.ts | 0 .../example/03-composes/3.css.d.ts.map | 0 .../example/04-sass/1.scss | 0 .../example/04-sass/1.scss.d.ts | 0 .../example/04-sass/1.scss.d.ts.map | 0 .../example/04-sass/2.scss | 0 .../example/04-sass/2.scss.d.ts | 0 .../example/04-sass/2.scss.d.ts.map | 0 .../example/04-sass/3.scss | 0 .../example/04-sass/3.scss.d.ts | 0 .../example/04-sass/3.scss.d.ts.map | 0 .../example/04-sass/4.scss | 0 .../example/04-sass/4.scss.d.ts | 0 .../example/04-sass/4.scss.d.ts.map | 0 .../example/05-less/1.less | 0 .../example/05-less/1.less.d.ts | 0 .../example/05-less/1.less.d.ts.map | 0 .../example/05-less/2.less | 0 .../example/05-less/2.less.d.ts | 0 .../example/05-less/2.less.d.ts.map | 0 .../example/05-less/3.less | 0 .../example/05-less/3.less.d.ts | 0 .../example/05-less/3.less.d.ts.map | 0 .../example/06-postcss/1.css | 0 .../example/06-postcss/1.css.d.ts | 0 .../example/06-postcss/1.css.d.ts.map | 0 .../example/06-postcss/2.css | 0 .../example/06-postcss/2.css.d.ts | 0 .../example/06-postcss/2.css.d.ts.map | 0 .../example/app.ts | 0 .../example/package-lock.json | 0 .../example/package.json | 0 .../example/postcss.config.cjs | 0 .../example/tsconfig.json | 0 .../package-lock.json | 0 .../package.json | 2 +- .../src/__snapshots__/runner.test.ts.snap | 0 .../src/cli.test.ts | 0 .../src/cli.ts | 0 .../src/config.ts | 0 .../src/emitter/dts.test.ts | 0 .../src/emitter/dts.ts | 0 .../src/emitter/file-system.test.ts | 0 .../src/emitter/file-system.ts | 0 .../src/emitter/index.test.ts | 0 .../src/emitter/index.ts | 0 .../src/emitter/source-map.test.ts | 0 .../src/emitter/source-map.ts | 0 .../src/index.ts | 0 .../src/integration-test/go-to-definition.test.ts | 0 .../src/library/README.md | 0 .../src/library/source-map/index.ts | 0 .../src/locator/index.test.ts | 0 .../src/locator/index.ts | 0 .../src/locator/postcss.test.ts | 0 .../src/locator/postcss.ts | 0 .../src/logger.ts | 0 .../src/regression-test/issue-168.test.ts | 0 .../src/resolver/index.test.ts | 0 .../src/resolver/index.ts | 0 .../src/resolver/node-resolver.test.ts | 0 .../src/resolver/node-resolver.ts | 0 .../src/resolver/relative-resolver.test.ts | 0 .../src/resolver/relative-resolver.ts | 0 .../src/resolver/webpack-resolver.test.ts | 0 .../src/resolver/webpack-resolver.ts | 0 .../src/runner.test.ts | 0 .../src/runner.ts | 0 .../src/test-util/jest/resolver.cjs | 0 .../src/test-util/tsserver.ts | 0 .../src/test-util/util.ts | 0 .../src/transformer/index.test.ts | 0 .../src/transformer/index.ts | 0 .../src/transformer/less-transformer.test.ts | 0 .../src/transformer/less-transformer.ts | 0 .../src/transformer/postcss-transformer.test.ts | 0 .../src/transformer/postcss-transformer.ts | 0 .../src/transformer/scss-transformer.test.ts | 0 .../src/transformer/scss-transformer.ts | 0 .../src/util.test.ts | 0 .../src/util.ts | 0 .../tsconfig.build.json | 0 107 files changed, 14 insertions(+), 15 deletions(-) rename packages/{happy-css-modules-cli => happy-css-modules}/bin/hcm.js (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/01-basic/1.css (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/01-basic/1.css.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/01-basic/1.css.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/02-import/1.css (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/02-import/1.css.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/02-import/1.css.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/02-import/2.css (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/02-import/2.css.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/02-import/2.css.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/02-import/3.css (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/02-import/3.css.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/02-import/3.css.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/03-composes/1.css (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/03-composes/1.css.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/03-composes/1.css.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/03-composes/2.css (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/03-composes/2.css.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/03-composes/2.css.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/03-composes/3.css (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/03-composes/3.css.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/03-composes/3.css.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/1.scss (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/1.scss.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/1.scss.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/2.scss (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/2.scss.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/2.scss.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/3.scss (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/3.scss.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/3.scss.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/4.scss (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/4.scss.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/04-sass/4.scss.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/05-less/1.less (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/05-less/1.less.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/05-less/1.less.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/05-less/2.less (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/05-less/2.less.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/05-less/2.less.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/05-less/3.less (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/05-less/3.less.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/05-less/3.less.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/06-postcss/1.css (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/06-postcss/1.css.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/06-postcss/1.css.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/06-postcss/2.css (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/06-postcss/2.css.d.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/06-postcss/2.css.d.ts.map (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/app.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/package-lock.json (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/package.json (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/postcss.config.cjs (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/example/tsconfig.json (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/package-lock.json (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/package.json (96%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/__snapshots__/runner.test.ts.snap (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/cli.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/cli.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/config.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/emitter/dts.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/emitter/dts.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/emitter/file-system.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/emitter/file-system.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/emitter/index.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/emitter/index.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/emitter/source-map.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/emitter/source-map.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/index.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/integration-test/go-to-definition.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/library/README.md (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/library/source-map/index.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/locator/index.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/locator/index.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/locator/postcss.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/locator/postcss.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/logger.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/regression-test/issue-168.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/resolver/index.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/resolver/index.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/resolver/node-resolver.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/resolver/node-resolver.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/resolver/relative-resolver.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/resolver/relative-resolver.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/resolver/webpack-resolver.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/resolver/webpack-resolver.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/runner.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/runner.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/test-util/jest/resolver.cjs (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/test-util/tsserver.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/test-util/util.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/transformer/index.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/transformer/index.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/transformer/less-transformer.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/transformer/less-transformer.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/transformer/postcss-transformer.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/transformer/postcss-transformer.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/transformer/scss-transformer.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/transformer/scss-transformer.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/util.test.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/src/util.ts (100%) rename packages/{happy-css-modules-cli => happy-css-modules}/tsconfig.build.json (100%) diff --git a/.eslintignore b/.eslintignore index 7ef82027..5e22cbdf 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,3 @@ dist/ -/packages/happy-css-modules-cli/example +/packages/happy-css-modules/example /docs/how-does-definition-jumps-work diff --git a/.gitignore b/.gitignore index 79ba773a..06fe9002 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ .DS_Store node_modules/ -/packages/happy-css-modules-cli/example/app.js -/packages/happy-css-modules-cli/example/*.css.d.ts -/packages/happy-css-modules-cli/example/bundle.js -/packages/happy-css-modules-cli/example/bundle.css +/packages/happy-css-modules/example/app.js +/packages/happy-css-modules/example/*.css.d.ts +/packages/happy-css-modules/example/bundle.js +/packages/happy-css-modules/example/bundle.css *.swp *.swo dist/ diff --git a/jest.config.mjs b/jest.config.mjs index 61a2b536..3549f07a 100644 --- a/jest.config.mjs +++ b/jest.config.mjs @@ -19,7 +19,7 @@ const config = { '^.+\\.(t|j)sx?$': '@swc/jest', }, // for ESM - resolver: join(dir, 'packages/happy-css-modules-cli/src/test-util/jest/resolver.cjs'), + resolver: join(dir, 'packages/happy-css-modules/src/test-util/jest/resolver.cjs'), }; // eslint-disable-next-line import/no-default-export diff --git a/jest.setup.ts b/jest.setup.ts index 50baf105..7820a84d 100644 --- a/jest.setup.ts +++ b/jest.setup.ts @@ -1,6 +1,6 @@ import { format } from 'prettier'; // eslint-disable-next-line no-restricted-imports -import { FIXTURE_DIR_PATH } from './packages/happy-css-modules-cli/src/test-util/util.js'; +import { FIXTURE_DIR_PATH } from './packages/happy-css-modules/src/test-util/util.js'; const jsonSerializer: jest.SnapshotSerializerPlugin = { serialize(val) { diff --git a/package-lock.json b/package-lock.json index 1723c334..a51d58b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -765,10 +765,6 @@ "npm": ">=6.14.0" } }, - "node_modules/@happy-css-modules/cli": { - "resolved": "packages/happy-css-modules-cli", - "link": true - }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.8", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", @@ -3704,6 +3700,10 @@ "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", "dev": true }, + "node_modules/happy-css-modules": { + "resolved": "packages/happy-css-modules", + "link": true + }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -7855,8 +7855,7 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/happy-css-modules-cli": { - "name": "@happy-css-modules/cli", + "packages/happy-css-modules": { "version": "2.1.0", "license": "MIT", "dependencies": { @@ -7898,7 +7897,7 @@ } } }, - "packages/happy-css-modules-cli/node_modules/chalk": { + "packages/happy-css-modules/node_modules/chalk": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", diff --git a/packages/happy-css-modules-cli/bin/hcm.js b/packages/happy-css-modules/bin/hcm.js similarity index 100% rename from packages/happy-css-modules-cli/bin/hcm.js rename to packages/happy-css-modules/bin/hcm.js diff --git a/packages/happy-css-modules-cli/example/01-basic/1.css b/packages/happy-css-modules/example/01-basic/1.css similarity index 100% rename from packages/happy-css-modules-cli/example/01-basic/1.css rename to packages/happy-css-modules/example/01-basic/1.css diff --git a/packages/happy-css-modules-cli/example/01-basic/1.css.d.ts b/packages/happy-css-modules/example/01-basic/1.css.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/01-basic/1.css.d.ts rename to packages/happy-css-modules/example/01-basic/1.css.d.ts diff --git a/packages/happy-css-modules-cli/example/01-basic/1.css.d.ts.map b/packages/happy-css-modules/example/01-basic/1.css.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/01-basic/1.css.d.ts.map rename to packages/happy-css-modules/example/01-basic/1.css.d.ts.map diff --git a/packages/happy-css-modules-cli/example/02-import/1.css b/packages/happy-css-modules/example/02-import/1.css similarity index 100% rename from packages/happy-css-modules-cli/example/02-import/1.css rename to packages/happy-css-modules/example/02-import/1.css diff --git a/packages/happy-css-modules-cli/example/02-import/1.css.d.ts b/packages/happy-css-modules/example/02-import/1.css.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/02-import/1.css.d.ts rename to packages/happy-css-modules/example/02-import/1.css.d.ts diff --git a/packages/happy-css-modules-cli/example/02-import/1.css.d.ts.map b/packages/happy-css-modules/example/02-import/1.css.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/02-import/1.css.d.ts.map rename to packages/happy-css-modules/example/02-import/1.css.d.ts.map diff --git a/packages/happy-css-modules-cli/example/02-import/2.css b/packages/happy-css-modules/example/02-import/2.css similarity index 100% rename from packages/happy-css-modules-cli/example/02-import/2.css rename to packages/happy-css-modules/example/02-import/2.css diff --git a/packages/happy-css-modules-cli/example/02-import/2.css.d.ts b/packages/happy-css-modules/example/02-import/2.css.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/02-import/2.css.d.ts rename to packages/happy-css-modules/example/02-import/2.css.d.ts diff --git a/packages/happy-css-modules-cli/example/02-import/2.css.d.ts.map b/packages/happy-css-modules/example/02-import/2.css.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/02-import/2.css.d.ts.map rename to packages/happy-css-modules/example/02-import/2.css.d.ts.map diff --git a/packages/happy-css-modules-cli/example/02-import/3.css b/packages/happy-css-modules/example/02-import/3.css similarity index 100% rename from packages/happy-css-modules-cli/example/02-import/3.css rename to packages/happy-css-modules/example/02-import/3.css diff --git a/packages/happy-css-modules-cli/example/02-import/3.css.d.ts b/packages/happy-css-modules/example/02-import/3.css.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/02-import/3.css.d.ts rename to packages/happy-css-modules/example/02-import/3.css.d.ts diff --git a/packages/happy-css-modules-cli/example/02-import/3.css.d.ts.map b/packages/happy-css-modules/example/02-import/3.css.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/02-import/3.css.d.ts.map rename to packages/happy-css-modules/example/02-import/3.css.d.ts.map diff --git a/packages/happy-css-modules-cli/example/03-composes/1.css b/packages/happy-css-modules/example/03-composes/1.css similarity index 100% rename from packages/happy-css-modules-cli/example/03-composes/1.css rename to packages/happy-css-modules/example/03-composes/1.css diff --git a/packages/happy-css-modules-cli/example/03-composes/1.css.d.ts b/packages/happy-css-modules/example/03-composes/1.css.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/03-composes/1.css.d.ts rename to packages/happy-css-modules/example/03-composes/1.css.d.ts diff --git a/packages/happy-css-modules-cli/example/03-composes/1.css.d.ts.map b/packages/happy-css-modules/example/03-composes/1.css.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/03-composes/1.css.d.ts.map rename to packages/happy-css-modules/example/03-composes/1.css.d.ts.map diff --git a/packages/happy-css-modules-cli/example/03-composes/2.css b/packages/happy-css-modules/example/03-composes/2.css similarity index 100% rename from packages/happy-css-modules-cli/example/03-composes/2.css rename to packages/happy-css-modules/example/03-composes/2.css diff --git a/packages/happy-css-modules-cli/example/03-composes/2.css.d.ts b/packages/happy-css-modules/example/03-composes/2.css.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/03-composes/2.css.d.ts rename to packages/happy-css-modules/example/03-composes/2.css.d.ts diff --git a/packages/happy-css-modules-cli/example/03-composes/2.css.d.ts.map b/packages/happy-css-modules/example/03-composes/2.css.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/03-composes/2.css.d.ts.map rename to packages/happy-css-modules/example/03-composes/2.css.d.ts.map diff --git a/packages/happy-css-modules-cli/example/03-composes/3.css b/packages/happy-css-modules/example/03-composes/3.css similarity index 100% rename from packages/happy-css-modules-cli/example/03-composes/3.css rename to packages/happy-css-modules/example/03-composes/3.css diff --git a/packages/happy-css-modules-cli/example/03-composes/3.css.d.ts b/packages/happy-css-modules/example/03-composes/3.css.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/03-composes/3.css.d.ts rename to packages/happy-css-modules/example/03-composes/3.css.d.ts diff --git a/packages/happy-css-modules-cli/example/03-composes/3.css.d.ts.map b/packages/happy-css-modules/example/03-composes/3.css.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/03-composes/3.css.d.ts.map rename to packages/happy-css-modules/example/03-composes/3.css.d.ts.map diff --git a/packages/happy-css-modules-cli/example/04-sass/1.scss b/packages/happy-css-modules/example/04-sass/1.scss similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/1.scss rename to packages/happy-css-modules/example/04-sass/1.scss diff --git a/packages/happy-css-modules-cli/example/04-sass/1.scss.d.ts b/packages/happy-css-modules/example/04-sass/1.scss.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/1.scss.d.ts rename to packages/happy-css-modules/example/04-sass/1.scss.d.ts diff --git a/packages/happy-css-modules-cli/example/04-sass/1.scss.d.ts.map b/packages/happy-css-modules/example/04-sass/1.scss.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/1.scss.d.ts.map rename to packages/happy-css-modules/example/04-sass/1.scss.d.ts.map diff --git a/packages/happy-css-modules-cli/example/04-sass/2.scss b/packages/happy-css-modules/example/04-sass/2.scss similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/2.scss rename to packages/happy-css-modules/example/04-sass/2.scss diff --git a/packages/happy-css-modules-cli/example/04-sass/2.scss.d.ts b/packages/happy-css-modules/example/04-sass/2.scss.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/2.scss.d.ts rename to packages/happy-css-modules/example/04-sass/2.scss.d.ts diff --git a/packages/happy-css-modules-cli/example/04-sass/2.scss.d.ts.map b/packages/happy-css-modules/example/04-sass/2.scss.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/2.scss.d.ts.map rename to packages/happy-css-modules/example/04-sass/2.scss.d.ts.map diff --git a/packages/happy-css-modules-cli/example/04-sass/3.scss b/packages/happy-css-modules/example/04-sass/3.scss similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/3.scss rename to packages/happy-css-modules/example/04-sass/3.scss diff --git a/packages/happy-css-modules-cli/example/04-sass/3.scss.d.ts b/packages/happy-css-modules/example/04-sass/3.scss.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/3.scss.d.ts rename to packages/happy-css-modules/example/04-sass/3.scss.d.ts diff --git a/packages/happy-css-modules-cli/example/04-sass/3.scss.d.ts.map b/packages/happy-css-modules/example/04-sass/3.scss.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/3.scss.d.ts.map rename to packages/happy-css-modules/example/04-sass/3.scss.d.ts.map diff --git a/packages/happy-css-modules-cli/example/04-sass/4.scss b/packages/happy-css-modules/example/04-sass/4.scss similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/4.scss rename to packages/happy-css-modules/example/04-sass/4.scss diff --git a/packages/happy-css-modules-cli/example/04-sass/4.scss.d.ts b/packages/happy-css-modules/example/04-sass/4.scss.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/4.scss.d.ts rename to packages/happy-css-modules/example/04-sass/4.scss.d.ts diff --git a/packages/happy-css-modules-cli/example/04-sass/4.scss.d.ts.map b/packages/happy-css-modules/example/04-sass/4.scss.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/04-sass/4.scss.d.ts.map rename to packages/happy-css-modules/example/04-sass/4.scss.d.ts.map diff --git a/packages/happy-css-modules-cli/example/05-less/1.less b/packages/happy-css-modules/example/05-less/1.less similarity index 100% rename from packages/happy-css-modules-cli/example/05-less/1.less rename to packages/happy-css-modules/example/05-less/1.less diff --git a/packages/happy-css-modules-cli/example/05-less/1.less.d.ts b/packages/happy-css-modules/example/05-less/1.less.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/05-less/1.less.d.ts rename to packages/happy-css-modules/example/05-less/1.less.d.ts diff --git a/packages/happy-css-modules-cli/example/05-less/1.less.d.ts.map b/packages/happy-css-modules/example/05-less/1.less.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/05-less/1.less.d.ts.map rename to packages/happy-css-modules/example/05-less/1.less.d.ts.map diff --git a/packages/happy-css-modules-cli/example/05-less/2.less b/packages/happy-css-modules/example/05-less/2.less similarity index 100% rename from packages/happy-css-modules-cli/example/05-less/2.less rename to packages/happy-css-modules/example/05-less/2.less diff --git a/packages/happy-css-modules-cli/example/05-less/2.less.d.ts b/packages/happy-css-modules/example/05-less/2.less.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/05-less/2.less.d.ts rename to packages/happy-css-modules/example/05-less/2.less.d.ts diff --git a/packages/happy-css-modules-cli/example/05-less/2.less.d.ts.map b/packages/happy-css-modules/example/05-less/2.less.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/05-less/2.less.d.ts.map rename to packages/happy-css-modules/example/05-less/2.less.d.ts.map diff --git a/packages/happy-css-modules-cli/example/05-less/3.less b/packages/happy-css-modules/example/05-less/3.less similarity index 100% rename from packages/happy-css-modules-cli/example/05-less/3.less rename to packages/happy-css-modules/example/05-less/3.less diff --git a/packages/happy-css-modules-cli/example/05-less/3.less.d.ts b/packages/happy-css-modules/example/05-less/3.less.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/05-less/3.less.d.ts rename to packages/happy-css-modules/example/05-less/3.less.d.ts diff --git a/packages/happy-css-modules-cli/example/05-less/3.less.d.ts.map b/packages/happy-css-modules/example/05-less/3.less.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/05-less/3.less.d.ts.map rename to packages/happy-css-modules/example/05-less/3.less.d.ts.map diff --git a/packages/happy-css-modules-cli/example/06-postcss/1.css b/packages/happy-css-modules/example/06-postcss/1.css similarity index 100% rename from packages/happy-css-modules-cli/example/06-postcss/1.css rename to packages/happy-css-modules/example/06-postcss/1.css diff --git a/packages/happy-css-modules-cli/example/06-postcss/1.css.d.ts b/packages/happy-css-modules/example/06-postcss/1.css.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/06-postcss/1.css.d.ts rename to packages/happy-css-modules/example/06-postcss/1.css.d.ts diff --git a/packages/happy-css-modules-cli/example/06-postcss/1.css.d.ts.map b/packages/happy-css-modules/example/06-postcss/1.css.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/06-postcss/1.css.d.ts.map rename to packages/happy-css-modules/example/06-postcss/1.css.d.ts.map diff --git a/packages/happy-css-modules-cli/example/06-postcss/2.css b/packages/happy-css-modules/example/06-postcss/2.css similarity index 100% rename from packages/happy-css-modules-cli/example/06-postcss/2.css rename to packages/happy-css-modules/example/06-postcss/2.css diff --git a/packages/happy-css-modules-cli/example/06-postcss/2.css.d.ts b/packages/happy-css-modules/example/06-postcss/2.css.d.ts similarity index 100% rename from packages/happy-css-modules-cli/example/06-postcss/2.css.d.ts rename to packages/happy-css-modules/example/06-postcss/2.css.d.ts diff --git a/packages/happy-css-modules-cli/example/06-postcss/2.css.d.ts.map b/packages/happy-css-modules/example/06-postcss/2.css.d.ts.map similarity index 100% rename from packages/happy-css-modules-cli/example/06-postcss/2.css.d.ts.map rename to packages/happy-css-modules/example/06-postcss/2.css.d.ts.map diff --git a/packages/happy-css-modules-cli/example/app.ts b/packages/happy-css-modules/example/app.ts similarity index 100% rename from packages/happy-css-modules-cli/example/app.ts rename to packages/happy-css-modules/example/app.ts diff --git a/packages/happy-css-modules-cli/example/package-lock.json b/packages/happy-css-modules/example/package-lock.json similarity index 100% rename from packages/happy-css-modules-cli/example/package-lock.json rename to packages/happy-css-modules/example/package-lock.json diff --git a/packages/happy-css-modules-cli/example/package.json b/packages/happy-css-modules/example/package.json similarity index 100% rename from packages/happy-css-modules-cli/example/package.json rename to packages/happy-css-modules/example/package.json diff --git a/packages/happy-css-modules-cli/example/postcss.config.cjs b/packages/happy-css-modules/example/postcss.config.cjs similarity index 100% rename from packages/happy-css-modules-cli/example/postcss.config.cjs rename to packages/happy-css-modules/example/postcss.config.cjs diff --git a/packages/happy-css-modules-cli/example/tsconfig.json b/packages/happy-css-modules/example/tsconfig.json similarity index 100% rename from packages/happy-css-modules-cli/example/tsconfig.json rename to packages/happy-css-modules/example/tsconfig.json diff --git a/packages/happy-css-modules-cli/package-lock.json b/packages/happy-css-modules/package-lock.json similarity index 100% rename from packages/happy-css-modules-cli/package-lock.json rename to packages/happy-css-modules/package-lock.json diff --git a/packages/happy-css-modules-cli/package.json b/packages/happy-css-modules/package.json similarity index 96% rename from packages/happy-css-modules-cli/package.json rename to packages/happy-css-modules/package.json index 54af09ab..521cd96c 100644 --- a/packages/happy-css-modules-cli/package.json +++ b/packages/happy-css-modules/package.json @@ -15,7 +15,7 @@ "repository": { "type": "git", "url": "https://github.com/mizdra/happy-css-modules.git", - "directory": "packages/happy-css-modules-cli" + "directory": "packages/happy-css-modules" }, "keywords": [ "css-modules", diff --git a/packages/happy-css-modules-cli/src/__snapshots__/runner.test.ts.snap b/packages/happy-css-modules/src/__snapshots__/runner.test.ts.snap similarity index 100% rename from packages/happy-css-modules-cli/src/__snapshots__/runner.test.ts.snap rename to packages/happy-css-modules/src/__snapshots__/runner.test.ts.snap diff --git a/packages/happy-css-modules-cli/src/cli.test.ts b/packages/happy-css-modules/src/cli.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/cli.test.ts rename to packages/happy-css-modules/src/cli.test.ts diff --git a/packages/happy-css-modules-cli/src/cli.ts b/packages/happy-css-modules/src/cli.ts similarity index 100% rename from packages/happy-css-modules-cli/src/cli.ts rename to packages/happy-css-modules/src/cli.ts diff --git a/packages/happy-css-modules-cli/src/config.ts b/packages/happy-css-modules/src/config.ts similarity index 100% rename from packages/happy-css-modules-cli/src/config.ts rename to packages/happy-css-modules/src/config.ts diff --git a/packages/happy-css-modules-cli/src/emitter/dts.test.ts b/packages/happy-css-modules/src/emitter/dts.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/emitter/dts.test.ts rename to packages/happy-css-modules/src/emitter/dts.test.ts diff --git a/packages/happy-css-modules-cli/src/emitter/dts.ts b/packages/happy-css-modules/src/emitter/dts.ts similarity index 100% rename from packages/happy-css-modules-cli/src/emitter/dts.ts rename to packages/happy-css-modules/src/emitter/dts.ts diff --git a/packages/happy-css-modules-cli/src/emitter/file-system.test.ts b/packages/happy-css-modules/src/emitter/file-system.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/emitter/file-system.test.ts rename to packages/happy-css-modules/src/emitter/file-system.test.ts diff --git a/packages/happy-css-modules-cli/src/emitter/file-system.ts b/packages/happy-css-modules/src/emitter/file-system.ts similarity index 100% rename from packages/happy-css-modules-cli/src/emitter/file-system.ts rename to packages/happy-css-modules/src/emitter/file-system.ts diff --git a/packages/happy-css-modules-cli/src/emitter/index.test.ts b/packages/happy-css-modules/src/emitter/index.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/emitter/index.test.ts rename to packages/happy-css-modules/src/emitter/index.test.ts diff --git a/packages/happy-css-modules-cli/src/emitter/index.ts b/packages/happy-css-modules/src/emitter/index.ts similarity index 100% rename from packages/happy-css-modules-cli/src/emitter/index.ts rename to packages/happy-css-modules/src/emitter/index.ts diff --git a/packages/happy-css-modules-cli/src/emitter/source-map.test.ts b/packages/happy-css-modules/src/emitter/source-map.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/emitter/source-map.test.ts rename to packages/happy-css-modules/src/emitter/source-map.test.ts diff --git a/packages/happy-css-modules-cli/src/emitter/source-map.ts b/packages/happy-css-modules/src/emitter/source-map.ts similarity index 100% rename from packages/happy-css-modules-cli/src/emitter/source-map.ts rename to packages/happy-css-modules/src/emitter/source-map.ts diff --git a/packages/happy-css-modules-cli/src/index.ts b/packages/happy-css-modules/src/index.ts similarity index 100% rename from packages/happy-css-modules-cli/src/index.ts rename to packages/happy-css-modules/src/index.ts diff --git a/packages/happy-css-modules-cli/src/integration-test/go-to-definition.test.ts b/packages/happy-css-modules/src/integration-test/go-to-definition.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/integration-test/go-to-definition.test.ts rename to packages/happy-css-modules/src/integration-test/go-to-definition.test.ts diff --git a/packages/happy-css-modules-cli/src/library/README.md b/packages/happy-css-modules/src/library/README.md similarity index 100% rename from packages/happy-css-modules-cli/src/library/README.md rename to packages/happy-css-modules/src/library/README.md diff --git a/packages/happy-css-modules-cli/src/library/source-map/index.ts b/packages/happy-css-modules/src/library/source-map/index.ts similarity index 100% rename from packages/happy-css-modules-cli/src/library/source-map/index.ts rename to packages/happy-css-modules/src/library/source-map/index.ts diff --git a/packages/happy-css-modules-cli/src/locator/index.test.ts b/packages/happy-css-modules/src/locator/index.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/locator/index.test.ts rename to packages/happy-css-modules/src/locator/index.test.ts diff --git a/packages/happy-css-modules-cli/src/locator/index.ts b/packages/happy-css-modules/src/locator/index.ts similarity index 100% rename from packages/happy-css-modules-cli/src/locator/index.ts rename to packages/happy-css-modules/src/locator/index.ts diff --git a/packages/happy-css-modules-cli/src/locator/postcss.test.ts b/packages/happy-css-modules/src/locator/postcss.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/locator/postcss.test.ts rename to packages/happy-css-modules/src/locator/postcss.test.ts diff --git a/packages/happy-css-modules-cli/src/locator/postcss.ts b/packages/happy-css-modules/src/locator/postcss.ts similarity index 100% rename from packages/happy-css-modules-cli/src/locator/postcss.ts rename to packages/happy-css-modules/src/locator/postcss.ts diff --git a/packages/happy-css-modules-cli/src/logger.ts b/packages/happy-css-modules/src/logger.ts similarity index 100% rename from packages/happy-css-modules-cli/src/logger.ts rename to packages/happy-css-modules/src/logger.ts diff --git a/packages/happy-css-modules-cli/src/regression-test/issue-168.test.ts b/packages/happy-css-modules/src/regression-test/issue-168.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/regression-test/issue-168.test.ts rename to packages/happy-css-modules/src/regression-test/issue-168.test.ts diff --git a/packages/happy-css-modules-cli/src/resolver/index.test.ts b/packages/happy-css-modules/src/resolver/index.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/resolver/index.test.ts rename to packages/happy-css-modules/src/resolver/index.test.ts diff --git a/packages/happy-css-modules-cli/src/resolver/index.ts b/packages/happy-css-modules/src/resolver/index.ts similarity index 100% rename from packages/happy-css-modules-cli/src/resolver/index.ts rename to packages/happy-css-modules/src/resolver/index.ts diff --git a/packages/happy-css-modules-cli/src/resolver/node-resolver.test.ts b/packages/happy-css-modules/src/resolver/node-resolver.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/resolver/node-resolver.test.ts rename to packages/happy-css-modules/src/resolver/node-resolver.test.ts diff --git a/packages/happy-css-modules-cli/src/resolver/node-resolver.ts b/packages/happy-css-modules/src/resolver/node-resolver.ts similarity index 100% rename from packages/happy-css-modules-cli/src/resolver/node-resolver.ts rename to packages/happy-css-modules/src/resolver/node-resolver.ts diff --git a/packages/happy-css-modules-cli/src/resolver/relative-resolver.test.ts b/packages/happy-css-modules/src/resolver/relative-resolver.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/resolver/relative-resolver.test.ts rename to packages/happy-css-modules/src/resolver/relative-resolver.test.ts diff --git a/packages/happy-css-modules-cli/src/resolver/relative-resolver.ts b/packages/happy-css-modules/src/resolver/relative-resolver.ts similarity index 100% rename from packages/happy-css-modules-cli/src/resolver/relative-resolver.ts rename to packages/happy-css-modules/src/resolver/relative-resolver.ts diff --git a/packages/happy-css-modules-cli/src/resolver/webpack-resolver.test.ts b/packages/happy-css-modules/src/resolver/webpack-resolver.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/resolver/webpack-resolver.test.ts rename to packages/happy-css-modules/src/resolver/webpack-resolver.test.ts diff --git a/packages/happy-css-modules-cli/src/resolver/webpack-resolver.ts b/packages/happy-css-modules/src/resolver/webpack-resolver.ts similarity index 100% rename from packages/happy-css-modules-cli/src/resolver/webpack-resolver.ts rename to packages/happy-css-modules/src/resolver/webpack-resolver.ts diff --git a/packages/happy-css-modules-cli/src/runner.test.ts b/packages/happy-css-modules/src/runner.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/runner.test.ts rename to packages/happy-css-modules/src/runner.test.ts diff --git a/packages/happy-css-modules-cli/src/runner.ts b/packages/happy-css-modules/src/runner.ts similarity index 100% rename from packages/happy-css-modules-cli/src/runner.ts rename to packages/happy-css-modules/src/runner.ts diff --git a/packages/happy-css-modules-cli/src/test-util/jest/resolver.cjs b/packages/happy-css-modules/src/test-util/jest/resolver.cjs similarity index 100% rename from packages/happy-css-modules-cli/src/test-util/jest/resolver.cjs rename to packages/happy-css-modules/src/test-util/jest/resolver.cjs diff --git a/packages/happy-css-modules-cli/src/test-util/tsserver.ts b/packages/happy-css-modules/src/test-util/tsserver.ts similarity index 100% rename from packages/happy-css-modules-cli/src/test-util/tsserver.ts rename to packages/happy-css-modules/src/test-util/tsserver.ts diff --git a/packages/happy-css-modules-cli/src/test-util/util.ts b/packages/happy-css-modules/src/test-util/util.ts similarity index 100% rename from packages/happy-css-modules-cli/src/test-util/util.ts rename to packages/happy-css-modules/src/test-util/util.ts diff --git a/packages/happy-css-modules-cli/src/transformer/index.test.ts b/packages/happy-css-modules/src/transformer/index.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/transformer/index.test.ts rename to packages/happy-css-modules/src/transformer/index.test.ts diff --git a/packages/happy-css-modules-cli/src/transformer/index.ts b/packages/happy-css-modules/src/transformer/index.ts similarity index 100% rename from packages/happy-css-modules-cli/src/transformer/index.ts rename to packages/happy-css-modules/src/transformer/index.ts diff --git a/packages/happy-css-modules-cli/src/transformer/less-transformer.test.ts b/packages/happy-css-modules/src/transformer/less-transformer.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/transformer/less-transformer.test.ts rename to packages/happy-css-modules/src/transformer/less-transformer.test.ts diff --git a/packages/happy-css-modules-cli/src/transformer/less-transformer.ts b/packages/happy-css-modules/src/transformer/less-transformer.ts similarity index 100% rename from packages/happy-css-modules-cli/src/transformer/less-transformer.ts rename to packages/happy-css-modules/src/transformer/less-transformer.ts diff --git a/packages/happy-css-modules-cli/src/transformer/postcss-transformer.test.ts b/packages/happy-css-modules/src/transformer/postcss-transformer.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/transformer/postcss-transformer.test.ts rename to packages/happy-css-modules/src/transformer/postcss-transformer.test.ts diff --git a/packages/happy-css-modules-cli/src/transformer/postcss-transformer.ts b/packages/happy-css-modules/src/transformer/postcss-transformer.ts similarity index 100% rename from packages/happy-css-modules-cli/src/transformer/postcss-transformer.ts rename to packages/happy-css-modules/src/transformer/postcss-transformer.ts diff --git a/packages/happy-css-modules-cli/src/transformer/scss-transformer.test.ts b/packages/happy-css-modules/src/transformer/scss-transformer.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/transformer/scss-transformer.test.ts rename to packages/happy-css-modules/src/transformer/scss-transformer.test.ts diff --git a/packages/happy-css-modules-cli/src/transformer/scss-transformer.ts b/packages/happy-css-modules/src/transformer/scss-transformer.ts similarity index 100% rename from packages/happy-css-modules-cli/src/transformer/scss-transformer.ts rename to packages/happy-css-modules/src/transformer/scss-transformer.ts diff --git a/packages/happy-css-modules-cli/src/util.test.ts b/packages/happy-css-modules/src/util.test.ts similarity index 100% rename from packages/happy-css-modules-cli/src/util.test.ts rename to packages/happy-css-modules/src/util.test.ts diff --git a/packages/happy-css-modules-cli/src/util.ts b/packages/happy-css-modules/src/util.ts similarity index 100% rename from packages/happy-css-modules-cli/src/util.ts rename to packages/happy-css-modules/src/util.ts diff --git a/packages/happy-css-modules-cli/tsconfig.build.json b/packages/happy-css-modules/tsconfig.build.json similarity index 100% rename from packages/happy-css-modules-cli/tsconfig.build.json rename to packages/happy-css-modules/tsconfig.build.json