From 8566ab5f2d97417e8dd0c4f1894e3fd22c2f27ef Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Sat, 23 Jul 2022 13:22:22 -0500 Subject: [PATCH] Task/v0.7.1 (#32) * chore: delete tup-ui config project.json * docs(readme): release steps now not for tup-ui * chore: delete tup-ui config .eslintrc.json * chore: 0.7.1 * docs: github pr template tweak This matches the PR template to Core-CMS and Core-Portal --- .eslintrc.json | 18 ------- .github/pull_request_template.md | 2 +- CHANGELOG.md | 89 ++++++++++++++++++++++---------- README.md | 6 +-- package-lock.json | 4 +- package.json | 2 +- project.json | 72 -------------------------- 7 files changed, 68 insertions(+), 125 deletions(-) delete mode 100644 .eslintrc.json delete mode 100644 project.json diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 9d9c0db55..000000000 --- a/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["../../.eslintrc.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index fa1c7e38f..d9ed90b7c 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -18,7 +18,7 @@ 1. -## Screenshots +## UI … diff --git a/CHANGELOG.md b/CHANGELOG.md index 020abc610..d65799944 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,17 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.7.1] - 2022-07-23: Fix Changelog + +### Changed + +- noop(core-styles): comments & new lines +- chore(core-styles): [class*=c-button] → .c-button +- docs: github pr template tweak + +### Fixed + +- fix changelog +- docs(readme): release steps now not for tup-ui + +### Deleted + +- chore: delete tup-ui config project.json +- chore: delete tup-ui config .eslintrc.json + ## [0.7.0] - 2022-07-15: New Global Color, Fix Section Banner on Safari ### Change -- release [0.7.0-beta] as [0.7.0] +- Core styles/v0.7.0 [TACC/tup-ui#30](https://github.com/TACC/tup-ui/pull/30) ## [0.7.0-beta] - 2022-07-13: New Global Color, Fix Section Banner on Safari ### Added -- feat(core-styles): tup-308, new global color #25 +- feat(core-styles): tup-308, new global color [TACC/tup-ui#25](https://github.com/TACC/tup-ui/pull/25) ### Change @@ -26,7 +44,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- fix(core-styles): fp-1723 fix o-section--banner on safari #29 +- fix(core-styles): fp-1723 fix o-section--banner on safari [TACC/tup-ui#29](https://github.com/TACC/tup-ui/pull/29) ## [0.6.0] - 2022-07-06: Fix CMS v3.7.0 Bugs, Button Style Updates @@ -90,29 +108,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - refactor!: moved `/source` to `/src/lib` - feat: support TypeScript and Jest +## [0.5.2] - 2022-06-13: Missing Button State; Fix an Import, Button Size, Docs + +### Fixed + +- feat(FP-1596): design button "--is-active" type (#24) +- fix(FP-1596): missing import for truncate extend +- fix(fp-1678): small button a bit more vert pad (#30) + +### Changed + +- docs(README): module usage: fix typo, drop old opt +- docs(styles): readme, related repos & old callout + ## [0.5.1] - 2022-05-26: Version Rewrite ### Changed -- chore(version): v3.0→v0.5 & publish instructions (https://github.com/TACC/Core-Styles/pull/28) +- chore(version): v3.0→v0.5 & publish instructions (#28) ## [0.5.0] - 2022-05-25: Simpler CLI API, Fixes, Updates, Cleanup ### Added -- FP-1648: Build Individual Stylesheets — ⚠️ API Change (https://github.com/TACC/Core-Styles/pull/23) +- FP-1648: Build Individual Stylesheets — ⚠️ API Change (#23) ### Changed -- feat(tup-151): offset content less offset (https://github.com/TACC/Core-Styles/pull/21) -- FP-1648: Build Individual Stylesheets — ⚠️ API Change (https://github.com/TACC/Core-Styles/pull/23) -- feat(fp-1491): c-button updates from portal & use x-truncate (https://github.com/TACC/Core-Styles/pull/20) +- feat(tup-151): offset content less offset (#21) +- FP-1648: Build Individual Stylesheets — ⚠️ API Change (#23) +- feat(fp-1491): c-button updates from portal & use x-truncate (#20) ### Fixed -- fix(x-truncate): typo kills x-truncate--one-line (https://github.com/TACC/Core-Styles/pull/22) +- fix(x-truncate): typo kills x-truncate--one-line (#22) - fix(FP-1596): pagination @import used external url -- fix(fp-1542): figure img margin for link img's too (https://github.com/TACC/Core-Styles/pull/25) +- fix(fp-1542): figure img margin for link img's too (#25) ### Deleted @@ -122,18 +153,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- feat(branding): new class .branding-logo--short (https://github.com/TACC/Core-Styles/pull/4) +- feat(branding): new class .branding-logo--short (#4) - feat(search): input placeholder matches bkgd (310e969) - feat(fp-1596): pagination component (b9e2eca, #5) - feat(fp-1491): button component (c1bd33f / #6) - feat(postcss): custom selectors (847d0e2) -- feat(ecep-114): tweak typography (https://github.com/TACC/Core-Styles/pull/14) -- feat(ecep-113): article link mixin new features (https://github.com/TACC/Core-Styles/pull/15) -- feat: nav component (https://github.com/TACC/Core-Styles/pull/12) -- feat(ecep-114): position sticky support on CMS (https://github.com/TACC/Core-Styles/pull/13) -- feat(ecep-113): style news & related patterns (https://github.com/TACC/Core-Styles/pull/16) -- feat(fp-1378): add new space prop --section-gap (https://github.com/TACC/Core-Styles/pull/10) -- feat(object): o-flex-item-table-wrap (Core-Portal) (https://github.com/TACC/Core-Styles/pull/18) +- feat(ecep-114): tweak typography (#14) +- feat(ecep-113): article link mixin new features (#15) +- feat: nav component (#12) +- feat(ecep-114): position sticky support on CMS (#13) +- feat(ecep-113): style news & related patterns (#16) +- feat(fp-1378): add new space prop --section-gap (#10) +- feat(object): o-flex-item-table-wrap (Core-Portal) (#18) ### Changed @@ -144,11 +175,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- fix(tup-231): move some core-styles back to core-cms (https://github.com/TACC/Core-Styles/pull/17) +- fix(tup-231): move some core-styles back to core-cms (#17) ## Deleted -- chore(gh-149): remove deleted id selector (https://github.com/TACC/Core-Styles/pull/7) +- chore(gh-149): remove deleted id selector (#7) ## [0.3.0] - 2022-04-06: Initial Release @@ -167,7 +198,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- Quick: Stable Package.json Calls … (https://github.com/TACC/Core-Styles/pull/3) +- Quick: Stable Package.json Calls … (#3) - Fix: Require NPM7+ … (37466e2) - chore(version): del & ignore runtime \_version.css (dab87e7) - fix(refactor): config script (1d6dacd) @@ -177,12 +208,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Quick: Add Changelog (449a045, e49b7c6) -- Version CLI (https://github.com/TACC/Core-Styles/pull/2) — Split build CLI into two commands `build` and `version`. +- Version CLI (#2) — Split build CLI into two commands `build` and `version`. ### Changed - Quick: Readme intro tweak (b67fd0e) -- Version CLI (https://github.com/TACC/Core-Styles/pull/2) — require `build` command to build (`core-styles build ...`). +- Version CLI (#2) — require `build` command to build (`core-styles build ...`). ### Fixed @@ -192,17 +223,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Initial working code. (This code may not work on all environments.) -[unreleased]: https://github.com/TACC/tup-ui/compare/core-styles-v0.7.0...HEAD -[0.7.0]: https://github.com/TACC/Core-Styles/releases/tag/core-styles-v0.7.0 -[0.7.0-beta]: https://github.com/TACC/Core-Styles/releases/tag/core-styles-v0.7.0-beta -[0.6.0]: https://github.com/TACC/Core-Styles/releases/tag/core-styles-v0.6.0 -[0.6.0-beta.3]: https://github.com/TACC/Core-Styles/releases/tag/core-styles-v0.6.0-beta.3 +[unreleased]: https://github.com/TACC/Core-Styles/compare/v0.7.1...HEAD +[0.7.1]: https://github.com/TACC/Core-Styles/releases/tag/v0.7.1 +[0.7.0]: https://github.com/TACC/tup-ui/releases/tag/core-styles-v0.7.0 +[0.7.0-beta]: https://github.com/TACC/tup-ui/releases/tag/core-styles-v0.7.0-beta +[0.6.0]: https://github.com/TACC/tup-ui/releases/tag/core-styles-v0.6.0 +[0.6.0-beta.3]: https://github.com/TACC/tup-ui/releases/tag/core-styles-v0.6.0-beta.3 [0.6.0-beta.2]: https://github.com/TACC/tup-ui/releases/tag/core-styles-v0.6.0-beta.2 [0.6.0-beta.1]: https://github.com/TACC/tup-ui/releases/tag/core-styles-v0.6.0-beta.1 [0.6.0-beta]: https://github.com/TACC/tup-ui/releases/tag/core-styles-v0.6.0-beta [0.6.0-alpha.2]: https://github.com/TACC/tup-ui/releases/tag/core-styles-v0.6.0-alpha.2 [0.6.0-alpha.1]: https://github.com/TACC/tup-ui/releases/tag/core-styles-v0.6.0-alpha.1 [0.6.0-alpha]: https://github.com/TACC/tup-ui/releases/tag/core-styles-v0.6.0-alpha +[0.5.2]: https://github.com/TACC/Core-Styles/releases/tag/v0.5.2 [0.5.1]: https://github.com/TACC/Core-Styles/releases/tag/v0.5.1 [0.5.0]: https://github.com/TACC/Core-Styles/releases/tag/v0.5.0 [0.4.0]: https://github.com/TACC/Core-Styles/releases/tag/v0.4.0 diff --git a/README.md b/README.md index 44d0ef5fc..9736ae358 100644 --- a/README.md +++ b/README.md @@ -224,11 +224,11 @@ Only authorized team members may publish. 1. (one time) Login to npm i.e. `npm login`. 1. Create new branch for version bump. 1. Update `CHANGELOG.md`. -1. Update version via `npm version N.N.N` (run from `.../core-styles/`). +1. Update version via `npm version N.N.N`. 1. Commit, push, PR, review, merge. 1. Tag version i.e. - 1. `git tag -a core-styles-vN.N.N -m "vN.N.N"` - 2. `git push origin core-styles-vN.N.N` + 1. `git tag -a vN.N.N` + 2. `git push origin vN.N.N` 1. Publish to NPM via `npm publish --access public`. > **Notice**: Project build will automatically occur before publish. diff --git a/package-lock.json b/package-lock.json index b29e41bbf..8029eec62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tacc/core-styles", - "version": "0.7.0", + "version": "0.7.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@tacc/core-styles", - "version": "0.7.0", + "version": "0.7.1", "license": "MIT", "dependencies": { "commander": "^9.0.0", diff --git a/package.json b/package.json index c4eb959f3..f8de93a86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tacc/core-styles", - "version": "0.7.0", + "version": "0.7.1", "license": "MIT", "author": "TACC ACI WMA ", "description": "CSS source and processor for TACC Core-CMS and Core-Portal.", diff --git a/project.json b/project.json deleted file mode 100644 index af3c730a3..000000000 --- a/project.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/core-styles/src", - "projectType": "library", - "targets": { - "lint": { - "executor": "@nrwl/workspace:run-commands", - "options": { - "commands": [ - "nx lint-scripts core-styles", - "nx lint-styles core-styles" - ], - "parallel": false - } - }, - "lint-scripts": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/core-components/**/*.{ts,js}"] - } - }, - "lint-styles": { - "executor": "@nrwl/workspace:run-commands", - "options": { - "commands": ["npx stylelint libs/core-styles/**/*.css"] - } - }, - "test": { - "executor": "@nrwl/jest:jest", - "outputs": ["coverage/libs/core-styles"], - "options": { - "jestConfig": "libs/core-styles/jest.config.ts", - "passWithNoTests": true - } - }, - "build": { - "executor": "@nrwl/workspace:run-commands", - "options": { - "commands": ["nx build-local core-styles", "nx build-root core-styles"], - "parallel": false - } - }, - "build-local": { - "executor": "@nrwl/workspace:run-commands", - "options": { - "commands": ["npm ci", "npm run build"], - "cwd": "libs/core-styles", - "parallel": false - } - }, - "build-root": { - "executor": "@nrwl/js:tsc", - "outputs": ["{options.outputPath}"], - "options": { - "outputPath": "dist/libs/core-styles", - "tsConfig": "libs/core-styles/tsconfig.lib.json", - "packageJson": "libs/core-styles/package.json", - "main": "libs/core-styles/src/index.js", - "assets": [ - "libs/core-styles/README.md", - "libs/core-styles/**/*.js", - "libs/core-styles/dist/**/*.css", - "libs/core-styles/src/lib/_imports/**/*.css", - "libs/core-styles/src/lib/_themes/*.json", - "libs/core-styles/src/.postcssrc.base.yml" - ] - } - } - }, - "tags": [] -}