@magmamath/students-features 1.3.1 → 1.3.2-rc-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 (57) hide show
  1. package/dist/commonjs/features/chatbot/helpers.js +5 -1
  2. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  4. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +1 -1
  5. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  6. package/dist/module/features/chatbot/helpers.js +5 -1
  7. package/dist/module/features/chatbot/helpers.js.map +1 -1
  8. package/dist/module/features/chatbot/index.js.map +1 -1
  9. package/dist/module/features/chatbot/model/ChatBotModel.js +1 -1
  10. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  11. package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
  12. package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
  13. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  14. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  15. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +8 -6
  16. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  17. package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
  18. package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
  19. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  20. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  21. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +8 -6
  22. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  23. package/package.json +2 -2
  24. package/src/features/chatbot/helpers.ts +2 -0
  25. package/src/features/chatbot/index.ts +9 -1
  26. package/src/features/chatbot/model/ChatBotModel.ts +7 -8
  27. package/src/features/chatbot/types/api.types.ts +11 -6
  28. package/.editorconfig +0 -15
  29. package/.eslintignore +0 -2
  30. package/.eslintrc +0 -22
  31. package/.gitattributes +0 -3
  32. package/.github/actions/setup/action.yml +0 -37
  33. package/.github/workflows/ci.yml +0 -73
  34. package/.gitignore +0 -84
  35. package/.nvmrc +0 -1
  36. package/.prettierrc +0 -11
  37. package/.release-it.json +0 -17
  38. package/.watchmanconfig +0 -1
  39. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
  40. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -28
  41. package/.yarn/releases/yarn-3.6.1.cjs +0 -874
  42. package/babel.config.js +0 -5
  43. package/bob.config.js +0 -25
  44. package/example/app.json +0 -30
  45. package/example/assets/adaptive-icon.png +0 -0
  46. package/example/assets/favicon.png +0 -0
  47. package/example/assets/icon.png +0 -0
  48. package/example/assets/splash-icon.png +0 -0
  49. package/example/babel.config.js +0 -28
  50. package/example/index.js +0 -8
  51. package/example/metro.config.js +0 -18
  52. package/example/package.json +0 -25
  53. package/example/src/App.tsx +0 -8
  54. package/example/tsconfig.json +0 -6
  55. package/tsconfig.build.json +0 -4
  56. package/tsconfig.json +0 -34
  57. package/yarn.lock +0 -10957
