lincd-cli 0.2.66 → 0.2.68

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.
Files changed (80) hide show
  1. package/.husky/post-merge +3 -3
  2. package/.husky/pre-commit +4 -4
  3. package/.prettierignore +3 -3
  4. package/.prettierrc.json +23 -23
  5. package/.yarn/plugins/@yarnpkg/plugin-version.cjs +550 -0
  6. package/.yarn/versions/d035ef78.yml +0 -0
  7. package/LICENSE +373 -373
  8. package/README.md +24 -24
  9. package/defaults/app/Gruntfile.js +5 -5
  10. package/defaults/app/index.html +12 -12
  11. package/defaults/app/package.json +30 -30
  12. package/defaults/app/src/App.scss +2 -2
  13. package/defaults/app/src/App.tsx +4 -4
  14. package/defaults/app/src/index.tsx +10 -10
  15. package/defaults/app/tsconfig-es5.json +18 -18
  16. package/defaults/app/tsconfig.json +21 -21
  17. package/defaults/app-static/capacitor.config.ts +48 -48
  18. package/defaults/app-static/src/index-static.tsx +27 -27
  19. package/defaults/app-static/web/index.html +21 -21
  20. package/defaults/app-with-backend/.env-cmdrc.json +16 -16
  21. package/defaults/app-with-backend/.eslintignore +2 -2
  22. package/defaults/app-with-backend/.eslintrc.json +40 -40
  23. package/defaults/app-with-backend/.husky/post-merge +3 -3
  24. package/defaults/app-with-backend/.husky/pre-commit +4 -4
  25. package/defaults/app-with-backend/.prettierignore +3 -3
  26. package/defaults/app-with-backend/.prettierrc.json +27 -27
  27. package/defaults/app-with-backend/.run/start.run.xml +11 -11
  28. package/defaults/app-with-backend/.vscode/launch.json +11 -11
  29. package/defaults/app-with-backend/.yarn/plugins/@yarnpkg/plugin-version.cjs +550 -550
  30. package/defaults/app-with-backend/.yarn/releases/yarn-3.6.1.cjs +874 -874
  31. package/defaults/app-with-backend/babel.config.js +4 -4
  32. package/defaults/app-with-backend/gitignore.template +22 -22
  33. package/defaults/app-with-backend/lincd.config.js +7 -7
  34. package/defaults/app-with-backend/package.json +92 -92
  35. package/defaults/app-with-backend/pm2.config.js +12 -12
  36. package/defaults/app-with-backend/readme.md +8 -8
  37. package/defaults/app-with-backend/scripts/build.js +41 -41
  38. package/defaults/app-with-backend/scripts/setup_storage.js +6 -6
  39. package/defaults/app-with-backend/scripts/start-server.js +11 -11
  40. package/defaults/app-with-backend/src/App.scss +6 -6
  41. package/defaults/app-with-backend/src/App.tsx +34 -34
  42. package/defaults/app-with-backend/src/backend.ts +1 -1
  43. package/defaults/app-with-backend/src/components/Error.scss +9 -9
  44. package/defaults/app-with-backend/src/components/Error.tsx +14 -14
  45. package/defaults/app-with-backend/src/components/Spinner.scss +17 -17
  46. package/defaults/app-with-backend/src/components/Spinner.tsx +12 -12
  47. package/defaults/app-with-backend/src/index.tsx +32 -32
  48. package/defaults/app-with-backend/src/layout/DefaultLayout.scss +6 -6
  49. package/defaults/app-with-backend/src/layout/DefaultLayout.tsx +13 -13
  50. package/defaults/app-with-backend/src/layout/Header.scss +10 -10
  51. package/defaults/app-with-backend/src/layout/Header.tsx +23 -23
  52. package/defaults/app-with-backend/src/package.ts +14 -14
  53. package/defaults/app-with-backend/src/pages/Home.scss +15 -15
  54. package/defaults/app-with-backend/src/pages/Home.tsx +21 -21
  55. package/defaults/app-with-backend/src/pages/Page1.tsx +11 -11
  56. package/defaults/app-with-backend/src/pages/PageNotFound.tsx +11 -11
  57. package/defaults/app-with-backend/src/pages/Signin.tsx +12 -12
  58. package/defaults/app-with-backend/src/routes.tsx +72 -72
  59. package/defaults/app-with-backend/src/scss/global-overwrites.scss +11 -11
  60. package/defaults/app-with-backend/src/scss/variables.scss +23 -23
  61. package/defaults/app-with-backend/tsconfig.json +21 -21
  62. package/defaults/app-with-backend/yarnrc.yml.template +8 -8
  63. package/defaults/capacitor/scripts/fix-namespace.js +41 -41
  64. package/defaults/component.scss +2 -2
  65. package/defaults/component.tsx +11 -11
  66. package/defaults/package/package.json +38 -38
  67. package/defaults/package/src/components/ExampleComponent.tsx +8 -8
  68. package/defaults/package/src/data/example-ontology.json +20 -20
  69. package/defaults/package/src/data/example-ontology.json.d.ts +1 -1
  70. package/defaults/package/src/index.ts +7 -7
  71. package/defaults/package/src/ontologies/example-ontology.ts +36 -36
  72. package/defaults/package/src/package.ts +4 -4
  73. package/defaults/package/src/shapes/ExampleShapeClass.ts +29 -29
  74. package/defaults/set-component.tsx +15 -15
  75. package/defaults/shape.ts +8 -8
  76. package/expose-grunt.js +1 -1
  77. package/lib/config-grunt.js +5 -5
  78. package/lib/plugins/check-imports.js +1 -1
  79. package/lib/utils.js +8 -2
  80. package/package.json +1 -1
