@spicemod/creator 0.0.22 → 0.0.24
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/client.d.ts +47 -0
- package/dist/bin.mjs +834 -342
- package/dist/index.d.mts +697 -0
- package/dist/{client/index.mjs → index.mjs} +1 -1
- package/dist/templates/custom-app/js/react/eslint.config.ts +29 -0
- package/dist/templates/custom-app/js/react/src/app.jsx +22 -0
- package/dist/templates/custom-app/js/react/src/components/Onboarding.jsx +82 -0
- package/dist/templates/custom-app/js/react/src/extension/index.jsx +22 -0
- package/dist/templates/custom-app/meta.json +4 -0
- package/dist/templates/custom-app/shared/DOT-gitignore +34 -0
- package/dist/templates/custom-app/shared/DOT-oxlintrc.json +36 -0
- package/dist/templates/custom-app/shared/README.template.md +53 -0
- package/dist/templates/custom-app/shared/app.css +163 -0
- package/dist/templates/custom-app/shared/biome.json +36 -0
- package/dist/templates/custom-app/shared/css/app.module.scss +58 -0
- package/dist/templates/custom-app/shared/icon-active.svg +7 -0
- package/dist/templates/custom-app/shared/icon.svg +7 -0
- package/dist/templates/custom-app/shared/jsconfig.json +32 -0
- package/dist/templates/custom-app/shared/spice.config.js +10 -0
- package/dist/templates/custom-app/shared/spice.config.ts +10 -0
- package/dist/templates/custom-app/shared/tsconfig.json +32 -0
- package/dist/templates/custom-app/ts/react/eslint.config.ts +29 -0
- package/dist/templates/custom-app/ts/react/src/app.tsx +22 -0
- package/dist/templates/custom-app/ts/react/src/components/Onboarding.tsx +92 -0
- package/dist/templates/custom-app/ts/react/src/extension/index.tsx +27 -0
- package/dist/templates/customAppEntry.js +6 -0
- package/dist/templates/extension/js/vanilla/src/components/Onboarding.js +71 -0
- package/dist/templates/extension/shared/DOT-gitignore +34 -0
- package/dist/templates/extension/shared/DOT-oxlintrc.json +36 -0
- package/dist/templates/extension/shared/spice.config.js +2 -1
- package/dist/templates/extension/shared/spice.config.ts +2 -1
- package/dist/templates/liveReload.js +0 -1
- package/dist/templates/theme/shared/DOT-gitignore +34 -0
- package/dist/templates/theme/shared/DOT-oxlintrc.json +36 -0
- package/dist/templates/theme/shared/spice.config.js +2 -1
- package/dist/templates/theme/shared/spice.config.ts +2 -1
- package/dist/templates/wrapper.js +5 -8
- package/package.json +7 -3
- package/templates/custom-app/js/react/eslint.config.ts +29 -0
- package/templates/custom-app/js/react/src/app.jsx +22 -0
- package/templates/custom-app/js/react/src/components/Onboarding.jsx +82 -0
- package/templates/custom-app/js/react/src/extension/index.jsx +22 -0
- package/templates/custom-app/meta.json +4 -0
- package/templates/custom-app/shared/DOT-gitignore +34 -0
- package/templates/custom-app/shared/DOT-oxlintrc.json +36 -0
- package/templates/custom-app/shared/README.template.md +53 -0
- package/templates/custom-app/shared/app.css +163 -0
- package/templates/custom-app/shared/biome.json +36 -0
- package/templates/custom-app/shared/css/app.module.scss +58 -0
- package/templates/custom-app/shared/icon-active.svg +7 -0
- package/templates/custom-app/shared/icon.svg +7 -0
- package/templates/custom-app/shared/jsconfig.json +32 -0
- package/templates/custom-app/shared/spice.config.js +10 -0
- package/templates/custom-app/shared/spice.config.ts +10 -0
- package/templates/custom-app/shared/tsconfig.json +32 -0
- package/templates/custom-app/ts/react/eslint.config.ts +29 -0
- package/templates/custom-app/ts/react/src/app.tsx +22 -0
- package/templates/custom-app/ts/react/src/components/Onboarding.tsx +92 -0
- package/templates/custom-app/ts/react/src/extension/index.tsx +27 -0
- package/templates/customAppEntry.js +6 -0
- package/templates/extension/js/vanilla/src/components/Onboarding.js +71 -0
- package/templates/extension/shared/DOT-gitignore +34 -0
- package/templates/extension/shared/DOT-oxlintrc.json +36 -0
- package/templates/extension/shared/spice.config.js +2 -1
- package/templates/extension/shared/spice.config.ts +2 -1
- package/templates/liveReload.js +0 -1
- package/templates/theme/shared/DOT-gitignore +34 -0
- package/templates/theme/shared/DOT-oxlintrc.json +36 -0
- package/templates/theme/shared/spice.config.js +2 -1
- package/templates/theme/shared/spice.config.ts +2 -1
- package/templates/wrapper.js +5 -8
- package/dist/client/index.d.mts +0 -2183
package/client.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/// <reference path="./types/globals.d.ts" />
|
|
2
|
+
|
|
3
|
+
// CSS modules
|
|
4
|
+
type CSSModuleClasses = { readonly [key: string]: string };
|
|
5
|
+
|
|
6
|
+
declare module "*.module.css" {
|
|
7
|
+
const classes: CSSModuleClasses;
|
|
8
|
+
export default classes;
|
|
9
|
+
}
|
|
10
|
+
declare module "*.module.scss" {
|
|
11
|
+
const classes: CSSModuleClasses;
|
|
12
|
+
export default classes;
|
|
13
|
+
}
|
|
14
|
+
declare module "*.module.sass" {
|
|
15
|
+
const classes: CSSModuleClasses;
|
|
16
|
+
export default classes;
|
|
17
|
+
}
|
|
18
|
+
declare module "*.module.less" {
|
|
19
|
+
const classes: CSSModuleClasses;
|
|
20
|
+
export default classes;
|
|
21
|
+
}
|
|
22
|
+
declare module "*.module.styl" {
|
|
23
|
+
const classes: CSSModuleClasses;
|
|
24
|
+
export default classes;
|
|
25
|
+
}
|
|
26
|
+
declare module "*.module.stylus" {
|
|
27
|
+
const classes: CSSModuleClasses;
|
|
28
|
+
export default classes;
|
|
29
|
+
}
|
|
30
|
+
declare module "*.module.pcss" {
|
|
31
|
+
const classes: CSSModuleClasses;
|
|
32
|
+
export default classes;
|
|
33
|
+
}
|
|
34
|
+
declare module "*.module.sss" {
|
|
35
|
+
const classes: CSSModuleClasses;
|
|
36
|
+
export default classes;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// CSS
|
|
40
|
+
declare module "*.css" {}
|
|
41
|
+
declare module "*.scss" {}
|
|
42
|
+
declare module "*.sass" {}
|
|
43
|
+
declare module "*.less" {}
|
|
44
|
+
declare module "*.styl" {}
|
|
45
|
+
declare module "*.stylus" {}
|
|
46
|
+
declare module "*.pcss" {}
|
|
47
|
+
declare module "*.sss" {}
|