├── .all-contributorsrc ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE.md └── workflows │ └── build.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── __tests__ ├── __snapshots__ │ └── main.test.ts.snap ├── cli.test.ts ├── configs │ ├── js-default-export │ │ └── typed-scss-modules.config.js │ ├── js-module-exports │ │ └── typed-scss-modules.config.js │ ├── js-named-export │ │ └── typed-scss-modules.config.js │ ├── ts-default-export │ │ └── typed-scss-modules.config.ts │ └── ts-named-export │ │ └── typed-scss-modules.config.ts ├── core │ ├── alerts.test.ts │ ├── generate.test.ts │ ├── list-different.test.ts │ ├── list-different │ │ ├── formatted.scss │ │ ├── formatted.scss.d.ts │ │ └── no-generated.scss │ ├── list-files-and-perform-sanity-check.test.ts │ ├── remove-file.test.ts │ └── write-file.test.ts ├── dart-sass │ ├── dart-sass.test.ts │ ├── use.scss │ └── variables.scss ├── dummy-styles │ ├── alias-prefixes.scss │ ├── alias-prefixes.scss.d.ts │ ├── aliases.scss │ ├── aliases.scss.d.ts │ ├── complex.scss │ ├── complex.scss.d.ts │ ├── composes.scss │ ├── composes.scss.d.ts │ ├── dashes.scss │ ├── dashes.scss.d.ts │ ├── empty.scss │ ├── global-variables.scss │ ├── invalid.scss │ ├── invalid.scss.d.ts │ ├── nested-styles │ │ ├── style.scss │ │ └── style.scss.d.ts │ ├── style.scss │ ├── style.scss.d.ts │ └── typed-scss-modules.config.js ├── helpers │ └── index.ts ├── implementations │ ├── get-default-implementation.test.ts │ └── get-implementation.test.ts ├── load.test.ts ├── main.test.ts ├── prettier │ ├── __snapshots__ │ │ └── prettier.test.ts.snap │ └── prettier.test.ts ├── sass │ ├── file-to-class-names.test.ts │ └── importer.test.ts └── typescript │ ├── class-names-to-type-definitions.test.ts │ └── get-type-definition-path.test.ts ├── babel.config.js ├── commitlint.config.js ├── docs └── typed-scss-modules-example.gif ├── examples ├── basic │ ├── README.md │ ├── core │ │ └── variables.scss │ ├── feature-a │ │ ├── index.ts │ │ ├── style.scss │ │ └── style.scss.d.ts │ └── feature-b │ │ ├── index.ts │ │ ├── style.scss │ │ └── style.scss.d.ts ├── config-file │ ├── README.md │ ├── feature │ │ ├── a.scss │ │ ├── a.scss.d.ts │ │ └── variables.json │ └── typed-scss-modules.config.js ├── default-export │ ├── README.md │ └── feature-a │ │ ├── index.ts │ │ ├── style.scss │ │ └── style.scss.d.ts └── output-folder │ ├── README.md │ ├── __generated__ │ └── examples │ │ └── output-folder │ │ ├── feature-a │ │ └── a.scss.d.ts │ │ ├── feature-b │ │ └── b.scss.d.ts │ │ └── feature-c │ │ ├── c.scss.d.ts │ │ └── nested │ │ └── nested.scss.d.ts │ ├── feature-a │ ├── a.scss │ └── index.ts │ ├── feature-b │ ├── b.scss │ └── index.ts │ ├── feature-c │ ├── c.scss │ ├── index.ts │ └── nested │ │ ├── index.ts │ │ └── nested.scss │ └── typed-scss-modules.config.js ├── jest.config.ts ├── lib ├── cli.ts ├── core │ ├── alerts.ts │ ├── generate.ts │ ├── index.ts │ ├── list-different.ts │ ├── list-files-and-perform-sanity-checks.ts │ ├── remove-file.ts │ ├── types.ts │ ├── watch.ts │ └── write-file.ts ├── implementations │ └── index.ts ├── index.ts ├── load.ts ├── main.ts ├── prettier │ ├── can-resolve.ts │ └── index.ts ├── sass │ ├── file-to-class-names.ts │ ├── importer.ts │ ├── index.ts │ └── source-to-class-names.ts └── typescript │ ├── class-names-to-type-definition.ts │ ├── get-type-definition-path.ts │ └── index.ts ├── package.json └── tsconfig.json /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | dist 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx commitlint --edit $1 5 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 16 -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/__snapshots__/main.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/__snapshots__/main.test.ts.snap -------------------------------------------------------------------------------- /__tests__/cli.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/cli.test.ts -------------------------------------------------------------------------------- /__tests__/configs/js-default-export/typed-scss-modules.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/configs/js-default-export/typed-scss-modules.config.js -------------------------------------------------------------------------------- /__tests__/configs/js-module-exports/typed-scss-modules.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/configs/js-module-exports/typed-scss-modules.config.js -------------------------------------------------------------------------------- /__tests__/configs/js-named-export/typed-scss-modules.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/configs/js-named-export/typed-scss-modules.config.js -------------------------------------------------------------------------------- /__tests__/configs/ts-default-export/typed-scss-modules.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/configs/ts-default-export/typed-scss-modules.config.ts -------------------------------------------------------------------------------- /__tests__/configs/ts-named-export/typed-scss-modules.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/configs/ts-named-export/typed-scss-modules.config.ts -------------------------------------------------------------------------------- /__tests__/core/alerts.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/core/alerts.test.ts -------------------------------------------------------------------------------- /__tests__/core/generate.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/core/generate.test.ts -------------------------------------------------------------------------------- /__tests__/core/list-different.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/core/list-different.test.ts -------------------------------------------------------------------------------- /__tests__/core/list-different/formatted.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/core/list-different/formatted.scss -------------------------------------------------------------------------------- /__tests__/core/list-different/formatted.scss.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/core/list-different/formatted.scss.d.ts -------------------------------------------------------------------------------- /__tests__/core/list-different/no-generated.scss: -------------------------------------------------------------------------------- 1 | .no-generated { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /__tests__/core/list-files-and-perform-sanity-check.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/core/list-files-and-perform-sanity-check.test.ts -------------------------------------------------------------------------------- /__tests__/core/remove-file.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/core/remove-file.test.ts -------------------------------------------------------------------------------- /__tests__/core/write-file.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/core/write-file.test.ts -------------------------------------------------------------------------------- /__tests__/dart-sass/dart-sass.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dart-sass/dart-sass.test.ts -------------------------------------------------------------------------------- /__tests__/dart-sass/use.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dart-sass/use.scss -------------------------------------------------------------------------------- /__tests__/dart-sass/variables.scss: -------------------------------------------------------------------------------- 1 | $red: red; 2 | -------------------------------------------------------------------------------- /__tests__/dummy-styles/alias-prefixes.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/alias-prefixes.scss -------------------------------------------------------------------------------- /__tests__/dummy-styles/alias-prefixes.scss.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/alias-prefixes.scss.d.ts -------------------------------------------------------------------------------- /__tests__/dummy-styles/aliases.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/aliases.scss -------------------------------------------------------------------------------- /__tests__/dummy-styles/aliases.scss.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/aliases.scss.d.ts -------------------------------------------------------------------------------- /__tests__/dummy-styles/complex.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/complex.scss -------------------------------------------------------------------------------- /__tests__/dummy-styles/complex.scss.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/complex.scss.d.ts -------------------------------------------------------------------------------- /__tests__/dummy-styles/composes.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/composes.scss -------------------------------------------------------------------------------- /__tests__/dummy-styles/composes.scss.d.ts: -------------------------------------------------------------------------------- 1 | export declare const composedClass: string; 2 | -------------------------------------------------------------------------------- /__tests__/dummy-styles/dashes.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/dashes.scss -------------------------------------------------------------------------------- /__tests__/dummy-styles/dashes.scss.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/dashes.scss.d.ts -------------------------------------------------------------------------------- /__tests__/dummy-styles/empty.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/dummy-styles/global-variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/global-variables.scss -------------------------------------------------------------------------------- /__tests__/dummy-styles/invalid.scss: -------------------------------------------------------------------------------- 1 | .random-class { 2 | color: pink; 3 | } 4 | -------------------------------------------------------------------------------- /__tests__/dummy-styles/invalid.scss.d.ts: -------------------------------------------------------------------------------- 1 | export declare const nope: string; 2 | -------------------------------------------------------------------------------- /__tests__/dummy-styles/nested-styles/style.scss: -------------------------------------------------------------------------------- 1 | .nested-styles { 2 | background: purple; 3 | } 4 | -------------------------------------------------------------------------------- /__tests__/dummy-styles/nested-styles/style.scss.d.ts: -------------------------------------------------------------------------------- 1 | export declare const nestedStyles: string; 2 | -------------------------------------------------------------------------------- /__tests__/dummy-styles/style.scss: -------------------------------------------------------------------------------- 1 | .some-class { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /__tests__/dummy-styles/style.scss.d.ts: -------------------------------------------------------------------------------- 1 | export declare const someClass: string; 2 | -------------------------------------------------------------------------------- /__tests__/dummy-styles/typed-scss-modules.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/dummy-styles/typed-scss-modules.config.js -------------------------------------------------------------------------------- /__tests__/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/helpers/index.ts -------------------------------------------------------------------------------- /__tests__/implementations/get-default-implementation.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/implementations/get-default-implementation.test.ts -------------------------------------------------------------------------------- /__tests__/implementations/get-implementation.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/implementations/get-implementation.test.ts -------------------------------------------------------------------------------- /__tests__/load.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/load.test.ts -------------------------------------------------------------------------------- /__tests__/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/main.test.ts -------------------------------------------------------------------------------- /__tests__/prettier/__snapshots__/prettier.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/prettier/__snapshots__/prettier.test.ts.snap -------------------------------------------------------------------------------- /__tests__/prettier/prettier.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/prettier/prettier.test.ts -------------------------------------------------------------------------------- /__tests__/sass/file-to-class-names.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/sass/file-to-class-names.test.ts -------------------------------------------------------------------------------- /__tests__/sass/importer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/sass/importer.test.ts -------------------------------------------------------------------------------- /__tests__/typescript/class-names-to-type-definitions.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/typescript/class-names-to-type-definitions.test.ts -------------------------------------------------------------------------------- /__tests__/typescript/get-type-definition-path.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/__tests__/typescript/get-type-definition-path.test.ts -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/babel.config.js -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /docs/typed-scss-modules-example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/docs/typed-scss-modules-example.gif -------------------------------------------------------------------------------- /examples/basic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/basic/README.md -------------------------------------------------------------------------------- /examples/basic/core/variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/basic/core/variables.scss -------------------------------------------------------------------------------- /examples/basic/feature-a/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/basic/feature-a/index.ts -------------------------------------------------------------------------------- /examples/basic/feature-a/style.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/basic/feature-a/style.scss -------------------------------------------------------------------------------- /examples/basic/feature-a/style.scss.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/basic/feature-a/style.scss.d.ts -------------------------------------------------------------------------------- /examples/basic/feature-b/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/basic/feature-b/index.ts -------------------------------------------------------------------------------- /examples/basic/feature-b/style.scss: -------------------------------------------------------------------------------- 1 | @import "~alias"; 2 | 3 | .top-banner { 4 | background: $yellow; 5 | } 6 | -------------------------------------------------------------------------------- /examples/basic/feature-b/style.scss.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/basic/feature-b/style.scss.d.ts -------------------------------------------------------------------------------- /examples/config-file/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/config-file/README.md -------------------------------------------------------------------------------- /examples/config-file/feature/a.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/config-file/feature/a.scss -------------------------------------------------------------------------------- /examples/config-file/feature/a.scss.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/config-file/feature/a.scss.d.ts -------------------------------------------------------------------------------- /examples/config-file/feature/variables.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/config-file/feature/variables.json -------------------------------------------------------------------------------- /examples/config-file/typed-scss-modules.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/config-file/typed-scss-modules.config.js -------------------------------------------------------------------------------- /examples/default-export/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/default-export/README.md -------------------------------------------------------------------------------- /examples/default-export/feature-a/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/default-export/feature-a/index.ts -------------------------------------------------------------------------------- /examples/default-export/feature-a/style.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/default-export/feature-a/style.scss -------------------------------------------------------------------------------- /examples/default-export/feature-a/style.scss.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/default-export/feature-a/style.scss.d.ts -------------------------------------------------------------------------------- /examples/output-folder/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/output-folder/README.md -------------------------------------------------------------------------------- /examples/output-folder/__generated__/examples/output-folder/feature-a/a.scss.d.ts: -------------------------------------------------------------------------------- 1 | export declare const a: string; 2 | -------------------------------------------------------------------------------- /examples/output-folder/__generated__/examples/output-folder/feature-b/b.scss.d.ts: -------------------------------------------------------------------------------- 1 | export declare const b: string; 2 | -------------------------------------------------------------------------------- /examples/output-folder/__generated__/examples/output-folder/feature-c/c.scss.d.ts: -------------------------------------------------------------------------------- 1 | export declare const c: string; 2 | -------------------------------------------------------------------------------- /examples/output-folder/__generated__/examples/output-folder/feature-c/nested/nested.scss.d.ts: -------------------------------------------------------------------------------- 1 | export declare const nested: string; 2 | -------------------------------------------------------------------------------- /examples/output-folder/feature-a/a.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/output-folder/feature-a/a.scss -------------------------------------------------------------------------------- /examples/output-folder/feature-a/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/output-folder/feature-a/index.ts -------------------------------------------------------------------------------- /examples/output-folder/feature-b/b.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/output-folder/feature-b/b.scss -------------------------------------------------------------------------------- /examples/output-folder/feature-b/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/output-folder/feature-b/index.ts -------------------------------------------------------------------------------- /examples/output-folder/feature-c/c.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/output-folder/feature-c/c.scss -------------------------------------------------------------------------------- /examples/output-folder/feature-c/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/output-folder/feature-c/index.ts -------------------------------------------------------------------------------- /examples/output-folder/feature-c/nested/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/output-folder/feature-c/nested/index.ts -------------------------------------------------------------------------------- /examples/output-folder/feature-c/nested/nested.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/output-folder/feature-c/nested/nested.scss -------------------------------------------------------------------------------- /examples/output-folder/typed-scss-modules.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/examples/output-folder/typed-scss-modules.config.js -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/jest.config.ts -------------------------------------------------------------------------------- /lib/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/cli.ts -------------------------------------------------------------------------------- /lib/core/alerts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/core/alerts.ts -------------------------------------------------------------------------------- /lib/core/generate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/core/generate.ts -------------------------------------------------------------------------------- /lib/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/core/index.ts -------------------------------------------------------------------------------- /lib/core/list-different.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/core/list-different.ts -------------------------------------------------------------------------------- /lib/core/list-files-and-perform-sanity-checks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/core/list-files-and-perform-sanity-checks.ts -------------------------------------------------------------------------------- /lib/core/remove-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/core/remove-file.ts -------------------------------------------------------------------------------- /lib/core/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/core/types.ts -------------------------------------------------------------------------------- /lib/core/watch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/core/watch.ts -------------------------------------------------------------------------------- /lib/core/write-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/core/write-file.ts -------------------------------------------------------------------------------- /lib/implementations/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/implementations/index.ts -------------------------------------------------------------------------------- /lib/index.ts: -------------------------------------------------------------------------------- 1 | export { main as default } from "./main"; 2 | -------------------------------------------------------------------------------- /lib/load.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/load.ts -------------------------------------------------------------------------------- /lib/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/main.ts -------------------------------------------------------------------------------- /lib/prettier/can-resolve.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/prettier/can-resolve.ts -------------------------------------------------------------------------------- /lib/prettier/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/prettier/index.ts -------------------------------------------------------------------------------- /lib/sass/file-to-class-names.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/sass/file-to-class-names.ts -------------------------------------------------------------------------------- /lib/sass/importer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/sass/importer.ts -------------------------------------------------------------------------------- /lib/sass/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/sass/index.ts -------------------------------------------------------------------------------- /lib/sass/source-to-class-names.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/sass/source-to-class-names.ts -------------------------------------------------------------------------------- /lib/typescript/class-names-to-type-definition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/typescript/class-names-to-type-definition.ts -------------------------------------------------------------------------------- /lib/typescript/get-type-definition-path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/typescript/get-type-definition-path.ts -------------------------------------------------------------------------------- /lib/typescript/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/lib/typescript/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/package.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skovy/typed-scss-modules/HEAD/tsconfig.json --------------------------------------------------------------------------------