@@ -1,41 +1,41 @@
1
- fs = require('fs');
2
-
3
- let file = 'android/capacitor-cordova-android-plugins/build.gradle';
4
-
5
- //check if file exists
6
- if (!fs.existsSync(file)) {
7
- console.log('File does not exist.', file);
8
- } else {
9
- //read contents of "android/capacitor-cordova-android-plugins/build.gradle"
10
- let contents = fs.readFileSync(file, 'utf8');
11
-
12
- if (!contents.includes('namespace')) {
13
- //insert text on line 19
14
- contents = contents.replace(
15
- /android \{/,
16
- `android {
17
- namespace 'capacitor.android.plugins'`,
18
- );
19
-
20
- //write back to file
21
- fs.writeFileSync(file, contents, 'utf8');
22
-
23
- console.log('Added namespace to ' + file);
24
- } else {
25
- console.log('Namespace already present in ' + file);
26
- }
27
- }
28
-
29
- let file2 = 'ios/App/Pods/Pods.xcodeproj/project.pbxproj';
30
- if (!fs.existsSync(file2)) {
31
- console.log('File does not exist.', file2);
32
- } else {
33
- let contents2 = fs.readFileSync(file2, 'utf8');
34
- if (contents2.includes('IPHONEOS_DEPLOYMENT_TARGET = 12.0')) {
35
- contents2 = contents2.replace(/IPHONEOS_DEPLOYMENT_TARGET \= 12\.0/g, `IPHONEOS_DEPLOYMENT_TARGET = 13.0`);
36
- fs.writeFileSync(file2, contents2, 'utf8');
37
- console.log('Fixed IOS target version for codetrix google oauth plugin');
38
- } else {
39
- console.log("Didn't need to fix IOS target version");
40
- }
41
- }
1
+ fs = require('fs');
2
+
3
+ let file = 'android/capacitor-cordova-android-plugins/build.gradle';
4
+
5
+ //check if file exists
6
+ if (!fs.existsSync(file)) {
7
+ console.log('File does not exist.', file);
8
+ } else {
9
+ //read contents of "android/capacitor-cordova-android-plugins/build.gradle"
10
+ let contents = fs.readFileSync(file, 'utf8');
11
+
12
+ if (!contents.includes('namespace')) {
13
+ //insert text on line 19
14
+ contents = contents.replace(
15
+ /android \{/,
16
+ `android {
17
+ namespace 'capacitor.android.plugins'`,
18
+ );
19
+
20
+ //write back to file
21
+ fs.writeFileSync(file, contents, 'utf8');
22
+
23
+ console.log('Added namespace to ' + file);
24
+ } else {
25
+ console.log('Namespace already present in ' + file);
26
+ }
27
+ }
28
+
29
+ let file2 = 'ios/App/Pods/Pods.xcodeproj/project.pbxproj';
30
+ if (!fs.existsSync(file2)) {
31
+ console.log('File does not exist.', file2);
32
+ } else {
33
+ let contents2 = fs.readFileSync(file2, 'utf8');
34
+ if (contents2.includes('IPHONEOS_DEPLOYMENT_TARGET = 12.0')) {
35
+ contents2 = contents2.replace(/IPHONEOS_DEPLOYMENT_TARGET \= 12\.0/g, `IPHONEOS_DEPLOYMENT_TARGET = 13.0`);
36
+ fs.writeFileSync(file2, contents2, 'utf8');
37
+ console.log('Fixed IOS target version for codetrix google oauth plugin');
38
+ } else {
39
+ console.log("Didn't need to fix IOS target version");
40
+ }
41
+ }
@@ -1,3 +1,3 @@
1
- .${camel_name} {
2
- display:block;
1
+ .${camel_name} {
2
+ display:block;
3
3
  }
@@ -1,12 +1,12 @@
1
- import React from "react";
2
- import "./${hyphen_name}.scss";
3
- import {default as style} from "./${hyphen_name}.scss.json";
4
- import {registerPackageModule,linkedComponent} from '../package';
5
-
6
- //TODO: replace SHAPE with an actual Shape class
7
- export const ${camel_name} = linkedComponent<SHAPE>(SHAPE,({source}) => {
8
- return <div className={style.${camel_name}}></div>;
9
- });
10
-
11
- //register all components in this file
1
+ import React from "react";
2
+ import "./${hyphen_name}.scss";
3
+ import {default as style} from "./${hyphen_name}.scss.json";
4
+ import {registerPackageModule,linkedComponent} from '../package';
5
+
6
+ //TODO: replace SHAPE with an actual Shape class
7
+ export const ${camel_name} = linkedComponent<SHAPE>(SHAPE,({source}) => {
8
+ return <div className={style.${camel_name}}></div>;
9
+ });
10
+
11
+ //register all components in this file
12
12
  registerPackageModule(module);
@@ -1,38 +1,38 @@
1
- {
2
- "name": "${package_name}",
3
- "description": "",
4
- "author": {
5
- "name": "",
6
- "email": "",
7
- "url": ""
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": ""
12
- },
13
- "version": "0.1.0",
14
- "lincd": true,
15
- "main": "lib/index.js",
16
- "types": "dist/${output_file_name}.d.ts",
17
- "license": "ISC",
18
- "scripts": {
19
- "start": "npm exec lincd dev",
20
- "build": "npm exec lincd build",
21
- "prepublishOnly": "npm exec lincd build production",
22
- "postpublish": "npm exec lincd register"
23
- },
24
- "keywords": [
25
- "lincd",
26
- "linked data",
27
- "interoperable",
28
- "semantic web",
29
- "web3"
30
- ],
31
- "dependencies": {
32
- "lincd": "^0.5",
33
- "lincd-jsonld": "^0.1"
34
- },
35
- "devDependencies": {
36
- "lincd-cli": "^0.2"
37
- }
38
- }
1
+ {
2
+ "name": "${package_name}",
3
+ "description": "",
4
+ "author": {
5
+ "name": "",
6
+ "email": "",
7
+ "url": ""
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": ""
12
+ },
13
+ "version": "0.1.0",
14
+ "lincd": true,
15
+ "main": "lib/index.js",
16
+ "types": "dist/${output_file_name}.d.ts",
17
+ "license": "ISC",
18
+ "scripts": {
19
+ "start": "npm exec lincd dev",
20
+ "build": "npm exec lincd build",
21
+ "prepublishOnly": "npm exec lincd build production",
22
+ "postpublish": "npm exec lincd register"
23
+ },
24
+ "keywords": [
25
+ "lincd",
26
+ "linked data",
27
+ "interoperable",
28
+ "semantic web",
29
+ "web3"
30
+ ],
31
+ "dependencies": {
32
+ "lincd": "^0.5",
33
+ "lincd-jsonld": "^0.1"
34
+ },
35
+ "devDependencies": {
36
+ "lincd-cli": "^0.2"
37
+ }
38
+ }
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- import {ExampleShapeClass} from "../shapes/ExampleShapeClass";
3
- import {linkedComponent} from '../package';
4
-
5
- export const ExampleComponent = linkedComponent<ExampleShapeClass>(ExampleShapeClass, ({source}) => {
6
- //note that typescript knows that 'source' is an instance of the Shape you linked this component to
7
- return <div></div>;
8
- });
1
+ import React from "react";
2
+ import {ExampleShapeClass} from "../shapes/ExampleShapeClass";
3
+ import {linkedComponent} from '../package';
4
+
5
+ export const ExampleComponent = linkedComponent<ExampleShapeClass>(ExampleShapeClass, ({source}) => {
6
+ //note that typescript knows that 'source' is an instance of the Shape you linked this component to
7
+ return <div></div>;
8
+ });
@@ -1,20 +1,20 @@
1
- {
2
- "@context": {
3
- "dc": "http://purl.org/dc/elements/1.1/",
4
- "owl": "http://www.w3.org/2002/07/owl#",
5
- "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
6
- "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
7
- "${hyphen_name}": "${uri_base}"
8
- },
9
- "@graph": [
10
- {
11
- "@id": "${hyphen_name}:ExampleClass",
12
- "@type": "rdfs:Class",
13
- "rdfs:comment": "This is an example class. You can remove or rename it",
14
- "rdfs:isDefinedBy": {
15
- "@id": "${hyphen_name}:"
16
- },
17
- "rdfs:label": "Example Class"
18
- }
19
- ]
20
- }
1
+ {
2
+ "@context": {
3
+ "dc": "http://purl.org/dc/elements/1.1/",
4
+ "owl": "http://www.w3.org/2002/07/owl#",
5
+ "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
6
+ "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
7
+ "${hyphen_name}": "${uri_base}"
8
+ },
9
+ "@graph": [
10
+ {
11
+ "@id": "${hyphen_name}:ExampleClass",
12
+ "@type": "rdfs:Class",
13
+ "rdfs:comment": "This is an example class. You can remove or rename it",
14
+ "rdfs:isDefinedBy": {
15
+ "@id": "${hyphen_name}:"
16
+ },
17
+ "rdfs:label": "Example Class"
18
+ }
19
+ ]
20
+ }
@@ -1 +1 @@
1
- export var json: string;
1
+ export var json: string;
@@ -1,7 +1,7 @@
1
- import './ontologies/${hyphen_name}';
2
-
3
- //SHAPES FIRST
4
- import './shapes/ExampleShapeClass';
5
-
6
- //THEN COMPONENTS
7
- import './components/ExampleComponent';
1
+ import './ontologies/${hyphen_name}';
2
+
3
+ //SHAPES FIRST
4
+ import './shapes/ExampleShapeClass';
5
+
6
+ //THEN COMPONENTS
7
+ import './components/ExampleComponent';
@@ -1,36 +1,36 @@
1
- import {NamedNode} from 'lincd/lib/models';
2
- import {JSONLD} from 'lincd-jsonld/lib/utils/JSONLD';
3
- import {createNameSpace} from 'lincd/lib/utils/NameSpace';
4
- import {linkedOntology} from '../package';
5
- //import all the exports of this file as one variable called _this (we need this at the end)
6
- import * as _this from './${hyphen_name}';
7
-
8
- /**
9
- * Load the data of this ontology into memory, thus adding the properties of the entities of this ontology to the local graph.
10
- */
11
- export var loadData = () => {
12
- return import('../data/${hyphen_name}.json').then((data) => JSONLD.parse(data));
13
- };
14
-
15
- /**
16
- * The namespace of this ontology, which can be used to create NamedNodes with URI's not listed in this file
17
- */
18
- export var ns = createNameSpace('${uri_base}');
19
-
20
- /**
21
- * The NamedNode of the ontology itself
22
- */
23
- export var _self: NamedNode = ns('');
24
-
25
- //A list of all the entities (Classes & Properties) of this ontology, each exported as a NamedNode
26
- export var ExampleClass: NamedNode = ns('ExampleClass');
27
- export var exampleProperty: NamedNode = ns('exampleProperty');
28
-
29
- //An extra grouping object so all the entities can be accessed from the prefix/name
30
- export const ${camel_name} = {
31
- ExampleClass,
32
- exampleProperty,
33
- };
34
-
35
- //Registers this ontology to LINCD.JS, so that data loading can be automated amongst other things
36
- linkedOntology(_this, ns, '${hyphen_name}', loadData, '../data/${hyphen_name}.json');
1
+ import {NamedNode} from 'lincd/lib/models';
2
+ import {JSONLD} from 'lincd-jsonld/lib/utils/JSONLD';
3
+ import {createNameSpace} from 'lincd/lib/utils/NameSpace';
4
+ import {linkedOntology} from '../package';
5
+ //import all the exports of this file as one variable called _this (we need this at the end)
6
+ import * as _this from './${hyphen_name}';
7
+
8
+ /**
9
+ * Load the data of this ontology into memory, thus adding the properties of the entities of this ontology to the local graph.
10
+ */
11
+ export var loadData = () => {
12
+ return import('../data/${hyphen_name}.json').then((data) => JSONLD.parse(data));
13
+ };
14
+
15
+ /**
16
+ * The namespace of this ontology, which can be used to create NamedNodes with URI's not listed in this file
17
+ */
18
+ export var ns = createNameSpace('${uri_base}');
19
+
20
+ /**
21
+ * The NamedNode of the ontology itself
22
+ */
23
+ export var _self: NamedNode = ns('');
24
+
25
+ //A list of all the entities (Classes & Properties) of this ontology, each exported as a NamedNode
26
+ export var ExampleClass: NamedNode = ns('ExampleClass');
27
+ export var exampleProperty: NamedNode = ns('exampleProperty');
28
+
29
+ //An extra grouping object so all the entities can be accessed from the prefix/name
30
+ export const ${camel_name} = {
31
+ ExampleClass,
32
+ exampleProperty,
33
+ };
34
+
35
+ //Registers this ontology to LINCD.JS, so that data loading can be automated amongst other things
36
+ linkedOntology(_this, ns, '${hyphen_name}', loadData, '../data/${hyphen_name}.json');
@@ -1,4 +1,4 @@
1
- import {linkedPackage} from 'lincd/lib/utils/Module';
2
-
3
- export const {linkedComponent, linkedComponentClass, linkedShape, linkedUtil, linkedOntology, registerPackageModule, registerPackageExport, packageExports, packageName} =
4
- linkedPackage('${package_name}');
1
+ import {linkedPackage} from 'lincd/lib/utils/Module';
2
+
3
+ export const {linkedComponent, linkedComponentClass, linkedShape, linkedUtil, linkedOntology, registerPackageModule, registerPackageExport, packageExports, packageName} =
4
+ linkedPackage('${package_name}');
@@ -1,29 +1,29 @@
1
- import {Shape} from 'lincd/lib/shapes/Shape';
2
- import {Literal, NamedNode} from 'lincd/lib/models';
3
- import {linkedShape} from '../package';
4
- import {literalProperty} from 'lincd/lib/utils/ShapeDecorators';
5
- import {${camel_name}} from '../ontologies/${hyphen_name}';
6
-
7
- @linkedShape
8
- export class ExampleShapeClass extends Shape {
9
- /**
10
- * indicates that instances of this shape need to have this rdf.type
11
- */
12
- static targetClass: NamedNode = ${camel_name}.ExampleClass;
13
-
14
- /**
15
- * instances of this shape need to have exactly one value defined for the given property
16
- */
17
- @literalProperty({
18
- path: ${camel_name}.exampleProperty,
19
- required: true,
20
- maxCount: 1,
21
- })
22
- get name() {
23
- return this.getValue(${camel_name}.exampleProperty);
24
- }
25
-
26
- set name(val: string) {
27
- this.overwrite(${camel_name}.exampleProperty, new Literal(val));
28
- }
29
- }
1
+ import {Shape} from 'lincd/lib/shapes/Shape';
2
+ import {Literal, NamedNode} from 'lincd/lib/models';
3
+ import {linkedShape} from '../package';
4
+ import {literalProperty} from 'lincd/lib/utils/ShapeDecorators';
5
+ import {${camel_name}} from '../ontologies/${hyphen_name}';
6
+
7
+ @linkedShape
8
+ export class ExampleShapeClass extends Shape {
9
+ /**
10
+ * indicates that instances of this shape need to have this rdf.type
11
+ */
12
+ static targetClass: NamedNode = ${camel_name}.ExampleClass;
13
+
14
+ /**
15
+ * instances of this shape need to have exactly one value defined for the given property
16
+ */
17
+ @literalProperty({
18
+ path: ${camel_name}.exampleProperty,
19
+ required: true,
20
+ maxCount: 1,
21
+ })
22
+ get name() {
23
+ return this.getValue(${camel_name}.exampleProperty);
24
+ }
25
+
26
+ set name(val: string) {
27
+ this.overwrite(${camel_name}.exampleProperty, new Literal(val));
28
+ }
29
+ }
@@ -1,16 +1,16 @@
1
- import React from "react";
2
- import "./${hyphen_name}.scss";
3
- import {default as style} from "./${hyphen_name}.scss.json";
4
- import {registerPackageModule,linkedSetComponent} from '../package';
5
-
6
- //TODO: replace SHAPE with an actual Shape class
7
- export const ${camel_name} = linkedSetComponent<SHAPE>(SHAPE,({sources}) => {
8
- return <div className={style.${camel_name}}>
9
- {sources.map(source => {
10
- return <div key={source.toString()}></div>;
11
- })}
12
- </div>;
13
- });
14
-
15
- //register all components in this file
1
+ import React from "react";
2
+ import "./${hyphen_name}.scss";
3
+ import {default as style} from "./${hyphen_name}.scss.json";
4
+ import {registerPackageModule,linkedSetComponent} from '../package';
5
+
6
+ //TODO: replace SHAPE with an actual Shape class
7
+ export const ${camel_name} = linkedSetComponent<SHAPE>(SHAPE,({sources}) => {
8
+ return <div className={style.${camel_name}}>
9
+ {sources.map(source => {
10
+ return <div key={source.toString()}></div>;
11
+ })}
12
+ </div>;
13
+ });
14
+
15
+ //register all components in this file
16
16
  registerPackageModule(module);
package/defaults/shape.ts CHANGED
@@ -1,8 +1,8 @@
1
- import {Shape} from 'lincd/lib/shapes/Shape';
2
- import {NamedNode} from 'lincd/lib/models';
3
- import {linkedShape} from '../package';
4
-
5
- @linkedShape
6
- export class ${camel_name} extends Shape {
7
- static targetClass:NamedNode;
8
- }
1
+ import {Shape} from 'lincd/lib/shapes/Shape';
2
+ import {NamedNode} from 'lincd/lib/models';
3
+ import {linkedShape} from '../package';
4
+
5
+ @linkedShape
6
+ export class ${camel_name} extends Shape {
7
+ static targetClass:NamedNode;
8
+ }
package/expose-grunt.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- // console.log('forwarding to grunt: ', process.argv.slice(2).join(' '));
2
+ // console.log('forwarding to grunt: ', process.argv.slice(2).join(' '));
3
3
  require('grunt-cli/bin/grunt');
@@ -269,11 +269,11 @@ function setupGrunt(grunt, moduleName, config) {
269
269
  grunt.task.loadTasks(nestedWorkspacePath);
270
270
  }
271
271
  else {
272
- (0, utils_1.warn)(`Could not load grunt task module ${taskName}
273
- Could not find task at any of these paths:
274
- ${localPath}
275
- ${localPath2}
276
- ${workspacePath}
272
+ (0, utils_1.warn)(`Could not load grunt task module ${taskName}
273
+ Could not find task at any of these paths:
274
+ ${localPath}
275
+ ${localPath2}
276
+ ${workspacePath}
277
277
  ${nestedWorkspacePath}`);
278
278
  }
279
279
  });
@@ -54,7 +54,7 @@ function handler(source) {
54
54
  if (isRelativeReq &&
55
55
  this.resourcePath.indexOf(baseUrl) !== 0 &&
56
56
  this.resourcePath.indexOf('node_modules') === -1) {
57
- this.emitError(Error(`LINCD Error: You are importing a file from outside the baseUrl ${tsconfig.compilerOptions.baseUrl}.
57
+ this.emitError(Error(`LINCD Error: You are importing a file from outside the baseUrl ${tsconfig.compilerOptions.baseUrl}.
58
58
  ${relativePath} is not in ${tsconfig.compilerOptions.baseUrl}.`));
59
59
  }
60
60
  // if (this.resourcePath.indexOf(path.resolve('./src')) !== 0) {
package/lib/utils.js CHANGED
@@ -172,8 +172,14 @@ const getLastBuildTime = (packagePath) => {
172
172
  };
173
173
  exports.getLastBuildTime = getLastBuildTime;
174
174
  const getLastModifiedSourceTime = (packagePath) => {
175
- return (0, exports.getLastModifiedFile)(packagePath + '/@(src|data|scss)/**/*', {
176
- ignore: [packagePath + '/**/*.scss.json', packagePath + '/**/*.d.ts'],
175
+ return (0, exports.getLastModifiedFile)(packagePath + '/@(src|data|scss|modules)/**/*', {
176
+ ignore: [
177
+ packagePath + '/**/*.scss.json',
178
+ packagePath + '/**/*.d.ts',
179
+ packagePath + '/**/node_modules/**/*',
180
+ packagePath + '/**/lib/**/*',
181
+ packagePath + '/**/dist/**/*',
182
+ ],
177
183
  });
178
184
  };
179
185
  exports.getLastModifiedSourceTime = getLastModifiedSourceTime;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lincd-cli",
3
- "version": "0.2.66",
3
+ "version": "0.2.68",
4
4
  "description": "Command line tools for the lincd.js library",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {