styleframe 0.0.1 → 1.0.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/dist/cli.cjs +29 -0
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +7 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.cjs +9 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -4
- package/dist/loader.cjs +9 -0
- package/dist/loader.d.cts +1 -0
- package/dist/loader.d.ts +1 -0
- package/dist/loader.js +1 -0
- package/dist/transpiler.cjs +9 -0
- package/dist/transpiler.d.cts +1 -0
- package/dist/transpiler.d.ts +1 -0
- package/dist/transpiler.js +1 -0
- package/package.json +61 -20
- package/.idea/material_theme_project_new.xml +0 -10
- package/.idea/modules.xml +0 -8
- package/.idea/styleframe.iml +0 -12
- package/.idea/vcs.xml +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/src/index.ts +0 -1
- package/tsconfig.json +0 -40
package/dist/cli.cjs
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
+
key = keys[i];
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: ((k) => from[k]).bind(null, key),
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
+
value: mod,
|
|
20
|
+
enumerable: true
|
|
21
|
+
}) : target, mod));
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
const __styleframe_cli = __toESM(require("@styleframe/cli"));
|
|
25
|
+
|
|
26
|
+
//#region src/cli.ts
|
|
27
|
+
(0, __styleframe_cli.default)();
|
|
28
|
+
|
|
29
|
+
//#endregion
|
package/dist/cli.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/cli.js
ADDED
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","names":[],"sources":["../src/cli.ts"],"sourcesContent":["import main from \"@styleframe/cli\";\n\nmain();\n"],"mappings":";;;AAEA,MAAM"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
var __styleframe_core = require("@styleframe/core");
|
|
4
|
+
Object.keys(__styleframe_core).forEach(function (k) {
|
|
5
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function () { return __styleframe_core[k]; }
|
|
8
|
+
});
|
|
9
|
+
});
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@styleframe/core";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export * from "@styleframe/core";
|
package/dist/index.js
CHANGED
package/dist/loader.cjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
var __styleframe_loader = require("@styleframe/loader");
|
|
4
|
+
Object.keys(__styleframe_loader).forEach(function (k) {
|
|
5
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function () { return __styleframe_loader[k]; }
|
|
8
|
+
});
|
|
9
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@styleframe/loader";
|
package/dist/loader.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@styleframe/loader";
|
package/dist/loader.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@styleframe/loader"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
var __styleframe_transpiler = require("@styleframe/transpiler");
|
|
4
|
+
Object.keys(__styleframe_transpiler).forEach(function (k) {
|
|
5
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function () { return __styleframe_transpiler[k]; }
|
|
8
|
+
});
|
|
9
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@styleframe/transpiler";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@styleframe/transpiler";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@styleframe/transpiler"
|
package/package.json
CHANGED
|
@@ -1,31 +1,72 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "styleframe",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"bin": {
|
|
5
|
+
"styleframe": "./dist/cli.cjs"
|
|
6
|
+
},
|
|
7
|
+
"description": "A command-line interface for styleframe.",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
10
12
|
],
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"module": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"require": "./dist/index.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./cli": {
|
|
23
|
+
"types": "./dist/cli.d.ts",
|
|
24
|
+
"import": "./dist/cli.js",
|
|
25
|
+
"require": "./dist/cli.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./loader": {
|
|
28
|
+
"types": "./dist/loader.d.ts",
|
|
29
|
+
"import": "./dist/loader.js",
|
|
30
|
+
"require": "./dist/loader.cjs"
|
|
31
|
+
},
|
|
32
|
+
"./transpiler": {
|
|
33
|
+
"types": "./dist/transpiler.d.ts",
|
|
34
|
+
"import": "./dist/transpiler.js",
|
|
35
|
+
"require": "./dist/transpiler.cjs"
|
|
36
|
+
},
|
|
37
|
+
"./package.json": "./package.json"
|
|
15
38
|
},
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@styleframe/cli": "^1.0.0",
|
|
44
|
+
"@styleframe/core": "^1.0.0",
|
|
45
|
+
"@styleframe/transpiler": "^1.0.0",
|
|
46
|
+
"@styleframe/loader": "^1.0.0"
|
|
19
47
|
},
|
|
20
|
-
"dependencies": {},
|
|
21
48
|
"devDependencies": {
|
|
22
|
-
"
|
|
49
|
+
"@types/node": "^22.15.17",
|
|
50
|
+
"bumpp": "^10.1.0",
|
|
51
|
+
"tsdown": "^0.11.9",
|
|
52
|
+
"typescript": "^5.8.3",
|
|
53
|
+
"vitest": "^3.1.3",
|
|
54
|
+
"@styleframe/config-typescript": "^1.0.0"
|
|
23
55
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
56
|
+
"homepage": "https://github.com/styleframe-dev/styleframe#readme",
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/styleframe-dev/styleframe/issues"
|
|
26
59
|
},
|
|
27
|
-
"
|
|
60
|
+
"repository": {
|
|
61
|
+
"type": "git",
|
|
62
|
+
"url": "git+https://github.com/styleframe-dev/styleframe.git"
|
|
63
|
+
},
|
|
64
|
+
"author": "Alex Grozav <alex@styleframe.dev>",
|
|
28
65
|
"scripts": {
|
|
29
|
-
"build": "
|
|
66
|
+
"build": "tsdown",
|
|
67
|
+
"dev": "tsdown --watch",
|
|
68
|
+
"test": "vitest",
|
|
69
|
+
"typecheck": "tsc --noEmit",
|
|
70
|
+
"release": "bumpp && npm publish"
|
|
30
71
|
}
|
|
31
72
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="MaterialThemeProjectNewConfig">
|
|
4
|
-
<option name="metadata">
|
|
5
|
-
<MTProjectMetadataState>
|
|
6
|
-
<option name="userId" value="5fbaf10e:1978bfec20b:-7ffd" />
|
|
7
|
-
</MTProjectMetadataState>
|
|
8
|
-
</option>
|
|
9
|
-
</component>
|
|
10
|
-
</project>
|
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/styleframe.iml" filepath="$PROJECT_DIR$/.idea/styleframe.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
package/.idea/styleframe.iml
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="WEB_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$">
|
|
5
|
-
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
-
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
-
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
-
</content>
|
|
9
|
-
<orderEntry type="inheritedJdk" />
|
|
10
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
-
</component>
|
|
12
|
-
</module>
|
package/.idea/vcs.xml
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":""}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;AAAA,OAAO,CAAC,GAAG,CAAC,qCAAqC,CAAC,CAAA"}
|
package/src/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log('Happy developing using styleframe ✨')
|
package/tsconfig.json
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// Base Options recommended for all projects
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"target": "es2022",
|
|
7
|
-
"allowJs": true,
|
|
8
|
-
"resolveJsonModule": true,
|
|
9
|
-
"moduleDetection": "force",
|
|
10
|
-
"isolatedModules": true,
|
|
11
|
-
"verbatimModuleSyntax": true,
|
|
12
|
-
// Enable strict type checking so you can catch bugs early
|
|
13
|
-
"strict": true,
|
|
14
|
-
"noUncheckedIndexedAccess": true,
|
|
15
|
-
"noImplicitOverride": true,
|
|
16
|
-
// Transpile our TypeScript code to JavaScript
|
|
17
|
-
"module": "NodeNext",
|
|
18
|
-
"outDir": "dist",
|
|
19
|
-
// Emit type declarations
|
|
20
|
-
"declaration": true,
|
|
21
|
-
// Emit source maps and enable the composite option for monorepos
|
|
22
|
-
"composite": true,
|
|
23
|
-
"declarationMap": true,
|
|
24
|
-
"sourceMap": true,
|
|
25
|
-
// Include the DOM types
|
|
26
|
-
"lib": [
|
|
27
|
-
"es2022",
|
|
28
|
-
"dom",
|
|
29
|
-
"dom.iterable"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
// Include the necessary files for your project
|
|
33
|
-
"include": [
|
|
34
|
-
"src/**/*.ts",
|
|
35
|
-
"src/**/*.tsx"
|
|
36
|
-
],
|
|
37
|
-
"exclude": [
|
|
38
|
-
"node_modules"
|
|
39
|
-
]
|
|
40
|
-
}
|