Skip to content

Commit f83db9e

Browse files
committed
fix: remove unused test-setup (smaller bundle) (#17)
1 parent 0b5cfba commit f83db9e

7 files changed

Lines changed: 44 additions & 652 deletions

File tree

.eslintrc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
"ecmaVersion": 6,
66
"sourceType": "module"
77
},
8-
"plugins": ["@typescript-eslint", "@eufemia"],
8+
"plugins": ["@typescript-eslint"],
99
"rules": {
10-
"@eufemia/calc-arguments": "error",
1110
"@typescript-eslint/naming-convention": "warn",
1211
"@typescript-eslint/semi": "off",
1312
"curly": "warn",

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ When inside files like: CSS, SCSS, Emotion or Styled Components.
1010

1111
### Spacing types
1212

13-
Spacing types are Eufemia spatial system units like; large, medium, small. They can and should be used when defining spacing between components:
13+
Spacing types are [Eufemia spatial system](https://eufemia.dnb.no/uilib/usage/layout/spacing/) units like; large, medium, small. They can and should be used when defining spacing between components:
1414

1515
```css
1616
div {
@@ -37,6 +37,6 @@ div {
3737
```css
3838
span {
3939
font-size: var(--font-size-basis); /* 1.125rem (18px) */
40-
line-height: var(--line-height-basis); /* 1.125rem (18px) */
40+
line-height: var(--line-height-basis); /* 1.5rem (24px) */
4141
}
4242
```

package.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "DNB Eufemia Tools",
44
"description": "DNB Eufemia Design System Extension",
55
"categories": [],
6-
"version": "1.3.2",
6+
"version": "1.3.3",
77
"publisher": "dnbexperience",
88
"author": "Tobias Høegh <tobias.hoegh@dnb.no>",
99
"license": "SEE LICENSE IN LICENSE",
@@ -29,12 +29,7 @@
2929
"package": "webpack --mode production --devtool hidden-source-map",
3030
"lint": "eslint src --ext ts",
3131
"test": "vitest run",
32-
"test:watch": "vitest --watch",
33-
"e2e:test:compile": "tsc -p . --outDir out",
34-
"e2e:test:compile:watch": "tsc -p . -w --outDir out",
35-
"e2e:test": "node ./out/__tests__/runTest.js",
36-
"e2e:test:watch": "node ./out/__tests__/runTest.js --watch --watch-files ./src/**/*",
37-
"e2e:pretest": "yarn e2e:test:compile && yarn compile && yarn lint"
32+
"test:watch": "vitest --watch"
3833
},
3934
"activationEvents": [
4035
"onLanguage:css",
@@ -185,18 +180,12 @@
185180
"jsonc-parser": "^3.2.0"
186181
},
187182
"devDependencies": {
188-
"@eufemia/eslint-plugin": "^1.0.5",
189-
"@types/glob": "^8.0.0",
190-
"@types/mocha": "^10.0.1",
191183
"@types/node": "16.x",
192184
"@types/vscode": "^1.70.0",
193185
"@typescript-eslint/eslint-plugin": "^5.45.0",
194186
"@typescript-eslint/parser": "^5.45.0",
195-
"@vscode/test-electron": "^2.2.0",
196187
"@vscode/vsce": "^2.16.0",
197188
"eslint": "^8.28.0",
198-
"glob": "^8.0.3",
199-
"mocha": "^10.1.0",
200189
"react": "^18.2.0",
201190
"react-dom": "^18.2.0",
202191
"ts-loader": "^9.4.1",
@@ -206,5 +195,9 @@
206195
"webpack": "^5.75.0",
207196
"webpack-cli": "^5.0.0"
208197
},
198+
"volta": {
199+
"node": "18.12.1",
200+
"yarn": "1.22.10"
201+
},
209202
"packageManager": "yarn@1.22.1"
210203
}

src/__tests__/runTest.ts

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

src/__tests__/suite/extension.test.ts

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

src/__tests__/suite/index.ts

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

0 commit comments

Comments
 (0)