lincd-cli 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +373 -373
- package/README.md +24 -24
- package/defaults/defaultModule/Index.js +30 -30
- package/defaults/defaultModule/Index.tsx +24 -24
- package/defaults/defaultModule/index.ts +11 -11
- package/defaults/defaultModule/ontology.js +21 -21
- package/defaults/defaultModule/ontology.ts +15 -15
- package/defaults/gitignorefile +3 -3
- package/defaults/index.ts +12 -12
- package/defaults/module/package.json +30 -30
- package/defaults/module/src/components/ExampleComponent.tsx +22 -22
- package/defaults/module/src/data/example-ontology.json +20 -20
- package/defaults/module/src/data/example-ontology.json.d.ts +1 -1
- package/defaults/module/src/index.ts +7 -7
- package/defaults/module/src/module.ts +9 -9
- package/defaults/module/src/ontologies/example-ontology.ts +33 -33
- package/defaults/module/src/shapes/ExampleShapeClass.ts +30 -30
- package/defaults/ontology.ts +15 -15
- package/defaults/package.json +28 -28
- package/defaults/site/package.json +40 -40
- package/defaults/site/storage/filestores/settings-production-template.jsonld +128 -128
- package/defaults/site/web/.htaccess +19 -19
- package/lib/cli.js +70 -116
- package/lib/config-grunt.js +4 -14
- package/lib/config-webpack.js +23 -23
- package/lib/plugins/declaration-plugin.js +26 -68
- package/lib/plugins/externalise-modules.js +4 -10
- package/package.json +75 -73
- package/src/cli.js +1209 -1209
- package/src/config-grunt.js +263 -263
- package/src/config-webpack.js +281 -281
- package/src/index.js +22 -22
- package/src/interfaces.js +2 -2
- package/src/plugins/declaration-plugin.js +248 -248
- package/src/plugins/externalise-modules.js +161 -161
- package/src/plugins/shapes-plugin.js +69 -69
- package/src/plugins/watch-run.js +47 -47
- package/src/utils.js +127 -127
- package/defaults/.npmignore +0 -11
- package/defaults/Gruntfile.js +0 -16
- package/defaults/module/Gruntfile.js +0 -16
- package/defaults/module/tsconfig-es5.json +0 -21
- package/defaults/module/tsconfig.json +0 -21
- package/defaults/site/.gitignore +0 -8
- package/defaults/site/.npmignore +0 -10
- package/defaults/site/lib/start-server.js +0 -22
- package/defaults/site/lib/test-server.js +0 -10
- package/defaults/site/storage/filestores/settings-development.jsonld +0 -117
- package/defaults/tsconfig-es5.json +0 -18
- package/defaults/tsconfig.json +0 -20
package/defaults/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dacore/",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"description": "",
|
|
5
|
-
"lincd": true,
|
|
6
|
-
"main": "lib/index.js",
|
|
7
|
-
"author": "",
|
|
8
|
-
"license": "ISC",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"build": "npm exec lincd build",
|
|
11
|
-
"dev": "npm exec lincd dev",
|
|
12
|
-
"prepare": "npm exec lincd build production",
|
|
13
|
-
"postpublish": "npm exec lincd publish"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"lincd",
|
|
17
|
-
"linked data",
|
|
18
|
-
"interoperable",
|
|
19
|
-
"semantic web",
|
|
20
|
-
"web3"
|
|
21
|
-
],
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"lincd": "^0.2"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"lincd-cli": "^0.1"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@dacore/",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"lincd": true,
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"author": "",
|
|
8
|
+
"license": "ISC",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "npm exec lincd build",
|
|
11
|
+
"dev": "npm exec lincd dev",
|
|
12
|
+
"prepare": "npm exec lincd build production",
|
|
13
|
+
"postpublish": "npm exec lincd publish"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"lincd",
|
|
17
|
+
"linked data",
|
|
18
|
+
"interoperable",
|
|
19
|
+
"semantic web",
|
|
20
|
+
"web3"
|
|
21
|
+
],
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"lincd": "^0.2"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"lincd-cli": "^0.1"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
{
|
|
2
|
-
"private": true,
|
|
3
|
-
"name": "${packageName}",
|
|
4
|
-
"version": "0.2.0",
|
|
5
|
-
"description": "Server for ${browserTitle}",
|
|
6
|
-
"main": "lib/index.js",
|
|
7
|
-
"license": "UNLICENSED",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"dev": "node ./lib/start-server.js",
|
|
10
|
-
"production": "set NODE_ENV=production&& node ./lib/start-server.js"
|
|
11
|
-
},
|
|
12
|
-
"directories": {
|
|
13
|
-
"lib": "lib"
|
|
14
|
-
},
|
|
15
|
-
"workspaces": [
|
|
16
|
-
"modules/*"
|
|
17
|
-
],
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"@dacore/admin": "^0.2",
|
|
20
|
-
"@dacore/auth": "^0.2",
|
|
21
|
-
"@dacore/browser-core": "^0.2",
|
|
22
|
-
"@dacore/core": "1.x",
|
|
23
|
-
"@dacore/core-editors": "^0.2",
|
|
24
|
-
"@dacore/coreviews": "^0.2",
|
|
25
|
-
"@dacore/core-ui": "^0.2",
|
|
26
|
-
"@dacore/dcterms": "^0.2",
|
|
27
|
-
"@dacore/forms": "^0.2",
|
|
28
|
-
"@dacore/html": "^0.2",
|
|
29
|
-
"@dacore/icons": "^0.2",
|
|
30
|
-
"@dacore/rdf4j": "^0.2",
|
|
31
|
-
"@dacore/server-core": "^0.2",
|
|
32
|
-
"@dacore/website": "^0.2",
|
|
33
|
-
"@dacore/website-editors": "^0.2",
|
|
34
|
-
"react": "^18.1",
|
|
35
|
-
"react-dom": "^18.1"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@dacore/build-tools": "1.x"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"name": "${packageName}",
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"description": "Server for ${browserTitle}",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"license": "UNLICENSED",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "node ./lib/start-server.js",
|
|
10
|
+
"production": "set NODE_ENV=production&& node ./lib/start-server.js"
|
|
11
|
+
},
|
|
12
|
+
"directories": {
|
|
13
|
+
"lib": "lib"
|
|
14
|
+
},
|
|
15
|
+
"workspaces": [
|
|
16
|
+
"modules/*"
|
|
17
|
+
],
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@dacore/admin": "^0.2",
|
|
20
|
+
"@dacore/auth": "^0.2",
|
|
21
|
+
"@dacore/browser-core": "^0.2",
|
|
22
|
+
"@dacore/core": "1.x",
|
|
23
|
+
"@dacore/core-editors": "^0.2",
|
|
24
|
+
"@dacore/coreviews": "^0.2",
|
|
25
|
+
"@dacore/core-ui": "^0.2",
|
|
26
|
+
"@dacore/dcterms": "^0.2",
|
|
27
|
+
"@dacore/forms": "^0.2",
|
|
28
|
+
"@dacore/html": "^0.2",
|
|
29
|
+
"@dacore/icons": "^0.2",
|
|
30
|
+
"@dacore/rdf4j": "^0.2",
|
|
31
|
+
"@dacore/server-core": "^0.2",
|
|
32
|
+
"@dacore/website": "^0.2",
|
|
33
|
+
"@dacore/website-editors": "^0.2",
|
|
34
|
+
"react": "^18.1",
|
|
35
|
+
"react-dom": "^18.1"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@dacore/build-tools": "1.x"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
{
|
|
2
|
-
"@context": {
|
|
3
|
-
"owl": "http://www.w3.org/2002/07/owl#",
|
|
4
|
-
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
|
|
5
|
-
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
|
6
|
-
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
7
|
-
"core": "http://data.dacore.org/ontologies/core/",
|
|
8
|
-
"module": "http://data.dacore.org/ontologies/module/",
|
|
9
|
-
"storage": "http://data.dacore.org/ontologies/storage/",
|
|
10
|
-
"rdf4j": "http://data.dacore.org/ontologies/rdf4j/",
|
|
11
|
-
"node-core": "http://data.dacore.org/ontologies/node-core/",
|
|
12
|
-
"server-core": "http://data.dacore.org/ontologies/server-core/",
|
|
13
|
-
"browser-core": "http://data.dacore.org/ontologies/browser-core/"
|
|
14
|
-
},
|
|
15
|
-
"@graph": [
|
|
16
|
-
{
|
|
17
|
-
"@id": "dacore://store/main",
|
|
18
|
-
"@type": [
|
|
19
|
-
"rdf4j:RDF4JStore"
|
|
20
|
-
],
|
|
21
|
-
"storage:publicEndPoint": [
|
|
22
|
-
{
|
|
23
|
-
"@value": "http://127.0.0.1:7200/repositories/${repositoryName}"
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"@id": "dacore://system",
|
|
29
|
-
"@type": "server-core:ServerCore",
|
|
30
|
-
"rdfs:label" : "${projectName}",
|
|
31
|
-
"server-core:serves": {
|
|
32
|
-
"@id": "${uriBase}"
|
|
33
|
-
},
|
|
34
|
-
"server-core:port": "${port}",
|
|
35
|
-
"core:uriBase": "${uriBase}",
|
|
36
|
-
"storage:defaultStore": {
|
|
37
|
-
"@id": "dacore://store/main"
|
|
38
|
-
},
|
|
39
|
-
"node-core:includeAtStartup": [
|
|
40
|
-
"@dacore/node-core",
|
|
41
|
-
"@dacore/rdf4j"
|
|
42
|
-
],
|
|
43
|
-
"core:adminEmail": "${email}",
|
|
44
|
-
"core:deployment": "development",
|
|
45
|
-
"core:requiresSetup": {
|
|
46
|
-
"@type": "xsd:boolean",
|
|
47
|
-
"@value": "true"
|
|
48
|
-
},
|
|
49
|
-
"core:defaultModule": {
|
|
50
|
-
"@id": "${defaultModuleUri}"
|
|
51
|
-
},
|
|
52
|
-
"core:defaultOntology": {
|
|
53
|
-
"@id": "${defaultOntologyUri}"
|
|
54
|
-
},
|
|
55
|
-
"module:maintainsModule": [
|
|
56
|
-
{
|
|
57
|
-
"@id": "${defaultModuleUri}"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"module:installedModule": [
|
|
61
|
-
{
|
|
62
|
-
"@id": "http://data.dacore.org/module/core"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"@id": "http://data.dacore.org/module/browser-core"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"@id": "http://data.dacore.org/module/core-editors"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"@id": "http://data.dacore.org/module/coreviews"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"@id": "http://data.dacore.org/module/icons"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"@id": "http://data.dacore.org/module/website"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"@id": "http://data.dacore.org/module/bootstrap"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"@id": "http://data.dacore.org/module/core-ui"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"@id": "http://data.dacore.org/module/forms"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"@id": "http://data.dacore.org/module/dcterms"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"@id": "http://data.dacore.org/module/html"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"@id": "http://data.dacore.org/module/rdf4j"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"@id": "http://data.dacore.org/module/sparql"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"@id": "http://data.dacore.org/module/typescript"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"@id": "http://data.dacore.org/module/cli"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"@id": "http://data.dacore.org/module/dacode"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"@id": "http://data.dacore.org/module/server-core"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"@id": "http://data.dacore.org/module/node-core"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"@id": "http://data.dacore.org/module/admin"
|
|
117
|
-
}
|
|
118
|
-
]
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"@id": "${uriBase}",
|
|
122
|
-
"@type": "browser-core:BrowserCore",
|
|
123
|
-
"core:uriBase": "${uriBase}",
|
|
124
|
-
"core:deployment": "development",
|
|
125
|
-
"browser-core:publicRoot": "${publicRoot}",
|
|
126
|
-
"browser-core:browserTitle": "${projectName}"
|
|
127
|
-
}
|
|
128
|
-
]
|
|
1
|
+
{
|
|
2
|
+
"@context": {
|
|
3
|
+
"owl": "http://www.w3.org/2002/07/owl#",
|
|
4
|
+
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
|
|
5
|
+
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
|
6
|
+
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
7
|
+
"core": "http://data.dacore.org/ontologies/core/",
|
|
8
|
+
"module": "http://data.dacore.org/ontologies/module/",
|
|
9
|
+
"storage": "http://data.dacore.org/ontologies/storage/",
|
|
10
|
+
"rdf4j": "http://data.dacore.org/ontologies/rdf4j/",
|
|
11
|
+
"node-core": "http://data.dacore.org/ontologies/node-core/",
|
|
12
|
+
"server-core": "http://data.dacore.org/ontologies/server-core/",
|
|
13
|
+
"browser-core": "http://data.dacore.org/ontologies/browser-core/"
|
|
14
|
+
},
|
|
15
|
+
"@graph": [
|
|
16
|
+
{
|
|
17
|
+
"@id": "dacore://store/main",
|
|
18
|
+
"@type": [
|
|
19
|
+
"rdf4j:RDF4JStore"
|
|
20
|
+
],
|
|
21
|
+
"storage:publicEndPoint": [
|
|
22
|
+
{
|
|
23
|
+
"@value": "http://127.0.0.1:7200/repositories/${repositoryName}"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"@id": "dacore://system",
|
|
29
|
+
"@type": "server-core:ServerCore",
|
|
30
|
+
"rdfs:label" : "${projectName}",
|
|
31
|
+
"server-core:serves": {
|
|
32
|
+
"@id": "${uriBase}"
|
|
33
|
+
},
|
|
34
|
+
"server-core:port": "${port}",
|
|
35
|
+
"core:uriBase": "${uriBase}",
|
|
36
|
+
"storage:defaultStore": {
|
|
37
|
+
"@id": "dacore://store/main"
|
|
38
|
+
},
|
|
39
|
+
"node-core:includeAtStartup": [
|
|
40
|
+
"@dacore/node-core",
|
|
41
|
+
"@dacore/rdf4j"
|
|
42
|
+
],
|
|
43
|
+
"core:adminEmail": "${email}",
|
|
44
|
+
"core:deployment": "development",
|
|
45
|
+
"core:requiresSetup": {
|
|
46
|
+
"@type": "xsd:boolean",
|
|
47
|
+
"@value": "true"
|
|
48
|
+
},
|
|
49
|
+
"core:defaultModule": {
|
|
50
|
+
"@id": "${defaultModuleUri}"
|
|
51
|
+
},
|
|
52
|
+
"core:defaultOntology": {
|
|
53
|
+
"@id": "${defaultOntologyUri}"
|
|
54
|
+
},
|
|
55
|
+
"module:maintainsModule": [
|
|
56
|
+
{
|
|
57
|
+
"@id": "${defaultModuleUri}"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"module:installedModule": [
|
|
61
|
+
{
|
|
62
|
+
"@id": "http://data.dacore.org/module/core"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"@id": "http://data.dacore.org/module/browser-core"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"@id": "http://data.dacore.org/module/core-editors"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"@id": "http://data.dacore.org/module/coreviews"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"@id": "http://data.dacore.org/module/icons"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"@id": "http://data.dacore.org/module/website"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"@id": "http://data.dacore.org/module/bootstrap"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"@id": "http://data.dacore.org/module/core-ui"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"@id": "http://data.dacore.org/module/forms"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"@id": "http://data.dacore.org/module/dcterms"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"@id": "http://data.dacore.org/module/html"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"@id": "http://data.dacore.org/module/rdf4j"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"@id": "http://data.dacore.org/module/sparql"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"@id": "http://data.dacore.org/module/typescript"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"@id": "http://data.dacore.org/module/cli"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"@id": "http://data.dacore.org/module/dacode"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"@id": "http://data.dacore.org/module/server-core"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"@id": "http://data.dacore.org/module/node-core"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"@id": "http://data.dacore.org/module/admin"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"@id": "${uriBase}",
|
|
122
|
+
"@type": "browser-core:BrowserCore",
|
|
123
|
+
"core:uriBase": "${uriBase}",
|
|
124
|
+
"core:deployment": "development",
|
|
125
|
+
"browser-core:publicRoot": "${publicRoot}",
|
|
126
|
+
"browser-core:browserTitle": "${projectName}"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
129
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# enable symbolic links
|
|
2
|
-
Options +FollowSymLinks
|
|
3
|
-
|
|
4
|
-
RewriteEngine On
|
|
5
|
-
#RewriteLogLevel 8
|
|
6
|
-
|
|
7
|
-
RewriteCond %{REQUEST_FILENAME} !-f
|
|
8
|
-
RewriteCond %{REQUEST_FILENAME} !-d
|
|
9
|
-
RewriteCond %{REQUEST_FILENAME} !-l
|
|
10
|
-
|
|
11
|
-
#rewrite bundle urls to the actual files in node_modules
|
|
12
|
-
RewriteRule ^js/modules/dacore.([\w\-\_]+).(.[\w.]*) node_modules/@dacore/$1/builds/dacore.$1.$2 [NC]
|
|
13
|
-
RewriteRule ^css/modules/dacore.([\w\-\_]+).(.[\w.]*) node_modules/@dacore/$1/builds/dacore.$1.$2 [NC]
|
|
14
|
-
RewriteRule ^js/modules/@dacore/([\w\-\_]+)/(.*) node_modules/@dacore/$1/includes/$2 [NC]
|
|
15
|
-
RewriteRule ^css/modules/@dacore/([\w\-\_]+)/(.*) node_modules/@dacore/$1/includes/$2 [NC]
|
|
16
|
-
|
|
17
|
-
#rewrite sourcemap URLS whichCon do not really exist to the actual files
|
|
18
|
-
RewriteRule ^js/modules/(.*)\.(tsx|jsx|ts|js) node_modules/@dacore/$1.$2 [ENV=JS:true]
|
|
19
|
-
Header set Content-Type "application/javascript" env=JS
|
|
1
|
+
# enable symbolic links
|
|
2
|
+
Options +FollowSymLinks
|
|
3
|
+
|
|
4
|
+
RewriteEngine On
|
|
5
|
+
#RewriteLogLevel 8
|
|
6
|
+
|
|
7
|
+
RewriteCond %{REQUEST_FILENAME} !-f
|
|
8
|
+
RewriteCond %{REQUEST_FILENAME} !-d
|
|
9
|
+
RewriteCond %{REQUEST_FILENAME} !-l
|
|
10
|
+
|
|
11
|
+
#rewrite bundle urls to the actual files in node_modules
|
|
12
|
+
RewriteRule ^js/modules/dacore.([\w\-\_]+).(.[\w.]*) node_modules/@dacore/$1/builds/dacore.$1.$2 [NC]
|
|
13
|
+
RewriteRule ^css/modules/dacore.([\w\-\_]+).(.[\w.]*) node_modules/@dacore/$1/builds/dacore.$1.$2 [NC]
|
|
14
|
+
RewriteRule ^js/modules/@dacore/([\w\-\_]+)/(.*) node_modules/@dacore/$1/includes/$2 [NC]
|
|
15
|
+
RewriteRule ^css/modules/@dacore/([\w\-\_]+)/(.*) node_modules/@dacore/$1/includes/$2 [NC]
|
|
16
|
+
|
|
17
|
+
#rewrite sourcemap URLS whichCon do not really exist to the actual files
|
|
18
|
+
RewriteRule ^js/modules/(.*)\.(tsx|jsx|ts|js) node_modules/@dacore/$1.$2 [ENV=JS:true]
|
|
19
|
+
Header set Content-Type "application/javascript" env=JS
|