Skip to content

Commit f5b116b

Browse files
authored
Merge branch 'main' into 1418-plugins-as-params
2 parents 688bbdd + dbd3607 commit f5b116b

18 files changed

+22137
-21312
lines changed

nx.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
]
1717
},
1818
"test": {
19-
"inputs": ["default", "^default"]
19+
"inputs": ["default", "^default"],
20+
"dependsOn": ["^test"]
2021
},
2122
"build": {
2223
"dependsOn": ["clean", "^clean", "^build"]

package-lock.json

+21,527-20,877
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"build": "npx nx run-many -t build --all",
1212
"doc": "lerna run doc",
1313
"test": "npx nx run-many -t test --all --parallel=false",
14+
"graph": "npx nx graph",
1415
"start": "lerna run start"
1516
},
1617
"repository": {

packages/addons/package.json

+138
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
{
2+
"name": "@openscd/addons",
3+
"version": "0.34.0",
4+
"repository": "https://github.com/openscd/open-scd.git",
5+
"directory": "packages/addons",
6+
"description": "Official Addons for OpenSCD",
7+
"keywords": [
8+
"SCL",
9+
"substation configuration",
10+
"IEC",
11+
"61850-6",
12+
"SCD",
13+
"editor"
14+
],
15+
"author": "OpenSCD",
16+
"license": "Apache-2.0",
17+
"type": "module",
18+
"files": [
19+
"./dist/**"
20+
],
21+
"dependencies": {
22+
"lit": "^2.2.7",
23+
"@openscd/core": "*",
24+
"@openscd/components": "*"
25+
},
26+
"//": {
27+
"clean": "rimraf build",
28+
"lint:eslint": "eslint --ext .ts . --ignore-path .gitignore",
29+
"format:eslint": "eslint --ext .ts . --fix --ignore-path .gitignore",
30+
"lint:prettier": "prettier \"**/*.js\" \"**/*.ts\" --check --ignore-path .gitignore",
31+
"format:prettier": "prettier \"**/*.js\" \"**/*.ts\" --write --ignore-path .gitignore",
32+
"lint": "npm run lint:eslint && npm run lint:prettier",
33+
"format": "npm run format:eslint && npm run format:prettier",
34+
"test:snapshot": "web-test-runner --update-snapshots --coverage",
35+
"test:manual": "web-test-runner --manual",
36+
"test:watch": "web-test-runner --watch",
37+
"test:unit": "web-test-runner --watch --group unit",
38+
"test:integration": "web-test-runner --watch --group integration",
39+
"doc:clean": "npx rimraf doc",
40+
"doc:typedoc": "typedoc --plugin none --out doc src",
41+
"doc:wca": "wca src --outDir doc/components",
42+
"doc": "npm run doc:clean && npm run doc:typedoc && npm run doc:wca"
43+
},
44+
"devDependencies": {
45+
"@commitlint/cli": "^13.1.0",
46+
"@commitlint/config-conventional": "^13.1.0",
47+
"@open-wc/eslint-config": "^4.3.0",
48+
"@open-wc/semantic-dom-diff": "^0.19.5",
49+
"@open-wc/testing": "^2.5.33",
50+
"@types/node": "^16.6.1",
51+
"@typescript-eslint/eslint-plugin": "^4.29.2",
52+
"@typescript-eslint/parser": "^4.29.2",
53+
"@web/dev-server-esbuild": "^0.2.16",
54+
"@web/test-runner": "^0.13.22",
55+
"concurrently": "^6.2.1",
56+
"deepmerge": "^4.2.2",
57+
"es-dev-server": "^2.1.0",
58+
"eslint": "^7.32.0",
59+
"eslint-config-prettier": "^8.3.0",
60+
"eslint-plugin-babel": "^5.3.1",
61+
"eslint-plugin-tsdoc": "^0.2.14",
62+
"fast-check": "^2.19.0",
63+
"husky": "^7.0.1",
64+
"lint-staged": "^11.1.2",
65+
"prettier": "^2.3.2",
66+
"sinon": "^17.0.1",
67+
"source-map": "^0.7.4",
68+
"tslib": "^2.3.1",
69+
"typedoc": "^0.21.10",
70+
"typedoc-plugin-markdown": "3.10.4",
71+
"typescript": "4.3.5",
72+
"web-component-analyzer": "^1.1.6"
73+
},
74+
"eslintConfig": {
75+
"extends": [
76+
"@open-wc/eslint-config",
77+
"eslint-config-prettier"
78+
]
79+
},
80+
"prettier": {
81+
"singleQuote": true,
82+
"arrowParens": "avoid"
83+
},
84+
"husky": {
85+
"hooks": {
86+
"pre-commit": "lint-staged",
87+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
88+
}
89+
},
90+
"lint-staged": {
91+
"*.ts": [
92+
"eslint --fix",
93+
"prettier --write"
94+
]
95+
},
96+
"commitlint": {
97+
"extends": [
98+
"@commitlint/config-conventional"
99+
]
100+
},
101+
"standard-version": {
102+
"types": [
103+
{
104+
"type": "feat",
105+
"section": "Features"
106+
},
107+
{
108+
"type": "fix",
109+
"section": "Bug Fixes"
110+
},
111+
{
112+
"type": "chore",
113+
"hidden": true
114+
},
115+
{
116+
"type": "docs",
117+
"hidden": true
118+
},
119+
{
120+
"type": "style",
121+
"hidden": true
122+
},
123+
{
124+
"type": "refactor",
125+
"hidden": true
126+
},
127+
{
128+
"type": "perf",
129+
"hidden": true
130+
},
131+
{
132+
"type": "test",
133+
"hidden": true
134+
}
135+
],
136+
"commitUrlFormat": "https://github.com/openscd/open-scd/commits/{{hash}}"
137+
}
138+
}

packages/addons/project.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "@openscd/addons",
3+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
4+
"projectType": "library",
5+
"sourceRoot": "packages/addons/src",
6+
"targets": {}
7+
}

