Skip to content

Commit 3223a4d

Browse files
committed
work on a node projects css parser
1 parent 02c2412 commit 3223a4d

File tree

7 files changed

+53
-165
lines changed

7 files changed

+53
-165
lines changed

.github/CONTRIBUTING.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
3737
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
3838

39-
- [ ] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html).
4039
- [ ] My code follows the code style of this project.
4140
- [ ] My change requires a change to the documentation.
4241
- [ ] I have updated the documentation accordingly.

.github/dependabot.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

biome.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.7/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",
66
"useIgnoreFile": true
77
},
88
"files": {
99
"ignoreUnknown": false,
10-
"includes": ["**", "!test/cases/**", "!benchmark/*.css"]
10+
"includes": ["**", "!test/cases", "!benchmark/*.css"]
1111
},
1212
"formatter": {
1313
"enabled": true,

package-lock.json

Lines changed: 32 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
{
2-
"name": "@adobe/css-tools",
3-
"version": "4.4.4",
2+
"name": "@node-projects/css-parser",
3+
"version": "5.0.0",
44
"description": "A modern CSS parser and stringifier with TypeScript support",
55
"source": "src/index.ts",
6-
"main": "./dist/cjs/adobe-css-tools.cjs",
7-
"module": "./dist/esm/adobe-css-tools.mjs",
8-
"browser": "./dist/umd/adobe-css-tools.js",
6+
"main": "./dist/esm/index.js",
7+
"module": "./dist/esm/index",
98
"sideEffects": false,
10-
"exports": {
11-
".": {
12-
"import": "./dist/esm/adobe-css-tools.mjs",
13-
"require": "./dist/cjs/adobe-css-tools.cjs"
14-
},
15-
"./package.json": "./package.json"
16-
},
179
"types": "./dist/esm/adobe-css-tools.d.mts",
1810
"type": "module",
1911
"files": [
@@ -25,23 +17,23 @@
2517
],
2618
"devDependencies": {
2719
"@arethetypeswrong/cli": "^0.18.2",
28-
"@biomejs/biome": "^2.1.2",
29-
"@rollup/plugin-commonjs": "^29.0.0",
30-
"@rollup/plugin-node-resolve": "^16.0.1",
31-
"@rollup/plugin-terser": "^0.4.4",
32-
"@rollup/plugin-typescript": "^12.1.4",
33-
"@types/benchmark": "^2.1.1",
20+
"@biomejs/biome": "^2.4.7",
21+
"@rollup/plugin-commonjs": "^29.0.2",
22+
"@rollup/plugin-node-resolve": "^16.0.3",
23+
"@rollup/plugin-terser": "^1.0.0",
24+
"@rollup/plugin-typescript": "^12.3.0",
25+
"@types/benchmark": "^2.1.5",
3426
"@types/bytes": "^3.1.5",
3527
"@types/jest": "^30.0.0",
36-
"@types/node": "^25.0.3",
28+
"@types/node": "^25.5.0",
3729
"benchmark": "^2.1.4",
38-
"bytes": "^3.1.0",
39-
"jest": "^30.0.5",
40-
"rollup": "^4.45.1",
41-
"rollup-plugin-dts": "^6.2.1",
42-
"ts-jest": "^29.1.1",
30+
"bytes": "^3.1.2",
31+
"jest": "^30.3.0",
32+
"rollup": "^4.59.0",
33+
"rollup-plugin-dts": "^6.4.0",
34+
"ts-jest": "^29.4.6",
4335
"tslib": "^2.8.1",
44-
"typescript": "^5.7.3"
36+
"typescript": "^5.9.3"
4537
},
4638
"scripts": {
4739
"benchmark": "npm run build && node benchmark/index.mjs",
@@ -63,7 +55,7 @@
6355
"license": "MIT",
6456
"repository": {
6557
"type": "git",
66-
"url": "https://github.com/adobe/css-tools.git"
58+
"url": "https://github.com/node-projects/css-parser.git"
6759
},
6860
"keywords": [
6961
"css",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
indexOfArrayWithBracketAndQuoteSupport,
44
MAX_LOOP,
55
splitWithBracketAndQuoteSupport,
6-
} from './stringSearch';
6+
} from '../src/utils/stringSearch';
77

88
describe('indexOfArrayNonEscaped', () => {
99
it('should find first non-escaped occurrence', () => {

0 commit comments

Comments
 (0)