package/babel.config.js DELETED
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- presets: [
3
- ['module:react-native-builder-bob/babel-preset', { modules: 'commonjs' }],
4
- ],
5
- };
package/bob.config.js DELETED
@@ -1,25 +0,0 @@
1
- module.exports = {
2
- source: 'src',
3
- output: 'dist',
4
- targets: [
5
- [
6
- 'commonjs',
7
- {
8
- esm: true,
9
- },
10
- ],
11
- [
12
- 'module',
13
- {
14
- esm: true,
15
- },
16
- ],
17
- [
18
- 'typescript',
19
- {
20
- project: 'tsconfig.build.json',
21
- esm: true,
22
- },
23
- ],
24
- ],
25
- }
package/example/app.json DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "expo": {
3
- "name": "example",
4
- "slug": "example",
5
- "version": "1.0.0",
6
- "orientation": "portrait",
7
- "icon": "./assets/icon.png",
8
- "userInterfaceStyle": "light",
9
- "newArchEnabled": true,
10
- "splash": {
11
- "image": "./assets/splash-icon.png",
12
- "resizeMode": "contain",
13
- "backgroundColor": "#ffffff"
14
- },
15
- "ios": {
16
- "supportsTablet": true,
17
- "bundleIdentifier": "magmamath.features.example"
18
- },
19
- "android": {
20
- "adaptiveIcon": {
21
- "foregroundImage": "./assets/adaptive-icon.png",
22
- "backgroundColor": "#ffffff"
23
- },
24
- "package": "magmamath.features.example"
25
- },
26
- "web": {
27
- "favicon": "./assets/favicon.png"
28
- }
29
- }
30
- }
Binary file
Binary file
Binary file
Binary file
@@ -1,28 +0,0 @@
1
- const path = require('path')
2
- const { getConfig } = require('react-native-builder-bob/babel-config')
3
- const pkg = require('../package.json')
4
-
5
- const root = path.resolve(__dirname, '..')
6
-
7
- module.exports = function (api) {
8
- api.cache(true)
9
-
10
- return getConfig(
11
- {
12
- presets: ['babel-preset-expo'],
13
- plugins: [
14
- [
15
- 'module-resolver',
16
- {
17
- extensions: ['.tsx', '.ts', '.js', '.json'],
18
- alias: {
19
- [pkg.name]: path.join(__dirname, '../', pkg.source),
20
- },
21
- },
22
- ],
23
- ['@babel/plugin-transform-private-methods', { loose: true }],
24
- ],
25
- },
26
- { root, pkg },
27
- )
28
- }
package/example/index.js DELETED
@@ -1,8 +0,0 @@
1
- import { registerRootComponent } from 'expo';
2
-
3
- import App from './src/App';
4
-
5
- // registerRootComponent calls AppRegistry.registerComponent('main', () => App);
6
- // It also ensures that whether you load the app in Expo Go or in a native build,
7
- // the environment is set up appropriately
8
- registerRootComponent(App);
@@ -1,18 +0,0 @@
1
- const path = require('path');
2
- const { getDefaultConfig } = require('@expo/metro-config');
3
- const { getConfig } = require('react-native-builder-bob/metro-config');
4
- const pkg = require('../package.json');
5
-
6
- const root = path.resolve(__dirname, '..');
7
-
8
- /**
9
- * Metro configuration
10
- * https://facebook.github.io/metro/docs/configuration
11
- *
12
- * @type {import('metro-config').MetroConfig}
13
- */
14
- module.exports = getConfig(getDefaultConfig(__dirname), {
15
- root,
16
- pkg,
17
- project: __dirname,
18
- });
@@ -1,25 +0,0 @@
1
- {
2
- "name": "@magmamath/students-features-example",
3
- "version": "1.0.0",
4
- "main": "index.js",
5
- "scripts": {
6
- "start": "expo start",
7
- "android": "expo start --android",
8
- "ios": "expo start --ios",
9
- "web": "expo start --web"
10
- },
11
- "dependencies": {
12
- "@expo/metro-runtime": "~4.0.0",
13
- "expo": "~52.0.11",
14
- "expo-status-bar": "~2.0.0",
15
- "react": "18.3.1",
16
- "react-dom": "18.3.1",
17
- "react-native": "0.76.3",
18
- "react-native-web": "~0.19.13"
19
- },
20
- "devDependencies": {
21
- "@babel/core": "^7.20.0",
22
- "react-native-builder-bob": "^0.33.3"
23
- },
24
- "private": true
25
- }
@@ -1,8 +0,0 @@
1
- import React from 'react'
2
- import { Text } from 'react-native'
3
-
4
- const App = () => {
5
- return <Text>Hello</Text>
6
- }
7
-
8
- export default App
@@ -1,6 +0,0 @@
1
- {
2
- "extends": "../tsconfig",
3
- "compilerOptions": {
4
- // Avoid expo-cli auto-generating a tsconfig
5
- }
6
- }
@@ -1,4 +0,0 @@
1
- {
2
- "extends": "./tsconfig",
3
- "exclude": ["example", "dist"]
4
- }
package/tsconfig.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "paths": {
4
- "@magmamath/students-features": ["./src/index"]
5
- },
6
- "target": "esnext",
7
- "baseUrl": "./",
8
- "lib": [
9
- "dom",
10
- "dom.iterable",
11
- "esnext"
12
- ],
13
- "declaration": true,
14
- "allowJs": true,
15
- "skipLibCheck": true,
16
- "esModuleInterop": true,
17
- "allowSyntheticDefaultImports": true,
18
- "strict": true,
19
- "forceConsistentCasingInFileNames": true,
20
- "module": "esnext",
21
- "moduleResolution": "node",
22
- "resolveJsonModule": true,
23
- "isolatedModules": true,
24
- "jsx": "react",
25
- "experimentalDecorators": true
26
- },
27
- "include": [
28
- "src"
29
- ],
30
- "exclude": [
31
- "node_modules",
32
- "example"
33
- ]
34
- }