packages/components/package.json

+133
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
{
2+
"name": "@openscd/components",
3+
"version": "0.0.1",
4+
"repository": "https://github.com/openscd/open-scd.git",
5+
"directory": "packages/components",
6+
"description": "Official Components for OpenSCD",
7+
"keywords": [
8+
"SCL",
9+
"substation configuration",
10+
"IEC",
11+
"61850-6",
12+
"SCD",
13+
"editor"
14+
],
15+
"author": "OpenSCD",
16+
"license": "Apache-2.0",
17+
"type": "module",
18+
"files": [
19+
"./dist/**"
20+
],
21+
"dependencies": {
22+
},
23+
"//": {
24+
"clean": "rimraf build",
25+
"lint:eslint": "eslint --ext .ts . --ignore-path .gitignore",
26+
"format:eslint": "eslint --ext .ts . --fix --ignore-path .gitignore",
27+
"lint:prettier": "prettier \"**/*.js\" \"**/*.ts\" --check --ignore-path .gitignore",
28+
"format:prettier": "prettier \"**/*.js\" \"**/*.ts\" --write --ignore-path .gitignore",
29+
"lint": "npm run lint:eslint && npm run lint:prettier",
30+
"format": "npm run format:eslint && npm run format:prettier",
31+
"test:manual": "web-test-runner --manual",
32+
"test:watch": "web-test-runner --watch",
33+
"test:unit": "web-test-runner --watch --group unit",
34+
"doc:clean": "npx rimraf doc",
35+
"doc:typedoc": "typedoc --plugin none --out doc src",
36+
"doc:wca": "wca src --outDir doc/components",
37+
"doc": "npm run doc:clean && npm run doc:typedoc && npm run doc:wca"
38+
},
39+
"devDependencies": {
40+
"@commitlint/cli": "^13.1.0",
41+
"@commitlint/config-conventional": "^13.1.0",
42+
"@open-wc/eslint-config": "^4.3.0",
43+
"@open-wc/semantic-dom-diff": "^0.19.5",
44+
"@open-wc/testing": "^2.5.33",
45+
"@types/node": "^16.6.1",
46+
"@typescript-eslint/eslint-plugin": "^4.29.2",
47+
"@typescript-eslint/parser": "^4.29.2",
48+
"@web/dev-server-esbuild": "^0.2.16",
49+
"@web/test-runner": "^0.13.22",
50+
"concurrently": "^6.2.1",
51+
"deepmerge": "^4.2.2",
52+
"es-dev-server": "^2.1.0",
53+
"eslint": "^7.32.0",
54+
"eslint-config-prettier": "^8.3.0",
55+
"eslint-plugin-babel": "^5.3.1",
56+
"eslint-plugin-tsdoc": "^0.2.14",
57+
"fast-check": "^2.19.0",
58+
"husky": "^7.0.1",
59+
"lint-staged": "^11.1.2",
60+
"prettier": "^2.3.2",
61+
"sinon": "^17.0.1",
62+
"source-map": "^0.7.4",
63+
"tslib": "^2.3.1",
64+
"typedoc": "^0.21.10",
65+
"typedoc-plugin-markdown": "3.10.4",
66+
"typescript": "4.3.5",
67+
"web-component-analyzer": "^1.1.6"
68+
},
69+
"eslintConfig": {
70+
"extends": [
71+
"@open-wc/eslint-config",
72+
"eslint-config-prettier"
73+
]
74+
},
75+
"prettier": {
76+
"singleQuote": true,
77+
"arrowParens": "avoid"
78+
},
79+
"husky": {
80+
"hooks": {
81+
"pre-commit": "lint-staged",
82+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
83+
}
84+
},
85+
"lint-staged": {
86+
"*.ts": [
87+
"eslint --fix",
88+
"prettier --write"
89+
]
90+
},
91+
"commitlint": {
92+
"extends": [
93+
"@commitlint/config-conventional"
94+
]
95+
},
96+
"standard-version": {
97+
"types": [
98+
{
99+
"type": "feat",
100+
"section": "Features"
101+
},
102+
{
103+
"type": "fix",
104+
"section": "Bug Fixes"
105+
},
106+
{
107+
"type": "chore",
108+
"hidden": true
109+
},
110+
{
111+
"type": "docs",
112+
"hidden": true
113+
},
114+
{
115+
"type": "style",
116+
"hidden": true
117+
},
118+
{
119+
"type": "refactor",
120+
"hidden": true
121+
},
122+
{
123+
"type": "perf",
124+
"hidden": true
125+
},
126+
{
127+
"type": "test",
128+
"hidden": true
129+
}
130+
],
131+
"commitUrlFormat": "https://github.com/openscd/open-scd/commits/{{hash}}"
132+
}
133+
}

packages/components/project.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "@openscd/components",
3+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
4+
"projectType": "library",
5+
"sourceRoot": "packages/components/src",
6+
"targets": {}
7+
}

0 commit comments

Comments
 (0)