create-knapsack 4.79.2 → 4.79.3--canary.6036.f7fab19.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.
- package/.lintstagedrc.mjs +1 -1
- package/.temp/packages/knapsack/data/db.yml +5 -0
- package/.temp/packages/knapsack/data/knapsack.asset-sets.json +4 -0
- package/.temp/packages/knapsack/data/knapsack.design-tokens.json +1 -0
- package/.temp/packages/knapsack/data/knapsack.files.json +3 -0
- package/.temp/packages/knapsack/data/knapsack.navs.yml +2 -0
- package/.temp/packages/knapsack/data/knapsack.patterns.json +35 -0
- package/.temp/packages/knapsack/dist/meta/ks-meta.json +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.android.xml +3 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.cjs +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.css +2 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.css.scss +2 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.d.cts +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.d.mts +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.d.ts +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.js +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.json +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.less +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.mjs +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.nested.json +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.scss +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.style-dictionary.json +1 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.swift +3 -0
- package/.temp/packages/knapsack/dist/tokens/design-tokens.w3c-spec.json +1 -0
- package/.temp/packages/knapsack/knapsack.config.cjs +25 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/app-client-data.json +99 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/apps_client_libs_renderer-react-components_dist_demo-wrapper_js.chunk.330b5e8503653e308620.js +22 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/ks-pattern-import-global-setup.js +17 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/main.bundle.330b5e8503653e308620.js +3828 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/manifest.json +4 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/react-dom.development.18.3.1.js +29924 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/react-dom.production.min.18.3.1.js +267 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/react.development.18.3.1.js +3343 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/react.production.min.18.3.1.js +31 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/webpack-asset-paths.json +5 -0
- package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/renderer-client/renderer-client.mjs +132 -0
- package/.temp/packages/knapsack/package.json +18 -0
- package/CHANGELOG.md +0 -14
- package/package.json +16 -16
package/.lintstagedrc.mjs
CHANGED
|
@@ -6,6 +6,6 @@ import defaultConfig from '../../.lintstagedrc.mjs';
|
|
|
6
6
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
7
7
|
|
|
8
8
|
export default {
|
|
9
|
-
'*.{ts,tsx,js,jsx,cjs,mjs
|
|
9
|
+
'*.{ts,tsx,js,jsx,cjs,mjs}': `cd ${__dirname} && ./node_modules/.bin/eslint`,
|
|
10
10
|
...defaultConfig,
|
|
11
11
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"statusSets": [
|
|
3
|
+
{
|
|
4
|
+
"id": "main",
|
|
5
|
+
"title": "Status",
|
|
6
|
+
"statuses": [
|
|
7
|
+
{
|
|
8
|
+
"id": "draft",
|
|
9
|
+
"title": "Draft",
|
|
10
|
+
"color": "#9b9b9b"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "needsDesign",
|
|
14
|
+
"title": "Needs Design",
|
|
15
|
+
"color": "#FC0"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "needsDev",
|
|
19
|
+
"title": "Needs Development",
|
|
20
|
+
"color": "#FC0"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "needsReview",
|
|
24
|
+
"title": "Needs Review",
|
|
25
|
+
"color": "#FC0"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "ready",
|
|
29
|
+
"title": "Ready",
|
|
30
|
+
"color": "#2ECC40"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"demoUrls":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$tokens: ();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const { KnapsackReactRenderer } = require('@knapsack/renderer-react');
|
|
2
|
+
const { configureKnapsack } = require('@knapsack/app');
|
|
3
|
+
const { join } = require('path');
|
|
4
|
+
const { version } = require('./package.json');
|
|
5
|
+
|
|
6
|
+
module.exports = configureKnapsack({
|
|
7
|
+
data: join(__dirname, './data'),
|
|
8
|
+
dist: join(__dirname, './dist'),
|
|
9
|
+
public: join(__dirname, './public'),
|
|
10
|
+
version,
|
|
11
|
+
templateRenderers: [
|
|
12
|
+
new KnapsackReactRenderer({
|
|
13
|
+
webpackConfig: {
|
|
14
|
+
module: {
|
|
15
|
+
rules: [],
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
}),
|
|
19
|
+
],
|
|
20
|
+
plugins: [],
|
|
21
|
+
cloud: {
|
|
22
|
+
siteId: 'test-site-id',
|
|
23
|
+
repoRoot: join(__dirname, '../..'),
|
|
24
|
+
},
|
|
25
|
+
});
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"patternsState": {
|
|
3
|
+
"patterns": {},
|
|
4
|
+
"renderers": {
|
|
5
|
+
"react": {
|
|
6
|
+
"meta": {
|
|
7
|
+
"id": "react",
|
|
8
|
+
"title": "React",
|
|
9
|
+
"aliasUse": "optional",
|
|
10
|
+
"aliasTitle": "Named Export",
|
|
11
|
+
"aliasIsJsNamedExport": true,
|
|
12
|
+
"aliasDescription": "If `export X` was used instead of `export default`, then provide X.",
|
|
13
|
+
"enableDataDemos": true,
|
|
14
|
+
"enableTemplateDemos": true,
|
|
15
|
+
"hasSlotsSupport": true,
|
|
16
|
+
"hasSlotOptionsSupport": true,
|
|
17
|
+
"version": "4.78.14",
|
|
18
|
+
"hasInferSpecSupport": true,
|
|
19
|
+
"syntaxHighlightingLanguage": "jsx",
|
|
20
|
+
"hasTemplateSuggestionsSupport": true,
|
|
21
|
+
"prototypingTemplate": {
|
|
22
|
+
"path": "@knapsack/renderer-react/prototype-template",
|
|
23
|
+
"spec": {
|
|
24
|
+
"isInferred": false,
|
|
25
|
+
"props": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {}
|
|
28
|
+
},
|
|
29
|
+
"slots": {
|
|
30
|
+
"children": {
|
|
31
|
+
"title": "Children"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"statusSets": [
|
|
40
|
+
{
|
|
41
|
+
"id": "main",
|
|
42
|
+
"title": "Status",
|
|
43
|
+
"statuses": [
|
|
44
|
+
{
|
|
45
|
+
"id": "draft",
|
|
46
|
+
"title": "Draft",
|
|
47
|
+
"color": "#9b9b9b"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "needsDesign",
|
|
51
|
+
"title": "Needs Design",
|
|
52
|
+
"color": "#FC0"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "needsDev",
|
|
56
|
+
"title": "Needs Development",
|
|
57
|
+
"color": "#FC0"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "needsReview",
|
|
61
|
+
"title": "Needs Review",
|
|
62
|
+
"color": "#FC0"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "ready",
|
|
66
|
+
"title": "Ready",
|
|
67
|
+
"color": "#2ECC40"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"customPagesState": {
|
|
74
|
+
"pages": {}
|
|
75
|
+
},
|
|
76
|
+
"assetSetsState": {
|
|
77
|
+
"globalAssetSetIds": [],
|
|
78
|
+
"allAssetSets": {}
|
|
79
|
+
},
|
|
80
|
+
"navsState": {
|
|
81
|
+
"byId": {},
|
|
82
|
+
"order": []
|
|
83
|
+
},
|
|
84
|
+
"tokensSrc": {},
|
|
85
|
+
"filesState": {
|
|
86
|
+
"files": {}
|
|
87
|
+
},
|
|
88
|
+
"db": {
|
|
89
|
+
"blocks": {
|
|
90
|
+
"settings": {},
|
|
91
|
+
"byId": {}
|
|
92
|
+
},
|
|
93
|
+
"demos": {
|
|
94
|
+
"settings": {},
|
|
95
|
+
"byId": {}
|
|
96
|
+
},
|
|
97
|
+
"settings": {}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ATTENTION: An "eval-source-map" devtool has been used.
|
|
4
|
+
* This devtool is neither made for production nor for readable output files.
|
|
5
|
+
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
|
|
6
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
7
|
+
* or disable the default devtool with "devtool: false".
|
|
8
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
9
|
+
*/
|
|
10
|
+
(self["webpackChunk_my_org_knapsack"] = self["webpackChunk_my_org_knapsack"] || []).push([["apps_client_libs_renderer-react-components_dist_demo-wrapper_js"],{
|
|
11
|
+
|
|
12
|
+
/***/ "../../../../../apps/client/libs/renderer-react-components/dist/demo-wrapper.js":
|
|
13
|
+
/*!**************************************************************************************!*\
|
|
14
|
+
!*** ../../../../../apps/client/libs/renderer-react-components/dist/demo-wrapper.js ***!
|
|
15
|
+
\**************************************************************************************/
|
|
16
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
17
|
+
|
|
18
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ \"../../../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js\");\n\nconst DemoWrapper = ({ children }) => ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", { className: \"demo-wrapper\", children: children }));\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DemoWrapper);\n//# sourceMappingURL=demo-wrapper.js.map//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vYXBwcy9jbGllbnQvbGlicy9yZW5kZXJlci1yZWFjdC1jb21wb25lbnRzL2Rpc3QvZGVtby13cmFwcGVyLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AbXktb3JnL2tuYXBzYWNrLy4uLy4uLy4uLy4uLy4uL2FwcHMvY2xpZW50L2xpYnMvcmVuZGVyZXItcmVhY3QtY29tcG9uZW50cy9kaXN0L2RlbW8td3JhcHBlci5qcz85YWQ4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGpzeCBhcyBfanN4IH0gZnJvbSBcInJlYWN0L2pzeC1ydW50aW1lXCI7XG5jb25zdCBEZW1vV3JhcHBlciA9ICh7IGNoaWxkcmVuIH0pID0+IChfanN4KFwiZGl2XCIsIHsgY2xhc3NOYW1lOiBcImRlbW8td3JhcHBlclwiLCBjaGlsZHJlbjogY2hpbGRyZW4gfSkpO1xuZXhwb3J0IGRlZmF1bHQgRGVtb1dyYXBwZXI7XG4vLyMgc291cmNlTWFwcGluZ1VSTD1kZW1vLXdyYXBwZXIuanMubWFwIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../../../../../apps/client/libs/renderer-react-components/dist/demo-wrapper.js\n");
|
|
19
|
+
|
|
20
|
+
/***/ })
|
|
21
|
+
|
|
22
|
+
}]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
const codeSrcModules = {
|
|
3
|
+
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
const extraImports = [
|
|
7
|
+
{
|
|
8
|
+
exportName: 'DemoWrapper',
|
|
9
|
+
path: '../../../../../../../../../../apps/client/renderers/renderer-react/node_modules/@knapsack/renderer-react-components/dist/demo-wrapper.js',
|
|
10
|
+
isDefaultExport: true,
|
|
11
|
+
getModule: () => import('../../../../../../../../../../apps/client/renderers/renderer-react/node_modules/@knapsack/renderer-react-components/dist/demo-wrapper.js'),
|
|
12
|
+
},
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
window.knapsack = window.knapsack || {};
|
|
16
|
+
window.knapsack.codeSrcModules = codeSrcModules;
|
|
17
|
+
window.knapsack.extraImports = extraImports;
|