Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oddbird/sass-pkg-test
POC for Sass pkg resolution algorithm
https://github.com/oddbird/sass-pkg-test
Last synced: 8 days ago
JSON representation
POC for Sass pkg resolution algorithm
- Host: GitHub
- URL: https://github.com/oddbird/sass-pkg-test
- Owner: oddbird
- License: mit
- Created: 2023-06-30T02:19:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-26T19:48:50.000Z (about 1 year ago)
- Last Synced: 2024-10-29T18:48:53.853Z (16 days ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sass pkg: test
This is a repo to prove out the recommended algorithm for resolving `pkg` URLs
as dependencies in Sass, per the
[Package Imports proposal](https://github.com/sass/sass/blob/main/proposal/package-importer.d.ts.md).The `node_modules_keep` folder contains mocked dependencies. Running
`npm install` will install the dependencies and then copy the mocked
dependencies over in the `postinstall` script.To run the tests, run `npm install`, and then `node index.js`.
## Contributing
To provide sample use cases, add new test cases to `index.js`. If needed, add a
new mocked package to `node_modules_keep`. At minimum, a `package.json` and
files will be needed.