Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm updates #155

Closed
blackfalcon opened this issue May 18, 2023 · 0 comments · Fixed by #176
Closed

npm updates #155

blackfalcon opened this issue May 18, 2023 · 0 comments · Fixed by #176
Assignees
Labels
auro-wcss Type: Maintenance Repository Maintenance
Milestone

Comments

@blackfalcon
Copy link
Member

blackfalcon commented May 18, 2023

General Support Request

WCSS still supports a number of outdated dependencies that need to be updated.

npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated opn@6.0.0: The package has been renamed to `open`
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

This also includes the need to move from node-sass to Dart Sass and upgrade the repo support to Node 18.

Support request

Update the repo's dependencies and node version support. Specifically...

  1. Update to use the latest version of Husky
  2. Update to use latest version of Chalk
  3. Remove node-sass
  4. Update to latest version of stylelint
  5. Update all other dependencies
  6. There may be issues with updating sass-true 5.0.0 ❯ 7.0.0

There are migration methods required for moving from 5-6 and then 6-7. See the release notes
https://github.com/oddbird/true/releases

There may be some issues with updating

Cost of not doing

There are a growing number of security vulnerabilities that need to be addressed.

Exit criteria

This issue can be closed since all dependencies are updated to their latest version and the repo supports Node 18+

@blackfalcon blackfalcon added Type: Maintenance Repository Maintenance auro-wcss labels May 18, 2023
@blackfalcon blackfalcon added this to the Grid System milestone May 18, 2023
@blackfalcon blackfalcon modified the milestones: Grid System, WCSS 5.0 rc Sep 14, 2023
blackfalcon added a commit that referenced this issue Sep 14, 2023
Changes to be committed:
modified:   .github/workflows/testPublish.yml
modified:   package-lock.json
modified:   package.json
@blackfalcon blackfalcon mentioned this issue Sep 14, 2023
6 tasks
@blackfalcon blackfalcon linked a pull request Sep 14, 2023 that will close this issue
6 tasks
blackfalcon added a commit that referenced this issue Sep 21, 2023
Changes to be committed:
modified:   package-lock.json
modified:   package.json
blackfalcon added a commit that referenced this issue Sep 25, 2023
Changes to be committed:
modified:   .github/workflows/testPublish.yml
modified:   package-lock.json
modified:   package.json
blackfalcon added a commit that referenced this issue Sep 25, 2023
Changes to be committed:
modified:   package-lock.json
modified:   package.json
blackfalcon pushed a commit that referenced this issue Sep 25, 2023
# [5.0.0](v4.8.0...v5.0.0) (2023-09-25)

### Features

* remove all deprecated references [#169](#169) ([711d729](711d729))
* update to use CSS variables with fallback [#134](#134) ([9546be4](9546be4))

### Performance Improvements

* **deps:** update repo to support Node 18 [#155](#155) ([c208bad](c208bad))
* **tokens:** update to design tokens 4.x [#134](#134) ([8f17359](8f17359))
* update all references from auro- to ds- [#169](#169) ([57831ef](57831ef))
* update insetUtility to maintain current support ([a136b9d](a136b9d))
* update package config [#171](#171) ([4ca4e7d](4ca4e7d))

### BREAKING CHANGES

* This commit updates the .npmignore package config to
reduce the scope of the packaged files and directories

This commit also removes the necessity of copying all the src files to a
dist dir and instead allows the src dir to be added to the package.
Consumers will have to update dir references from ./dist to ./src in
most import cases.

Processed files are still located in the ./dist dir.

Changes to be committed:
modified:   .github/workflows/testPublish.yml
modified:   .npmignore
modified:   README.md
modified:   package.json
* This commit removes the legacy insetUtility mixin and
replaces it with a static output of the generated legacy values from the
previous version of WCSS and design tokens.

Users will not get a failure when importing the file reference
src/utilityMixins/_insetUtility.scss but instead of the mixin generating
a subset of selectors, all the static selectors will be added to the
project's CSS output.

This legacy feature has also been designated as DEPRECATED and should be
deleted with the next MAJOR release.
* This commit will require all consumers to update their
app to use @aurodesignsystem/design-tokens v4.x

All references in documentation and code has been updated from `auro-`
to `ds-` per the new design token specification.

Changes to be committed:
modified:   FAQ.md
modified:   README.md
modified:   demo/3col.html
modified:   packageScripts/postinstall.js
modified:   src/*
modified:   tests/*
* **tokens:** This commit updates the repo's dependency on the newly
released Auro Design Tokens 4.x.

Changes to be committed:
modified:   package-lock.json
modified:   package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auro-wcss Type: Maintenance Repository Maintenance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants