@_linked/cli 1.3.2 → 1.4.0

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 (63) hide show
  1. package/.github/workflows/ci.yml +10 -2
  2. package/CHANGELOG.md +44 -0
  3. package/README.md +20 -1
  4. package/defaults/app-with-backend/.env-cmdrc.json +3 -1
  5. package/defaults/app-with-backend/gitignore.template +1 -0
  6. package/defaults/app-with-backend/linked.backend.datasets.example.json +17 -0
  7. package/defaults/app-with-backend/linked.backend.storage.ts +35 -0
  8. package/defaults/app-with-backend/package.json +13 -29
  9. package/defaults/app-with-backend/readme.md +80 -6
  10. package/jest.config.cjs +29 -0
  11. package/lib/cjs/cli-methods.d.ts.map +1 -1
  12. package/lib/cjs/cli-methods.js +65 -29
  13. package/lib/cjs/cli-methods.js.map +1 -1
  14. package/lib/cjs/cli.js +9 -9
  15. package/lib/cjs/cli.js.map +1 -1
  16. package/lib/cjs/config-webpack-app.d.ts.map +1 -1
  17. package/lib/cjs/config-webpack-app.js +40 -20
  18. package/lib/cjs/config-webpack-app.js.map +1 -1
  19. package/lib/cjs/defineConfig.d.ts.map +1 -1
  20. package/lib/cjs/defineConfig.js +1 -1
  21. package/lib/cjs/defineConfig.js.map +1 -1
  22. package/lib/cjs/index.d.ts.map +1 -1
  23. package/lib/cjs/index.js +5 -3
  24. package/lib/cjs/index.js.map +1 -1
  25. package/lib/cjs/interfaces.d.ts.map +1 -1
  26. package/lib/cjs/package.json +15 -7
  27. package/lib/cjs/tailwind.config.js +2 -2
  28. package/lib/cjs/tailwind.config.js.map +1 -1
  29. package/lib/cjs/utils.d.ts.map +1 -1
  30. package/lib/cjs/utils.js +1 -1
  31. package/lib/cjs/utils.js.map +1 -1
  32. package/lib/esm/cli-methods.d.ts.map +1 -1
  33. package/lib/esm/cli-methods.js +67 -29
  34. package/lib/esm/cli-methods.js.map +1 -1
  35. package/lib/esm/cli.js +9 -9
  36. package/lib/esm/cli.js.map +1 -1
  37. package/lib/esm/config-webpack-app.d.ts.map +1 -1
  38. package/lib/esm/config-webpack-app.js +38 -18
  39. package/lib/esm/config-webpack-app.js.map +1 -1
  40. package/lib/esm/defineConfig.d.ts.map +1 -1
  41. package/lib/esm/defineConfig.js +1 -1
  42. package/lib/esm/defineConfig.js.map +1 -1
  43. package/lib/esm/index.d.ts.map +1 -1
  44. package/lib/esm/index.js +4 -1
  45. package/lib/esm/index.js.map +1 -1
  46. package/lib/esm/interfaces.d.ts.map +1 -1
  47. package/lib/esm/launch.d.ts.map +1 -0
  48. package/lib/esm/launch.js +17 -0
  49. package/lib/esm/launch.js.map +1 -0
  50. package/lib/esm/package.json +15 -7
  51. package/lib/esm/tailwind.config.js +1 -1
  52. package/lib/esm/tailwind.config.js.map +1 -1
  53. package/lib/esm/utils.d.ts.map +1 -1
  54. package/lib/esm/utils.js +1 -1
  55. package/lib/esm/utils.js.map +1 -1
  56. package/package.json +15 -8
  57. package/tsconfig-cjs.json +2 -1
  58. package/defaults/app-with-backend/.husky/post-merge +0 -4
  59. package/defaults/app-with-backend/.husky/pre-commit +0 -4
  60. package/defaults/app-with-backend/mrgit-template.json +0 -3
  61. package/defaults/app-with-backend/scripts/storage-config.js +0 -12
  62. package/preflight.css +0 -137
  63. /package/defaults/app-with-backend/{lincd.config.js → linked.config.js} +0 -0
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
- npx lint-staged
@@ -1,3 +0,0 @@
1
- {
2
- "dependencies": {}
3
- }
@@ -1,12 +0,0 @@
1
- import { LinkedStorage } from 'lincd/utils/LinkedStorage';
2
- import { LinkedFileStorage } from 'lincd/utils/LinkedFileStorage';
3
- import { LocalFileStore } from 'lincd-server/shapes/filestores/LocalFileStore';
4
- import { N3FileStore } from 'lincd-server/shapes/quadstores/N3FileStore';
5
-
6
- //How quads are stored
7
- let quadStore = new N3FileStore(process.env.NODE_ENV + '-main');
8
- LinkedStorage.setDefaultStore(quadStore);
9
-
10
- //How files are stored
11
- let fileStore = new LocalFileStore(process.env.NODE_ENV + '-main');
12
- LinkedFileStorage.setDefaultStore(fileStore);
package/preflight.css DELETED
@@ -1,137 +0,0 @@
1
- /**
2
- * LINCD Custom Preflight
3
- *
4
- * A modified version of Tailwind's preflight that excludes the problematic
5
- * #\# specificity hack selectors, making it compatible with legacy CSS.
6
- *
7
- * Based on Tailwind v4 preflight but with sensible :not() exclusions
8
- * to preserve inline element styles.
9
- */
10
-
11
- @layer base {
12
- /* Reset all elements except common inline tags and semantic containers */
13
- *:not(code):not(pre):not(kbd):not(samp):not(mark):not(q):not(ins):not(del):not(span):not(a):not(b):not(i):not(em):not(u):not(s):not(small):not(strong):not(sub):not(sup),
14
- ::before,
15
- ::after {
16
- box-sizing: border-box;
17
- margin: 0;
18
- padding: 0;
19
- border-width: 0;
20
- border-style: solid;
21
- border-color: currentColor;
22
- }
23
-
24
- html {
25
- line-height: 1.5;
26
- -webkit-text-size-adjust: 100%;
27
- -moz-text-size-adjust: 100%;
28
- text-size-adjust: 100%;
29
- font-family: system-ui, sans-serif;
30
- }
31
-
32
- body {
33
- margin: 0;
34
- line-height: inherit;
35
- background-color: white;
36
- }
37
-
38
- hr {
39
- height: 0;
40
- color: inherit;
41
- border-top-width: 1px;
42
- }
43
-
44
- abbr {
45
- text-decoration: underline dotted;
46
- }
47
-
48
- b,
49
- strong {
50
- font-weight: bolder;
51
- }
52
-
53
- code,
54
- kbd,
55
- samp,
56
- pre {
57
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
58
- font-size: 1em;
59
- }
60
-
61
- small {
62
- font-size: 80%;
63
- }
64
-
65
- sub,
66
- sup {
67
- font-size: 75%;
68
- line-height: 0;
69
- position: relative;
70
- vertical-align: baseline;
71
- }
72
-
73
- sub {
74
- bottom: -0.25em;
75
- }
76
-
77
- sup {
78
- top: -0.5em;
79
- }
80
-
81
- table {
82
- text-indent: 0;
83
- border-color: inherit;
84
- border-collapse: collapse;
85
- }
86
-
87
- button,
88
- input,
89
- optgroup,
90
- select,
91
- textarea {
92
- font: inherit;
93
- color: inherit;
94
- margin: 0;
95
- padding: 0;
96
- line-height: inherit;
97
- background-color: transparent;
98
- border-color: inherit;
99
- }
100
-
101
- button,
102
- select {
103
- text-transform: none;
104
- }
105
-
106
- button,
107
- [type='button'],
108
- [type='reset'],
109
- [type='submit'] {
110
- -webkit-appearance: button;
111
- appearance: button;
112
- }
113
-
114
- ::-moz-focus-inner {
115
- border-style: none;
116
- padding: 0;
117
- }
118
-
119
- :-moz-focusring {
120
- outline: auto;
121
- }
122
-
123
- :-moz-ui-invalid {
124
- box-shadow: none;
125
- }
126
-
127
- fieldset {
128
- margin: 0;
129
- padding: 0;
130
- border: 0;
131
- }
132
-
133
- legend {
134
- padding: 0;
135
- }
136
- }
137
-