diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a43f80c..7d17112 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,4 +25,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: build - path: ./dist/*.css + path: ./build/dist/*.css diff --git a/.gitignore b/.gitignore index d573201..3ac8565 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ node_modules/ -tmp/ -dist/ +build/ diff --git a/package.json b/package.json index 512cbfc..04d4d9b 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "scripts": { "build": "npm-run-all compile-default compile-typography process process-min process-typography process-min-typography", - "compile-default": "sass ./src/default.scss ./tmp/simple-grid.css", - "compile-typography": "sass ./src/typography.scss ./tmp/typography.css", - "process": "lightningcss --browserslist ./tmp/simple-grid.css -o dist/simple-grid.css", - "process-min": "lightningcss --minify --browserslist ./tmp/simple-grid.css -o dist/simple-grid-min.css", - "process-typography": "lightningcss --browserslist ./tmp/typography.css -o dist/typography.css", - "process-min-typography": "lightningcss --minify --browserslist ./tmp/typography.css -o dist/typography-min.css" + "compile-default": "sass ./sass/default.scss ./build/tmp/simple-grid.css", + "compile-typography": "sass ./sass/typography.scss ./build/tmp/typography.css", + "process": "lightningcss --browserslist ./build/tmp/simple-grid.css -o ./build/distsimple-grid.css", + "process-min": "lightningcss --minify --browserslist ./build/tmp/simple-grid.css -o ./build/distsimple-grid-min.css", + "process-typography": "lightningcss --browserslist ./build/tmp/typography.css -o ./build/disttypography.css", + "process-min-typography": "lightningcss --minify --browserslist ./build/tmp/typography.css -o ./build/disttypography-min.css" }, "dependencies": { "lightningcss-cli": "^1.23.0", diff --git a/src/_grid.scss b/sass/_grid.scss similarity index 100% rename from src/_grid.scss rename to sass/_grid.scss diff --git a/src/_typography.scss b/sass/_typography.scss similarity index 100% rename from src/_typography.scss rename to sass/_typography.scss diff --git a/src/_utility.scss b/sass/_utility.scss similarity index 100% rename from src/_utility.scss rename to sass/_utility.scss diff --git a/src/_variables.scss b/sass/_variables.scss similarity index 100% rename from src/_variables.scss rename to sass/_variables.scss diff --git a/src/default.scss b/sass/default.scss similarity index 100% rename from src/default.scss rename to sass/default.scss diff --git a/src/typography.scss b/sass/typography.scss similarity index 100% rename from src/typography.scss rename to sass/typography.scss